Function at 0x140002568
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r15, rcx
lea rcx, [rbp - 0x18]
call fcn.140001aec
lea rcx, [rbp - 0x18]
call fcn.140002be4
mov rax, qword [rbp - 0x18]
or r14d, 0xffffffff
cmp dword [rax - 0x10], 0
jne 0x1400025e2
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.1400017a8
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.140002f40
mov rdx, qword [rbp - 0x10]
mov eax, r14d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x1400025d9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rbp - 0x18]
call fcn.140003f80
mov rcx, qword [rbp - 0x18]
lea rdx, [rbp + 0x50]
and dword [rbp + 0x50], 0
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r12, rax
test rax, rax
jne 0x140002608
call fcn.1400039c0
mov ebx, eax
jmp 0x140002864
movsxd rsi, dword [rbp + 0x50]
test esi, esi
je 0x140002856
mov rdi, qword [r15]
mov rdx, rdi
mov rcx, rdi
mov rbx, qword [rdi]
mov r8, qword [rbx + 8]
call fcn.1400032f4
mov qword [rbx + 8], rbx
lea r13, [r15 + 8]
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
and qword [rdi + 8], 0
mov rdi, qword [r13]
mov rdx, rdi
mov rcx, rdi
mov rbx, qword [rdi]
mov r8, qword [rbx + 8]
call fcn.1400032f4
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
and qword [rdi + 8], 0
cmp esi, 1
jne 0x14000266f
xor ebx, ebx
jmp 0x14000285b
call fcn.14000147c
mov rcx, rax
test rax, rax
je 0x14000289e
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
xor r14b, r14b
mov qword [rbp - 0x20], rax
cmp rsi, 1
jle 0x1400027d2
mov edi, 1
mov rdx, qword [r12 + rdi*8]
lea rcx, [rbp + 0x58]
call fcn.140001aec
lea rcx, [rbp + 0x58]
call fcn.140002be4
lea rdx, [rbp + 0x58]
call fcn.1400028ac
lea rdx, [rbp + 0x58]
test al, al
je 0x1400026f8
lea r8, [rbp - 0x20]
call fcn.140002998
mov ebx, eax
test eax, eax
js 0x1400027fb
mov rcx, qword [r15]
lea rdx, [rbp - 0x20]
call fcn.140002208
mov ebx, eax
test eax, eax
js 0x1400027fb
xor r14b, r14b
jmp 0x1400027a4
call fcn.140002904
test al, al
je 0x140002780
lea rdx, [rbp + 0x58]
call fcn.140002904
test al, al
je 0x140002841
mov rax, qword [rbp + 0x58]
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x58]
mov r8d, dword [rax - 0x10]
dec r8d
call fcn.140002b4c
mov rdx, rax
lea r8, [rbp - 0x20]
call fcn.140002998
mov rdx, qword [rbp - 8]
mov ebx, eax
add rdx, 0xffffffffffffffe8
or r14d, 0xffffffff
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14000275c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test ebx, ebx
js 0x1400027ff
mov rcx, qword [r13]
lea rdx, [rbp - 0x20]
call fcn.140002208
mov ebx, eax
test eax, eax
js 0x1400027ff
mov r14b, 1
jmp 0x1400027a4
test r14b, r14b
lea r8, [rbp + 0x58]
mov rcx, r13
lea rdx, [rbp - 0x20]
cmove rcx, r15
mov rcx, qword [rcx]
call fcn.1400022e8
mov ebx, eax
test eax, eax
js 0x140002848
mov rdx, qword [rbp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400027c2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
inc rdi
cmp rdi, rsi
jl 0x1400026a0
mov rax, qword [rbp - 0x20]
or r14d, 0xffffffff
lea rdx, [rax - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140002668
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140002668
or r14d, 0xffffffff
mov rdx, qword [rbp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14000281f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rbp - 0x20]
mov eax, r14d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14000285b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14000285b
mov ebx, 0x80070057
jmp 0x1400027fb
mov rdx, qword [rbp + 0x58]
add rdx, 0xffffffffffffffe8
or r14d, 0xffffffff
jmp 0x140002807
mov ebx, 0x80070057
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdx, qword [rbp - 0x18]
mov eax, r14d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140002884
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001230
int3