Function at 0x4c8b70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x50dc10]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x59012c]
xor edi, edi
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
sub ebx, dword [ebp - 0x14]
sub esi, dword [ebp - 0x10]
dec ebx
mov dword [eax + 0x10], 0
sub esi, 2
mov eax, dword [0x59012c]
mov dword [ebp - 0x2c], esi
cmp dword [eax + 4], edi
jle 0x4c8c0d
nop dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [eax + edi*4]
push dword [esi]
call fcn.004c91b0
add esp, 4
mov dword [esi + 8], eax
test eax, eax
je 0x4c8bff
mov eax, dword [0x59012c]
inc dword [eax + 0x10]
mov eax, dword [0x59012c]
inc edi
cmp edi, dword [eax + 4]
jl 0x4c8be0
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
test edx, edx
js 0x4c8de0
cmp edx, dword [eax + 4]
jge 0x4c8de0
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0x10]
push 0x4ef64c
mov edi, dword [ecx + edx*4]
lea eax, [eax + eax*4]
mov dword [ebp - 0x28], edi
shl eax, 2
sub esi, eax
push dword [edi + 0x10]
add esi, 0x14
mov dword [ebp - 0x18], esi
call fcn.00493b70
add esp, 8
test eax, eax
je 0x4c8c56
mov dword [eax + 0x44], 1
mov ecx, dword [ebp - 0x20]
test ecx, ecx
js 0x4c8db3
mov eax, dword [0x59012c]
cmp ecx, dword [eax + 4]
jge 0x4c8db3
mov edx, dword [ebp - 0x1c]
cmp ecx, edx
je 0x4c8db3
mov eax, dword [eax + 8]
push 0
push esi
push ebx
mov eax, dword [eax + ecx*4]
mov ecx, ebx
neg ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x20], edx
mov eax, ebx
push 0
cmovge eax, ecx
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 0x10]
call esi
call fcn.00493410
cmp dword [eax + 0xe00], 0
jne 0x4c8d94
push dword [edi + 0x10]
call dword [0x595ec0]
test eax, eax
je 0x4c8d94
mov edi, 1
test ebx, ebx
jle 0x4c8d91
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
xor esi, esi
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x24]
neg esi
mov edx, dword [ebp - 0x20]
sub ecx, ebx
cmp edx, dword [ebp - 0x1c]
push 1
push dword [ebp - 0x18]
lea eax, [esi + ebx]
push ebx
push 0
cmovge eax, ecx
push eax
mov eax, dword [ebp - 0x28]
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
push 1
push dword [ebp - 0x18]
cmovge esi, dword [ebp - 0x24]
push ebx
push 0
push esi
mov esi, dword [ebp - 0x2c]
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x28]
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [ebp - 0x24]
add esi, edi
mov dword [ebp - 0x24], esi
cmp esi, dword [ebp - 0x30]
jge 0x4c8d63
lea eax, [edi + edi]
mov edi, eax
cmp eax, 0x1e
mov eax, 0x1e
cmovg edi, eax
jmp 0x4c8d7b
mov ecx, ebx
lea eax, [edi + edi*2]
sub ecx, esi
cmp ecx, eax
jge 0x4c8d7b
sar edi, 1
mov eax, 1
cmp edi, 1
cmovl edi, eax
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, ebx
jl 0x4c8ce8
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [ebp - 0x28]
push 1
push dword [ebp - 0x18]
push ebx
push 0
push 0
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x2c]
push 0
push dword [eax + 0x10]
call esi
jmp 0x4c8dca
push 1
push esi
push ebx
push 0
push 0
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 0x10]
call esi
push 0
push dword [edi + 0x14]
call esi
mov eax, dword [0x59012c]
mov edx, dword [ebp - 0x1c]
xor edi, edi
cmp dword [eax + 4], edi
jle 0x4c8e52
mov ecx, dword [eax + 8]
mov esi, dword [ecx + edi*4]
cmp edi, edx
je 0x4c8e4c
test byte [esi + 8], 1
mov eax, dword [esi + 0x14]
je 0x4c8e3b
push 0x10
push 0x14
push ebx
push dword [ebp - 0x18]
push 0
push 0
push eax
call dword [0x595d70]
mov eax, dword [esi + 4]
not eax
and eax, 1
push eax
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
add dword [ebp - 0x18], 0x14
jmp 0x4c8e44
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x59012c]
inc edi
cmp edi, dword [eax + 4]
jl 0x4c8de7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e2538
mov esp, ebp
pop ebp
ret