Function at 0x84d6d8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b2], 0
je 0x84db22
mov cl, 1
mov dl, 1
mov eax, dword [0x84d480]
call fcn.004c905c
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
or dword [eax + 0x6c], 0x1000000
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b8]
call fcn.0055010c
xor ecx, ecx
mov edx, 0x4d
call fcn.00831de0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov dword [ebp - 0x10], eax
mov dl, 5
mov eax, dword [ebp - 0x10]
call fcn.004c954c
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x28], bl
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.004c9618
xor ecx, ecx
mov dl, 1
mov eax, dword [0x52a2fc]
call fcn.0052afec
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x68], ebx
mov eax, ebx
call fcn.0052b038
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x54], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
test eax, eax
je 0x84d945
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x50], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
mov byte [eax + 0x25], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x50]
call fcn.0055010c
xor ecx, ecx
xor edx, edx
call fcn.008498e4
mov dl, 1
mov eax, dword [0x515f6c]
call fcn.0052008c
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
mov edx, dword [eax + 0x4c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b8]
call fcn.0055010c
push eax
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x84d93e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.008564a4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 4]
call fcn.00856540
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b8]
call fcn.00546438
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b8]
call fcn.005463f8
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
call fcn.005209e0
call fcn.0051a144
push eax
call sub.gdi32.dll_BitBlt
push 0x1fffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b8]
call fcn.00546438
mov edx, dword [ebp - 0x10]
add eax, dword [edx + 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b8]
call fcn.005463f8
mov ecx, eax
mov eax, dword [ebp - 0x10]
add ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x2c]
call fcn.004134b4
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
mov cl, 0xff
call fcn.007d3474
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x50]
call fcn.006155ec
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x50]
call fcn.0061560c
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x10]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x50]
call fcn.0055010c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x38]
mov ecx, 0xff
call fcn.00832c50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x84d96e
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b8]
call fcn.0055010c
push eax
call sub.user32.dll_ReleaseDC
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b8]
call fcn.0055010c
xor edx, edx
call fcn.00849660
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x50], ebx
mov eax, dword [ebx + 0x3d0]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], eax
push 8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x50]
call fcn.0055010c
push eax
call sub.user32.dll_ShowWindow
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x50]
call fcn.0055010c
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b8]
call fcn.0055010c
push 0xffffffffffffffec
push eax
call sub.user32.dll_GetWindowLongW
test eax, 0x80000
jne 0x84d9e7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b8]
call fcn.0055010c
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b8]
call fcn.0055010c
push 0xffffffffffffffec
push eax
call sub.user32.dll_GetWindowLongW
or eax, 0x80000
push eax
push 0xffffffffffffffec
push ebx
call sub.user32.dll_SetWindowLongW
push 2
push 0
push 0x1fffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b8]
call fcn.0055010c
push eax
mov eax, dword [0x90dae0]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + 0x58]
imul dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x54]
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + 0x5c]
imul dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x54]
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x50]
call fcn.006155ec
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x48]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x50]
sub edx, dword [ecx + 0x58]
sar edx, 1
jns 0x84da5f
adc edx, 0
sub eax, edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x50]
call fcn.0061560c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x4c]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x50]
sub edx, dword [ecx + 0x5c]
sar edx, 1
jns 0x84da88
adc edx, 0
sub eax, edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x84da9f
call fcn.00408198
mov dl, 1
mov eax, dword [0x515f6c]
call fcn.0052008c
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], ebx
mov eax, ebx
mov dl, 7
call fcn.00521e00
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x2c], 1
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x50]
mov edx, dword [edx + 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x50]
mov edx, dword [eax + 0x5c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x50]
call fcn.006155ec
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x50]
call fcn.0061560c
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [eax + 0x74], edx
mov dword [eax + 0x70], 0x84db28
mov eax, dword [ebp - 0x10]
call fcn.004c9d8c
pop ebx
mov esp, ebp
pop ebp
ret