Function at 0x140002978
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140031010]
xor rax, rsp
mov qword [rbp - 0x10], rax
and qword [rbp - 0x20], 0
mov r15, rcx
lea rcx, [rbp - 0x20]
call fcn.140001dec
lea rcx, [rbp - 0x20]
call fcn.1400030cc
mov rax, qword [rbp - 0x20]
or r14d, 0xffffffff
cmp dword [rax - 0x10], 0
jne 0x140002a0f
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.140001968
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140003340
mov rdx, qword [rbp - 0x40]
mov eax, r14d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140002a06
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140018340]
lea rcx, [rbp - 0x20]
call fcn.140004e14
mov rcx, qword [rbp - 0x20]
lea rdx, [rbp - 0x18]
and dword [rbp - 0x18], 0
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r13, rax
test rax, rax
jne 0x140002a35
call fcn.140003e08
mov ebx, eax
jmp 0x140002cd4
movsxd rsi, dword [rbp - 0x18]
test esi, esi
je 0x140002cc6
mov rdi, qword [r15]
mov rdx, rdi
mov rcx, rdi
mov rbx, qword [rdi]
mov r8, qword [rbx + 8]
call fcn.1400035e0
mov qword [rbx + 8], rbx
lea r12, [r15 + 8]
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
and qword [rdi + 8], 0
mov rdi, qword [r12]
mov rdx, rdi
mov rcx, rdi
mov rbx, qword [rdi]
mov r8, qword [rbx + 8]
call fcn.1400035e0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
and qword [rdi + 8], 0
cmp esi, 1
jne 0x140002a9c
xor ebx, ebx
jmp 0x140002ccb
call fcn.1400015b0
mov rcx, rax
test rax, rax
je 0x140002d24
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [0x140018340]
add rax, 0x18
xor r14b, r14b
mov qword [rbp - 0x28], rax
cmp rsi, 1
jle 0x140002c24
mov edi, 1
mov rdx, qword [r13 + rdi*8]
lea rcx, [rbp - 0x30]
and qword [rbp - 0x30], 0
call fcn.140001dec
lea rcx, [rbp - 0x30]
call fcn.1400030cc
lea rdx, [rbp - 0x30]
call fcn.140002d30
lea rdx, [rbp - 0x30]
test al, al
je 0x140002b32
lea r8, [rbp - 0x28]
call fcn.140002e48
mov ebx, eax
test eax, eax
js 0x140002c57
mov rcx, qword [r15]
lea rdx, [rbp - 0x28]
call fcn.140002664
mov ebx, eax
test eax, eax
js 0x140002c57
xor r14b, r14b
jmp 0x140002bec
call fcn.140002dac
test al, al
je 0x140002bc8
lea rdx, [rbp - 0x30]
call fcn.140002dac
test al, al
je 0x140002cb1
mov rax, qword [rbp - 0x30]
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x30]
mov r8d, dword [rax - 0x10]
dec r8d
call fcn.14000301c
mov rdx, rax
lea r8, [rbp - 0x28]
call fcn.140002e48
mov rdx, qword [rbp - 0x38]
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 0x140002ba4
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140018340]
test ebx, ebx
js 0x140002c5b
mov rcx, qword [r12]
lea rdx, [rbp - 0x28]
call fcn.140002664
mov ebx, eax
test eax, eax
js 0x140002c5b
mov r14b, 1
jmp 0x140002bec
test r14b, r14b
lea r8, [rbp - 0x30]
mov rcx, r12
lea rdx, [rbp - 0x28]
cmove rcx, r15
mov rcx, qword [rcx]
call fcn.1400026ec
mov ebx, eax
test eax, eax
js 0x140002cb8
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140002c14
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140018340]
inc rdi
cmp rdi, rsi
jl 0x140002ad4
mov rax, qword [rbp - 0x28]
or r14d, 0xffffffff
lea rdx, [rax - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140002a95
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140018340]
jmp 0x140002a95
or r14d, 0xffffffff
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140002c85
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140018340]
mov rdx, qword [rbp - 0x28]
mov eax, r14d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140002ccb
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140018340]
jmp 0x140002ccb
mov ebx, 0x80070057
jmp 0x140002c57
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
or r14d, 0xffffffff
jmp 0x140002c63
mov ebx, 0x80070057
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdx, qword [rbp - 0x20]
mov eax, r14d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140002cfe
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140018340]
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140006320
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001350
int3