Function at 0x453420
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455570
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x45f040]
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 [0x45f510], 0x30
mov dword [0x45f514], 0x40
mov dword [0x45f518], 0x451ad0
mov dword [0x45f51c], 0
mov dword [0x45f520], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov dword [0x45f524], eax
push 0x45f510
movups xmmword [0x45f528], xmm0
mov dword [0x45f538], 0x45cb60
mov dword [0x45f53c], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x45f524]
push 0
push 0
push 0x190
push 0x276
push 0x12c
push 0x190
push 0x80000000
push str.Sakura_Cheats
push str.classSakura
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0xa
push eax
mov dword [0x45f508], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x45f508]
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 [0x45f504], ecx
test ecx, ecx
je 0x4535aa
push 0x45f50c
push 0x45f540
push 0x40
push dword [0x45f508]
xorps xmm0, xmm0
mov dword [0x45f554], 0
push 1
movlpd qword [0x45f540], xmm0
movlpd qword [0x45f54c], xmm0
mov dword [0x45f55c], 0
movlpd qword [0x45f56c], xmm0
mov dword [0x45f560], 1
mov dword [0x45f558], 1
mov dword [0x45f548], 0
mov dword [0x45f564], 1
mov dword [0x45f568], 0x50
mov dword [0x45f574], 1
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x40]
call fcn.00451da0
cmp byte [0x45f0a4], 0
je 0x4538a1
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 0x453614
nop dword [eax]
lea eax, [ebp - 0x2c]
push eax
call esi
lea eax, [ebp - 0x2c]
push eax
call edi
cmp dword [ebp - 0x28], 0x12
je 0x453625
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call ebx
test eax, eax
jne 0x4535f0
mov eax, dword [0x45f4d8]
test eax, eax
je 0x453635
mov ecx, dword [eax + 0x84]
jmp 0x453637
cmp byte [0x45f0a4], 0
sete byte [0x45f0a4]
jmp 0x45365f
xor ecx, ecx
cmp dword [ecx + 0xc], 0
jne 0x453655
test eax, eax
je 0x453655
mov eax, dword [eax + 0x84]
test eax, eax
je 0x453655
cmp dword [eax], 0
je 0x453655
call fcn.00430f00
call fcn.00431ae0
call fcn.00409d80
call fcn.004521b0
mov dword [ebp - 4], 2
call fcn.0040b910
mov ecx, dword [0x45f50c]
push 0
push 7
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x45f50c]
push 0
push 0x1b
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x45f50c]
push 0
push 0xae
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x45f50c]
push 0
push ecx
mov dword [esp], 0x3f800000
mov eax, dword [ecx]
push 0xf5000000
push 3
push 0
push 0
push ecx
call dword [eax + 0xac]
mov eax, dword [0x45f50c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x453711
call fcn.0040bd40
mov eax, dword [0x45f4d8]
xor ecx, ecx
mov eax, dword [eax + 0x4adc]
mov eax, dword [eax]
add eax, 0x40
cmp byte [eax], cl
cmovne ecx, eax
call fcn.004309a0
mov eax, dword [0x45f50c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov ecx, dword [0x45f50c]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x44]
cmp eax, 0x88760868
jne 0x453743
mov eax, dword [0x45f50c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x453743
call fcn.00451cc0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.00453320
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x3c]
cmp ebx, 0xffb3b4bf
jne 0x453768
cmp esi, 0x7fffffff
je 0x45378f
cmp esi, 0x7fffffff
jg 0x45377e
jl 0x45377a
cmp ebx, 0xffb3b4bf
jae 0x45377e
or al, 0xff
jmp 0x453780
mov al, 1
test al, al
jns 0x45378f
add ebx, 0x4c4b40
adc esi, 0
jmp 0x453797
or ebx, 0xffffffff
mov esi, 0x7fffffff
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], ebx
nop dword [eax]
lea ecx, [ebp - 0x48]
call fcn.00453320
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
cmp ebx, edx
jne 0x4537ba
cmp esi, ecx
je 0x453882
cmp esi, ecx
jg 0x4537c8
jl 0x4537c4
cmp ebx, edx
jae 0x4537c8
or al, 0xff
jmp 0x4537ca
mov al, 1
test al, al
jle 0x453882
sub ebx, edx
sbb esi, ecx
cmp ebx, 0x914f0000
jne 0x453804
cmp esi, 0x4e94
jne 0x45380a
push 0
push 0xf4240
push esi
push ebx
call fcn.00454890
mov edi, eax
push edi
call sub.KERNEL32.dll_Sleep
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
jmp 0x4537a0
cmp esi, 0x4e94
jg 0x45381a
jl 0x453816
cmp ebx, 0x914f0000
jae 0x45381a
or al, 0xff
jmp 0x45381c
mov al, 1
test al, al
jle 0x453836
mov edi, 0x5265c00
push edi
call sub.KERNEL32.dll_Sleep
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
jmp 0x4537a0
push 0
push 0xf4240
push esi
push ebx
call fcn.00454890
push 0
push 0xf4240
mov edi, eax
push edx
push edi
call fcn.00454a20
cmp eax, ebx
jne 0x45385c
cmp edx, esi
je 0x453871
cmp edx, esi
jg 0x45386a
jl 0x453866
cmp eax, ebx
jae 0x45386a
or al, 0xff
jmp 0x45386c
mov al, 1
test al, al
jns 0x453871
inc edi
push edi
call sub.KERNEL32.dll_Sleep
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
jmp 0x4537a0
cmp byte [0x45f0a4], 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 0x4535d0
call fcn.00451f60
mov dword [ebp - 4], 3
mov ecx, dword [0x45f50c]
test ecx, ecx
je 0x4538c7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x45f50c], 0
mov ecx, dword [0x45f504]
test ecx, ecx
je 0x4538e1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x45f504], 0
push dword [0x45f508]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x45f524]
push dword [0x45f538]
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.00453924
mov esp, ebp
pop ebp
ret 0x10