Function at 0x14004ab2c
Capabilities:
Hide graphical window

Disassembly:
lea rcx, [0x1400eb0e8]
jmp 0x14004ab2c
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 [0x1400e5430]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp qword [rcx + 0x20], 0
mov rbx, rcx
je 0x14004ad51
mov rcx, qword [rcx + 0x10]
lea rdx, [r11 - 0x48]
call qword [sym.imp.USER32.dll_GetClientRect]
mov ebp, dword [rsp + 0x68]
mov r14d, dword [rsp + 0x6c]
mov rcx, qword [rbx + 0x10]
sub ebp, dword [rbx + 8]
sub r14d, dword [rbx + 0xc]
call qword [sym.imp.USER32.dll_IsWindowVisible]
mov edi, eax
mov dword [rsp + 0x48], eax
test eax, eax
je 0x14004abae
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xb]
call qword [sym.imp.USER32.dll_SendMessageW]
and dword [rsp + 0x44], 0
cmp dword [rbx + 0x28], 0
jle 0x14004acb6
xor edi, edi
mov rsi, qword [rbx + 0x20]
test ebp, ebp
jle 0x14004abf1
mov eax, dword [rdi + rsi + 4]
imul eax, ebp
cdq
sub eax, edx
sar eax, 1
mov r13d, eax
mov eax, dword [rdi + rsi + 0xc]
add r13d, dword [rdi + rsi + 0x14]
imul eax, ebp
cdq
sub eax, edx
sar eax, 1
mov r15d, eax
add r15d, dword [rdi + rsi + 0x1c]
jmp 0x14004abfb
mov r13d, dword [rdi + rsi + 0x14]
mov r15d, dword [rdi + rsi + 0x1c]
test r14d, r14d
jle 0x14004ac2c
mov eax, dword [rdi + rsi + 8]
imul eax, r14d
cdq
sub eax, edx
sar eax, 1
add eax, dword [rdi + rsi + 0x18]
mov dword [rsp + 0x40], eax
mov eax, dword [rdi + rsi + 0x10]
imul eax, r14d
cdq
sub eax, edx
sar eax, 1
mov r12d, eax
add r12d, dword [rdi + rsi + 0x20]
jmp 0x14004ac39
mov eax, dword [rdi + rsi + 0x18]
mov r12d, dword [rdi + rsi + 0x20]
mov dword [rsp + 0x40], eax
mov rcx, qword [rbx + 0x10]
xor edx, edx
call qword [sym.imp.USER32.dll_GetScrollPos]
mov rcx, qword [rbx + 0x10]
mov edx, 1
sub r13d, eax
sub r15d, eax
call qword [sym.imp.USER32.dll_GetScrollPos]
mov edx, dword [rdi + rsi]
mov rcx, qword [rbx + 0x10]
sub dword [rsp + 0x40], eax
sub r12d, eax
call qword [sym.imp.USER32.dll_GetDlgItem]
sub r12d, dword [rsp + 0x40]
mov r9d, dword [rsp + 0x40]
mov dword [rsp + 0x30], 0x21c
sub r15d, r13d
mov rcx, rax
mov r8d, r13d
xor edx, edx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [rsp + 0x44]
add rdi, 0x24
inc eax
mov dword [rsp + 0x44], eax
cmp eax, dword [rbx + 0x28]
jl 0x14004abbf
mov edi, dword [rsp + 0x48]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14004ad23
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x50]
sub r9d, dword [rsp + 0x5c]
sub r8d, dword [rsp + 0x58]
mov rcx, qword [rbx + 0x18]
add r9d, dword [rsp + 0x6c]
add r8d, dword [rsp + 0x68]
mov dword [rsp + 0x30], 0x21d
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.USER32.dll_IsZoomed]
mov rcx, qword [rbx + 0x18]
neg eax
sbb edx, edx
not edx
and edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
je 0x14004ad51
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
lea edx, [r9 + 0xb]
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x10]
mov r9d, 0x185
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_RedrawWindow]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14007e1c0
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