Function at 0x40e630
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x443683
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4521a0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, edx
mov esi, dword [ebp + 8]
cmp edi, 0x4c8
jne 0x40e773
push 0x1058
call fcn.00428400
add esp, 4
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0x50], edi
cmp eax, edi
je 0x40e692
push eax
call fcn.00402d00
jmp 0x40e694
xor eax, eax
or ebx, 0xffffffff
mov dword [esp + 0x50], ebx
mov dword [0x456a08], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0x4e2
mov dword [esp + 0x24], 0x2bc
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call edx
lea esi, [esp + 0x28]
mov eax, 0x455fec
call fcn.0040d950
mov esi, 8
mov dword [esp + 0x50], 1
cmp dword [eax + 0x18], esi
jb 0x40e6eb
mov eax, dword [eax + 4]
jmp 0x40e6ee
add eax, 4
mov ecx, dword [0x456a08]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x54]
call eax
mov dword [esp + 0x50], ebx
cmp dword [esp + 0x40], esi
jb 0x40e713
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00427f9c
add esp, 4
mov eax, dword [0x456a08]
xor edx, edx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], dx
call fcn.004039b0
mov eax, dword [0x455fec]
mov edx, dword [eax + 0x48]
push edi
mov ecx, 0x455fec
call edx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
mov eax, dword [0x455f5c]
mov edx, dword [eax + 0x48]
push edi
mov ecx, 0x455f5c
call edx
push eax
call esi
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x455fec]
mov edx, dword [eax + 0x48]
mov ecx, 0x455fec
call edx
cmp esi, eax
jne 0x40e7b2
mov eax, dword [ebp + 0xc]
mov edx, dword [0x455fec]
push ebx
push eax
mov eax, dword [edx + 0x4c]
push edi
push esi
mov ecx, 0x455fec
call eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [0x455f5c]
mov eax, dword [edx + 0x48]
mov ecx, 0x455f5c
call eax
cmp esi, eax
jne 0x40e7f2
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x455f5c]
mov eax, dword [edx + 0x4c]
push ebx
push ecx
push edi
push esi
mov ecx, 0x455f5c
call eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x456a08]
test ecx, ecx
je 0x40e8d7
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
call eax
cmp esi, eax
jne 0x40e8d7
cmp edi, 2
jne 0x40e8ae
mov edi, 0x455fec
mov dword [0x456a08], 0
call fcn.0040dd20
mov edx, dword [0x455f5c]
mov eax, dword [edx + 0x48]
push 0x43
push 0
push 0
push 0
push 0
push 0
mov ecx, 0x455f5c
call eax
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [0x455f5c]
mov eax, dword [edx + 0x48]
push 8
mov ecx, 0x455f5c
call eax
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
mov edx, dword [0x455fec]
mov eax, dword [edx + 0x48]
push 8
mov ecx, edi
call eax
push eax
call esi
mov edx, dword [0x455fec]
mov eax, dword [edx + 0x48]
mov ecx, edi
call eax
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, edi
call fcn.0041f6c0
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x456a08]
mov edx, dword [ecx]
mov edx, dword [edx + 0x4c]
push ebx
push eax
push edi
push esi
call edx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push ebx
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8