Function at 0x487938
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x487940
push ecx
push ebx
push esi
mov eax, 0x486020
call fcn.0040699c
xor eax, eax
push ebp
push 0x487cdf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x487cf0
call sub.user32.dll_FindWindowA
test eax, eax
jne 0x487cb8
mov eax, dword [0x48aed4]
mov eax, dword [eax]
call fcn.0045e5f0
push 0x7f89
push 0
call sub.user32.dll_LoadCursorA
mov ecx, eax
mov eax, dword [0x48b0ac]
mov eax, dword [eax]
mov edx, 0xffffffeb
call fcn.0045c228
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
mov eax, 1
call fcn.0040313c
mov eax, dword [ebp - 0x1c]
mov ecx, 2
mov edx, 1
call fcn.00404e3c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004089e4
mov eax, dword [ebp - 0x14]
mov edx, 0x487d48
call fcn.00404d28
jne 0x487a58
push 0xffffffffffffffec
mov eax, dword [0x48aed4]
mov eax, dword [eax]
mov ebx, dword [eax + 0x30]
push ebx
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x48aed4]
push ebx
call sub.user32.dll_SetWindowLongA
push 0
mov eax, dword [0x48aed4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x48aed4]
mov eax, dword [eax]
xor edx, edx
call fcn.0045e070
mov ecx, dword [0x48acf8]
mov eax, dword [0x48aed4]
mov eax, dword [eax]
mov edx, dword [0x47f66c]
call fcn.0045e608
mov ecx, dword [0x48ab68]
mov eax, dword [0x48aed4]
mov eax, dword [eax]
mov edx, dword [0x485bf4]
call fcn.0045e608
jmp 0x487cac
lea edx, [ebp - 0x24]
mov eax, 1
call fcn.0040313c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004089e4
mov eax, dword [ebp - 0x20]
mov edx, 0x487d54
call fcn.00404d28
je 0x487cac
call fcn.004030dc
test eax, eax
je 0x487ac9
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x30]
mov eax, 1
call fcn.0040313c
mov eax, dword [ebp - 0x30]
mov ecx, 2
mov edx, 1
call fcn.00404e3c
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.004089e4
mov eax, dword [ebp - 0x28]
mov edx, 0x487d60
call fcn.00404d28
jne 0x487afe
mov ecx, dword [0x48ab68]
mov eax, dword [0x48aed4]
mov eax, dword [eax]
mov edx, dword [0x485bf4]
call fcn.0045e608
mov ecx, dword [0x48acf8]
mov eax, dword [0x48aed4]
mov eax, dword [eax]
mov edx, dword [0x47f66c]
call fcn.0045e608
jmp 0x487cac
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x3c]
mov eax, 1
call fcn.0040313c
mov eax, dword [ebp - 0x3c]
mov ecx, 2
mov edx, 1
call fcn.00404e3c
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.004089e4
mov eax, dword [ebp - 0x34]
mov edx, 0x487d6c
call fcn.00404d28
jne 0x487cac
lea edx, [ebp - 0x40]
mov eax, 2
call fcn.0040313c
mov eax, dword [ebp - 0x40]
call fcn.0040915c
mov ebx, eax
jmp 0x487b64
mov eax, dword [0x48aed4]
mov eax, dword [eax]
call fcn.0045e4dc
push ebx
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x487b58
push 0x490c38
push ebx
call sub.user32.dll_GetWindowRect
xor ecx, ecx
mov dl, 1
mov eax, dword [0x47e58c]
call fcn.004775a8
mov dword [0x490c34], eax
xor edx, edx
mov eax, dword [0x490c34]
call fcn.00440cb8
xor edx, edx
mov eax, dword [0x490c34]
call fcn.00440cec
mov edx, dword [0x490c40]
sub edx, dword [0x490c38]
mov eax, dword [0x490c34]
call fcn.00440d20
mov edx, dword [0x490c44]
sub edx, dword [0x490c3c]
mov eax, dword [0x490c34]
call fcn.00440d54
mov edx, ebx
mov eax, dword [0x490c34]
call fcn.00446050
mov eax, dword [0x48ac5c]
cmp dword [eax], 0x1fffffff
je 0x487c00
mov ecx, dword [0x48ac5c]
mov ecx, dword [ecx]
mov edx, 0x7b
mov eax, dword [0x490c34]
call fcn.0047f314
xor eax, eax
push ebp
push 0x487ca5
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x48af4c]
mov edx, dword [edx]
mov eax, dword [0x490c34]
call fcn.0047ee74
lea eax, [ebp - 0x44]
call fcn.00473d34
mov esi, dword [ebp - 0x44]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp - 0x4c]
call fcn.0040d5b8
mov edx, dword [ebp - 0x48]
mov eax, 0x490c48
call fcn.0040496c
mov ecx, dword [0x490c48]
mov edx, 0x88
mov eax, dword [0x490c34]
call fcn.0047f284
mov eax, dword [0x490c34]
call fcn.0047ed68
jmp 0x487c73
mov eax, dword [0x48aed4]
mov eax, dword [eax]
call fcn.0045e4dc
push ebx
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x487c8d
push 0
push 0x487cf0
call sub.user32.dll_FindWindowA
test eax, eax
je 0x487c67
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487cac
mov eax, dword [0x490c34]
call fcn.00403ad0
ret
mov eax, dword [0x48aed4]
mov eax, dword [eax]
call fcn.0045e688
mov eax, dword [0x48aed4]
mov eax, dword [eax]
call fcn.0045e688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487ce6
lea eax, [ebp - 0x48]
mov edx, 0xe
call fcn.0040493c
ret