Function at 0x402290
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432e00
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x43c040]
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 [0x43c660], 0x30
mov dword [0x43c664], 0x40
mov dword [0x43c668], 0x401120
mov dword [0x43c66c], 0
mov dword [0x43c670], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov dword [0x43c674], eax
push 0x43c660
movups xmmword [0x43c678], xmm0
mov dword [0x43c688], 0x4342f4
mov dword [0x43c68c], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x43c674]
push 0
push 0
push 0x12c
push 0x1f4
push 0x64
push 0x64
push 0x80000000
push str.NULLToska_Mint_was_here
push str.class001
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0xa
push eax
mov dword [0x43c658], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x43c658]
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 [0x43c654], ecx
test ecx, ecx
je 0x402414
push 0x43c65c
push 0x43c690
push 0x40
push dword [0x43c658]
xorps xmm0, xmm0
mov dword [0x43c6a4], 0
push 1
movlpd qword [0x43c690], xmm0
movlpd qword [0x43c69c], xmm0
mov dword [0x43c6ac], 0
movlpd qword [0x43c6bc], xmm0
mov dword [0x43c6b0], 1
mov dword [0x43c6a8], 1
mov dword [0x43c698], 0
mov dword [0x43c6b4], 1
mov dword [0x43c6b8], 0x50
mov dword [0x43c6c4], 1
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x40]
call fcn.004013d0
cmp byte [0x43c0a8], 0
je 0x4025c8
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
mov dword [ebp - 0x38], 5
mov dword [ebp - 0x34], 0
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push eax
call esi
test eax, eax
je 0x402484
nop
lea eax, [ebp - 0x2c]
push eax
call edi
lea eax, [ebp - 0x2c]
push eax
call ebx
cmp dword [ebp - 0x28], 0x12
je 0x402495
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call esi
test eax, eax
jne 0x402460
mov eax, dword [0x43c6d0]
test eax, eax
je 0x4024a5
mov ecx, dword [eax + 0xc8]
jmp 0x4024a7
cmp byte [0x43c0a8], 0
sete byte [0x43c0a8]
jmp 0x4024cf
xor ecx, ecx
cmp dword [ecx + 0xc], 0
jne 0x4024c5
test eax, eax
je 0x4024c5
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x4024c5
cmp dword [eax], 0
je 0x4024c5
call fcn.00426630
call fcn.00426bb0
call fcn.00407120
call fcn.004017c0
mov dword [ebp - 4], 2
call fcn.00409370
mov ecx, dword [0x43c65c]
push 0
push 7
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x43c65c]
push 0
push 0x1b
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x43c65c]
push 0
push 0xae
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x43c65c]
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 [0x43c65c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x402581
call fcn.00409700
mov eax, dword [0x43c6d0]
xor ecx, ecx
mov eax, dword [eax + 0x1d4c]
mov eax, dword [eax]
add eax, 0x34
cmp byte [eax], cl
cmovne ecx, eax
call fcn.00426100
mov eax, dword [0x43c65c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov ecx, dword [0x43c65c]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x44]
cmp eax, 0x88760868
jne 0x4025b3
mov eax, dword [0x43c65c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x4025b3
call fcn.00401300
lea ecx, [ebp - 0x38]
call fcn.004020a0
cmp byte [0x43c0a8], 0
jne 0x402446
mov dword [ebp - 4], 3
mov ecx, dword [0x43c6d0]
test ecx, ecx
je 0x4025e1
mov edi, dword [ecx + 0xc8]
jmp 0x4025e3
xor edi, edi
lea ebx, [ecx + 8]
test ecx, ecx
je 0x402654
mov esi, dword [ecx + 0xc8]
test esi, esi
je 0x402654
cmp dword [esi], 0
je 0x402654
mov edx, dword [esi + 4]
test edx, edx
je 0x402613
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x43c6d0]
mov dword [esi + 4], 0
mov edx, dword [esi + 8]
test edx, edx
je 0x40262d
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x43c6d0]
mov dword [esi + 8], 0
mov edx, dword [esi + 0xc]
test edx, edx
je 0x402654
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x43c6d0]
mov dword [esi + 0xc], 0
mov eax, dword [ecx + 0x98]
mov dword [eax + 4], 0
mov edx, dword [edi]
test edx, edx
je 0x402666
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x43c6d0]
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xc0], 0
test ecx, ecx
je 0x402684
dec dword [ecx + 0x36c]
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call edi
mov eax, dword [0x43c6d0]
add esp, 4
test eax, eax
je 0x4026a1
mov esi, dword [eax + 0xc4]
jmp 0x4026a3
xor esi, esi
mov ecx, dword [esi + 0x28]
lea ebx, [eax + 8]
test ecx, ecx
je 0x4026b9
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x43c6d0]
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xbc], 0
test eax, eax
je 0x4026d7
dec dword [eax + 0x36c]
push esi
call edi
mov esi, dword [0x43c6d0]
add esp, 4
mov ecx, esi
call fcn.004087a0
cmp dword [0x43c6d0], esi
jne 0x4026fc
mov dword [0x43c6d0], 0
test esi, esi
je 0x40271c
mov ecx, esi
call fcn.004168d0
mov eax, dword [0x43c6d0]
test eax, eax
je 0x402716
dec dword [eax + 0x36c]
push esi
call edi
add esp, 4
mov dword [ebp - 4], 4
mov ecx, dword [0x43c65c]
test ecx, ecx
je 0x40273d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x43c65c], 0
mov ecx, dword [0x43c654]
test ecx, ecx
je 0x402757
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x43c654], 0
push dword [0x43c658]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x43c674]
push dword [0x43c688]
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.00431906
mov esp, ebp
pop ebp
ret 0x10