Function at 0x140010c40
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 [0x140030410]
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, [0x140033528]
call fcn.140012f80
lea r8d, [r15 + 3]
lea rdx, [0x14002ac18]
lea rcx, [0x140033528]
call fcn.1400126d0
cmp rax, 0xffffffffffffffff
je 0x140010cfa
lea r9d, [r15 + 4]
lea r8, [0x14002ac20]
mov rdx, rax
lea rcx, [0x140033528]
call fcn.140012500
mov r8d, 3
lea rdx, [0x14002ac30]
lea rcx, [0x140033528]
call fcn.1400126d0
cmp rax, 0xffffffffffffffff
je 0x140010d35
mov r9d, 4
lea r8, str._v__
mov rdx, rax
lea rcx, [0x140033528]
call fcn.140012500
cmp qword [0x140033538], 0
je 0x140010fc9
lea rcx, [0x140033528]
cmp qword [0x140033540], 8
cmovae rcx, qword [0x140033528]
lea rdx, [rbp - 0x69]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r14, rax
mov qword [rbp - 0x61], rax
test rax, rax
je 0x140010fb6
mov r12d, r15d
cmp dword [rbp - 0x69], r15d
jle 0x140010fa3
mov r13, rax
or r14, 0xffffffffffffffff
nop dword [rax + rax]
mov rdx, qword [r13]
movzx eax, word [rdx]
cmp ax, 0x2d
je 0x140010da8
cmp ax, 0x2f
je 0x140010da8
mov ebx, r15d
jmp 0x140010db1
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.140013090
test esi, esi
je 0x140010e80
test ebx, ebx
je 0x140010df5
lea rdx, [rbp - 0x51]
lea rcx, [0x140033440]
call fcn.140014300
mov rcx, rax
call fcn.140014550
jmp 0x140010e78
lea rcx, [rbp - 0x29]
call fcn.140011670
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 0x140010e33
mov r8, r14
call fcn.1400131f0
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1400131f0
jmp 0x140010e78
call fcn.1400135d0
test al, al
je 0x140010e78
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rdx, qword [rbp - 0x51]
cmp qword [rdi + 0x18], 8
jb 0x140010e56
mov rcx, qword [rdi]
jmp 0x140010e59
mov rcx, rdi
lea rsi, [rbx + rbx]
mov r8, rsi
call fcn.140017370
mov qword [rdi + 0x10], rbx
cmp qword [rdi + 0x18], 8
jb 0x140010e73
mov rdi, qword [rdi]
mov word [rdi + rsi], r15w
mov esi, r15d
jmp 0x140010f8e
test ebx, ebx
je 0x140010f76
mov rbx, r15
cmp qword [rbp - 0x41], rbx
jbe 0x140010ed2
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.140017168
mov word [rdi + rbx*2], ax
inc rbx
cmp rbx, qword [rbp - 0x41]
jb 0x140010ea0
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rcx, qword [rbp - 0x51]
lea rdx, [rbp - 0x65]
call fcn.140010b60
test eax, eax
je 0x140010f76
cmp dword [rbp - 0x65], 0
je 0x140010f59
mov rbx, qword [rbp - 0x41]
cmp rbx, 0xffffffffffffffff
cmova rbx, r14
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.1400135d0
test al, al
je 0x140010f52
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.140017370
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 0x140010f8e
lea rcx, [rbp - 0x51]
call fcn.140011670
xor r8d, r8d
lea rdx, [0x14002ac10]
mov rcx, rax
call fcn.140013090
jmp 0x140010f8e
lea rdx, [rbp - 0x51]
lea rcx, [0x140033440]
call fcn.140014300
mov rcx, rax
call fcn.140014550
inc r12d
add r13, 8
cmp r12d, dword [rbp - 0x69]
jl 0x140010d90
mov r14, qword [rbp - 0x61]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
je 0x140010fc9
lea rdx, [rbp - 0x51]
jmp 0x140010fbd
lea rdx, [0x140033528]
lea rcx, [0x140033440]
call fcn.140014300
lea rdx, [rbp - 1]
lea rcx, [0x140033430]
call fcn.1400119d0
mov edi, r15d
cmp qword [rax + 0x10], rdi
sete dil
cmp qword [rbp + 0x17], 8
jb 0x140010ff4
mov rcx, qword [rbp - 1]
call fcn.14001784c
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r15
mov word [rbp - 1], r15w
cmp qword [rbp - 0x11], 8
jb 0x140011015
mov rcx, qword [rbp - 0x29]
call fcn.14001784c
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], r15
mov word [rbp - 0x29], r15w
cmp qword [rbp - 0x39], 8
jb 0x140011036
mov rcx, qword [rbp - 0x51]
call fcn.14001784c
mov eax, edi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140016e40
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