Function at 0x1401a1d40
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, qword [rcx + 0x68]
mov rbx, rcx
mov rax, qword [rcx + 0x128]
mov esi, edi
sub esi, dword [rcx + 0x88]
mov r15d, dword [rcx + 0xf0]
shr rdi, 0x20
mov r12d, dword [rax]
imul r12d, dword [rcx + 0x74]
sub edi, dword [rcx + 0x70]
cmp r12d, edi
jle 0x1401a1da1
sub esi, dword [rcx + 0x78]
cmp r15d, esi
jle 0x1401a1da9
sub edi, dword [rcx + 0x7c]
mov rcx, qword [rcx + 0x20]
lea r8, [rbp - 0x40]
mov edx, 2
mov dword [rbp - 0x40], 0x1c
mov dword [rbp - 0x3c], 4
call qword [sym.imp.USER32.dll_GetScrollInfo]
mov rax, qword [rbx + 0x128]
xor ecx, ecx
mov r14d, dword [rbp - 0x2c]
mov qword [rbp - 0x3c], 3
mov eax, dword [rax]
test eax, eax
je 0x1401a1dec
dec eax
mov dword [rbp - 0x34], eax
jmp 0x1401a1def
mov dword [rbp - 0x34], ecx
mov rcx, qword [rbx + 0x20]
lea r8, [rbp - 0x40]
mov eax, edi
mov r9d, 1
cdq
idiv dword [rbx + 0x74]
lea edx, [r9 + 1]
mov dword [rbp - 0x30], eax
call qword [sym.imp.USER32.dll_SetScrollInfo]
mov rcx, qword [rbx + 0x20]
lea r8, [rbp - 0x40]
mov edx, 2
mov dword [rbp - 0x3c], 4
call qword [sym.imp.USER32.dll_GetScrollInfo]
mov eax, dword ds:[rbp - 0x2c]
mov r13d, eax
sub r13d, r14d
mov dword [rbx + 0x80], eax
mov r14d, 5
cmp r12d, edi
jle 0x1401a1e5d
test r12d, r12d
je 0x1401a1e5d
mov rcx, qword [rbx + 0x20]
mov edx, r14d
call qword [sym.imp.USER32.dll_ShowWindow]
or dword [rbx + 0x40], 4
jmp 0x1401a1e6d
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 - 0x40]
mov edx, 2
mov dword [rbp - 0x40], 0x1c
mov dword [rbp - 0x3c], 4
call qword [sym.imp.USER32.dll_GetScrollInfo]
mov r12d, dword ds:[rbp - 0x2c]
xor eax, eax
mov qword [rbp - 0x3c], 3
test r15d, r15d
je 0x1401a1ea9
lea eax, [r15 - 1]
mov rcx, qword [rbx + 0x28]
lea r8, [rbp - 0x40]
mov r9d, 1
mov dword [rbp - 0x34], eax
mov dword [rbp - 0x30], esi
lea edx, [r9 + 1]
call qword [sym.imp.USER32.dll_SetScrollInfo]
mov rcx, qword ds:[rbx + 0x28]
lea r8, [rbp - 0x40]
mov edx, 2
mov dword [rbp - 0x3c], 4
call qword [sym.imp.USER32.dll_GetScrollInfo]
mov eax, dword [rbp - 0x2c]
mov edi, eax
sub edi, r12d
mov dword [rbx + 0x84], eax
mov r12d, dword [rbx + 0x40]
shr r12d, 3
and r12d, 1
cmp r15d, esi
jle 0x1401a1f1d
test r15d, r15d
je 0x1401a1f1d
mov rcx, qword [rbx + 0x28]
mov edx, r14d
call qword [sym.imp.USER32.dll_ShowWindow]
or dword [rbx + 0x40], 8
jmp 0x1401a1f2d
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 0x1401a1f70
and ecx, 0x60
cmp cl, 0x60
jne 0x1401a1f70
mov ecx, dword [rbx + 0x88]
lea rdx, [rbp - 0x20]
mov eax, dword [rbx + 0x70]
xor r8d, r8d
mov dword [rbp - 0x1c], eax
mov dword [rbp - 0x20], ecx
lea eax, [rcx + 1]
mov rcx, qword [rbx]
mov dword [rbp - 0x18], eax
mov eax, dword [rbx + 0x6c]
mov dword [rbp - 0x14], eax
call qword [sym.imp.USER32.dll_InvalidateRect]
test r13d, r13d
jne 0x1401a1f79
test edi, edi
je 0x1401a1f87
mov r8d, edi
mov edx, r13d
mov rcx, rbx
call fcn.1401a21a0
mov eax, dword ds:[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]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401e0100
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret