Function at 0x467f30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ceb66
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x4ef400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
mov dword [ebp - 0xf0], 0x30
mov dword [ebp - 0xec], 0x40
mov dword [ebp - 0xe8], 0x4688d0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0x108], eax
call eax
mov dword [ebp - 0xdc], eax
xorps xmm0, xmm0
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xc8], str.Loader
push eax
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xc4], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [ebp - 0xdc]
push 0
push 0
push 0x32
push 0x32
push 0
push 0
push 0xcf0000
push str.Loader
push dword [ebp - 0xc8]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, eax
push 0
mov dword [ebp - 0x10c], edi
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 0x20
call dword [sym.imp.d3d9.dll_Direct3DCreate9]
mov ecx, eax
mov dword [0x4f09f8], ecx
test ecx, ecx
je 0x46885f
push 0x4f09fc
push 0x4f0a00
push 0x40
xorps xmm0, xmm0
mov dword [0x4f0a14], 0
push edi
push 1
movlpd qword [0x4f0a00], xmm0
movlpd qword [0x4f0a0c], xmm0
mov dword [0x4f0a1c], 0
movlpd qword [0x4f0a2c], xmm0
mov dword [0x4f0a20], 1
mov dword [0x4f0a18], 1
mov dword [0x4f0a08], 0
mov dword [0x4f0a24], 1
mov dword [0x4f0a28], 0x50
mov dword [0x4f0a34], 1
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x40]
test eax, eax
js 0x468859
push 0
push edi
call esi
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x4f0690]
test eax, eax
je 0x4680d2
inc dword [eax + 0x370]
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0x3f48
call ebx
lea ecx, [ebp - 0xfd]
mov dword [ebp - 0x104], eax
add esp, 4
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0xfc], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x468110
push 0
mov ecx, eax
call fcn.00401d30
jmp 0x468112
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [0x4f0690], 0
jne 0x468127
mov dword [0x4f0690], eax
mov ecx, eax
call fcn.00409550
mov eax, dword [0x4f0690]
xor ecx, ecx
mov dword [ebp - 0x104], eax
or dword [eax + 8], 0x401
call fcn.0042be40
mov ecx, edi
call fcn.00435250
mov esi, dword [0x4f0690]
mov edi, dword [0x4f09fc]
test esi, esi
je 0x468164
inc dword [esi + 0x370]
push 0x18
call ebx
add esp, 4
lea ecx, [ebp - 0xfd]
test eax, eax
je 0x4681a0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0x1388
mov dword [eax + 0x14], 0x2710
jmp 0x4681a2
xor eax, eax
or dword [esi + 0xc], 0x1008
mov dword [esi + 0xd0], eax
mov dword [esi + 0xc8], str.imgui_impl_dx9
mov dword [eax], edi
mov eax, dword [edi]
push edi
call dword [eax + 4]
test dword [esi + 8], 0x400
je 0x468201
mov eax, dword [0x4f0690]
mov dword [eax + 0x1574], 0x434f80
mov dword [eax + 0x1578], 0x435050
mov dword [eax + 0x157c], 0x4350b0
mov dword [eax + 0x1580], 0x435110
mov dword [eax + 0x1584], 0x435230
mov eax, dword [ebp - 0x104]
push ecx
mov ecx, str.C:WindowsFontsVerdana.ttf
mov dword [ebp - 0xfc], 0
mov eax, dword [eax + 0x98]
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0xfc]
push eax
call fcn.00403b00
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x46832a
push 0x78
lea eax, [ebp - 0x188]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0xffff
mov byte [ebp - 0x180], 1
add esp, 0xc
mov dword [ebp - 0x174], 3
cmp byte [ebp - 0x13e], 0
lea esi, [ebp - 0x188]
mov ecx, 0x1e
mov dword [ebp - 0x170], 1
lea edi, [ebp - 0xb0]
mov dword [ebp - 0x150], 0x7f7fffff
mov dword [ebp - 0x144], 0x3f800000
mov word [ebp - 0x140], ax
rep movsd dword es:[edi], dword [esi]
jne 0x4682e9
mov eax, 0x4e525c
nop dword [eax + eax]
mov cl, byte [eax - 1]
cmp cl, 0x2f
je 0x4682c5
cmp cl, 0x5c
je 0x4682c5
dec eax
cmp eax, str.C:WindowsFontsVerdana.ttf
ja 0x4682b0
movsd xmm0, qword [0x4e6980]
sub esp, 8
movsd qword [esp], xmm0
push eax
push str._s___.0fpx
lea eax, [ebp - 0x66]
push 0x28
push eax
call fcn.00403920
add esp, 0x18
mov eax, dword [ebp - 0xfc]
lea esi, [ebp - 0xb0]
mov ecx, 0x1e
lea edi, [ebp - 0x188]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x188]
push eax
mov dword [ebp - 0x188], ebx
mov dword [ebp - 0x178], 0x41400000
call fcn.0042fb40
xor bl, bl
mov dword [ebp - 0xfc], ebx
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
nop
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
call esi
test eax, eax
je 0x468390
lea eax, [ebp - 0x34]
push eax
call edi
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [ebp - 0x30], 0x12
mov eax, 1
push eax
push 0
push 0
movzx ebx, bl
cmove ebx, eax
lea eax, [ebp - 0x34]
push 0
push eax
call esi
test eax, eax
jne 0x468352
mov dword [ebp - 0xfc], ebx
test bl, bl
jne 0x468707
mov ebx, dword [0x4f0690]
test ebx, ebx
je 0x4683a2
mov eax, dword [ebx + 0xd0]
jmp 0x4683a4
xor eax, eax
cmp dword [eax + 0xc], 0
jne 0x4683b5
call fcn.00434e20
mov ebx, dword [0x4f0690]
test ebx, ebx
je 0x4683c1
mov esi, dword [ebx + 0xcc]
jmp 0x4683c3
xor esi, esi
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xf4], esi
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0xc0], xmm0
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0xc0]
movd xmm1, eax
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0xbc]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
cmp byte [esi + 0x26], 0
je 0x468482
mov eax, dword [0x4f0690]
test eax, eax
je 0x46842f
mov edx, dword [eax + 0xcc]
mov dword [ebp - 0xf8], edx
jmp 0x468439
mov dword [ebp - 0xf8], 0
mov ecx, dword [eax + 0x158c]
lea edi, [eax + 0x1588]
test ecx, ecx
jns 0x468461
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.004239b0
push 0
push 0x435c50
push 0
push 0
mov dword [edi], 0
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov eax, dword [ebp - 0xf8]
mov byte [eax + 0x26], 0
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x18]
mov ecx, edi
sub ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0xf4]
mov esi, dword [ebp - 0x14]
mov edx, esi
sbb edx, dword [eax + 0x14]
call fcn.004cb2c0
mov eax, dword [ebp - 0xf4]
cvtsd2ss xmm0, xmm0
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x18]
movss dword [ebp - 0xf8], xmm0
call fcn.004cb2c0
movss xmm1, dword [ebp - 0xf8]
cvtsd2ss xmm0, xmm0
mov eax, dword [ebp - 0xf4]
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [eax + 0x10], edi
mov edi, eax
mov dword [edi + 0x14], esi
call fcn.00435750
cmp byte [ebx + 0xb8], 0
je 0x468502
or eax, 0xffffffff
jmp 0x46850d
mov eax, dword [0x4f0690]
mov eax, dword [eax + 0x1fc8]
cmp dword [edi + 0x20], eax
je 0x46851a
mov dword [edi + 0x20], eax
call fcn.00435620
call fcn.004359c0
call fcn.00408330
call fcn.0046f270
call fcn.0040a9b0
mov eax, dword [0x4f09fc]
push 0
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x4f09fc]
push 0
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x4f09fc]
push 0
push 0xae
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x4f09fc]
push 0
mov ecx, dword [eax]
push ecx
mov dword [esp], 0x3f800000
push 0
push 3
push 0
push 0
push eax
call dword [ecx + 0xac]
mov eax, dword [0x4f09fc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x4685c8
call fcn.0040ae70
mov eax, dword [0x4f0690]
xor ecx, ecx
mov eax, dword [eax + 0x1e1c]
mov eax, dword [eax]
sub eax, 0xffffff80
cmp byte [eax], cl
cmovne ecx, eax
call fcn.00434770
mov eax, dword [0x4f09fc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [ebp - 0x104]
test dword [eax + 8], 0x400
je 0x4686a1
call fcn.0041a580
mov esi, dword [0x4f0690]
mov edi, 1
mov eax, dword [esi + 0x1594]
lea ecx, [esi + 0x159c]
mov dword [ebp - 0xf4], ecx
cmp eax, edi
jle 0x468646
mov eax, dword [ecx]
mov ebx, dword [eax + edi*4]
test dword [ebx + 4], 0x400
jne 0x468633
mov eax, dword [esi + 0x155c]
test eax, eax
je 0x468621
push 0
push ebx
call eax
add esp, 8
mov eax, dword [esi + 0x1580]
test eax, eax
je 0x468633
push 0
push ebx
call eax
add esp, 8
mov eax, dword [esi + 0x1594]
inc edi
mov ecx, dword [ebp - 0xf4]
cmp edi, eax
jl 0x468601
jmp 0x46864c
mov dword [ebp - 0xf4], ecx
mov edi, 1
cmp eax, edi
jle 0x4686a1
nop word [eax + eax]
mov eax, dword [ecx]
mov ebx, dword [eax + edi*4]
test dword [ebx + 4], 0x400
jne 0x468692
mov eax, dword [esi + 0x1560]
test eax, eax
je 0x468680
push 0
push ebx
call eax
add esp, 8
mov eax, dword [esi + 0x1584]
test eax, eax
je 0x468692
push 0
push ebx
call eax
add esp, 8
mov ecx, dword [ebp - 0xf4]
inc edi
cmp edi, dword [esi + 0x1594]
jl 0x468660
mov ecx, dword [0x4f09fc]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x44]
mov ebx, dword [ebp - 0xfc]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
cmp eax, 0x88760868
jne 0x468340
mov eax, dword [0x4f09fc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x468340
call fcn.00434e90
mov eax, dword [0x4f09fc]
push 0x4f0a00
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
call fcn.00434e20
jmp 0x468332
mov esi, dword [0x4f0690]
test esi, esi
je 0x468719
mov edi, dword [esi + 0xd0]
jmp 0x46871b
xor edi, edi
call fcn.0041aac0
call fcn.00434e90
mov ecx, dword [edi]
test ecx, ecx
je 0x468731
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x4f0690]
mov dword [esi + 0xc8], 0
mov dword [esi + 0xd0], 0
test eax, eax
je 0x468754
dec dword [eax + 0x370]
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call edi
mov esi, dword [0x4f0690]
add esp, 4
test esi, esi
je 0x468772
mov ebx, dword [esi + 0xcc]
jmp 0x468774
xor ebx, ebx
push 0
call dword [ebp - 0x108]
push eax
push str.ImGui_Platform
call dword [sym.imp.USER32.dll_UnregisterClassA]
call fcn.0041aac0
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x46879b
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x4f0690]
mov dword [esi + 0xc4], 0
mov dword [esi + 0xcc], 0
test eax, eax
je 0x4687be
dec dword [eax + 0x370]
push ebx
call edi
mov esi, dword [0x4f0690]
add esp, 4
mov ecx, esi
call fcn.004097b0
cmp dword [0x4f0690], esi
jne 0x4687e3
mov dword [0x4f0690], 0
test esi, esi
je 0x468803
mov ecx, esi
call fcn.00424080
mov eax, dword [0x4f0690]
test eax, eax
je 0x4687fd
dec dword [eax + 0x370]
push esi
call edi
add esp, 4
mov ecx, dword [0x4f09fc]
test ecx, ecx
je 0x46881d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4f09fc], 0
mov ecx, dword [0x4f09f8]
test ecx, ecx
je 0x468837
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4f09f8], 0
push dword [ebp - 0x10c]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [ebp - 0xdc]
push dword [ebp - 0xc8]
call dword [sym.imp.USER32.dll_UnregisterClassA]
xor eax, eax
jmp 0x4688aa
mov ecx, dword [0x4f09f8]
mov edx, dword [0x4f09fc]
test edx, edx
je 0x46887f
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x4f09f8]
mov dword [0x4f09fc], 0
test ecx, ecx
je 0x468893
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4f09f8], 0
push dword [ebp - 0xdc]
push dword [ebp - 0xc8]
call dword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ca5c5
mov esp, ebp
pop ebp
ret