Function at 0x54b6e0
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 0x54b730
sub edi, dword [esi + 0x50]
cmp ebx, edi
jle 0x54b737
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 0x54b782
dec eax
mov dword [esp + 0x2c], eax
jmp 0x54b78a
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 0x54b7ec
test eax, eax
je 0x54b7ec
push 5
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
or dword [esi + 0x20], 4
jmp 0x54b7fb
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 0x54b83c
lea eax, [ebx - 1]
mov dword [esp + 0x2c], eax
jmp 0x54b844
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 0x54b8a3
test ebx, ebx
je 0x54b8a3
push 5
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
or dword [esi + 0x20], 8
jmp 0x54b8b2
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 0x54b8f7
and ecx, 0x60
cmp cl, 0x60
jne 0x54b8f7
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 0x54b908
test eax, eax
je 0x54b910
push eax
mov ecx, esi
call fcn.0054baa0
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.00583f9f
add esp, 0x44
ret