Function at 0x82cfb4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
mov ebx, 0x90c770
cmp dword [ebx], 0
je 0x82cff8
mov eax, dword [ebx]
cmp dword [eax + 0x140], 0
je 0x82cff8
mov eax, dword [ebx]
add eax, 0x140
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00408198
mov eax, esi
mov ecx, 0xc
cdq
idiv ecx
test eax, eax
jne 0x82d025
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 4], edx
call fcn.00408198
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 8], edx
call fcn.00408198
jmp 0x82d2e3
cmp dword [ebx], 0
jne 0x82d040
mov ecx, dword [0x90de38]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x82aab4]
call fcn.00832a38
mov dword [ebx], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 0xcc], edx
mov eax, dword [ebx]
mov byte [eax + 0x135], 0
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x128], edx
mov eax, dword [ebx]
mov eax, dword [eax + 0x138]
test eax, eax
je 0x82d08a
cmp eax, dword [ebp - 8]
je 0x82d08a
mov eax, dword [ebx]
add eax, 0x138
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00408198
mov eax, dword [ebx]
mov edx, dword [ebp - 8]
mov dword [eax + 0x138], edx
mov eax, dword [ebx]
mov dword [eax + 0x12c], edi
mov eax, dword [ebx]
mov edx, dword [ebp - 4]
mov dword [eax + 0x140], edx
movzx eax, byte [ebp + 0xc]
mov edx, dword [ebx]
mov byte [edx + 0x134], al
mov edx, 0xc
mov eax, dword [ebx]
call fcn.007cebfc
mov eax, esi
mov ecx, 0xc
cdq
idiv ecx
mov edx, dword [ebx]
mov dword [edx + 0x130], eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebx]
mov eax, dword [eax + 0x138]
call fcn.008705ac
mov eax, dword [ebx]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0xd4], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 0xd8], edx
lea ecx, [ebp - 0x1c]
xor edx, edx
xor eax, eax
call fcn.008705f0
mov eax, dword [ebx]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0xdc], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 0xe0], edx
mov edx, edi
mov eax, dword [ebx]
add eax, 0xe4
call fcn.00870dbc
push 0
call sub.user32.dll_GetDC
mov edx, dword [ebx]
mov dword [edx + 0xd0], eax
mov eax, dword [ebp - 4]
call fcn.0055010c
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0055010c
push 0xffffffffffffffec
push eax
call sub.user32.dll_GetWindowLongW
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
push 2
mov eax, dword [ebx]
add eax, 0xe4
push eax
push 0x1fffffff
mov eax, dword [ebx]
add eax, 0xdc
push eax
mov eax, dword [ebp - 8]
call fcn.005209e0
call fcn.0051a144
push eax
mov eax, dword [ebx]
add eax, 0xd4
push eax
push 0
mov eax, dword [ebx]
mov eax, dword [eax + 0xd0]
push eax
mov eax, dword [ebp - 4]
call fcn.0055010c
push eax
mov eax, dword [0x90d384]
mov eax, dword [eax]
call eax
push 0x71f
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0055010c
push eax
call sub.user32.dll_SetWindowPos
push 4
mov eax, dword [ebp - 4]
call fcn.0055010c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
call fcn.0055010c
push 0xffffffffffffffec
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x82d1f0
or esi, 0xffffffff
jmp 0x82d1fa
mov eax, dword [ebp - 4]
call fcn.0055010c
mov esi, eax
push 0x318
mov eax, dword [ebx]
mov eax, dword [eax + 0xd8]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xd4]
push eax
mov eax, dword [ebp - 4]
call fcn.0061560c
push eax
mov eax, dword [ebp - 4]
call fcn.006155ec
push eax
push esi
mov eax, dword [ebp - 4]
call fcn.0055010c
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebx]
add eax, 0x13c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00408198
mov eax, dword [ebx]
add eax, 0xd4
call fcn.008a0a34
mov edx, dword [ebx]
mov dword [edx + 0x13c], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xd0]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx]
call fcn.00832814
mov eax, dword [0x90de38]
mov eax, dword [eax]
cmp byte [eax + 0xbc], 0
jne 0x82d2d1
mov eax, dword [ebx]
push eax
push fcn.00832b04
mov eax, dword [ebx]
call fcn.007cec28
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x128], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
call fcn.00832b04
mov dl, 1
mov eax, dword [ebx]
call fcn.007cebe8
jmp 0x82d2e3
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
mov edx, dword [ebx]
mov eax, dword [ebx]
call fcn.00832b04
mov edx, 0xc
mov eax, esi
call fcn.00870d70
mov eax, dword [ebx]
mov eax, dword [eax + 0x128]
mov edx, dword [ebx]
cmp eax, dword [edx + 0x130]
jle 0x82d2b5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc