Function at 0x458050
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x58f860]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x50], ecx
movzx eax, byte [0x591035]
test eax, eax
jne 0x458094
movzx ecx, byte [0x59107c]
test ecx, ecx
jne 0x45808f
movzx edx, byte [0x59107d]
test edx, edx
jne 0x45808f
movzx eax, byte [0x59107b]
test eax, eax
je 0x458094
jmp 0x458332
call fcn.004292b0
test eax, eax
je 0x4580dc
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 0x480], 0
je 0x4580be
push 0
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x480]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [0x59107f], 0
push 0x1f6
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x458332
mov ecx, dword [ebp - 0x50]
movzx edx, byte [ecx + 0x4a8]
test edx, edx
je 0x458134
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x480]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x458116
push 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x480]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1f6
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov byte [0x59107f], 0
jmp 0x458332
lea ecx, [ebp - 8]
call fcn.004412f0
lea ecx, [ebp - 0x2c]
call fcn.0040efc0
lea ecx, [ebp - 0x1c]
call fcn.0040efc0
lea edx, [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, 0x591318
call fcn.0042d5a0
push eax
mov eax, dword [0x5912fc]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x2c]
call fcn.0042d5a0
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x480], 0
je 0x4581ab
lea ecx, [ebp - 0x1c]
call fcn.0042d5a0
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x480]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov ecx, 0x591318
call fcn.004301c0
test eax, eax
je 0x458295
mov edx, dword [ebp - 8]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, dword [0x5912fc]
jne 0x458295
movzx eax, byte [0x59107f]
test eax, eax
jne 0x458290
push 1
mov ecx, dword [ebp - 0x50]
call fcn.00458880
push 0
mov ecx, dword [ebp - 0x50]
call fcn.00458450
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 0x480], 0
je 0x458267
push 1
mov edx, dword [ebp - 0x50]
mov ecx, dword [edx + 0x480]
call fcn.00458370
push 5
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x480]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x480]
call fcn.00458340
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 0x480]
call fcn.004583b0
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [0x59107f], 1
mov byte [0x59107c], 0
mov byte [0x59107d], 0
mov byte [0x59107b], 0
jmp 0x458332
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov ecx, 0x591318
call fcn.004301c0
test eax, eax
jne 0x458332
mov edx, dword [ebp - 8]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004301c0
test eax, eax
jne 0x458332
mov eax, dword [ebp - 0x50]
movzx ecx, byte [eax + 0x4ae]
test ecx, ecx
je 0x4582e7
jmp 0x458332
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x458332
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 0x480], 0
je 0x458319
push 0
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x480]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1f6
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov byte [0x59107f], 0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00512610
mov esp, ebp
pop ebp
ret