Function at 0x45d040
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xb4], 0
je 0x45d2a6
mov eax, dword [ebp - 4]
mov byte [eax + 0xae], 1
xor eax, eax
push ebp
push 0x45d29f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x60], 0
jne 0x45d095
mov eax, dword [ebp - 4]
mov byte [eax + 0x20], 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb4]
push eax
call sub.user32.dll_ShowWindow
jmp 0x45d287
mov eax, dword [ebp - 4]
mov byte [eax + 0x20], 1
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x60]
dec al
je 0x45d0bb
dec al
je 0x45d204
dec al
je 0x45d217
jmp 0x45d287
mov eax, dword [0x5da914]
mov edx, dword [eax]
call dword [edx + 0x30]
test al, al
je 0x45d106
mov eax, dword [0x5da914]
mov eax, dword [eax + 0x6c]
cmp eax, dword [ebp - 4]
jne 0x45d106
mov eax, dword [0x5da914]
cmp dword [eax + 0x68], 0
je 0x45d106
mov eax, dword [0x5da914]
mov eax, dword [eax + 0x68]
cmp eax, dword [ebp - 4]
je 0x45d106
mov eax, dword [0x5da914]
mov eax, dword [eax + 0x68]
mov dl, byte [eax + 0x61]
mov eax, dword [0x5da914]
mov eax, dword [eax + 0x68]
call fcn.00463f70
mov eax, dword [ebp - 4]
call fcn.00464610
test al, al
je 0x45d11f
mov dl, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xb4]
test al, 4
je 0x45d194
push ebp
call fcn.0045cfc0
pop ecx
push eax
mov eax, dword [ebp - 4]
call fcn.00463270
push eax
mov eax, dword [ebp - 4]
call fcn.004632a0
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
push eax
push ebp
call fcn.0045cf70
pop ecx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb4]
push eax
call sub.user32.dll_SetWindowPos
test eax, eax
jne 0x45d287
push 0x45d2b8
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x5dcb2c]
mov eax, dword [eax]
mov dl, 2
call fcn.0043fb10
jmp 0x45d287
push ebp
call fcn.0045cfc0
pop ecx
push eax
mov eax, dword [ebp - 4]
call fcn.00463270
push eax
mov eax, dword [ebp - 4]
call fcn.004632a0
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
push eax
push ebp
call fcn.0045cf70
pop ecx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb4]
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xb4]
test al, 2
jne 0x45d287
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb4]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
call fcn.00464970
jmp 0x45d287
push 6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb4]
push eax
call sub.user32.dll_ShowWindow
jmp 0x45d287
push ebp
call fcn.0045cfc0
pop ecx
push eax
mov eax, dword [ebp - 4]
call fcn.00463270
push eax
mov eax, dword [ebp - 4]
call fcn.004632a0
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
push eax
push ebp
call fcn.0045cf70
pop ecx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb4]
push eax
call sub.user32.dll_SetWindowPos
mov edx, dword [0x5dd2cc]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.004549a0
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
push 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb4]
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d2a6
mov eax, dword [ebp - 4]
mov byte [eax + 0xae], 0
ret
pop ecx
pop ebp
ret