Function at 0x40e920
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x43dc98
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4541fc]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x94]
mov eax, dword [esp + 0xa4]
mov dword [eax], 0
test ebp, ebp
je 0x40ea96
cmp dword [esp + 0x9c], 0
je 0x40ea96
cmp dword [esp + 0xa0], 0
je 0x40ea96
mov eax, ebp
call fcn.0040d550
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40ea96
mov ecx, dword [esp + 0x98]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], esi
call fcn.00414f00
mov dword [esp + 0x8c], 0
mov esi, dword [esp + 0x48]
mov ecx, esi
sub ecx, dword [esp + 0x44]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x40ea76
lea edx, [esp + 0x50]
push edx
call fcn.0040e240
mov ebx, 1
lea edi, [esp + 0x50]
mov byte [esp + 0x8c], bl
call fcn.0040e3b0
mov edx, 0x44b0ac
lea edi, [esp + 0x64]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.0040a780
mov edx, str.globalPicTxt_pic140_clearfix
lea edi, [esp + 0x68]
call fcn.0040a780
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00414420
test eax, eax
je 0x40ea61
lea edx, [esp + 0x20]
push edx
mov ecx, eax
call fcn.004147b0
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x90], 2
call fcn.0040fe90
lea esi, [esp + 0x20]
call fcn.00413030
lea eax, [esp + 0x50]
mov byte [esp + 0x8c], 0
call fcn.0040ec00
mov esi, dword [esp + 0x48]
sub esi, dword [esp + 0x44]
mov eax, 0x66666667
imul esi
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x40eaaf
lea esi, [esp + 0x38]
call fcn.00413030
xor eax, eax
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
call fcn.00419b95
xor edx, edx
div esi
lea eax, [esp + 0x38]
push edx
call fcn.0040fff0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x6c]
lea eax, [esp + 0x20]
push eax
lea ebx, [esp + 0x1c]
mov dword [ebp + 0x5c], ecx
mov dword [esp + 0x98], edx
call fcn.00414d40
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x44]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
xor edi, edi
test esi, esi
jle 0x40eb69
push edi
lea eax, [esp + 0x3c]
call fcn.0040fff0
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
test ecx, ecx
je 0x40eb64
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
inc edi
cmp edi, esi
jl 0x40eb30
lea eax, [esp + 0x38]
call fcn.00410090
mov ecx, dword [esp + 0x94]
cmp dword [ebp + 0x6c], ecx
jbe 0x40ea8d
mov edx, dword [ebp + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esp + 0x9c]
mov eax, dword [esi + 0x64]
push eax
call fcn.0040c3b0
test eax, eax
je 0x40ea8d
mov ecx, dword [esp + 0xa0]
push 0x2710
push 0x7d0
push esi
mov dword [ecx], eax
call fcn.0040e440
add esp, 0xc
test eax, eax
je 0x40ea8d
mov eax, esi
call fcn.0040e8c0
mov edx, dword [esp + 0xa4]
lea esi, [esp + 0x38]
mov dword [edx], eax
call fcn.00413030
mov eax, 1
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret