Function at 0x4b8601
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x28], 0
push 1
call fcn.0049c470
add esp, 4
push 5
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4b863e
mov eax, 1
jmp 0x4b89fe
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4b8661
mov eax, 1
jmp 0x4b89fe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x18], eax
push 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x218]
push eax
call fcn.00477cca
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4b86a0
jmp 0x4b897e
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
push 0
push 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x214]
push eax
call dword [sym.imp.KERNEL32.dll__llseek]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4b86e2
mov dword [ebp - 0x24], 0xffffffff
cmp dword [ebp - 0x24], 0
jne 0x4b8763
cmp dword [ebp - 0x20], 0
jbe 0x4b8763
cmp dword [ebp - 0x20], 0xfffe
jbe 0x4b870f
mov dword [ebp - 0x2c], 0xfffe
jmp 0x4b8715
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x214]
push eax
call dword [sym.imp.KERNEL32.dll__lwrite]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x4b8747
jmp 0x4b8763
mov dword [ebp - 0x24], 0
xor eax, eax
sub eax, dword [ebp - 0x2c]
neg eax
sub dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x28], eax
jmp 0x4b86ec
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x218]
push eax
call fcn.00477eb5
add esp, 4
lea eax, [ebp - 0x34]
push eax
push 0
mov eax, dword [ebp - 0x18]
add eax, 0x218
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x214]
push eax
call fcn.00477c97
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4b87b2
jmp 0x4b897e
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004b7707
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x10], eax
push 0x52ceb0
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x60
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x218]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004af9d3
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4b8816
jmp 0x4b897e
push 4
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xe]
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xa]
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x5a]
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x56]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004e462a
add esp, 0x14
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4b886c
jmp 0x4b897e
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0049a311
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4b888e
jmp 0x4b897e
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0xa], 0
je 0x4b88d6
mov eax, dword [ebp - 0x30]
test byte [eax + 0xe], 1
jne 0x4b88d6
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xa]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.004e4256
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 2]
push eax
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004e472e
add esp, 0x18
push 0
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 6]
push eax
push 0
push 1
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004e472e
add esp, 0x18
push 0
push 0
push 1
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetScrollPos]
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetScrollPos]
push 0
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov cx, word [eax + 2]
shl ecx, 0x10
mov cl, 0x63
push ecx
push 0x114
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov cx, word [eax + 6]
shl ecx, 0x10
mov cl, 0x63
push ecx
push 0x115
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x7d00
push 2
call fcn.004d4fdd
add esp, 8
push 0
push 2
call fcn.004d52cc
add esp, 8
cmp dword [ebp - 0x24], 0
je 0x4b89a8
jmp 0x4b89ec
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4b89c6
push 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 8
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 8]
push eax
call fcn.004bad5e
add esp, 4
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.004a1e47
add esp, 8
push 0
call fcn.0049c470
add esp, 4
mov eax, dword [ebp - 0x24]
jmp 0x4b89fe
pop edi
pop esi
pop ebx
leave
ret