; ; __vcrt_initialize_ptd from 0x180124f08 to 0x180124f4f (71 bytes) ; ; 2 xrefs: ; > __vcrt_initialize @ 0x180124b45 ; > @ 0x18020275c ; ; 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 ; sub rsp, 28h ; +0x0, 0x180124f08 lea rcx, __vcrt_freefls ; +0x4, 0x180124f0c call __vcrt_FlsAlloc ; +0xb, 0x180124f13 mov cs:dwTlsIndex, eax ; +0x10, 0x180124f18 cmp eax, 0FFFFFFFFh ; +0x16, 0x180124f1e jz short loc_180124F48 ; +0x19, 0x180124f21 lea rdx, unk_1801F4A70; lpTlsValue ; +0x1b, 0x180124f23 mov ecx, eax; dwTlsIndex ; +0x22, 0x180124f2a call __vcrt_FlsSetValue ; +0x24, 0x180124f2c test eax, eax ; +0x29, 0x180124f31 jz short loc_180124F43 ; +0x2b, 0x180124f33 mov cs:dword_1801F4AE8, 0FFFFFFFEh ; +0x2d, 0x180124f35 mov al, 1 ; +0x37, 0x180124f3f jmp short loc_180124F4A ; +0x39, 0x180124f41 call __vcrt_uninitialize_ptd ; +0x3b, 0x180124f43 xor al, al ; +0x40, 0x180124f48 add rsp, 28h ; +0x42, 0x180124f4a retn ; +0x46, 0x180124f4e