; ; dllmain_crt_process_detach from 0x18001f9b0 to 0x18001fa30 (128 bytes) ; ; 4 xrefs: ; > @ 0x18001f9af ; > dllmain_crt_dispatch @ 0x18001f893 ; > dllmain_dispatch @ 0x18001fae1 ; > @ 0x18004b25c ; ; 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, 0x18001f9b0 push rdi ; +0x5, 0x18001f9b5 sub rsp, 30h ; +0x6, 0x18001f9b6 mov dil, cl ; +0xa, 0x18001f9ba mov eax, cs:dword_180048038 ; +0xd, 0x18001f9bd test eax, eax ; +0x13, 0x18001f9c3 jg short loc_18001F9D4 ; +0x15, 0x18001f9c5 xor eax, eax ; +0x17, 0x18001f9c7 mov rbx, [rsp+38h+arg_0] ; +0x19, 0x18001f9c9 add rsp, 30h ; +0x1e, 0x18001f9ce pop rdi ; +0x22, 0x18001f9d2 retn ; +0x23, 0x18001f9d3 dec eax ; +0x24, 0x18001f9d4 mov cs:dword_180048038, eax ; +0x26, 0x18001f9d6 call __scrt_acquire_startup_lock ; +0x2c, 0x18001f9dc mov bl, al ; +0x31, 0x18001f9e1 mov [rsp+38h+var_18], al ; +0x33, 0x18001f9e3 cmp cs:dword_180047FF0, 2 ; +0x37, 0x18001f9e7 jnz short loc_18001FA23 ; +0x3e, 0x18001f9ee call __scrt_dllmain_uninitialize_c ; +0x40, 0x18001f9f0 call sub_180020158 ; +0x45, 0x18001f9f5 call sub_1800201CC ; +0x4a, 0x18001f9fa and cs:dword_180047FF0, 0 ; +0x4f, 0x18001f9ff mov cl, bl ; +0x56, 0x18001fa06 call __scrt_release_startup_lock ; +0x58, 0x18001fa08 xor edx, edx ; +0x5d, 0x18001fa0d mov cl, dil ; +0x5f, 0x18001fa0f call __scrt_uninitialize_crt ; +0x62, 0x18001fa12 movzx ebx, al ; +0x67, 0x18001fa17 call __scrt_dllmain_uninitialize_critical ; +0x6a, 0x18001fa1a mov eax, ebx ; +0x6f, 0x18001fa1f jmp short loc_18001F9C9 ; +0x71, 0x18001fa21 mov ecx, 7 ; +0x73, 0x18001fa23 call __scrt_fastfail ; +0x78, 0x18001fa28 nop ; +0x7d, 0x18001fa2d nop ; +0x7e, 0x18001fa2e int 3; Trap to Debugger ; +0x7f, 0x18001fa2f