Function at 0x4e4a40
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x30
test eax, eax
push esi
mov esi, dword [esp + 0x38]
je 0x4e4a59
push 8
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push ebp
push edi
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x48]
dec eax
je 0x4e4bb2
dec eax
je 0x4e4ad3
push esi
call fcn.004e49f0
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x4e4c5e
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
cdq
idiv ebx
mov ebp, 2
mov dword [esp + 0x48], eax
lea ecx, [ecx]
lea edx, [esp + 0x20]
push edx
push ebx
xor eax, eax
mov ecx, 8
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x50]
push 0x101a
push esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
dec ebx
jns 0x4e4aa0
jmp 0x4e4c5e
mov ebx, dword [esp + 0x10]
xor eax, eax
mov ecx, 8
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
sub ecx, ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 0x55555556
imul ecx
lea ecx, [esp + 0x20]
push ecx
mov eax, edx
push 0
shr eax, 0x1f
push 0x101a
add edx, eax
mov ebp, 2
push esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], edx
call ebx
xor eax, eax
mov ecx, 8
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov edx, edi
sub edx, eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x20], ebp
fild dword [esp + 0x48]
fmul qword [str.UUUUUU]
call fcn.005cbd54
mov edx, dword [esp + 0x10]
sub edi, eax
lea eax, [esp + 0x20]
push eax
push 1
push 0x101a
sub edi, edx
push esi
mov dword [esp + 0x38], edi
call ebx
xor eax, eax
mov ecx, 8
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
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 + 0x28], ecx
lea ecx, [esp + 0x20]
push ecx
push ebp
push 0x101a
push esi
mov dword [esp + 0x30], ebp
call ebx
lea edx, [esp + 0x20]
push edx
push 3
jmp 0x4e4c41
mov ebx, dword [esp + 0x10]
xor eax, eax
mov ecx, 8
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
sub ecx, ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 0x55555556
imul ecx
lea ecx, [esp + 0x20]
push ecx
mov eax, edx
push 0
shr eax, 0x1f
push 0x101a
add edx, eax
mov ebp, 2
push esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], edx
call ebx
xor eax, eax
mov ecx, 8
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
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 + 0x28], ecx
lea ecx, [esp + 0x20]
push ecx
push 1
push 0x101a
push esi
mov dword [esp + 0x30], ebp
call ebx
lea edx, [esp + 0x20]
push edx
push ebp
xor eax, eax
push 0x101a
lea edi, [esp + 0x2c]
mov ecx, 8
rep stosd dword es:[edi], eax
push esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ebp
call ebx
mov eax, dword [esp + 0x4c]
test eax, eax
pop edi
pop ebp
pop ebx
je 0x4e4c72
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x30
ret