Function at 0x40e5d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x443a23
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 0x40e713
push 0x1058
call fcn.00428860
add esp, 4
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0x50], edi
cmp eax, edi
je 0x40e632
push eax
call fcn.00402d00
jmp 0x40e634
xor eax, eax
or ebx, 0xffffffff
mov dword [esp + 0x50], ebx
mov dword [0x457a08], 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.0040d870
mov esi, 8
mov dword [esp + 0x50], 1
cmp dword [eax + 0x18], esi
jb 0x40e68b
mov eax, dword [eax + 4]
jmp 0x40e68e
add eax, 4
mov ecx, dword [0x457a08]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x54]
call eax
mov dword [esp + 0x50], ebx
cmp dword [esp + 0x40], esi
jb 0x40e6b3
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004283fc
add esp, 4
mov eax, dword [0x457a08]
xor edx, edx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], dx
call fcn.004039b0
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 0x40e752
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 0x40e792
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 [0x457a08]
test ecx, ecx
je 0x40e877
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
call eax
cmp esi, eax
jne 0x40e877
cmp edi, 2
jne 0x40e84e
mov edi, 0x456fec
mov dword [0x457a08], 0
call fcn.0040dcc0
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.0041f6a0
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 [0x457a08]
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