Function at 0x140011c28
Capabilities:
Resolve path using msvcrt
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rdi, rcx
xor r15d, r15d
mov rcx, qword [0x1400a20a8]
test rcx, rcx
je 0x140011c63
call fcn.140023d50
mov qword [0x1400a20a8], r15
mov rcx, qword [0x140091ac8]
test rcx, rcx
je 0x140011c7b
call fcn.140023d50
mov qword [0x140091ac8], r15
mov rcx, qword [0x1400a21e8]
test rcx, rcx
je 0x140011c93
call fcn.140023d50
mov qword [0x1400a21e8], r15
mov rcx, qword [0x1400a46c8]
test rcx, rcx
je 0x140011caf
mov rbx, qword [rcx]
call fcn.140023d50
mov rcx, rbx
test rbx, rbx
jne 0x140011c9f
cmp byte [0x140085e4c], r15b
mov r9, qword [0x140091a48]
jne 0x140011ce0
movsxd rcx, dword [0x1400919f4]
lea rdx, [0x140080c00]
mov qword [r9 + rcx*8], rdx
inc ecx
mov rdx, qword [0x140091a40]
add rdx, 3
jmp 0x140011ced
mov ecx, dword [0x1400919f4]
mov rdx, qword [0x140091a40]
movsxd rax, ecx
lea r8, [0x140080c08]
inc ecx
or r12, 0xffffffffffffffff
mov qword [r9 + rax*8], r8
movsxd rax, ecx
lea r11d, [rcx + 1]
mov dword [0x1400919f4], r11d
mov qword [r9 + rax*8], rdi
mov rax, r12
inc rax
cmp word [rdi + rax*2], r15w
jne 0x140011d16
mov r8, qword [0x140091a50]
lea r10, [rax + 5]
add r10, rdx
add r8, 8
mov edx, dword [0x140091a58]
dec edx
mov qword [0x140091a40], r10
mov dword [0x140091a58], edx
mov qword [0x140091a50], r8
test edx, edx
jle 0x140011d9a
mov rax, qword [r8]
movsxd rcx, r11d
inc r11d
mov qword [r9 + rcx*8], rax
mov rax, r12
mov rcx, qword [r8]
inc rax
cmp word [rcx + rax*2], r15w
jne 0x140011d65
inc r10
dec edx
add r10, rax
add r8, 8
test edx, edx
jg 0x140011d52
mov dword [0x140091a58], edx
mov qword [0x140091a50], r8
mov qword [0x140091a40], r10
mov dword [0x1400919f4], r11d
lea rdx, [0x140080c10]
lea rcx, [0x1400806b8]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wputenv_s]
mov rcx, qword [0x140091a40]
mov eax, 2
inc rcx
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.140002d58
cmp dword [0x1400919f4], r15d
mov r14, rax
mov rbx, rax
mov ebp, r15d
jle 0x140011e5b
mov rsi, r15
mov rdx, qword [0x140091a40]
mov rdi, rbx
sub rdi, r14
sar rdi, 1
lea rax, [rdx + 1]
cmp rdi, rax
jb 0x140011e0b
mov ecx, 0x3f8
int3
mov r8, qword [0x140091a48]
sub rdx, rdi
inc rdx
mov rcx, rbx
mov r8, qword [rsi + r8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov rax, qword [0x140091a48]
mov rcx, qword [rsi + rax]
mov rax, r12
inc rax
cmp word [rcx + rax*2], r15w
jne 0x140011e33
lea rbx, [rbx + rax*2]
inc ebp
mov eax, 0x20
add rsi, 8
mov word [rbx], ax
add rbx, 2
cmp ebp, dword [0x1400919f4]
jl 0x140011de1
mov rdx, r14
mov word [rbx - 2], r15w
lea rcx, str._ML_CMDFLAGS
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wputenv_s]
test eax, eax
je 0x140011e7e
mov ecx, 0x3ec
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p__wpgmptr]
mov r8, qword [0x1400919f8]
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x20], r15
mov rdx, qword [rax]
call qword [sym.imp.api_ms_win_crt_process_l1_1_0.dll__wspawnlp]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3