Function at 0x4ea2e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x38
test eax, eax
push esi
mov esi, dword [esp + 0x40]
je 0x4ea2f9
push 8
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push ebp
push edi
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x50]
dec eax
je 0x4ea45a
dec eax
je 0x4ea373
push esi
call fcn.004ea290
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x4ea506
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
cdq
idiv ebx
mov ebp, 2
mov dword [esp + 0x50], eax
lea ecx, [ecx]
lea edx, [esp + 0x28]
push edx
push ebx
xor eax, eax
mov ecx, 8
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x58]
push 0x101a
push esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
dec ebx
jns 0x4ea340
jmp 0x4ea506
mov ebx, dword [esp + 0x18]
xor eax, eax
mov ecx, 8
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
sub ecx, ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 0x55555556
imul ecx
lea ecx, [esp + 0x28]
push ecx
mov eax, edx
push 0
shr eax, 0x1f
push 0x101a
add edx, eax
mov ebp, 2
push esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], edx
call ebx
xor eax, eax
mov ecx, 8
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, edi
sub edx, eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x28], ebp
fild dword [esp + 0x50]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fdiv qword [0x5fb578]
call fcn.005d98b4
mov edx, dword [esp + 0x18]
sub edi, eax
lea eax, [esp + 0x28]
push eax
push 1
push 0x101a
sub edi, edx
push esi
mov dword [esp + 0x40], edi
call ebx
xor eax, eax
mov ecx, 8
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov edx, ecx
sub edx, edi
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add edx, eax
sub ecx, edx
sub ecx, edi
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x28]
push ecx
push ebp
push 0x101a
push esi
mov dword [esp + 0x38], ebp
call ebx
lea edx, [esp + 0x28]
push edx
push 3
jmp 0x4ea4e9
mov ebx, dword [esp + 0x18]
xor eax, eax
mov ecx, 8
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
sub ecx, ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 0x55555556
imul ecx
lea ecx, [esp + 0x28]
push ecx
mov eax, edx
push 0
shr eax, 0x1f
push 0x101a
add edx, eax
mov ebp, 2
push esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], edx
call ebx
xor eax, eax
mov ecx, 8
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov edx, ecx
sub edx, edi
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add edx, eax
sub ecx, edx
sub ecx, edi
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x28]
push ecx
push 1
push 0x101a
push esi
mov dword [esp + 0x38], ebp
call ebx
lea edx, [esp + 0x28]
push edx
push ebp
xor eax, eax
push 0x101a
lea edi, [esp + 0x34]
mov ecx, 8
rep stosd dword es:[edi], eax
push esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], ebp
call ebx
mov eax, dword [esp + 0x54]
test eax, eax
pop edi
pop ebp
pop ebx
je 0x4ea51a
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x38
ret