Function at 0x40e920
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x444293
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4531a0]
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 0x40ea63
push 0x1058
call fcn.00429000
add esp, 4
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0x50], edi
cmp eax, edi
je 0x40e982
push eax
call fcn.00402db0
jmp 0x40e984
xor eax, eax
or ebx, 0xffffffff
mov dword [esp + 0x50], ebx
mov dword [0x457a24], 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, 0x456fec
call fcn.0040dc40
mov esi, 8
mov dword [esp + 0x50], 1
cmp dword [eax + 0x18], esi
jb 0x40e9db
mov eax, dword [eax + 4]
jmp 0x40e9de
add eax, 4
mov ecx, dword [0x457a24]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x54]
call eax
mov dword [esp + 0x50], ebx
cmp dword [esp + 0x40], esi
jb 0x40ea03
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00428b9c
add esp, 4
mov eax, dword [0x457a24]
xor edx, edx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], dx
call fcn.00403a70
mov eax, dword [0x456fec]
mov edx, dword [eax + 0x48]
push edi
mov ecx, 0x456fec
call edx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
mov eax, dword [0x456f5c]
mov edx, dword [eax + 0x48]
push edi
mov ecx, 0x456f5c
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 [0x456fec]
mov edx, dword [eax + 0x48]
mov ecx, 0x456fec
call edx
cmp esi, eax
jne 0x40eaa2
mov eax, dword [ebp + 0xc]
mov edx, dword [0x456fec]
push ebx
push eax
mov eax, dword [edx + 0x4c]
push edi
push esi
mov ecx, 0x456fec
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 [0x456f5c]
mov eax, dword [edx + 0x48]
mov ecx, 0x456f5c
call eax
cmp esi, eax
jne 0x40eae2
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x456f5c]
mov eax, dword [edx + 0x4c]
push ebx
push ecx
push edi
push esi
mov ecx, 0x456f5c
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 [0x457a24]
test ecx, ecx
je 0x40ebc7
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
call eax
cmp esi, eax
jne 0x40ebc7
cmp edi, 2
jne 0x40eb9e
mov edi, 0x456fec
mov dword [0x457a24], 0
call fcn.0040e010
mov edx, dword [0x456f5c]
mov eax, dword [edx + 0x48]
push 0x43
push 0
push 0
push 0
push 0
push 0
mov ecx, 0x456f5c
call eax
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [0x456f5c]
mov eax, dword [edx + 0x48]
push 8
mov ecx, 0x456f5c
call eax
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
mov edx, dword [0x456fec]
mov eax, dword [edx + 0x48]
push 8
mov ecx, edi
call eax
push eax
call esi
mov edx, dword [0x456fec]
mov eax, dword [edx + 0x48]
mov ecx, edi
call eax
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, edi
call fcn.0041fc80
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 [0x457a24]
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