Function at 0x1401c8040
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1060
call fcn.1401cab10
sub rsp, rax
mov rax, qword [0x1401e1010]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdx
cmp qword [rcx + 0x18], 0x10
jb 0x1401c8089
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1401c809c
mov rcx, qword [rdi]
lea rdx, [0x1401d5f5c]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rdx, [0x1401d3c9e]
lea rcx, [rsp + 0x30]
call fcn.14017e590
nop
mov rbx, 0xffffffffffffffff
test rsi, rsi
je 0x1401c813f
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
jne 0x1401c8136
nop
mov r8, rsi
mov edx, 0x1000
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x1401c8129
lea rax, [rsp + 0x50]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1401c8110
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14017d610
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
je 0x1401c80f0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
lea rcx, [0x1401d5f60]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rbp, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1401c8160
mov rbp, qword [r14]
nop dword [rax]
inc rbx
cmp byte [rbx + rbp], 0
jne 0x1401c8160
lea r12, [rsp + 0x30]
mov r15, qword [rsp + 0x30]
mov r13, qword [rsp + 0x48]
cmp r13, 0x10
cmovae r12, r15
mov rax, qword [rsp + 0x40]
cmp rbx, rax
ja 0x1401c81f1
sub rax, rbx
test rbx, rbx
je 0x1401c8238
inc rax
add rax, r12
mov qword [rsp + 0x20], rax
movsx edx, byte [rbp]
mov r8, rax
sub r8, r12
mov rcx, r12
call sub.VCRUNTIME140.dll_memchr
mov rsi, rax
test rax, rax
je 0x1401c81f1
nop dword [rax + rax]
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401c822f
inc rsi
mov r8, qword [rsp + 0x20]
sub r8, rsi
movsx edx, byte [rbp]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
mov rsi, rax
test rax, rax
jne 0x1401c81c0
cmp r13, 0x10
jb 0x1401c8311
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x1401c8309
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401c8309
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rsi, r12
cmp rsi, 0xffffffffffffffff
je 0x1401c81f1
cmp r13, 0x10
jb 0x1401c826b
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x1401c8263
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401c8228
mov rcx, r15
call fcn.1401c9cec
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], bl
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1401c82b9
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1401c82b4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401c83e1
mov rcx, r8
call fcn.1401c9cec
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1401c8302
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1401c82fd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401c83e8
mov rcx, r8
call fcn.1401c9cec
mov al, 1
jmp 0x1401c83a6
mov rcx, r15
call fcn.1401c9cec
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], bl
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1401c835f
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1401c835a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401c83e1
mov rcx, r8
call fcn.1401c9cec
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1401c83a4
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1401c839f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401c83e8
mov rcx, r8
call fcn.1401c9cec
xor al, al
mov byte [r14], 0
mov qword [r14 + 0x18], 0xf
mov qword [r14 + 0x10], rbx
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1401c9a40
mov rbx, qword [rsp + 0x10b0]
add rsp, 0x1060
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3