Function at 0x4ece14
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, 0x52c8c8
cmp dword [ebx], 0
je 0x4ece40
mov eax, dword [ebx]
cmp dword [eax + 0x54], 0
je 0x4ece40
mov eax, dword [ebx]
add eax, 0x54
call fcn.0040e5ec
mov eax, dword [ebp - 4]
mov ecx, 0xa
cdq
idiv ecx
test eax, eax
je 0x4ed05a
cmp dword [ebx], 0
jne 0x4ece6e
mov ecx, dword [0x52cce4]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4ebec0]
call fcn.004a6c18
mov dword [ebx], eax
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0xa4], edx
mov eax, dword [ebx]
mov dword [eax + 0xc8], edi
mov eax, dword [ebx]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xa0], edx
mov eax, dword [ebx]
mov dword [eax + 0x54], esi
mov eax, dword [ebx]
mov dl, byte [ebp + 8]
mov byte [eax + 0xac], dl
mov edx, 0xa
mov eax, dword [ebx]
call fcn.004a6d7c
mov eax, dword [ebx]
mov dword [eax + 0xb0], 0xa
mov eax, dword [ebp - 4]
mov ecx, 0xa
cdq
idiv ecx
mov edx, dword [ebx]
mov dword [edx + 0xa8], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebx]
mov dword [edx + 0x58], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc8]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebx]
mov dword [edx + 0x5c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00415bf8
mov eax, dword [ebx]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x60], edx
mov edx, dword [ebp - 8]
mov dword [eax + 0x64], edx
mov eax, dword [ebp + 0xc]
sar eax, 1
jns 0x4ecf0e
adc eax, 0
mov edx, dword [ebx]
mov byte [edx + 0x6a], al
mov eax, dword [ebx]
mov byte [eax + 0x68], 0
mov eax, dword [ebx]
mov byte [eax + 0x69], 0
mov eax, dword [ebx]
mov byte [eax + 0x6b], 1
push 0
call sub.user32.dll_GetDC
mov edx, dword [ebx]
mov dword [edx + 0x50], eax
push 0xffffffffffffffec
mov eax, esi
call fcn.00445548
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, esi
call fcn.00445548
push eax
call sub.user32.dll_SetWindowLongA
push 2
mov eax, dword [ebx]
add eax, 0x68
push eax
push 0x1fffffff
mov eax, dword [ebx]
add eax, 0x60
push eax
mov eax, edi
call fcn.004283f4
call fcn.00423c84
push eax
mov eax, dword [ebx]
add eax, 0x58
push eax
push 0
mov eax, dword [ebx]
mov eax, dword [eax + 0x50]
push eax
mov eax, esi
call fcn.00445548
push eax
mov eax, dword [0x52ca18]
mov eax, dword [eax]
call eax
push 4
mov eax, esi
call fcn.00445548
push eax
call sub.user32.dll_ShowWindow
push 0x318
mov eax, dword [ebx]
mov eax, dword [eax + 0x5c]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [esi + 0x44]
push eax
mov eax, dword [esi + 0x40]
push eax
push 0xffffffffffffffff
mov eax, esi
call fcn.00445548
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebx]
mov edx, dword [eax + 0x5c]
mov eax, dword [ebx]
mov eax, dword [eax + 0x58]
call fcn.004e0b2c
mov edx, dword [ebx]
mov dword [edx + 0xcc], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x50]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx]
call fcn.004efcd4
mov eax, dword [0x52cce4]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x4ed048
mov eax, dword [ebx]
push eax
push fcn.004efe5c
mov eax, dword [ebx]
call fcn.004a6d98
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0xa4], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
call fcn.004efe5c
mov dl, 1
mov eax, dword [ebx]
call fcn.004a6d6c
jmp 0x4ed05a
mov edx, dword [ebx]
mov eax, dword [ebx]
call fcn.004efe5c
push 0xa
call sub.kernel32.dll_Sleep
mov eax, dword [ebx]
mov eax, dword [eax + 0xa4]
mov edx, dword [ebx]
cmp eax, dword [edx + 0xa8]
jle 0x4ed038
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8