; ; __vcrt_InitializeCriticalSectionEx_0 from 0x180135abc to 0x180135b1d (97 bytes) ; ; 4 xrefs: ; > __acrt_initialize_stdio @ 0x18012f900 ; > __vcrt_initialize_locks_0 @ 0x180134683 ; > __acrt_lowio_create_handle_array @ 0x18013600b ; > @ 0x18020341c ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 10:55:00 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x180135abc mov [rsp+arg_8], rsi ; +0x5, 0x180135ac1 push rdi ; +0xa, 0x180135ac6 sub rsp, 20h ; +0xb, 0x180135ac7 mov esi, r8d ; +0xf, 0x180135acb lea r9, unk_180174A60 ; +0x12, 0x180135ace mov ebx, edx ; +0x19, 0x180135ad5 lea r8, asc_180174A58 ; +0x1b, 0x180135ad7 mov rdi, rcx ; +0x22, 0x180135ade lea rdx, aInitializecrit ; +0x25, 0x180135ae1 mov ecx, 12h ; +0x2c, 0x180135ae8 call ?try_get_function@@YAPEAXW4function_id@?A0x37284e77@@QEBDQEBW4module_id@2@2@Z ; +0x31, 0x180135aed mov edx, ebx; dwSpinCount ; +0x36, 0x180135af2 mov rcx, rdi; lpCriticalSection ; +0x38, 0x180135af4 test rax, rax ; +0x3b, 0x180135af7 jz short loc_180135B07 ; +0x3e, 0x180135afa mov r8d, esi ; +0x40, 0x180135afc call cs:__guard_dispatch_icall_fptr ; +0x43, 0x180135aff jmp short loc_180135B0D ; +0x49, 0x180135b05 call cs:InitializeCriticalSectionAndSpinCount ; +0x4b, 0x180135b07 mov rbx, [rsp+28h+arg_0] ; +0x51, 0x180135b0d mov rsi, [rsp+28h+arg_8] ; +0x56, 0x180135b12 add rsp, 20h ; +0x5b, 0x180135b17 pop rdi ; +0x5f, 0x180135b1b retn ; +0x60, 0x180135b1c