Function at 0x84bc88
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov ebx, eax
mov eax, ebx
call fcn.0085a730
test al, al
je 0x84c158
cmp byte [ebx + 0x4c], 0
jne 0x84c158
mov eax, dword [ebx + 0x2b8]
mov edx, dword [eax]
call dword [edx + 0x74]
test al, al
jne 0x84bcc5
cmp byte [ebx + 0x51], 0
jne 0x84c158
mov eax, ebx
call fcn.0084b3c0
test al, al
jne 0x84c158
mov eax, dword [ebx + 0x2b8]
cmp byte [eax + 0x2ce], 1
je 0x84c158
mov eax, dword [ebx + 0x2b8]
cmp byte [eax + 0x215], 0
je 0x84c158
cmp dword [ebx + 0x2cc], 0
je 0x84bd16
mov eax, dword [ebx + 0x2b8]
cmp dword [eax + 0x2e8], 0
je 0x84c158
mov eax, dword [ebx + 0x2b8]
cmp byte [eax + 0x2d2], 1
jne 0x84bd43
mov eax, dword [0x90e0b0]
cmp dword [eax], 0
je 0x84bd43
mov eax, dword [0x90e0b0]
mov eax, dword [eax]
cmp dword [eax + 0xec], 0
jg 0x84c158
test byte [ebx + 0x2c0], 0x80
jne 0x84c158
cmp dword [ebx + 0x298], 0
jne 0x84bdba
push 0
mov ecx, dword [0x90de38]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x84b6ec]
call fcn.00614bac
mov esi, eax
mov dword [ebx + 0x298], esi
mov dword [esi + 0x3d8], ebx
test esi, esi
je 0x84c158
mov eax, esi
call fcn.005500e8
mov eax, dword [ebx + 0x298]
call fcn.005504e0
test al, al
jne 0x84bdba
lea eax, [ebx + 0x298]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00408198
jmp 0x84c158
cmp dword [ebx + 0x2cc], 0
je 0x84be6c
mov eax, ebx
call fcn.00856cd4
mov esi, eax
mov eax, ebx
call fcn.0085663c
imul esi, eax
inc esi
mov eax, dword [ebx + 0x2b8]
call fcn.0061560c
mov edi, eax
mov eax, ebx
call fcn.00856540
add edi, eax
sub edi, esi
lea edx, [ebp - 0x44]
mov eax, ebx
call fcn.0085985c
sub edi, dword [ebp - 0x40]
mov eax, dword [ebx + 0x2cc]
call fcn.0084b0f4
sub edi, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebx + 0x2b8]
call fcn.0055010c
mov edx, dword [ebx + 0x2cc]
xor ecx, ecx
call fcn.0084aed8
mov edi, eax
mov eax, dword [ebx + 0x2b8]
call fcn.006155ec
add edi, eax
mov dword [ebp - 0x18], edi
mov edi, dword [ebx + 0x2b8]
mov eax, edi
call fcn.0055010c
mov edx, dword [ebx + 0x2cc]
xor ecx, ecx
call fcn.0084aed8
add eax, eax
mov edx, dword [edi + 0x58]
sub edx, eax
mov dword [ebp - 0x1c], edx
test esi, esi
je 0x84c06b
inc esi
jmp 0x84c06b
mov eax, dword [ebx + 0x2b8]
mov esi, dword [eax + 0x5c]
mov eax, dword [eax + 0x58]
mov dword [ebp - 0x1c], eax
mov edi, dword [ebx + 0x2b8]
cmp dword [edi + 0x40], 0
jne 0x84beaa
cmp byte [edi + 0x2d2], 1
je 0x84beaa
mov eax, edi
call fcn.0061560c
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x2b8]
call fcn.006155ec
mov dword [ebp - 0x18], eax
jmp 0x84bec7
lea eax, [ebp - 0x34]
push eax
mov eax, edi
call fcn.0055010c
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov edi, dword [ebx + 0x2b8]
cmp byte [edi + 0x2ce], 2
jne 0x84bf1f
lea edx, [ebp - 0x34]
mov eax, edi
call fcn.0082dd40
mov eax, dword [ebx + 0x2b8]
call fcn.0061560c
neg eax
push eax
mov eax, dword [ebx + 0x2b8]
call fcn.006155ec
mov edx, eax
neg edx
lea eax, [ebp - 0x34]
pop ecx
call fcn.004136ac
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.gdi32.dll_CreateRectRgn
mov edi, eax
jmp 0x84bf2c
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.0084c690
mov edi, eax
mov dword [ebp - 0x10], edi
mov eax, dword [ebx + 0x2b8]
call fcn.0055010c
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x2b8]
call fcn.0055010c
lea edx, [ebp - 0x10]
call fcn.0084bbf0
mov eax, dword [ebx + 0x2b8]
call fcn.0055010c
lea edx, [ebp - 0x34]
call fcn.008321d8
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 8], eax
push 4
mov eax, dword [ebp - 8]
push eax
push edi
push edi
call sub.gdi32.dll_CombineRgn
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebx + 0x2b8]
cmp dword [eax + 0x40], 0
jne 0x84bfb0
mov eax, dword [ebx + 0x2b8]
cmp byte [eax + 0x2d2], 1
jne 0x84c057
mov eax, dword [ebx + 0x2b8]
call fcn.0055010c
push eax
call sub.user32.dll_GetDC
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_GetClipBox
dec eax
jne 0x84c008
lea eax, [ebx + 0x298]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00408198
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x2b8]
call fcn.0055010c
push eax
call sub.user32.dll_ReleaseDC
jmp 0x84c158
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
cmp edx, eax
jle 0x84c042
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x28]
jge 0x84c042
mov ecx, dword [ebp - 0x28]
push ecx
push edx
mov edx, dword [ebp - 0x30]
push edx
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 8], eax
push 1
mov eax, dword [ebp - 8]
push eax
push edi
push edi
call sub.gdi32.dll_CombineRgn
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x2b8]
call fcn.0055010c
push eax
call sub.user32.dll_ReleaseDC
push 0
push edi
mov eax, dword [ebx + 0x298]
call fcn.0055010c
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 0x1c]
push eax
push esi
mov eax, dword [ebx + 0x298]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc0]
mov eax, dword [ebx + 0x2b8]
cmp byte [eax + 0x2d2], 1
jne 0x84c0c7
push 0x658
mov eax, ebx
call fcn.00856b1c
push eax
mov eax, dword [ebx + 0x2b8]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
mov eax, dword [ebx + 0x298]
call fcn.0055010c
push eax
call sub.user32.dll_SetWindowPos
jmp 0x84c124
call fcn.0055010c
push 0xffffffffffffffec
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x84c0ff
push 0x658
push esi
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x298]
call fcn.0055010c
push eax
call sub.user32.dll_SetWindowPos
jmp 0x84c124
push 0x658
push esi
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
mov eax, dword [ebx + 0x298]
call fcn.0055010c
push eax
call sub.user32.dll_SetWindowPos
push 4
mov eax, dword [ebx + 0x298]
call fcn.0055010c
push eax
call sub.user32.dll_ShowWindow
push 0x105
push 0
push 0
mov eax, dword [ebx + 0x298]
call fcn.0055010c
push eax
call sub.user32.dll_RedrawWindow
push 0x28
call sub.kernel32.dll_Sleep_2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret