Function at 0x54b6c0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x44
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
movups xmm1, xmmword [esi + 0x38]
mov eax, dword [esi + 0xd4]
mov ebx, dword [esi + 0xb0]
movaps xmm0, xmm1
psrldq xmm1, 0xc
psrldq xmm0, 8
mov eax, dword [eax]
imul eax, dword [esi + 0x4c]
movd ebp, xmm1
movd edi, xmm0
sub ebp, dword [esi + 0x48]
sub edi, dword [esi + 0x60]
mov dword [esp + 0x18], eax
cmp eax, ebp
jle 0x54b710
sub edi, dword [esi + 0x50]
cmp ebx, edi
jle 0x54b717
sub ebp, dword [esi + 0x54]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x1c
push eax
push 2
push dword [esi + 0x10]
mov dword [esp + 0x30], 4
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xd4]
mov dword [esp + 0x24], 3
mov dword [esp + 0x28], 0
mov eax, dword [eax]
test eax, eax
je 0x54b762
dec eax
mov dword [esp + 0x2c], eax
jmp 0x54b76a
mov dword [esp + 0x2c], 0
mov eax, ebp
cdq
idiv dword [esi + 0x4c]
push 1
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
push eax
push 2
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetScrollInfo]
lea eax, [esp + 0x20]
mov dword [esp + 0x24], 4
push eax
push 2
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov eax, dword [esp + 0x34]
mov ecx, eax
sub ecx, dword [esp + 0x14]
mov dword [esi + 0x58], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
cmp eax, ebp
jle 0x54b7cc
test eax, eax
je 0x54b7cc
push 5
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
or dword [esi + 0x20], 4
jmp 0x54b7db
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [esi + 0x20], 0xfffffffb
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x1c
push eax
push 2
push dword [esi + 0x14]
mov dword [esp + 0x30], 4
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x24], 3
mov dword [esp + 0x28], 0
test ebx, ebx
je 0x54b81c
lea eax, [ebx - 1]
mov dword [esp + 0x2c], eax
jmp 0x54b824
mov dword [esp + 0x2c], 0
push 1
lea eax, [esp + 0x24]
mov dword [esp + 0x34], edi
push eax
push 2
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_SetScrollInfo]
lea eax, [esp + 0x20]
mov dword [esp + 0x24], 4
push eax
push 2
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov eax, dword [esp + 0x34]
mov ecx, eax
sub ecx, ebp
mov dword [esi + 0x5c], eax
mov ebp, dword [esi + 0x20]
shr ebp, 3
and ebp, 1
mov dword [esp + 0x14], ecx
cmp ebx, edi
jle 0x54b883
test ebx, ebx
je 0x54b883
push 5
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
or dword [esi + 0x20], 8
jmp 0x54b892
push 0
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [esi + 0x20], 0xfffffff7
mov ecx, dword ds:[esi + 0x20]
mov eax, ecx
shr eax, 3
and eax, 1
cmp eax, ebp
je 0x54b8d7
and ecx, 0x60
cmp cl, 0x60
jne 0x54b8d7
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x48]
mov dword [esp + 0x40], eax
push 0
lea eax, [ecx + 1]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x40]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword ds:[esp + 0x1c]
mov eax, dword [esp + 0x14]
test edx, edx
jne 0x54b8e8
test eax, eax
je 0x54b8f0
push eax
mov ecx, esi
call fcn.0054ba80
mov eax, dword [esi + 0x20]
xor edx, edx
and eax, 0xc
mov ecx, 5
cmp al, 0xc
cmovne ecx, edx
push ecx
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00583f7f
add esp, 0x44
ret