; ; __vcrt_InitializeCriticalSectionEx from 0x18012525c to 0x1801252bd (97 bytes) ; ; 2 xrefs: ; > __vcrt_initialize_locks @ 0x180124f87 ; > @ 0x1802027c8 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_0], rbx ; +0x0, 0x18012525c mov [rsp+arg_8], rsi ; +0x5, 0x180125261 push rdi ; +0xa, 0x180125266 sub rsp, 20h ; +0xb, 0x180125267 mov esi, r8d ; +0xf, 0x18012526b lea r9, aInitializecrit ; +0x12, 0x18012526e mov ebx, edx ; +0x19, 0x180125275 lea r8, unk_180170B08 ; +0x1b, 0x180125277 mov rdi, rcx ; +0x22, 0x18012527e lea rdx, aInitializecrit ; +0x25, 0x180125281 mov ecx, 4 ; +0x2c, 0x180125288 call ?try_get_function@@YAPEAXW4function_id@?A0x78405aa4@@QEBDQEBW4module_id@2@2@Z ; +0x31, 0x18012528d mov edx, ebx; dwSpinCount ; +0x36, 0x180125292 mov rcx, rdi; lpCriticalSection ; +0x38, 0x180125294 test rax, rax ; +0x3b, 0x180125297 jz short loc_1801252A7 ; +0x3e, 0x18012529a mov r8d, esi ; +0x40, 0x18012529c call cs:__guard_dispatch_icall_fptr ; +0x43, 0x18012529f jmp short loc_1801252AD ; +0x49, 0x1801252a5 call cs:InitializeCriticalSectionAndSpinCount ; +0x4b, 0x1801252a7 mov rbx, [rsp+28h+arg_0] ; +0x51, 0x1801252ad mov rsi, [rsp+28h+arg_8] ; +0x56, 0x1801252b2 add rsp, 20h ; +0x5b, 0x1801252b7 pop rdi ; +0x5f, 0x1801252bb retn ; +0x60, 0x1801252bc