Function at 0x1400179c0
Capabilities:
Execute command

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
lea rbp, [rsp - 0x37]
sub rsp, 0x90
lea rcx, [0x14002579c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov r8d, dword [0x14002b754]
mov edx, dword [0x14002b7c0]
lea rcx, [0x1400257a0]
call fcn.1400010a0
mov eax, dword [0x14002b7c8]
test eax, eax
jne 0x140017a26
lea rcx, [0x1400257c0]
call fcn.1400010a0
mov eax, dword [0x14002b7c8]
xor esi, esi
test eax, eax
jle 0x140017abe
xor edi, edi
nop dword [rax]
nop word [rax + rax]
lea rax, [rbp - 0x39]
mov qword [rbp + 0x67], rax
mov rbx, qword [0x14002b7d0]
add rbx, rdi
mov eax, dword [rbx]
mov dword [rbp - 0x39], eax
mov eax, dword [rbx + 4]
mov dword [rbp - 0x35], eax
mov eax, dword [rbx + 8]
mov dword [rbp - 0x31], eax
mov eax, dword [rbx + 0xc]
mov dword [rbp - 0x2d], eax
mov eax, dword [rbx + 0x10]
mov dword [rbp - 0x29], eax
mov eax, dword [rbx + 0x14]
mov dword [rbp - 0x25], eax
movzx eax, byte [rbx + 0x18]
mov byte [rbp - 0x21], al
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x19]
call fcn.140016ed0
nop
lea rdx, [rbx + 0x40]
lea rcx, [rbp + 7]
call fcn.140016ed0
mov rax, qword [rbx + 0x60]
mov qword [rbp + 0x27], rax
mov rax, qword [rbx + 0x68]
mov qword [rbp + 0x2f], rax
lea rcx, [rbp - 0x39]
call fcn.140019650
inc esi
add rdi, 0x70
cmp esi, dword [0x14002b7c8]
jl 0x140017a40
lea rcx, str._n
call fcn.1400010a0
mov eax, dword [0x14002b7cc]
test eax, eax
jne 0x140017ae6
lea rcx, [0x1400257c0]
call fcn.1400010a0
mov eax, dword [0x14002b7cc]
xor esi, esi
test eax, eax
jle 0x140017b7e
xor edi, edi
nop dword [rax]
nop word [rax + rax]
lea rax, [rbp - 0x39]
mov qword [rbp + 0x67], rax
mov rbx, qword [0x14002b7e8]
add rbx, rdi
mov eax, dword [rbx]
mov dword [rbp - 0x39], eax
mov eax, dword [rbx + 4]
mov dword [rbp - 0x35], eax
mov eax, dword [rbx + 8]
mov dword [rbp - 0x31], eax
mov eax, dword [rbx + 0xc]
mov dword [rbp - 0x2d], eax
mov eax, dword [rbx + 0x10]
mov dword [rbp - 0x29], eax
mov eax, dword [rbx + 0x14]
mov dword [rbp - 0x25], eax
movzx eax, byte [rbx + 0x18]
mov byte [rbp - 0x21], al
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x19]
call fcn.140016ed0
nop
lea rdx, [rbx + 0x40]
lea rcx, [rbp + 7]
call fcn.140016ed0
mov rax, qword [rbx + 0x60]
mov qword [rbp + 0x27], rax
mov rax, qword [rbx + 0x68]
mov qword [rbp + 0x2f], rax
lea rcx, [rbp - 0x39]
call fcn.140019650
inc esi
add rdi, 0x70
cmp esi, dword [0x14002b7cc]
jl 0x140017b00
lea rcx, [0x14002454c]
call fcn.1400010a0
mov r15d, 2
cmp dword [0x14002b75c], r15d
jl 0x140017d48
lea rdi, [0x14002b800]
mov r12d, 0xc
mov r13d, 0xf
mov edx, r15d
lea rcx, [0x1400257d8]
call fcn.1400010a0
mov eax, dword [0x14002b754]
dec eax
cmp dword [rdi], eax
jne 0x140017be3
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, r12w
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edx, dword [rdi]
lea rcx, [0x1400257e8]
call fcn.1400010a0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, r13w
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edx, dword [0x14002b754]
lea rcx, [0x1400257f0]
call fcn.1400010a0
movsxd rax, dword [rdi + 8]
test eax, eax
jne 0x140017c31
lea rcx, [0x1400257c0]
call fcn.1400010a0
jmp 0x140017c7d
xor edx, edx
xor r8d, r8d
mov r10, rax
test eax, eax
jle 0x140017c71
mov r11, qword [rdi + 0x10]
xor r9d, r9d
nop dword [rax]
nop dword [rax + rax]
mov ecx, dword [r9 + r11 + 0xc]
lea eax, [r8 + 1]
test ecx, ecx
cmovne r8d, eax
lea eax, [rdx + 1]
cmovne eax, edx
mov edx, eax
lea r9, [r9 + 0x70]
sub r10, 1
jne 0x140017c50
lea rcx, [0x140025800]
call fcn.1400010a0
lea rcx, str._n
call fcn.1400010a0
cmp dword [rdi + 0xc], 0
jne 0x140017c9b
lea rcx, [0x1400257c0]
call fcn.1400010a0
xor esi, esi
cmp dword [rdi + 0xc], esi
jle 0x140017d28
xor r14d, r14d
nop dword [rax]
lea rax, [rbp - 0x39]
mov qword [rbp + 0x67], rax
mov rbx, qword [rdi + 0x28]
add rbx, r14
mov eax, dword [rbx]
mov dword [rbp - 0x39], eax
mov eax, dword [rbx + 4]
mov dword [rbp - 0x35], eax
mov eax, dword [rbx + 8]
mov dword [rbp - 0x31], eax
mov eax, dword [rbx + 0xc]
mov dword [rbp - 0x2d], eax
mov eax, dword [rbx + 0x10]
mov dword [rbp - 0x29], eax
mov eax, dword [rbx + 0x14]
mov dword [rbp - 0x25], eax
movzx eax, byte [rbx + 0x18]
mov byte [rbp - 0x21], al
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x19]
call fcn.140016ed0
nop
lea rdx, [rbx + 0x40]
lea rcx, [rbp + 7]
call fcn.140016ed0
mov rax, qword [rbx + 0x60]
mov qword [rbp + 0x27], rax
mov rax, qword [rbx + 0x68]
mov qword [rbp + 0x2f], rax
lea rcx, [rbp - 0x39]
call fcn.140019650
inc esi
add r14, 0x70
cmp esi, dword [rdi + 0xc]
jl 0x140017cb0
lea rcx, [0x14002454c]
call fcn.1400010a0
inc r15d
add rdi, 0x40
cmp r15d, dword [0x14002b75c]
jle 0x140017bb0
lea rcx, str.________________________________________n
lea r11, [rsp + 0x90]
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
jmp fcn.1400010a0