Function at 0x401690
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429f10
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x432040]
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 [0x4325d0], 0x30
mov dword [0x4325d4], 0x40
mov dword [0x4325d8], 0x401000
mov dword [0x4325dc], 0
mov dword [0x4325e0], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov dword [0x4325e4], eax
push 0x4325d0
movups xmmword [0x4325e8], xmm0
mov dword [0x4325f8], 0x42b238
mov dword [0x4325fc], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x4325e4]
push 0
push 0
push 0x12c
push 0x1f4
push 0x64
push 0x64
push 0x80000000
push str.Menu
push str.class001
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0xa
push eax
mov dword [0x4325c8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4325c8]
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 [0x4325c4], ecx
test ecx, ecx
je 0x401814
push 0x4325cc
push 0x432600
push 0x40
push dword [0x4325c8]
xorps xmm0, xmm0
mov dword [0x432614], 0
push 1
movlpd qword [0x432600], xmm0
movlpd qword [0x43260c], xmm0
mov dword [0x43261c], 0
movlpd qword [0x43262c], xmm0
mov dword [0x432620], 1
mov dword [0x432618], 1
mov dword [0x432608], 0
mov dword [0x432624], 1
mov dword [0x432628], 0x50
mov dword [0x432634], 1
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x40]
call fcn.004012b0
cmp byte [0x43209c], 0
je 0x401b62
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 1
push eax
call ebx
test eax, eax
je 0x401884
nop
lea eax, [ebp - 0x3c]
push eax
call esi
lea eax, [ebp - 0x3c]
push eax
call edi
cmp dword [ebp - 0x38], 0x12
je 0x401895
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
call ebx
test eax, eax
jne 0x401860
mov eax, dword [0x432648]
test eax, eax
je 0x4018a5
mov ecx, dword [eax + 0xc8]
jmp 0x4018a7
cmp byte [0x43209c], 0
sete byte [0x43209c]
jmp 0x4018cf
xor ecx, ecx
cmp dword [ecx + 0xc], 0
jne 0x4018c5
test eax, eax
je 0x4018c5
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x4018c5
cmp dword [eax], 0
je 0x4018c5
call fcn.00424fa0
call fcn.00425520
call fcn.00406630
mov dword [ebp - 4], 2
mov edx, 0x43209c
mov eax, dword [0x432648]
mov ecx, str.subscribe_to_cazzy
push 0x126
or dword [eax + 0x1c84], 3
mov dword [eax + 0x1c94], 0
mov dword [eax + 0x1c98], 0
mov dword [eax + 0x1c9c], 0
mov dword [eax + 0x1ca0], 0
mov dword [eax + 0x1c88], 1
mov dword [eax + 0x1ca4], 0x43fa0000
mov dword [eax + 0x1ca8], 0x43960000
mov dword [eax + 0x1c8c], 1
call fcn.0040b760
lea edx, [ebp - 0x5c]
call fcn.004278c0
add esp, 4
call fcn.0040e100
mov dword [ebp - 4], 3
call fcn.00408880
mov ecx, dword [0x4325cc]
push 0
push 7
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4325cc]
push 0
push 0x1b
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4325cc]
push 0
push 0xae
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4325cc]
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 [0x4325cc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x401a03
call fcn.00408c10
mov eax, dword [0x432648]
xor ecx, ecx
mov eax, dword [eax + 0x1d4c]
mov eax, dword [eax]
add eax, 0x34
cmp byte [eax], cl
cmovne ecx, eax
call fcn.00424aa0
mov eax, dword [0x4325cc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov ecx, dword [0x4325cc]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x44]
cmp eax, 0x88760868
jne 0x401a35
mov eax, dword [0x4325cc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x401a35
call fcn.004011e0
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
call fcn.00401570
mov esi, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x64]
cmp esi, 0xffb3b4bf
jne 0x401a5a
cmp ebx, 0x7fffffff
je 0x401a81
cmp ebx, 0x7fffffff
jg 0x401a70
jl 0x401a6c
cmp esi, 0xffb3b4bf
jae 0x401a70
or al, 0xff
jmp 0x401a72
mov al, 1
test al, al
jns 0x401a81
add esi, 0x4c4b40
adc ebx, 0
jmp 0x401a89
or esi, 0xffffffff
mov ebx, 0x7fffffff
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], esi
nop
lea ecx, [ebp - 0x50]
call fcn.00401570
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
cmp esi, ecx
jne 0x401aaa
cmp ebx, eax
je 0x401b43
cmp ebx, eax
jg 0x401ab8
jl 0x401ab4
cmp esi, ecx
jae 0x401ab8
or al, 0xff
jmp 0x401aba
mov al, 1
test al, al
jle 0x401b43
call dword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
push 0
push 0x64
push edx
push eax
call fcn.00429d30
mov ebx, dword [ebp - 0x44]
mov esi, eax
sub ebx, dword [ebp - 0x50]
mov edi, edx
mov eax, dword [ebp - 0x40]
mov ecx, ebx
sbb eax, dword [ebp - 0x4c]
mov edx, eax
mov dword [ebp - 0x54], eax
call fcn.00429e10
comisd xmm0, xmmword [0x42f990]
jbe 0x401b07
add esi, 0xad160000
adc edi, 0x311cd
jmp 0x401b0c
add esi, ebx
adc edi, dword [ebp - 0x54]
push 0
push 0x3b9aca00
push edi
push esi
call fcn.00429ba0
mov dword [ebp - 0x20], eax
imul eax, eax, 0x3b9aca00
mov dword [ebp - 0x1c], edx
sub esi, eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.MSVCP140.dll__Thrd_sleep]
mov ebx, dword [ebp - 0x40]
add esp, 4
mov esi, dword [ebp - 0x44]
jmp 0x401a90
cmp byte [0x43209c], 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 0x401846
mov dword [ebp - 4], 4
mov ecx, dword [0x432648]
test ecx, ecx
je 0x401b7b
mov edi, dword [ecx + 0xc8]
jmp 0x401b7d
xor edi, edi
lea ebx, [ecx + 8]
test ecx, ecx
je 0x401bee
mov esi, dword [ecx + 0xc8]
test esi, esi
je 0x401bee
cmp dword [esi], 0
je 0x401bee
mov edx, dword [esi + 4]
test edx, edx
je 0x401bad
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x432648]
mov dword [esi + 4], 0
mov edx, dword [esi + 8]
test edx, edx
je 0x401bc7
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x432648]
mov dword [esi + 8], 0
mov edx, dword [esi + 0xc]
test edx, edx
je 0x401bee
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x432648]
mov dword [esi + 0xc], 0
mov eax, dword [ecx + 0x98]
mov dword [eax + 4], 0
mov edx, dword [edi]
test edx, edx
je 0x401c00
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x432648]
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xc0], 0
test ecx, ecx
je 0x401c1e
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 [0x432648]
add esp, 4
test eax, eax
je 0x401c3b
mov esi, dword [eax + 0xc4]
jmp 0x401c3d
xor esi, esi
mov ecx, dword [esi + 0x28]
lea ebx, [eax + 8]
test ecx, ecx
je 0x401c53
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x432648]
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xbc], 0
test eax, eax
je 0x401c71
dec dword [eax + 0x36c]
push esi
call edi
mov esi, dword [0x432648]
add esp, 4
mov ecx, esi
call fcn.00407cb0
cmp dword [0x432648], esi
jne 0x401c96
mov dword [0x432648], 0
test esi, esi
je 0x401cb6
mov ecx, esi
call fcn.00415020
mov eax, dword [0x432648]
test eax, eax
je 0x401cb0
dec dword [eax + 0x36c]
push esi
call edi
add esp, 4
mov dword [ebp - 4], 5
mov ecx, dword [0x4325cc]
test ecx, ecx
je 0x401cd7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4325cc], 0
mov ecx, dword [0x4325c4]
test ecx, ecx
je 0x401cf1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4325c4], 0
push dword [0x4325c8]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x4325e4]
push dword [0x4325f8]
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.00428d7b
mov esp, ebp
pop ebp
ret 0x10