Function at 0x140001c80
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, 0xc0
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140021410]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdx, rcx
mov qword [rbp - 0x39], 7
xor r15d, r15d
mov qword [rbp - 0x41], r15
mov word [rbp - 0x51], r15w
mov esi, r15d
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], r15
mov word [rbp - 0x29], r15w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [0x140024328]
call fcn.140003f20
lea r8d, [r15 + 3]
lea rdx, [0x14001bc18]
lea rcx, [0x140024328]
call fcn.140003670
cmp rax, 0xffffffffffffffff
je 0x140001d3a
lea r9d, [r15 + 4]
lea r8, [0x14001bc20]
mov rdx, rax
lea rcx, [0x140024328]
call fcn.1400034a0
mov r8d, 3
lea rdx, [0x14001bc30]
lea rcx, [0x140024328]
call fcn.140003670
cmp rax, 0xffffffffffffffff
je 0x140001d75
mov r9d, 4
lea r8, str._v__
mov rdx, rax
lea rcx, [0x140024328]
call fcn.1400034a0
cmp qword [0x140024338], 0
je 0x140002009
lea rcx, [0x140024328]
cmp qword [0x140024340], 8
cmovae rcx, qword [0x140024328]
lea rdx, [rbp - 0x69]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r14, rax
mov qword [rbp - 0x61], rax
test rax, rax
je 0x140001ff6
mov r12d, r15d
cmp dword [rbp - 0x69], r15d
jle 0x140001fe3
mov r13, rax
or r14, 0xffffffffffffffff
nop dword [rax + rax]
mov rdx, qword [r13]
movzx eax, word [rdx]
cmp ax, 0x2d
je 0x140001de8
cmp ax, 0x2f
je 0x140001de8
mov ebx, r15d
jmp 0x140001df1
mov ebx, 1
add rdx, 2
xor eax, eax
mov rcx, r14
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp - 0x51]
call fcn.140004030
test esi, esi
je 0x140001ec0
test ebx, ebx
je 0x140001e35
lea rdx, [rbp - 0x51]
lea rcx, [0x140024240]
call fcn.1400052a0
mov rcx, rax
call fcn.1400054f0
jmp 0x140001eb8
lea rcx, [rbp - 0x29]
call fcn.1400026b0
mov rdi, rax
mov rbx, qword [rbp - 0x41]
cmp rbx, 0xffffffffffffffff
cmova rbx, r14
lea rax, [rbp - 0x51]
mov rdx, rbx
mov rcx, rdi
cmp rdi, rax
jne 0x140001e73
mov r8, r14
call fcn.140004190
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.140004190
jmp 0x140001eb8
call fcn.140004570
test al, al
je 0x140001eb8
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rdx, qword [rbp - 0x51]
cmp qword [rdi + 0x18], 8
jb 0x140001e96
mov rcx, qword [rdi]
jmp 0x140001e99
mov rcx, rdi
lea rsi, [rbx + rbx]
mov r8, rsi
call fcn.140008250
mov qword [rdi + 0x10], rbx
cmp qword [rdi + 0x18], 8
jb 0x140001eb3
mov rdi, qword [rdi]
mov word [rdi + rsi], r15w
mov esi, r15d
jmp 0x140001fce
test ebx, ebx
je 0x140001fb6
mov rbx, r15
cmp qword [rbp - 0x41], rbx
jbe 0x140001f12
nop word [rax + rax]
lea rcx, [rbp - 0x51]
mov rdx, qword [rbp - 0x51]
mov rax, qword [rbp - 0x39]
cmp rax, 8
cmovae rcx, rdx
lea rdi, [rbp - 0x51]
cmovae rdi, rdx
movzx ecx, word [rcx + rbx*2]
call fcn.140008048
mov word [rdi + rbx*2], ax
inc rbx
cmp rbx, qword [rbp - 0x41]
jb 0x140001ee0
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rcx, qword [rbp - 0x51]
lea rdx, [rbp - 0x65]
call fcn.140001ba0
test eax, eax
je 0x140001fb6
cmp dword [rbp - 0x65], 0
je 0x140001f99
mov rbx, qword [rbp - 0x41]
cmp rbx, 0xffffffffffffffff
cmova rbx, r14
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140004570
test al, al
je 0x140001f92
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rdx, qword [rbp - 0x51]
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rcx, qword [rbp - 0x29]
lea rdi, [rbx + rbx]
mov r8, rdi
call fcn.140008250
mov qword [rbp - 0x19], rbx
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rax, qword [rbp - 0x29]
mov word [rax + rdi], r15w
mov esi, 1
jmp 0x140001fce
lea rcx, [rbp - 0x51]
call fcn.1400026b0
xor r8d, r8d
lea rdx, [0x14001bc10]
mov rcx, rax
call fcn.140004030
jmp 0x140001fce
lea rdx, [rbp - 0x51]
lea rcx, [0x140024240]
call fcn.1400052a0
mov rcx, rax
call fcn.1400054f0
inc r12d
add r13, 8
cmp r12d, dword [rbp - 0x69]
jl 0x140001dd0
mov r14, qword [rbp - 0x61]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
je 0x140002009
lea rdx, [rbp - 0x51]
jmp 0x140001ffd
lea rdx, [0x140024328]
lea rcx, [0x140024240]
call fcn.1400052a0
lea rdx, [rbp - 1]
lea rcx, [0x140024230]
call fcn.140002a10
mov edi, r15d
cmp qword [rax + 0x10], rdi
sete dil
cmp qword [rbp + 0x17], 8
jb 0x140002034
mov rcx, qword [rbp - 1]
call fcn.14000872c
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r15
mov word [rbp - 1], r15w
cmp qword [rbp - 0x11], 8
jb 0x140002055
mov rcx, qword [rbp - 0x29]
call fcn.14000872c
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], r15
mov word [rbp - 0x29], r15w
cmp qword [rbp - 0x39], 8
jb 0x140002076
mov rcx, qword [rbp - 0x51]
call fcn.14000872c
mov eax, edi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140007d20
lea r11, [rsp + 0xc0]
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