Function at 0x18000cfe0
Capabilities:
Manipulate console buffer

Disassembly:
mov r11, rsp
push rbp
push rsi
push r12
push r13
push r14
push r15
lea rbp, [r11 - 0x5f]
sub rsp, 0x88
mov rax, qword [0x1800737f8]
xor rax, rsp
mov qword [rbp + 0x1f], rax
imul r13d, r8d, 0x64a
mov r12d, r8d
mov r15, rdx
mov r14, rcx
mov esi, r8d
cmp r8d, r13d
ja 0x18000d557
mov qword [r11 + 0x18], rbx
xor ecx, ecx
mov qword [r11 - 0x38], rdi
nop dword [rax]
cmp esi, 0xc180
ja 0x18000d2de
je 0x18000d2d2
cmp esi, 0x3bd0
ja 0x18000d277
je 0x18000d21e
mov eax, esi
sub eax, 0x56
je 0x18000d1e9
sub eax, 0x2e
je 0x18000d08f
cmp eax, 0x2674
jne 0x18000d538
mov r8d, 5
mov byte [rbp + 0x16], 0
lea rdx, [0x18006696f]
lea rcx, [rbp + 0xf]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
jmp 0x18000d536
xor edx, edx
lea ecx, [rdx + 0x5c]
call fcn.18000c220
mov rax, qword [0x180073a58]
cmp dword [rax + 0x50], 0
je 0x18000d536
movzx edx, word [0x180074430]
mov edi, 0x5d
movzx r9d, word [0x18007442e]
movzx r10d, word [0x18007442c]
movzx r11d, word [0x18007442a]
movzx ebx, word [0x180074422]
mov r8d, dword [0x180074420]
nop dword [rax]
mov eax, edi
sub eax, 0x5c
je 0x18000d181
cmp eax, 1
jne 0x18000d1d7
mov rax, qword [0x180073a58]
cmp dword [rax + 0x50], 2
jne 0x18000d13f
mov ecx, 0x15
mov eax, ecx
sub eax, 0x15
je 0x18000d129
sub eax, 1
je 0x18000d11e
cmp eax, 1
jne 0x18000d12e
mov word [rbp - 0x25], r9w
jmp 0x18000d12e
mov word [rbp - 0x29], r11w
mov word [rbp - 0x23], dx
jmp 0x18000d12e
mov word [rbp - 0x27], r10w
inc ecx
cmp ecx, 0x18
jb 0x18000d106
xor ecx, ecx
mov dword [rbp - 0x19], ecx
jmp 0x18000d1d9
mov ecx, 0xb1
xor edx, edx
mov eax, ecx
sub eax, 0xb1
je 0x18000d15e
cmp eax, 3
jne 0x18000d168
lea eax, [r8 - 1]
mov word [rbp - 0x25], ax
jmp 0x18000d168
lea eax, [rbx - 1]
mov dword [rbp - 0x29], edx
mov word [rbp - 0x23], ax
add ecx, 3
cmp ecx, 0xb7
jb 0x18000d146
movzx edx, word [0x180074430]
xor ecx, ecx
mov dword [rbp - 0x19], ecx
jmp 0x18000d1d9
mov r9d, dword [rbp - 0x19]
lea rax, [rbp - 0x29]
mov rdx, qword [0x180074438]
mov rcx, qword [section..data]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleOutputW]
test eax, eax
je 0x18000d547
movzx edx, word [0x180074430]
movzx r9d, word [0x18007442e]
movzx r10d, word [0x18007442c]
movzx r11d, word [0x18007442a]
movzx ebx, word [0x180074422]
mov r8d, dword [0x180074420]
xor ecx, ecx
dec edi
cmp edi, 0x5b
ja 0x18000d0e0
jmp 0x18000d538
movzx eax, word [0x180066997]
lea rdx, [0x1800669ca]
mov word [rbp + 0xf], ax
lea rcx, [rbp + 0x12]
movzx eax, byte [0x180066999]
mov r8d, 4
mov byte [rbp + 0x11], al
mov byte [rbp + 0x12], 0
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp 0x18000d536
mov rax, qword [0x180073a58]
cmp dword [rax + 0x18], 1
je 0x18000d245
xor r8d, r8d
mov dword [rbp - 0x21], 1
lea rdx, [rbp - 0x21]
mov ecx, 0xe6
call fcn.18002b530
xor ecx, ecx
mov dword [rbp - 0x21], ecx
xor r8d, r8d
xor ecx, ecx
mov edx, 0xfc
call fcn.1800071b0
sub eax, 2
lea r9, [rbp - 0x21]
mov r8d, 0xb5
mov dword [rbp - 0x11], eax
lea rdx, [rbp - 0x11]
xor ecx, ecx
call fcn.18004aa10
jmp 0x18000d536
cmp esi, 0x4d9a
je 0x18000d2c7
cmp esi, 0x743c
je 0x18000d2ab
cmp esi, 0x9ade
jne 0x18000d538
mov eax, dword [str.ents]
mov dword [rbp + 3], eax
movzx eax, byte [0x18006698c]
mov byte [rbp + 7], al
jmp 0x18000d538
mov eax, dword [str.comm]
mov dword [rbp - 1], eax
movzx eax, byte [0x180066984]
mov byte [rbp + 3], al
mov byte [rbp + 0x1d], 0
jmp 0x18000d538
mov word [rbp + 0x1b], 0x6d6f
jmp 0x18000d538
mov dword [rbp - 9], 0x6e6f736a
jmp 0x18000d538
cmp esi, 0x15c08
ja 0x18000d451
je 0x18000d3f4
cmp esi, 0xe822
je 0x18000d3eb
cmp esi, 0x10ec4
je 0x18000d3c4
cmp esi, 0x13566
jne 0x18000d538
mov rcx, qword [r14 + 0x30]
lea rbx, [r14 + 0x20]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x18000d341
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x18000d339
mov rax, qword [rbx]
mov word [rax + rcx], reloc.SHELL32.dll_PathMakeUniqueName
jmp 0x18000d353
xor r8d, r8d
mov r9b, reloc.SHELL32.dll_PathMakeUniqueName
mov rcx, rbx
lea edx, [r8 + 1]
call fcn.180001fd0
lea rax, [rbp - 1]
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x18000d360
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x18000d3a8
lea rax, [rcx + rdi]
mov qword [rbx + 0x10], rax
cmp rdx, 0x10
jb 0x18000d38d
mov rbx, qword [rbx]
add rbx, rcx
lea rdx, [rbp - 1]
mov rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
jmp 0x18000d536
lea r9, [rbp - 1]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.180002130
jmp 0x18000d536
lea rax, [rbp + 0xf]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x18000d3d0
lea rdx, [rbp + 0xf]
mov rcx, r14
call fcn.1800203c0
jmp 0x18000d536
mov byte [rbp - 5], 0
jmp 0x18000d538
mov rcx, qword [r14 + 0x30]
mov rdx, qword [r14 + 0x38]
cmp rcx, rdx
jae 0x18000d41f
lea rax, [rcx + 1]
mov qword [r14 + 0x30], rax
lea rax, [r14 + 0x20]
cmp rdx, 0x10
jb 0x18000d417
mov rax, qword [r14 + 0x20]
mov word [rax + rcx], reloc.SHELL32.dll_PathMakeUniqueName
jmp 0x18000d432
xor r8d, r8d
lea rcx, [r14 + 0x20]
mov r9b, reloc.SHELL32.dll_PathMakeUniqueName
lea edx, [r8 + 1]
call fcn.180001fd0
cmp qword [r15 + 0x18], 0x10
mov rdx, r15
jb 0x18000d43f
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [r14 + 0x20]
call fcn.180020030
jmp 0x18000d536
cmp esi, 0x182aa
je 0x18000d486
cmp esi, 0x1a94c
jne 0x18000d538
mov qword [rsp + 0x28], rcx
lea rdx, [r14 + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea r8d, [r9 + 0x79]
call fcn.180013b40
jmp 0x18000d536
mov rcx, qword [r14 + 0x30]
lea rbx, [r14 + 0x20]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x18000d4b3
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x18000d4ab
mov rax, qword [rbx]
mov word [rax + rcx], PathMakeUniqueName
jmp 0x18000d4c5
xor r8d, r8d
mov r9b, PathMakeUniqueName
mov rcx, rbx
lea edx, [r8 + 1]
call fcn.180001fd0
lea rax, [rbp - 9]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x18000d4d0
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x18000d515
lea rax, [rcx + rdi]
mov qword [rbx + 0x10], rax
cmp rdx, 0x10
jb 0x18000d4fd
mov rbx, qword [rbx]
add rbx, rcx
lea rdx, [rbp - 9]
mov rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], 0
jmp 0x18000d52c
lea r9, [rbp - 9]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.180002130
mov eax, 0x1bb
mov word [r14 + 0x60], ax
xor ecx, ecx
imul eax, r12d, 0x73
add esi, eax
cmp esi, r13d
jbe 0x18000d030
mov rbx, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1800604b0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret