Function at 0x18001a9b0
Capabilities:
Manipulate console buffer

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x18007b130]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov ebx, r8d
mov r15, rdx
mov r14, rcx
movdqa xmm0, xmmword [0x18005e7f0]
movdqa xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x49], 0
movdqa xmm1, xmm0
movdqa xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
movdqa xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
lea esi, [r8 - 4]
cmp r8d, esi
jbe 0x18001aac6
xor r12d, r12d
mov rdi, qword [rbp - 0x59]
nop word [rax + rax]
mov eax, ebx
sub eax, 0xb9
je 0x18001abac
sub eax, 2
je 0x18001aac6
sub eax, 1
je 0x18001aa55
cmp eax, 1
jne 0x18001aabc
mov rdi, r14
jmp 0x18001aabc
cmp qword [rdi + 0x1a], r12
je 0x18001aba3
lea r9, [rdi + 0xa]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x34]
call fcn.180031b80
movzx eax, word [rdi + 8]
mov word [rbp - 0x61], ax
mov qword [rsp + 0x20], r15
mov r9d, 0x9e
lea r8, [rbp - 0x61]
xor edx, edx
lea rcx, [rbp - 0x49]
call fcn.18000b180
mov byte [rbp - 0x69], al
dec ebx
cmp ebx, esi
ja 0x18001aa30
mov r12d, dword [rbp - 0x69]
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x18001ab05
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001ab00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001ab9c
call fcn.1800434d8
movdqa xmm0, xmmword [0x18005e7f0]
movdqa xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x18001ab4d
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001ab48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001ab9c
call fcn.1800434d8
movdqa xmm0, xmmword [0x18005e7f0]
movdqa xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x18001ad79
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001ad74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001ad74
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov byte [rbp - 0x69], r12b
jmp 0x18001aac6
mov r15d, 4
lea r14, [0x18007b390]
lea r13d, [r15 + 0x15]
mov esi, dword [rbp - 0x59]
mov edi, 0x103
nop word [rax + rax]
cmp edi, 0x7f7a
ja 0x18001ac6b
je 0x18001ac56
mov eax, edi
sub eax, 0xa2
je 0x18001ac73
sub eax, 0x61
je 0x18001ac41
cmp eax, 0x4eb9
jne 0x18001ac73
mov ebx, 7
mov dword [rbp - 0x61], esi
mov dword [rbp - 0x69], ebx
lea rax, [rbp - 0x69]
mov qword [rsp + 0x20], rax
mov r9d, 0x7f
lea r8, [rbp - 0x61]
xor edx, edx
xor ecx, ecx
call fcn.18001f380
inc ebx
cmp ebx, r13d
jl 0x18001ac00
mov dword [rbp - 0x59], esi
mov r9d, 0xc7
lea r8, [rbp - 0x59]
xor edx, edx
xor ecx, ecx
call fcn.1800190f0
jmp 0x18001ac73
mov word [0x18007b2b0], r13w
lea eax, [r15 - 4]
mov word [0x18007b2b2], ax
jmp 0x18001ac73
mov edx, dword [0x18007b2b0]
mov rcx, qword [0x18007b2a8]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
jmp 0x18001ac73
cmp edi, 0xedf0
je 0x18001ac85
add edi, 0x7e77
cmp edi, 0x2f6ca
jbe 0x18001abd0
mov ebx, 0xc
nop word [rax + rax]
mov eax, dword [r14]
test eax, eax
jne 0x18001acaf
lea rdx, [0x18005b164]
lea rcx, [0x18005b168]
call fcn.1800432b0
jmp 0x18001ad48
cmp eax, 2
jle 0x18001ace1
cmp eax, 3
jne 0x18001acbe
lea edx, [rax + 8]
jmp 0x18001ad1d
cmp eax, 4
jne 0x18001acc8
lea edx, [rax + 8]
jmp 0x18001ad1d
cmp eax, 5
jne 0x18001acd2
lea edx, [rax + 4]
jmp 0x18001ad1d
cmp eax, 6
jne 0x18001acdc
lea edx, [rax + 4]
jmp 0x18001ad1d
cmp eax, 7
jmp 0x18001ad16
cmp eax, 1
jne 0x18001ad48
mov eax, dword [0x18007b298]
test eax, eax
jne 0x18001acf5
lea edx, [rax + 0xb]
jmp 0x18001ad1d
cmp eax, 1
jne 0x18001acff
lea edx, [rax + 0xb]
jmp 0x18001ad1d
cmp eax, 2
jne 0x18001ad09
lea edx, [rax + 7]
jmp 0x18001ad1d
cmp eax, 3
jne 0x18001ad13
lea edx, [rax + 7]
jmp 0x18001ad1d
cmp eax, 4
jne 0x18001ad2a
mov edx, 0xe
mov rcx, qword [0x18007b2a8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [0x18005b16c]
call fcn.1800432b0
mov edx, 0xf
mov rcx, qword [0x18007b2a8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
add r14, 4
sub rbx, 1
jne 0x18001ac90
lea rcx, [0x18005b14c]
call fcn.1800432b0
inc r15d
cmp r15d, 0x18
jl 0x18001abc0
jmp 0x18001aaca
call fcn.1800434d8
mov eax, r12d
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800439f0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret