Function at 0x18000a4f8
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x18004a010]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp qword [rcx + 0x20], 0
mov rsi, rcx
je 0x18000a734
mov rcx, qword [rcx + 0x10]
lea rdx, [r11 - 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
mov r15d, dword [rsp + 0x70]
mov r12d, dword [rsp + 0x74]
mov rcx, qword [rsi + 0x10]
sub r15d, dword [rsi + 8]
sub r12d, dword [rsi + 0xc]
call qword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [rsp + 0x50], eax
mov ebx, eax
test eax, eax
je 0x18000a57c
mov rcx, qword [rsi + 0x10]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xb]
call qword [sym.imp.USER32.dll_SendMessageW]
and dword [rsp + 0x48], 0
cmp dword [rsi + 0x28], 0
jle 0x18000a699
xor r14d, r14d
mov rbp, qword [rsi + 0x20]
test r15d, r15d
jle 0x18000a5c1
mov eax, dword [r14 + rbp + 4]
imul eax, r15d
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, dword [r14 + rbp + 0xc]
add ebx, dword [r14 + rbp + 0x14]
imul eax, r15d
cdq
sub eax, edx
sar eax, 1
add eax, dword [r14 + rbp + 0x1c]
jmp 0x18000a5cb
mov ebx, dword [r14 + rbp + 0x14]
mov eax, dword [r14 + rbp + 0x1c]
mov dword [rsp + 0x44], eax
test r12d, r12d
jle 0x18000a603
mov eax, dword [r14 + rbp + 8]
imul eax, r12d
cdq
sub eax, edx
sar eax, 1
add eax, dword [r14 + rbp + 0x18]
mov dword [rsp + 0x40], eax
mov eax, dword [r14 + rbp + 0x10]
imul eax, r12d
cdq
sub eax, edx
sar eax, 1
mov r13d, eax
add r13d, dword [r14 + rbp + 0x20]
jmp 0x18000a612
mov r9d, dword [r14 + rbp + 0x18]
mov r13d, dword [r14 + rbp + 0x20]
mov dword [rsp + 0x40], r9d
mov rcx, qword [rsi + 0x10]
xor edx, edx
call qword [sym.imp.USER32.dll_GetScrollPos]
mov rcx, qword [rsi + 0x10]
mov edx, 1
sub ebx, eax
mov edi, eax
mov dword [rsp + 0x4c], ebx
call qword [sym.imp.USER32.dll_GetScrollPos]
mov edx, dword [r14 + rbp]
mov ebx, eax
mov rcx, qword [rsi + 0x10]
sub dword [rsp + 0x40], eax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r9d, dword [rsp + 0x40]
xor edx, edx
mov ecx, dword [rsp + 0x44]
sub r13d, r9d
mov r8d, dword [rsp + 0x4c]
sub r13d, ebx
sub ecx, r8d
mov dword [rsp + 0x30], 0x21c
sub ecx, edi
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], ecx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [rsp + 0x48]
add r14, 0x24
inc eax
mov dword [rsp + 0x48], eax
cmp eax, dword [rsi + 0x28]
jl 0x18000a58e
mov ebx, dword [rsp + 0x50]
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x18000a706
lea rdx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, dword [rsp + 0x5c]
xor edx, edx
mov r8d, dword [rsp + 0x58]
sub r9d, dword [rsp + 0x64]
sub r8d, dword [rsp + 0x60]
add r9d, dword [rsp + 0x74]
add r8d, dword [rsp + 0x70]
mov rcx, qword [rsi + 0x18]
mov dword [rsp + 0x30], 0x21d
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_IsZoomed]
mov rcx, qword [rsi + 0x18]
neg eax
sbb edx, edx
not edx
and edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
test ebx, ebx
je 0x18000a734
mov rcx, qword [rsi + 0x10]
xor r9d, r9d
lea edx, [r9 + 0xb]
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 0x10]
mov r9d, 0x185
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_RedrawWindow]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180021cb0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret