Function at 0x14001d260
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rdi, qword [rcx + 0x70]
mov rbx, rcx
mov rax, qword [rcx + 0x130]
mov esi, edi
sub esi, dword [rcx + 0x90]
mov r15d, dword [rcx + 0xf8]
shr rdi, 0x20
mov r12d, dword [rax]
imul r12d, dword [rcx + 0x7c]
sub edi, dword [rcx + 0x78]
cmp r12d, edi
jle 0x14001d2b6
sub esi, dword [rcx + 0x80]
cmp r15d, esi
jle 0x14001d2c1
sub edi, dword [rcx + 0x84]
mov rcx, qword [rcx + 0x20]
lea r8, [rbp - 0x20]
mov edx, 2
mov dword [rbp - 0x20], 0x1c
mov dword [rbp - 0x1c], 4
call qword [sym.imp.USER32.dll_GetScrollInfo]
mov rax, qword [rbx + 0x130]
xor ecx, ecx
mov r14d, dword [rbp - 0xc]
mov qword [rbp - 0x1c], 3
mov eax, dword [rax]
test eax, eax
je 0x14001d304
dec eax
mov dword [rbp - 0x14], eax
jmp 0x14001d307
mov dword [rbp - 0x14], ecx
mov rcx, qword [rbx + 0x20]
lea r8, [rbp - 0x20]
mov eax, edi
mov r9d, 1
cdq
idiv dword [rbx + 0x7c]
lea edx, [r9 + 1]
mov dword [rbp - 0x10], eax
call qword [sym.imp.USER32.dll_SetScrollInfo]
mov rcx, qword [rbx + 0x20]
lea r8, [rbp - 0x20]
mov edx, 2
mov dword [rbp - 0x1c], 4
call qword [sym.imp.USER32.dll_GetScrollInfo]
mov eax, dword [rbp - 0xc]
mov r13d, eax
sub r13d, r14d
mov dword [rbx + 0x88], eax
mov r14d, 5
cmp r12d, edi
jle 0x14001d374
test r12d, r12d
je 0x14001d374
mov rcx, qword [rbx + 0x20]
mov edx, r14d
call qword [sym.imp.USER32.dll_ShowWindow]
or dword [rbx + 0x40], 4
jmp 0x14001d384
mov rcx, qword [rbx + 0x20]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
and dword [rbx + 0x40], 0xfffffffb
mov rcx, qword [rbx + 0x28]
lea r8, [rbp - 0x20]
mov edx, 2
mov dword [rbp - 0x20], 0x1c
mov dword [rbp - 0x1c], 4
call qword [sym.imp.USER32.dll_GetScrollInfo]
mov r12d, dword [rbp - 0xc]
xor eax, eax
mov qword [rbp - 0x1c], 3
test r15d, r15d
je 0x14001d3bc
lea eax, [r15 - 1]
mov rcx, qword [rbx + 0x28]
lea r8, [rbp - 0x20]
mov r9d, 1
mov dword [rbp - 0x14], eax
mov dword [rbp - 0x10], esi
lea edx, [r9 + 1]
call qword [sym.imp.USER32.dll_SetScrollInfo]
mov rcx, qword [rbx + 0x28]
lea r8, [rbp - 0x20]
mov edx, 2
mov dword [rbp - 0x1c], 4
call qword [sym.imp.USER32.dll_GetScrollInfo]
mov eax, dword [rbp - 0xc]
mov edi, eax
sub edi, r12d
mov dword [rbx + 0x8c], eax
mov r12d, dword [rbx + 0x40]
shr r12d, 3
and r12d, 1
cmp r15d, esi
jle 0x14001d42b
test r15d, r15d
je 0x14001d42b
mov rcx, qword [rbx + 0x28]
mov edx, r14d
call qword [sym.imp.USER32.dll_ShowWindow]
or dword [rbx + 0x40], 8
jmp 0x14001d43b
mov rcx, qword [rbx + 0x28]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
and dword [rbx + 0x40], 0xfffffff7
mov ecx, dword [rbx + 0x40]
mov eax, ecx
shr eax, 3
and eax, 1
cmp eax, r12d
je 0x14001d47e
and ecx, 0x60
cmp cl, 0x60
jne 0x14001d47e
mov ecx, dword [rbx + 0x90]
lea rdx, [rbp - 0x30]
mov eax, dword [rbx + 0x78]
xor r8d, r8d
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x30], ecx
lea eax, [rcx + 1]
mov rcx, qword [rbx]
mov dword [rbp - 0x28], eax
mov eax, dword [rbx + 0x74]
mov dword [rbp - 0x24], eax
call qword [sym.imp.USER32.dll_InvalidateRect]
test r13d, r13d
jne 0x14001d487
test edi, edi
je 0x14001d495
mov r8d, edi
mov edx, r13d
mov rcx, rbx
call fcn.14001d660
mov eax, dword [rbx + 0x40]
mov rcx, qword [rbx + 0x30]
and eax, 0xc
cmp al, 0xc
mov eax, 0
cmovne r14d, eax
mov edx, r14d
call qword [sym.imp.USER32.dll_ShowWindow]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret