Function at 0x140002798
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.140001c4c
lea rcx, [rbp - 0x18]
call fcn.140002e38
mov rax, qword [rbp - 0x18]
or r14d, 0xffffffff
cmp dword [rax - 0x10], 0
jne 0x140002812
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.140001908
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.1400030ac
mov rdx, qword [rbp - 0x10]
mov eax, r14d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140002809
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rbp - 0x18]
call fcn.140004248
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 0x140002838
call fcn.140003b2c
mov ebx, eax
jmp 0x140002a94
movsxd rsi, dword [rbp + 0x50]
test esi, esi
je 0x140002a86
mov rdi, qword [r15]
mov rdx, rdi
mov rcx, rdi
mov rbx, qword [rdi]
mov r8, qword [rbx + 8]
call fcn.140003460
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.140003460
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
and qword [rdi + 8], 0
cmp esi, 1
jne 0x14000289f
xor ebx, ebx
jmp 0x140002a8b
call fcn.1400015dc
mov rcx, rax
test rax, rax
je 0x140002ace
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
xor r14b, r14b
mov qword [rbp - 0x20], rax
cmp rsi, 1
jle 0x140002a02
mov edi, 1
mov rdx, qword [r12 + rdi*8]
lea rcx, [rbp + 0x58]
call fcn.140001c4c
lea rcx, [rbp + 0x58]
call fcn.140002e38
lea rdx, [rbp + 0x58]
call fcn.140002adc
lea rdx, [rbp + 0x58]
test al, al
je 0x140002928
lea r8, [rbp - 0x20]
call fcn.140002bec
mov ebx, eax
test eax, eax
js 0x140002a2b
mov rcx, qword [r15]
lea rdx, [rbp - 0x20]
call fcn.140002438
mov ebx, eax
test eax, eax
js 0x140002a2b
xor r14b, r14b
jmp 0x1400029d4
call fcn.140002b58
test al, al
je 0x1400029b0
lea rdx, [rbp + 0x58]
call fcn.140002b58
test al, al
je 0x140002a71
mov rax, qword [rbp + 0x58]
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x58]
mov r8d, dword [rax - 0x10]
dec r8d
call fcn.140002da0
mov rdx, rax
lea r8, [rbp - 0x20]
call fcn.140002bec
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 0x14000298c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test ebx, ebx
js 0x140002a2f
mov rcx, qword [r13]
lea rdx, [rbp - 0x20]
call fcn.140002438
mov ebx, eax
test eax, eax
js 0x140002a2f
mov r14b, 1
jmp 0x1400029d4
test r14b, r14b
lea r8, [rbp + 0x58]
mov rcx, r13
lea rdx, [rbp - 0x20]
cmove rcx, r15
mov rcx, qword [rcx]
call fcn.140002518
mov ebx, eax
test eax, eax
js 0x140002a78
mov rdx, qword [rbp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400029f2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
inc rdi
cmp rdi, rsi
jl 0x1400028d0
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 0x140002898
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140002898
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 0x140002a4f
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 0x140002a8b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140002a8b
mov ebx, 0x80070057
jmp 0x140002a2b
mov rdx, qword [rbp + 0x58]
add rdx, 0xffffffffffffffe8
or r14d, 0xffffffff
jmp 0x140002a37
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 0x140002ab4
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.140001390
int3