Function at 0x4f7234
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
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, 0x54d1dc
cmp dword [ebx], 0
je 0x4f7269
mov eax, dword [ebx]
cmp dword [eax + 0xc4], 0
je 0x4f7269
mov eax, dword [ebx]
add eax, 0xc4
call fcn.0040ec2c
mov eax, esi
mov ecx, 0xc
cdq
idiv ecx
test eax, eax
jne 0x4f728c
lea eax, [ebp - 4]
call fcn.0040ec2c
lea eax, [ebp - 8]
call fcn.0040ec2c
jmp 0x4f7522
cmp dword [ebx], 0
jne 0x4f72a7
mov ecx, dword [0x54d898]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4f51b4]
call fcn.004fc76c
mov dword [ebx], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 0xbc], edx
mov eax, dword [ebx]
mov byte [eax + 0x12d], 0
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x120], edx
mov eax, dword [ebx]
mov eax, dword [eax + 0x130]
test eax, eax
je 0x4f72e2
cmp eax, dword [ebp - 8]
je 0x4f72e2
mov eax, dword [ebx]
add eax, 0x130
call fcn.0040ec2c
mov eax, dword [ebx]
mov edx, dword [ebp - 8]
mov dword [eax + 0x130], edx
mov eax, dword [ebx]
mov dword [eax + 0x124], edi
mov eax, dword [ebx]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc4], edx
mov eax, dword [ebx]
mov dl, byte [ebp + 0xc]
mov byte [eax + 0x12c], dl
mov edx, 0xc
mov eax, dword [ebx]
call fcn.004daab8
mov eax, esi
mov ecx, 0xc
cdq
idiv ecx
mov edx, dword [ebx]
mov dword [edx + 0x128], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebx]
mov eax, dword [eax + 0x130]
call fcn.00529084
mov eax, dword [ebx]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0xc8], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xcc], edx
lea ecx, [ebp - 0x10]
xor edx, edx
xor eax, eax
call fcn.005290d0
mov eax, dword [ebx]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0xd0], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xd4], edx
mov edx, edi
mov eax, dword [ebx]
add eax, 0xd8
call fcn.005297e8
push 0
call sub.user32.dll_GetDC
mov edx, dword [ebx]
mov dword [edx + 0xc0], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
call fcn.0044b424
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
call fcn.0044b424
push eax
call sub.user32.dll_SetWindowLongA
push 2
mov eax, dword [ebx]
add eax, 0xd8
push eax
push 0x1fffffff
mov eax, dword [ebx]
add eax, 0xd0
push eax
mov eax, dword [ebp - 8]
call fcn.004289e8
call fcn.0042451c
push eax
mov eax, dword [ebx]
add eax, 0xc8
push eax
push 0
mov eax, dword [ebx]
mov eax, dword [eax + 0xc0]
push eax
mov eax, dword [ebp - 4]
call fcn.0044b424
push eax
call dword [0x54eed8]
push 0x71f
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0044b424
push eax
call sub.user32.dll_SetWindowPos
push 4
mov eax, dword [ebp - 4]
call fcn.0044b424
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
call fcn.0044b424
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4f7442
or esi, 0xffffffff
jmp 0x4f744c
mov eax, dword [ebp - 4]
call fcn.0044b424
mov esi, eax
push 0x318
mov eax, dword [ebx]
mov eax, dword [eax + 0xcc]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
push eax
push esi
mov eax, dword [ebp - 4]
call fcn.0044b424
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebx]
add eax, 0x134
call fcn.0040ec2c
mov eax, dword [ebx]
add eax, 0xc8
call fcn.004d8150
mov edx, dword [ebx]
mov dword [edx + 0x134], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc0]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx]
call fcn.004fc54c
mov eax, dword [0x54d898]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x4f7510
mov eax, dword [ebx]
push eax
push fcn.004fc800
mov eax, dword [ebx]
call fcn.004daae0
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x120], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
call fcn.004fc800
mov dl, 1
mov eax, dword [ebx]
call fcn.004daaa8
jmp 0x4f7522
call sub.kernel32.dll_GetTickCount
mov esi, eax
mov edx, dword [ebx]
mov eax, dword [ebx]
call fcn.004fc800
mov edx, 0xc
mov eax, esi
call fcn.0052979c
mov eax, dword [ebx]
mov eax, dword [eax + 0x120]
mov edx, dword [ebx]
cmp eax, dword [edx + 0x128]
jle 0x4f74f4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc