Function at 0x140001080
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400408d8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov dword [rsp + 0x24], r15d
cmp qword [rcx + 0x18], 8
jb 0x1400010d1
mov rcx, qword [rcx]
lea rdx, [rsp + 0x24]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
cmp dword [rsp + 0x24], 4
jge 0x1400010ee
or eax, 0xffffffff
jmp 0x1400013f1
lea rsi, [0x140033354]
mov rdi, qword [rax]
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x14000110c
mov eax, 0xfffffffe
jmp 0x1400013f1
mov rdx, qword [rax + 8]
mov eax, 0x3a
or r12, 0xffffffffffffffff
cmp ax, word [rdx + 2]
jne 0x140001156
mov qword [rbp - 0x59], 7
mov qword [rbp - 0x61], r15
mov word [rbp - 0x71], r15w
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp - 0x71]
call fcn.140002c50
lea rax, [rbp - 0x71]
lea edi, [r12 + 2]
jmp 0x14000119a
lea rcx, [rbp + 7]
call fcn.140003e80
nop
mov dword [rsp + 0x20], 2
lea r8, [0x140033350]
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.140003190
nop
mov dword [rsp + 0x20], 6
mov r8, qword [rbx + 8]
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.140003190
nop
mov edi, 0xe
mov dword [rsp + 0x20], edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140008750
nop
test dil, 8
je 0x1400011da
and edi, 0xfffffff7
mov dword [rsp + 0x20], edi
cmp qword [rbp - 0x31], 8
jb 0x1400011c9
mov rcx, qword [rbp - 0x49]
call fcn.140011c44
mov qword [rbp - 0x31], 7
mov qword [rbp - 0x39], r15
mov word [rbp - 0x49], r15w
test dil, 4
je 0x140001208
and edi, 0xfffffffb
mov dword [rsp + 0x20], edi
cmp qword [rbp - 9], 8
jb 0x1400011f7
mov rcx, qword [rbp - 0x21]
call fcn.140011c44
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], r15
mov word [rbp - 0x21], r15w
test dil, 2
je 0x140001236
and edi, 0xfffffffd
mov dword [rsp + 0x20], edi
cmp qword [rbp + 0x1f], 8
jb 0x140001225
mov rcx, qword [rbp + 7]
call fcn.140011c44
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r15
mov word [rbp + 7], r15w
test dil, 1
je 0x140001264
and edi, 0xfffffffe
mov dword [rsp + 0x20], edi
cmp qword [rbp - 0x59], 8
jb 0x140001253
mov rcx, qword [rbp - 0x71]
call fcn.140011c44
mov qword [rbp - 0x59], 7
mov qword [rbp - 0x61], r15
mov word [rbp - 0x71], r15w
mov rcx, qword [rbx + 0x10]
call fcn.140011c74
mov r13d, eax
test eax, eax
jne 0x140001290
cmp qword [rsp + 0x48], 0x10
jb 0x140001286
mov rcx, qword [rsp + 0x30]
call fcn.140011c44
mov eax, 0xfffffffd
jmp 0x1400013de
mov rcx, qword [rbx + 0x18]
call fcn.140011c74
movsxd r14, eax
test eax, eax
jne 0x1400012bc
cmp qword [rsp + 0x48], 0x10
jb 0x1400012b2
mov rcx, qword [rsp + 0x30]
call fcn.140011c44
mov eax, 0xfffffffc
jmp 0x1400013de
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
cmp rcx, 1
jb 0x140001341
dec rcx
cmp rcx, 0xffffffffffffffff
cmova rcx, r12
lea rdi, [rsp + 0x30]
cmp rbx, 0x10
cmovae rdi, rsi
add rdi, rcx
cmp byte [rdi], 0x2e
je 0x14000130e
lea rcx, [rsp + 0x30]
call fcn.1400021c0
cmp rdi, rax
je 0x140001341
dec rdi
jmp 0x1400012f5
lea rax, [rsp + 0x30]
cmp rbx, 0x10
cmovae rax, rsi
sub rdi, rax
cmp rdi, 0xffffffffffffffff
je 0x140001341
mov r8d, 2
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140001ed0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x30]
lea rdx, [rsp + 0x30]
cmp rbx, 0x10
cmovae rdx, rsi
mov qword [rbp - 0x59], 0xf
mov qword [rbp - 0x61], r15
mov byte [rbp - 0x71], 0
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp - 0x71]
call fcn.1400028a0
nop
mov r8, r14
mov edx, r13d
lea rcx, [rbp - 0x71]
call fcn.140001550
mov edi, eax
cmp qword [rbp - 0x59], 0x10
jb 0x14000139a
mov rcx, qword [rbp - 0x71]
call fcn.140011c44
mov qword [rbp - 0x59], 0xf
mov qword [rbp - 0x61], r15
mov byte [rbp - 0x71], 0
test edi, edi
jns 0x1400013c7
cmp qword [rsp + 0x48], 0x10
jb 0x1400013c0
mov rcx, qword [rsp + 0x30]
call fcn.140011c44
mov eax, 0xfffffffa
jmp 0x1400013de
cmp qword [rsp + 0x48], 0x10
jb 0x1400013d9
mov rcx, qword [rsp + 0x30]
call fcn.140011c44
mov eax, 2
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 0xf
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400114c0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret