Function at 0x140195b88
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, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1403f04b0]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r15b, r8b
mov rbx, rdx
mov rdi, rcx
xor r13d, r13d
mov r14d, r13d
mov dword [rsp + 0x68], r13d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
cmp qword [rdx + 0x10], r13
jne 0x140195c00
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
jmp 0x1401961e0
mov rcx, rbx
cmp qword [rdx + 0x18], 8
jb 0x140195c0d
mov rcx, qword [rdx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
mov esi, eax
movdqa xmm0, xmmword [0x140307960]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r13w
lea r12, [0x1402cb810]
test eax, eax
jne 0x140195cec
call fcn.140048a14
mov rsi, qword [rax + 8]
cmp dword [rsi], 3
jbe 0x140195cdd
lea rax, str.The_call_to_ExpandEnvironmentStringsW_has_failed__continue_as_we_might_still_be_able_to_find_some_file_names
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], 0xda
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140195c6e
mov rax, qword [rbx]
mov rdx, r12
mov rcx, r13
test rax, rax
je 0x140195c8a
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x140195c80
mov qword [rbp + 0x50], rdx
lea eax, [rcx*2 + 2]
mov dword [rbp + 0x58], eax
mov dword [rbp + 0x5c], r13d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x48]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14034abd6]
mov rcx, rsi
call fcn.140001078
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.14005b588
jmp 0x140195d2b
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.14015fe54
nop
cmp qword [rbx + 0x18], 8
jb 0x140195d03
mov rbx, qword [rbx]
mov r8d, esi
mov rdx, qword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
mov rdx, qword [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.1400609d8
nop
lea rcx, [rbp - 0x68]
call fcn.140067f0c
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140404808]
lea rcx, [rsp + 0x78]
call fcn.1401d3154
lea rcx, [rsp + 0x78]
test al, al
je 0x140195d7e
lea r9, [0x140404848]
cmp qword [0x140404860], 8
cmovae r9, qword [0x140404848]
mov rax, qword [0x140404858]
mov qword [rsp + 0x20], rax
mov r8, qword [0x140404818]
xor edx, edx
call fcn.140196214
jmp 0x140195dea
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140404828]
call fcn.1401d3154
test al, al
je 0x140195dea
lea r8, [rsp + 0x78]
lea rdx, [0x140404848]
lea rcx, [rbp - 0x48]
call fcn.1400702cc
mov rbx, rax
lea rax, [rsp + 0x78]
cmp rax, rbx
je 0x140195de0
lea rcx, [rsp + 0x78]
call fcn.1400492c0
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
lea rcx, [rbp - 0x48]
call fcn.1400492c0
nop
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x60], r13
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_SHEvaluateSystemCommandTemplate]
mov ebx, eax
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x28]
call fcn.14005517c
nop
test ebx, ebx
js 0x140195edc
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140195edc
test r15b, r15b
jne 0x140195e65
lea rcx, [rbp - 0x48]
call fcn.140048750
nop
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x30]
call fcn.140062e6c
nop
lea rcx, [rbp - 0x48]
call fcn.1400492c0
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x140195e87
lea rcx, [rbp - 0x48]
call fcn.140048750
mov r14d, 2
cmp qword [rax + 0x10], r13
mov bl, r13b
jne 0x140195e89
mov bl, 1
test r14b, 2
je 0x140195e98
lea rcx, [rbp - 0x48]
call fcn.1400492c0
test bl, bl
je 0x140195ec9
mov rax, qword [rsp + 0x30]
mov qword [rdi], rax
mov rax, qword [rsp + 0x38]
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0x40]
mov qword [rdi + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
jmp 0x1401961a9
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp - 0x28]
call fcn.1400609d8
jmp 0x140195f80
call fcn.140048a14
mov rbx, qword [rax + 8]
cmp dword [rbx], 3
jbe 0x140195f80
lea rax, str.The_call_to_SHEvaluateSystemCommandTemplate_has_failed__continue_as_we_might_still_be_able_to_find_some_file_names
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], 0xe6
lea rax, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rax, qword [rsp + 0x78]
mov rdx, r12
mov rcx, r13
test rax, rax
je 0x140195f2d
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x140195f23
mov qword [rbp + 0x50], rdx
lea eax, [rcx*2 + 2]
mov dword [rbp + 0x58], eax
mov dword [rbp + 0x5c], r13d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x48]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14034aac4]
mov rcx, rbx
call fcn.140001078
xor r8d, r8d
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x48]
call fcn.140059288
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
lea rdx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_shcore_obsolete_l1_1_0.dll_CommandLineToArgvW]
mov rbx, rax
mov qword [rsp + 0x48], rax
lea rcx, [rbp - 0x48]
call fcn.1400492c0
test rbx, rbx
jne 0x14019608f
call fcn.140048a14
mov rbx, qword [rax + 8]
cmp dword [rbx], 3
jbe 0x140196062
lea rax, str.The_call_to_CommandLineToArgvW_has_failed
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], 0x54
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
mov rax, r13
test rcx, rcx
je 0x14019600f
mov r12, rcx
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r13w
jne 0x140196005
mov qword [rbp + 0x50], r12
lea eax, [rax*2 + 2]
mov dword [rbp + 0x58], eax
mov dword [rbp + 0x5c], r13d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x48]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14034ab0a]
mov rcx, rbx
call fcn.140001078
mov rax, qword [rsp + 0x30]
mov qword [rdi], rax
mov rax, qword [rsp + 0x38]
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0x40]
mov qword [rdi + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
jmp 0x1401961a9
mov r14d, r13d
cmp dword [rsp + 0x58], r13d
jle 0x140196177
mov r15, rbx
mov rdx, qword [r15]
lea rcx, [rbp - 0x68]
call fcn.140048750
nop
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
mov qword [rsp + 0x20], 4
lea r9, str.dll_
xor r8d, r8d
mov rdx, qword [rbp - 0x58]
call fcn.140188348
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1401960e4
add rsi, 3
mov r8, rsi
lea rdx, [0x1402cc570]
lea rcx, [rbp - 0x68]
call fcn.14009b8dc
cmp rax, 0xffffffffffffffff
je 0x14019615c
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x68]
call fcn.140054708
mov rsi, rax
lea rax, [rbp - 0x68]
cmp rax, rsi
je 0x140196144
lea rcx, [rbp - 0x68]
call fcn.1400492c0
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
lea rcx, [rbp - 8]
call fcn.1400492c0
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x30]
call fcn.140062e6c
nop
lea rcx, [rbp - 0x68]
call fcn.1400492c0
inc r14d
add r15, 8
cmp r14d, dword [rsp + 0x58]
jl 0x1401960a0
mov rax, qword [rsp + 0x30]
mov qword [rdi], rax
mov rax, qword [rsp + 0x38]
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0x40]
mov qword [rdi + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop
lea rcx, [rbp - 0x28]
call fcn.1400492c0
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1401961c4
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1401961d5
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
lea rcx, [rsp + 0x78]
call fcn.1400492c0
nop
lea rcx, [rsp + 0x30]
call fcn.140051660
mov rax, rdi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14027a710
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret