; ; __acrt_allocate_buffer_for_argv from 0x180131c4c to 0x180131ca9 (93 bytes) ; ; 3 xrefs: ; > _configure_narrow_argv @ 0x180131d54 ; > common_expand_argv_wildcards @ 0x180139b57 ; > @ 0x180202f48 ; ; 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 ; push rbx ; +0x0, 0x180131c4c sub rsp, 20h ; +0x2, 0x180131c4e mov rax, 1FFFFFFFFFFFFFFFh ; +0x6, 0x180131c52 mov r9, rdx ; +0x10, 0x180131c5c cmp rcx, rax ; +0x13, 0x180131c5f jnb short loc_180131CA1 ; +0x16, 0x180131c62 xor edx, edx ; +0x18, 0x180131c64 or rax, 0FFFFFFFFFFFFFFFFh ; +0x1a, 0x180131c66 div r8 ; +0x1e, 0x180131c6a cmp r9, rax ; +0x21, 0x180131c6d jnb short loc_180131CA1 ; +0x24, 0x180131c70 shl rcx, 3 ; +0x26, 0x180131c72 imul r9, r8 ; +0x2a, 0x180131c76 mov rax, rcx ; +0x2e, 0x180131c7a not rax ; +0x31, 0x180131c7d cmp rax, r9 ; +0x34, 0x180131c80 jbe short loc_180131CA1 ; +0x37, 0x180131c83 add rcx, r9; Count ; +0x39, 0x180131c85 mov edx, 1; Size ; +0x3c, 0x180131c88 call _calloc_base ; +0x41, 0x180131c8d xor ecx, ecx; Block ; +0x46, 0x180131c92 mov rbx, rax ; +0x48, 0x180131c94 call _free_base ; +0x4b, 0x180131c97 mov rax, rbx ; +0x50, 0x180131c9c jmp short loc_180131CA3 ; +0x53, 0x180131c9f xor eax, eax ; +0x55, 0x180131ca1 add rsp, 20h ; +0x57, 0x180131ca3 pop rbx ; +0x5b, 0x180131ca7 retn ; +0x5c, 0x180131ca8