Function at 0x1401b1fac
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x190
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14049e510]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r13b, r8b
mov rbx, rdx
mov r15, rcx
xor r12d, r12d
mov r14d, r12d
mov dword [rbp - 0x80], r12d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov edi, r12d
mov qword [rsp + 0x48], r12
cmp qword [rdx + 0x10], r12
jne 0x1401b202a
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
jmp 0x1401b2771
mov rcx, rbx
cmp qword [rdx + 0x18], 8
jb 0x1401b2037
mov rcx, qword [rdx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], r12w
lea r12, [0x140344690]
test esi, esi
jne 0x1401b2117
call fcn.14004d8a4
mov rsi, qword [rax + 8]
cmp dword [rsi], 3
jbe 0x1401b2109
lea rax, str.The_call_to_ExpandEnvironmentStringsW_has_failed__continue_as_we_might_still_be_able_to_find_some_file_names
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], 0xda
xor r8d, r8d
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401b209a
mov rcx, qword [rbx]
mov rdx, r12
mov rax, r8
test rcx, rcx
je 0x1401b20b6
mov rdx, rcx
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r8w
jne 0x1401b20ac
mov qword [rbp + 0x60], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x68], eax
mov dword [rbp + 0x6c], r8d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], 4
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403dbcbb]
mov rcx, rsi
call fcn.140001158
mov rdx, rbx
lea rcx, [rbp - 0x18]
call fcn.140064f70
jmp 0x1401b2155
mov rdx, rsi
lea rcx, [rbp - 0x58]
call fcn.1401776f4
nop
cmp qword [rbx + 0x18], 8
jb 0x1401b212e
mov rbx, qword [rbx]
mov r8d, esi
mov rdx, qword [rbp - 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x18]
call fcn.14004d5c4
nop
lea rcx, [rbp - 0x58]
call fcn.14008903c
xor r9d, r9d
lea rdx, [0x14049f3e8]
lea rcx, [rbp - 0x18]
call fcn.1401fee64
xor esi, esi
lea rcx, [rbp - 0x18]
test al, al
je 0x1401b21a5
lea r9, [0x1404b74b8]
cmp qword [0x1404b74d0], 8
cmovae r9, qword [0x1404b74b8]
mov rax, qword [0x1404b74c8]
mov qword [rsp + 0x20], rax
mov r8, qword [0x14049f3f8]
xor edx, edx
call fcn.1401b27a8
jmp 0x1401b2209
xor r9d, r9d
lea rdx, [0x14049f408]
call fcn.1401fee64
test al, al
je 0x1401b2209
lea r8, [rbp - 0x18]
lea rdx, [0x1404b74b8]
lea rcx, [rbp - 0x38]
call fcn.14006e9e4
mov rbx, rax
lea rax, [rbp - 0x18]
cmp rax, rbx
je 0x1401b21ff
lea rcx, [rbp - 0x18]
call fcn.14004e0f0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
lea rcx, [rbp - 0x38]
call fcn.14004e0f0
nop
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x60], rsi
lea rcx, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rcx, qword [rbp - 0x18]
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_SHEvaluateSystemCommandTemplate]
mov dword [rsp + 0x58], eax
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 8]
call fcn.14004cf4c
nop
cmp dword [rsp + 0x58], esi
jl 0x1401b231e
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x1401b231e
test r13b, r13b
jne 0x1401b229b
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], si
lea rcx, [rbp - 0x38]
call fcn.14004d5c4
nop
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x38]
call fcn.1400a05e8
nop
lea rcx, [rbp - 0x38]
call fcn.14004e0f0
mov rdi, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x1401b22ce
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], si
lea rcx, [rbp - 0x38]
call fcn.14004d5c4
mov r14d, 2
cmp qword [rbp - 0x28], rsi
mov bl, sil
jne 0x1401b22d0
mov bl, 1
test r14b, 2
je 0x1401b22df
lea rcx, [rbp - 0x38]
call fcn.14004e0f0
test bl, bl
je 0x1401b230b
mov rax, qword [rsp + 0x38]
mov qword [r15], rax
mov rax, qword [rsp + 0x40]
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
jmp 0x1401b273b
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp + 8]
call fcn.14004d5c4
jmp 0x1401b23b5
call fcn.14004d8a4
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x1401b23b5
lea rax, str.The_call_to_SHEvaluateSystemCommandTemplate_has_failed__continue_as_we_might_still_be_able_to_find_some_file_names
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], 0xe6
lea rax, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rax, qword [rbp - 0x18]
mov rdx, r12
mov rcx, rsi
test rax, rax
je 0x1401b236d
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], si
jne 0x1401b2364
mov qword [rbp + 0x60], rdx
lea eax, [rcx*2 + 2]
mov dword [rbp + 0x68], eax
mov dword [rbp + 0x6c], esi
lea rax, [rsp + 0x58]
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], 4
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403dbc79]
mov rcx, r10
call fcn.140001158
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rcx, qword [rbp + 8]
lea rdx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_shcore_obsolete_l1_1_0.dll_CommandLineToArgvW]
mov rbx, rax
mov qword [rbp - 0x60], rax
test rax, rax
jne 0x1401b24a3
call fcn.14004d8a4
mov rbx, qword [rax + 8]
cmp dword [rbx], 3
jbe 0x1401b247b
lea rax, str.The_call_to_CommandLineToArgvW_has_failed
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], 0x54
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rcx, qword [rbp + 8]
mov rax, rsi
test rcx, rcx
je 0x1401b2429
mov r12, rcx
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x1401b2420
mov qword [rbp + 0x60], r12
lea eax, [rax*2 + 2]
mov dword [rbp + 0x68], eax
mov dword [rbp + 0x6c], esi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], 4
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403dbbad]
mov rcx, rbx
call fcn.140001158
mov rax, qword [rsp + 0x38]
mov qword [r15], rax
mov rax, qword [rsp + 0x40]
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
jmp 0x1401b273b
mov dword [rsp + 0x30], esi
xor r12d, r12d
cmp dword [rsp + 0x5c], r12d
jle 0x1401b270e
mov r14, rbx
mov qword [rsp + 0x70], rbx
mov rdx, qword [r14]
mov qword [rbp - 0x48], r12
mov edi, 7
mov qword [rbp - 0x40], rdi
mov word [rbp - 0x58], r12w
lea rcx, [rbp - 0x58]
call fcn.14004d5c4
nop
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], rdi
mov word [rbp - 0x38], r12w
lea rdx, str.dll_
lea rcx, [rbp - 0x38]
call fcn.14004d5c4
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
jne 0x1401b253c
test rdx, rdx
jne 0x1401b253c
lea r9, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae r9, qword [rbp - 0x38]
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
mov qword [rsp + 0x20], r12
xor r8d, r8d
call fcn.1401cdb24
mov r13, rax
jmp 0x1401b265a
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rax, qword [rbp - 0x38]
lea rdi, [rax + rdx*2]
lea r10, [rbp - 0x38]
cmovae r10, qword [rbp - 0x38]
mov qword [rbp - 0x70], r10
lea rax, [rbp - 0x58]
mov rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x40]
cmp r8, 8
cmovae rax, rdx
lea rsi, [rax + rcx*2]
lea r13, [rbp - 0x58]
cmovae r13, rdx
mov r9, rsi
sub r9, r13
sar r9, 1
mov qword [rsp + 0x78], r9
mov rax, rdi
sub rax, r10
sar rax, 1
mov qword [rbp - 0x78], rax
cmp rax, r9
jg 0x1401b2610
mov rax, r13
sub rax, r10
mov qword [rsp + 0x68], rax
mov r12, r10
cmp r12, rdi
je 0x1401b2632
movzx ecx, word [rax + r12]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_tolower]
mov r14d, eax
movzx ecx, word [r12]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_tolower]
cmp r14d, eax
mov rax, qword [rsp + 0x68]
jne 0x1401b25db
add r12, 2
jmp 0x1401b25a9
add r13, 2
add rax, 2
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x78]
dec rcx
mov qword [rsp + 0x78], rcx
cmp qword [rbp - 0x78], rcx
mov r10, qword [rbp - 0x70]
jle 0x1401b25a6
mov r8, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x58]
mov r14, qword [rsp + 0x70]
mov r13, rsi
lea rax, [rbp - 0x58]
cmp r8, 8
cmovae rax, rdx
lea rax, [rax + rcx*2]
mov esi, dword [rsp + 0x30]
cmp r13, rax
jne 0x1401b2645
or r13, 0xffffffffffffffff
jmp 0x1401b2657
mov r8, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x58]
mov r14, qword [rsp + 0x70]
jmp 0x1401b2613
lea rax, [rbp - 0x58]
cmp r8, 8
cmovae rax, rdx
sub r13, rax
sar r13, 1
xor r12d, r12d
lea rcx, [rbp - 0x38]
call fcn.14004e0f0
lea rdi, [r13 + 3]
cmp r13, 0xffffffffffffffff
cmove rdi, r13
mov r8, rdi
lea rdx, [0x140347380]
lea rcx, [rbp - 0x58]
call fcn.1400a5500
cmp rax, 0xffffffffffffffff
je 0x1401b26e7
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x58]
call fcn.14005d1b4
mov rdi, rax
lea rax, [rbp - 0x58]
cmp rax, rdi
je 0x1401b26cf
lea rcx, [rbp - 0x58]
call fcn.14004e0f0
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 7
mov word [rdi], r12w
lea rcx, [rbp - 0x38]
call fcn.14004e0f0
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x38]
call fcn.1400a05e8
nop
lea rcx, [rbp - 0x58]
call fcn.14004e0f0
inc esi
mov dword [rsp + 0x30], esi
add r14, 8
mov qword [rsp + 0x70], r14
cmp esi, dword [rsp + 0x5c]
jl 0x1401b24bd
mov rdi, qword [rsp + 0x48]
mov rax, qword [rsp + 0x38]
mov qword [r15], rax
mov rax, qword [rsp + 0x40]
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rbp + 8]
call fcn.14004e0f0
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1401b2756
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1401b2767
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
lea rcx, [rbp - 0x18]
call fcn.14004e0f0
nop
lea rcx, [rsp + 0x38]
call fcn.1400593e8
mov rax, r15
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1402dfdb0
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret