Function at 0x439630
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b6f0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x445040]
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
push 0
mov dword [0x4454d8], 0x30
mov dword [0x4454dc], 0x40
mov dword [0x4454e0], 0x437350
mov dword [0x4454e4], 0
mov dword [0x4454e8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov dword [0x4454ec], eax
push 0x4454d8
movups xmmword [0x4454f0], xmm0
mov dword [0x445500], 0x43c710
mov dword [0x445504], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x4454ec]
push 0
push 0
push 0x113
push 0x190
push 0x12c
push 0x2bc
push 0x80000000
push 0x43c710
push 0x43c710
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0xa
push eax
mov dword [0x4454d0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4454d0]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x20
mov dword [ebp - 4], 0
call dword [sym.imp.d3d9.dll_Direct3DCreate9]
mov ecx, eax
mov dword [0x4454cc], ecx
test ecx, ecx
je 0x4397ba
push 0x4454d4
push 0x445508
push 0x40
push dword [0x4454d0]
xorps xmm0, xmm0
mov dword [0x44551c], 0
push 1
movlpd qword [0x445508], xmm0
movlpd qword [0x445514], xmm0
mov dword [0x445524], 0
movlpd qword [0x445534], xmm0
mov dword [0x445528], 1
mov dword [0x445520], 1
mov dword [0x445510], 0
mov dword [0x44552c], 1
mov dword [0x445530], 0x50
mov dword [0x44553c], 1
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x40]
call fcn.004375e0
cmp byte [0x4450a8], 0
je 0x439a9f
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
nop
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push eax
call ebx
test eax, eax
je 0x43981e
nop dword [eax]
lea eax, [ebp - 0x2c]
push eax
call esi
lea eax, [ebp - 0x2c]
push eax
call edi
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call ebx
test eax, eax
jne 0x439800
mov eax, dword [0x4454a8]
test eax, eax
je 0x43982c
mov ecx, dword [eax + 0x78]
jmp 0x43982e
xor ecx, ecx
cmp dword [ecx + 0xc], 0
jne 0x439849
test eax, eax
je 0x439849
mov eax, dword [eax + 0x78]
test eax, eax
je 0x439849
cmp dword [eax], 0
je 0x439849
call fcn.0042b4a0
call fcn.0042c090
call fcn.00407cc0
call fcn.00438690
mov dword [ebp - 4], 2
call fcn.00409730
mov ecx, dword [0x4454d4]
push 0
push 7
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4454d4]
push 0
push 0x1b
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4454d4]
push 0
push 0xae
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4454d4]
push 0
push ecx
mov dword [esp], 0x3f800000
mov eax, dword [ecx]
push 0xff000000
push 3
push 0
push 0
push ecx
call dword [eax + 0xac]
mov eax, dword [0x4454d4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x439905
call fcn.00409b00
mov eax, dword [0x4454a8]
xor ecx, ecx
mov eax, dword [eax + 0x4a40]
mov eax, dword [eax]
add eax, 0x3c
cmp byte [eax], cl
cmovne ecx, eax
call fcn.0042af80
mov eax, dword [0x4454d4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov ecx, dword [0x4454d4]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x44]
cmp eax, 0x88760868
jne 0x439937
mov eax, dword [0x4454d4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x439937
call fcn.00437510
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.00439530
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x44]
cmp esi, 0xff67697f
jne 0x43995c
cmp ebx, 0x7fffffff
je 0x439983
cmp ebx, 0x7fffffff
jg 0x439972
jl 0x43996e
cmp esi, 0xff67697f
jae 0x439972
or al, 0xff
jmp 0x439974
mov al, 1
test al, al
jns 0x439983
add esi, 0x989680
adc ebx, 0
jmp 0x43998b
or esi, 0xffffffff
mov ebx, 0x7fffffff
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0x50]
call fcn.00439530
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
cmp esi, edx
jne 0x4399ab
cmp ebx, ecx
je 0x439a80
cmp ebx, ecx
jg 0x4399b9
jl 0x4399b5
cmp esi, edx
jae 0x4399b9
or al, 0xff
jmp 0x4399bb
mov al, 1
test al, al
jle 0x439a80
mov edi, esi
mov esi, ebx
sub edi, edx
sbb esi, ecx
cmp edi, 0x914f0000
jne 0x4399df
cmp esi, 0x4e94
je 0x439a6e
cmp esi, 0x4e94
jg 0x4399f5
jl 0x4399f1
cmp edi, 0x914f0000
jae 0x4399f5
or al, 0xff
jmp 0x4399f7
mov al, 1
test al, al
jns 0x439a6e
push 0
push 0xf4240
push esi
push edi
call fcn.0043ab00
push 0
mov ebx, eax
mov eax, edx
push 0xf4240
push eax
push ebx
mov dword [ebp - 0x3c], eax
call fcn.0043ac90
cmp eax, edi
jne 0x439a26
cmp edx, esi
je 0x439a57
cmp edx, esi
jg 0x439a34
jl 0x439a30
cmp eax, edi
jae 0x439a34
or al, 0xff
jmp 0x439a36
mov al, 1
test al, al
jns 0x439a57
mov eax, dword [ebp - 0x3c]
add ebx, 1
push ebx
adc eax, 0
mov dword [ebp - 0x3c], eax
call sub.KERNEL32.dll_Sleep
mov ebx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
jmp 0x439991
mov eax, dword [ebp - 0x3c]
push ebx
mov dword [ebp - 0x3c], eax
call sub.KERNEL32.dll_Sleep
mov ebx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
jmp 0x439991
push 0x5265c00
call sub.KERNEL32.dll_Sleep
mov esi, dword [ebp - 0x30]
jmp 0x439991
cmp byte [0x4450a8], 0
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
jne 0x4397e0
call fcn.00437b00
mov dword [ebp - 4], 3
mov ecx, dword [0x4454d4]
test ecx, ecx
je 0x439ac5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4454d4], 0
mov ecx, dword [0x4454cc]
test ecx, ecx
je 0x439adf
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4454cc], 0
push dword [0x4454d0]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x4454ec]
push dword [0x445500]
call dword [sym.imp.USER32.dll_UnregisterClassA]
xor eax, eax
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.00439b22
mov esp, ebp
pop ebp
ret 0x10