Function at 0x402e50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439160
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x443040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov dword [0x4434a0], 0x30
mov dword [0x4434a4], 0x40
mov dword [0x4434a8], 0x401180
mov dword [0x4434ac], 0
mov dword [0x4434b0], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov dword [0x4434b4], eax
push 0x4434a0
movups xmmword [0x4434b8], xmm0
mov dword [0x4434c8], 0x43a344
mov dword [0x4434cc], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x4434b4]
push 0
push 0
push 0x1f4
push 0x145
push 0x64
push 0x64
push 0x80000000
push str.Assault_Cube_Pro
push str.class001
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0xa
push eax
mov dword [0x443498], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x443498]
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 [0x443494], ecx
test ecx, ecx
je 0x402fd1
push 0x44349c
push 0x4434d0
push 0x40
push dword [0x443498]
xorps xmm0, xmm0
mov dword [0x4434e4], 0
push 1
movlpd qword [0x4434d0], xmm0
movlpd qword [0x4434dc], xmm0
mov dword [0x4434ec], 0
movlpd qword [0x4434fc], xmm0
mov dword [0x4434f0], 1
mov dword [0x4434e8], 1
mov dword [0x4434d8], 0
mov dword [0x4434f4], 1
mov dword [0x4434f8], 0x50
mov dword [0x443504], 1
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x40]
call fcn.00401430
cmp byte [0x443098], 0
je 0x40320a
call fcn.00401820
call fcn.00401a80
mov dword [ebp - 4], 1
call fcn.0040c4d0
mov ecx, dword [0x44349c]
push 0
push 7
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x44349c]
push 0
push 0x1b
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x44349c]
push 0
push 0xae
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x44349c]
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 [0x44349c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x40309a
call fcn.0040c8a0
mov eax, dword [0x443584]
xor ecx, ecx
mov eax, dword [eax + 0x4a34]
mov eax, dword [eax]
add eax, 0x3c
cmp byte [eax], cl
cmovne ecx, eax
call fcn.0042dc80
mov eax, dword [0x44349c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov ecx, dword [0x44349c]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x44]
cmp eax, 0x88760868
jne 0x4030cc
mov eax, dword [0x44349c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x4030cc
call fcn.00401360
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00402d20
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
cmp esi, 0xffb3b4bf
jne 0x4030f1
cmp ebx, 0x7fffffff
je 0x403118
cmp ebx, 0x7fffffff
jg 0x403107
jl 0x403103
cmp esi, 0xffb3b4bf
jae 0x403107
or al, 0xff
jmp 0x403109
mov al, 1
test al, al
jns 0x403118
add esi, 0x4c4b40
adc ebx, 0
jmp 0x403120
or esi, 0xffffffff
mov ebx, 0x7fffffff
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], esi
lea ecx, [ebp - 0x30]
call fcn.00402d20
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
cmp esi, edx
jne 0x403140
cmp ebx, ecx
je 0x4031fd
cmp ebx, ecx
jg 0x40314e
jl 0x40314a
cmp esi, edx
jae 0x40314e
or al, 0xff
jmp 0x403150
mov al, 1
test al, al
jle 0x4031fd
mov edi, esi
mov esi, ebx
sub edi, edx
sbb esi, ecx
cmp edi, 0x914f0000
jne 0x403170
cmp esi, 0x4e94
je 0x4031eb
cmp esi, 0x4e94
jg 0x4031eb
jl 0x403182
cmp edi, 0x914f0000
jae 0x4031eb
push 0
push 0xf4240
push esi
push edi
call fcn.00438d70
push 0
mov ebx, eax
mov eax, edx
push 0xf4240
push eax
push ebx
mov dword [ebp - 0x14], eax
call fcn.00438f00
cmp eax, edi
jne 0x4031ad
cmp edx, esi
je 0x4031d4
cmp edx, esi
jg 0x4031d4
jl 0x4031b7
cmp eax, edi
jae 0x4031d4
mov eax, dword [ebp - 0x14]
add ebx, 1
push ebx
adc eax, 0
mov dword [ebp - 0x14], eax
call sub.KERNEL32.dll_Sleep
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x10]
jmp 0x403126
mov eax, dword [ebp - 0x14]
push ebx
mov dword [ebp - 0x14], eax
call sub.KERNEL32.dll_Sleep
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x10]
jmp 0x403126
push 0x5265c00
call sub.KERNEL32.dll_Sleep
mov esi, dword [ebp - 0x10]
jmp 0x403126
cmp byte [0x443098], 0
jne 0x402fe3
call fcn.004015e0
mov dword [ebp - 4], 2
mov ecx, dword [0x44349c]
test ecx, ecx
je 0x403230
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x44349c], 0
mov ecx, dword [0x443494]
test ecx, ecx
je 0x40324a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x443494], 0
push dword [0x443498]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x4434b4]
push dword [0x4434c8]
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 esp, ebp
pop ebp
ret 0x10