; ; __acrt_get_windowing_model_policy from 0x180138e84 to 0x180138ef0 (108 bytes) ; ; 4 xrefs: ; > __acrt_can_show_message_box @ 0x180135d40 ; > unknown_libname_70 @ 0x180139373 ; > @ 0x180203740 ; > @ 0x18020374c ; ; 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, 0x180138e84 sub rsp, 20h ; +0x2, 0x180138e86 mov ebx, cs:dword_1801F5590 ; +0x6, 0x180138e8a test ebx, ebx ; +0xc, 0x180138e90 jnz short loc_180138EE8 ; +0xe, 0x180138e92 mov ebx, 2 ; +0x10, 0x180138e94 mov [rsp+28h+arg_0], ebx ; +0x15, 0x180138e99 mov rax, gs:60h ; +0x19, 0x180138e9d mov rcx, [rax+20h] ; +0x22, 0x180138ea6 cmp dword ptr [rcx+8], 0 ; +0x26, 0x180138eaa jl short loc_180138EBA ; +0x2a, 0x180138eae lea rcx, [rsp+28h+arg_0] ; +0x2c, 0x180138eb0 call __acrt_AppPolicyGetWindowingModelInternal ; +0x31, 0x180138eb5 mov ecx, [rsp+28h+arg_0] ; +0x36, 0x180138eba sub ecx, 1 ; +0x3a, 0x180138ebe jz short loc_180138EE0 ; +0x3d, 0x180138ec1 sub ecx, 1 ; +0x3f, 0x180138ec3 jz short loc_180138EDB ; +0x42, 0x180138ec6 cmp ecx, 1 ; +0x44, 0x180138ec8 jz short loc_180138ED4 ; +0x47, 0x180138ecb mov ebx, 4 ; +0x49, 0x180138ecd jmp short loc_180138EE0 ; +0x4e, 0x180138ed2 mov ebx, 3 ; +0x50, 0x180138ed4 jmp short loc_180138EE0 ; +0x55, 0x180138ed9 mov ebx, 1 ; +0x57, 0x180138edb mov ecx, ebx ; +0x5c, 0x180138ee0 xchg ecx, cs:dword_1801F5590 ; +0x5e, 0x180138ee2 mov eax, ebx ; +0x64, 0x180138ee8 add rsp, 20h ; +0x66, 0x180138eea pop rbx ; +0x6a, 0x180138eee retn ; +0x6b, 0x180138eef