Function at 0x140040020
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
sub rsp, 0xd10
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14005d040]
xor rax, rsp
mov qword [rbp + 0xcc0], rax
mov qword [rbp], rcx
movabs rax, 0xf419151f9610f4fe
mov qword [rbp], rax
mov rdi, rcx
mov rax, qword [rbp]
movabs rcx, 0x95eb79e22c08c4ea
mov qword [rbp + 0x40], rax
movabs rsi, 0x846a763ff5799989
movabs rax, 0x3dad8e6dc46e90f4
movabs rbx, 0x5a8dfa0eb10aff86
mov qword [rbp], rax
xor r15d, r15d
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0x3f6619b4989e7cfe
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rax, 0x9f5e6901372943f6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rax, 0xe8acf593152849f5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs rax, 0x1f0270c1edbe089b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
movabs rax, 0xeb702d48606163c8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movabs rax, 0xe8acf59315283d8d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
mov qword [rbp], rcx
lea rcx, [rbp + 0x40]
mov rax, qword [rbp]
movdqa xmm2, xmmword [rbp + 0x60]
vmovdqu ymm0, ymmword [rbp + 0xc0]
vpxor ymm1, ymm0, ymmword [rbp + 0x40]
mov qword [rbp + 0xe8], rax
vxorps xmm2, xmm2, xmmword [rbp + 0xe0]
vmovdqa ymmword [rbp + 0x40], ymm1
vmovdqa xmmword [rbp + 0x60], xmm2
vzeroupper
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
test eax, eax
jne 0x14004038d
movabs rax, 0xb919155cd555edfb
lea rdx, [rbp + 0x10]
mov qword [rbp], rax
lea rcx, [rbp + 0x20]
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
movabs rax, 0x5ac8be41f243b1d3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp], rbx
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x10]
mov qword [rbp + 0xa8], rax
movabs rax, 0xf0120211b130cec1
xorps xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x20]
mov qword [rbp + 0x88], rax
xorps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp + 0x20], xmm0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
je 0x14004038d
mov r8, rax
lea rcx, [rbp + 0x4f0]
mov edx, 0x3e8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
test rax, rax
je 0x14004038d
mov r8, rbx
lea rcx, [rbp + 0x4f0]
mov edx, 0x3e8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
test rax, rax
je 0x14004038d
mov r8d, 0x3e8
lea rdx, [rbp + 0x4f0]
lea rcx, [rbp + 0x100]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
cmp rax, 0x24
jbe 0x14004038d
xorps xmm0, xmm0
mov qword [rbp + 0x90], r15
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x98], r15
lea rax, [rbp + 0x100]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r15b
jne 0x1400402f4
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x80]
call fcn.1400078f0
mov rbx, qword [rbp + 0x90]
test rbx, rbx
je 0x140040376
nop dword [rax]
mov r14, qword [rbp + 0x98]
lea rax, [rbp + 0x80]
mov rsi, qword [rbp + 0x80]
cmp r14, 0xf
cmova rax, rsi
movsx ecx, byte [rbx + rax - 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
je 0x140040376
lea rcx, [rbx - 1]
cmp r14, 0xf
mov qword [rbp + 0x90], rcx
lea rax, [rbp + 0x80]
cmova rax, rsi
mov byte [rax + rcx], r15b
mov rbx, qword [rbp + 0x90]
test rbx, rbx
jne 0x140040320
movups xmm0, xmmword [rbp + 0x80]
movups xmm1, xmmword [rbp + 0x90]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
jmp 0x1400403a2
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r15b
mov rax, rdi
mov rcx, qword [rbp + 0xcc0]
xor rcx, rsp
call fcn.140049880
lea r11, [rsp + 0xd10]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret