Function at 0x406200
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430ea0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x43a040]
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 [0x43a7d8], 0x30
mov dword [0x43a7dc], 0x40
mov dword [0x43a7e0], 0x403100
mov dword [0x43a7e4], 0
mov dword [0x43a7e8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov dword [0x43a7ec], eax
push 0x43a7d8
movups xmmword [0x43a7f0], xmm0
mov dword [0x43a800], 0x4324c4
mov dword [0x43a804], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov edi, eax
call esi
push 0
push dword [0x43a7ec]
mov ecx, eax
lea eax, [edi - 0x2bc]
cdq
push 0
sub eax, edx
mov esi, eax
lea eax, [ecx - 0x1b8]
push 0
push 0x1b8
cdq
push 0x2bc
sub eax, edx
sar esi, 1
sar eax, 1
push eax
push esi
push 0x80000000
push str.Devularia_Cleaner
push str.class001
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0xa
push eax
mov dword [0x43a7d0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x43a7d0]
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 [0x43a7cc], ecx
test ecx, ecx
je 0x4063ac
push 0x43a7d4
push 0x43a808
push 0x40
push dword [0x43a7d0]
xorps xmm0, xmm0
mov dword [0x43a81c], 0
push 1
movlpd qword [0x43a808], xmm0
movlpd qword [0x43a814], xmm0
mov dword [0x43a824], 0
movlpd qword [0x43a834], xmm0
mov dword [0x43a828], 1
mov dword [0x43a820], 1
mov dword [0x43a810], 0
mov dword [0x43a82c], 1
mov dword [0x43a830], 0x50
mov dword [0x43a83c], 1
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x40]
call fcn.004033b0
cmp byte [0x43a0a4], 0
je 0x4066a1
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
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 0x406414
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 0x406425
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call ebx
test eax, eax
jne 0x4063f0
mov eax, dword [0x43a858]
test eax, eax
je 0x406435
mov ecx, dword [eax + 0xc8]
jmp 0x406437
cmp byte [0x43a0a4], 0
sete byte [0x43a0a4]
jmp 0x40645f
xor ecx, ecx
cmp dword [ecx + 0xc], 0
jne 0x406455
test eax, eax
je 0x406455
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x406455
cmp dword [eax], 0
je 0x406455
call fcn.00429dd0
call fcn.0042a350
call fcn.0040b150
call fcn.00403670
mov dword [ebp - 4], 2
call fcn.0040d400
mov ecx, dword [0x43a7d4]
push 0
push 7
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x43a7d4]
push 0
push 0x1b
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x43a7d4]
push 0
push 0xae
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x43a7d4]
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 [0x43a7d4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x406511
call fcn.0040d790
mov eax, dword [0x43a858]
xor ecx, ecx
mov eax, dword [eax + 0x1d4c]
mov eax, dword [eax]
add eax, 0x34
cmp byte [eax], cl
cmovne ecx, eax
call fcn.004298a0
mov eax, dword [0x43a7d4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov ecx, dword [0x43a7d4]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x44]
cmp eax, 0x88760868
jne 0x406543
mov eax, dword [0x43a7d4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x406543
call fcn.004032e0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.00406100
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x3c]
cmp ebx, 0xffb3b4bf
jne 0x406568
cmp esi, 0x7fffffff
je 0x40658f
cmp esi, 0x7fffffff
jg 0x40657e
jl 0x40657a
cmp ebx, 0xffb3b4bf
jae 0x40657e
or al, 0xff
jmp 0x406580
mov al, 1
test al, al
jns 0x40658f
add ebx, 0x4c4b40
adc esi, 0
jmp 0x406597
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.00406100
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
cmp ebx, edx
jne 0x4065ba
cmp esi, ecx
je 0x406682
cmp esi, ecx
jg 0x4065c8
jl 0x4065c4
cmp ebx, edx
jae 0x4065c8
or al, 0xff
jmp 0x4065ca
mov al, 1
test al, al
jle 0x406682
sub ebx, edx
sbb esi, ecx
cmp ebx, 0x914f0000
jne 0x406604
cmp esi, 0x4e94
jne 0x40660a
push 0
push 0xf4240
push esi
push ebx
call fcn.00430560
mov edi, eax
push edi
call sub.KERNEL32.dll_Sleep
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
jmp 0x4065a0
cmp esi, 0x4e94
jg 0x40661a
jl 0x406616
cmp ebx, 0x914f0000
jae 0x40661a
or al, 0xff
jmp 0x40661c
mov al, 1
test al, al
jle 0x406636
mov edi, 0x5265c00
push edi
call sub.KERNEL32.dll_Sleep
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
jmp 0x4065a0
push 0
push 0xf4240
push esi
push ebx
call fcn.00430560
push 0
push 0xf4240
mov edi, eax
push edx
push edi
call fcn.004306f0
cmp eax, ebx
jne 0x40665c
cmp edx, esi
je 0x406671
cmp edx, esi
jg 0x40666a
jl 0x406666
cmp eax, ebx
jae 0x40666a
or al, 0xff
jmp 0x40666c
mov al, 1
test al, al
jns 0x406671
inc edi
push edi
call sub.KERNEL32.dll_Sleep
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
jmp 0x4065a0
cmp byte [0x43a0a4], 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 0x4063d0
mov dword [ebp - 4], 3
mov ecx, dword [0x43a858]
test ecx, ecx
je 0x4066ba
mov edi, dword [ecx + 0xc8]
jmp 0x4066bc
xor edi, edi
lea ebx, [ecx + 8]
test ecx, ecx
je 0x40672d
mov esi, dword [ecx + 0xc8]
test esi, esi
je 0x40672d
cmp dword [esi], 0
je 0x40672d
mov edx, dword [esi + 4]
test edx, edx
je 0x4066ec
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x43a858]
mov dword [esi + 4], 0
mov edx, dword [esi + 8]
test edx, edx
je 0x406706
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x43a858]
mov dword [esi + 8], 0
mov edx, dword [esi + 0xc]
test edx, edx
je 0x40672d
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x43a858]
mov dword [esi + 0xc], 0
mov eax, dword [ecx + 0x98]
mov dword [eax + 4], 0
mov edx, dword [edi]
test edx, edx
je 0x40673f
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x43a858]
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xc0], 0
test ecx, ecx
je 0x40675d
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 [0x43a858]
add esp, 4
test eax, eax
je 0x40677a
mov esi, dword [eax + 0xc4]
jmp 0x40677c
xor esi, esi
mov ecx, dword [esi + 0x28]
lea ebx, [eax + 8]
test ecx, ecx
je 0x406792
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x43a858]
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xbc], 0
test eax, eax
je 0x4067b0
dec dword [eax + 0x36c]
push esi
call edi
mov esi, dword [0x43a858]
add esp, 4
mov ecx, esi
call fcn.0040c810
cmp dword [0x43a858], esi
jne 0x4067d5
mov dword [0x43a858], 0
test esi, esi
je 0x4067f5
mov ecx, esi
call fcn.0041a160
mov eax, dword [0x43a858]
test eax, eax
je 0x4067ef
dec dword [eax + 0x36c]
push esi
call edi
add esp, 4
mov dword [ebp - 4], 4
mov ecx, dword [0x43a7d4]
test ecx, ecx
je 0x406816
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x43a7d4], 0
mov ecx, dword [0x43a7cc]
test ecx, ecx
je 0x406830
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x43a7cc], 0
push dword [0x43a7d0]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x43a7ec]
push dword [0x43a800]
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.0042f526
mov esp, ebp
pop ebp
ret 0x10