Function at 0x5064d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x5d3b14]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
call dword [0x555380]
mov ecx, dword [ebp - 0xc]
mov edx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], edx
mov ecx, dword [edx + 0x31a8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov edi, dword [ecx + 0xc]
add edi, edx
mov edx, dword [edi + 0x31a8]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x55604c]
lea ecx, [edi + 0x31a8]
call esi
cmp byte [eax], 0
je 0x5065d4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x326c]
mov edi, dword [eax + 0xc]
mov eax, dword [edi + ecx + 0x326c]
add edi, ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55604c]
lea ecx, [edi + 0x326c]
call esi
cmp byte [eax], 0
jne 0x5065d4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x1268]
mov edi, dword [eax + 0xc]
mov eax, dword [edi + ecx + 0x1268]
add edi, ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55604c]
lea ecx, [edi + 0x1268]
call esi
cmp byte [eax], 0
jne 0x5065d4
push dword [ebx + 4]
call fcn.004193b0
add esp, 4
push 0x60
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
push 0x44
lea esi, [eax + ecx]
mov eax, esi
sub eax, ecx
push eax
mov eax, dword [ebp - 0x20]
sub eax, edx
push eax
push ecx
push edx
push 0
push dword [ebx + 0x190]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x5065e5
mov esi, dword [ebp - 0x1c]
push 0
push dword [ebx + 0x190]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebx + 0x60], 0
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x64], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x68], esi
mov dword [ebx + 0x70], eax
je 0x506644
mov edx, dword [ebx + 0x64]
mov ecx, esi
push 0x1c
sub eax, ecx
push eax
mov eax, dword [ebx + 0x6c]
sub eax, edx
push eax
push ecx
push edx
push 0
push dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x70]
mov edx, dword [ebx + 0x64]
sub eax, ecx
push 0x1c
push eax
mov eax, dword [ebx + 0x6c]
sub eax, edx
push eax
mov eax, dword [ebx + 0x188]
push ecx
push edx
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x18]
movups xmm0, xmmword [ebx + 0x64]
mov eax, dword [ecx + 0x326c]
movups xmmword [ebp - 0x34], xmm0
mov edi, dword [eax + 0xc]
mov eax, dword [edi + ecx + 0x326c]
add edi, ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55604c]
lea ecx, [edi + 0x326c]
call esi
mov edx, dword [ebp - 0x30]
cmp byte [eax], 0
je 0x506682
add edx, dword [ebx + 0x39c]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
sub eax, edx
push 0x1c
push eax
mov eax, dword [ebp - 0x2c]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [ebx + 0x80]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp byte [ebx + 0x60], 0
je 0x5066ef
push dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x5066c4
push 0x81
push 0
push 0
push dword [ebx + 0x74]
jmp 0x5066e9
mov eax, dword [ebx + 0x188]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x5066ef
mov eax, dword [ebx + 0x188]
push 0x85
push 0
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005150f0
mov esp, ebp
pop ebp
ret