Function at 0x140001270
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov r14, rcx
call fcn.1400100f0
call fcn.140012980
mov rcx, rax
xor esi, esi
mov edx, esi
test rax, rax
setne dl
test edx, edx
jne 0x1400012ba
mov ecx, 0x80004005
call fcn.14000a340
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x98], rax
call fcn.140012980
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400012eb
mov ecx, 0x80004005
call fcn.14000a340
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x90], rbx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
or rbp, 0xffffffffffffffff
test rax, rax
jne 0x140001316
mov ecx, esi
jmp 0x140001327
xor eax, eax
mov rcx, rbp
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rsp + 0x98]
call fcn.14000a220
lea rcx, [rsp + 0x98]
call fcn.140009530
mov rcx, rax
call fcn.1400095f0
mov r15, qword [rsp + 0x98]
lea rcx, [r15 - 0x18]
lea rdi, [rbx - 0x18]
cmp rcx, rdi
je 0x1400014a1
cmp dword [rdi + 0x10], 0
jl 0x14000139d
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14000139d
call fcn.140009f10
mov rbx, rax
mov ecx, ebp
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140001394
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add rbx, 0x18
jmp 0x140001499
movsxd r12, dword [r15 - 0x10]
test r12d, r12d
jne 0x140001401
mov r12, qword [rdi]
cmp dword [rdi + 8], 0
je 0x1400014a1
cmp dword [rdi + 0x10], 0
jge 0x1400013d5
cmp dword [rbx - 0xc], 0
jge 0x1400013ca
mov ecx, 0x80070057
call fcn.14000a340
int3
mov dword [rbx - 0x10], esi
mov word [rbx], si
jmp 0x1400014a1
mov eax, ebp
lock xadd dword [rdi + 0x10], eax
dec eax
test eax, eax
jg 0x1400013ee
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
jmp 0x140001499
mov eax, dword [rbx - 0x10]
mov dword [rsp + 0x88], eax
mov r13, r15
sub r13, rbx
sar r13, 1
test r12d, r12d
jns 0x140001424
mov ecx, 0x80070057
call fcn.14000a340
int3
mov ecx, 1
sub ecx, dword [rdi + 0x10]
mov eax, dword [rdi + 0xc]
sub eax, r12d
or eax, ecx
jge 0x14000144e
mov edx, r12d
lea rcx, [rsp + 0x90]
call fcn.14000a1c0
mov rbx, qword [rsp + 0x90]
mov eax, dword [rsp + 0x88]
lea rdi, [r12 + r12]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
mov r9, rdi
add rdx, rdx
cmp r13, rax
ja 0x140001476
lea r8, [rbx + r13*2]
call fcn.140161bac
jmp 0x14000147e
mov r8, r15
call fcn.140161b24
cmp r12d, dword [rbx - 0xc]
jg 0x14000148e
mov dword [rbx - 0x10], r12d
mov word [rdi + rbx], si
jmp 0x1400014a1
mov ecx, 0x80070057
call fcn.14000a340
int3
mov qword [rsp + 0x90], rbx
movsxd rdi, dword [rbx - 0x10]
test edi, edi
jns 0x1400014b4
mov ecx, 0x80070057
call fcn.14000a340
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or ecx, eax
jge 0x1400014dc
mov edx, edi
lea rcx, [rsp + 0x90]
call fcn.14000a1c0
mov rbx, qword [rsp + 0x90]
lea eax, [rdi + 1]
movsxd rdx, eax
mov rcx, rbx
call fcn.1401621a4
cmp edi, dword [rbx - 0xc]
jg 0x1400016fe
mov dword [rbx - 0x10], edi
mov word [rbx + rdi*2], si
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x140001575
call fcn.140012980
mov rcx, rax
test rax, rax
setne sil
test esi, esi
jne 0x140001522
mov ecx, 0x80004005
call fcn.14000a340
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x20], rdi
mov ecx, 5
call fcn.1400148dc
test rax, rax
je 0x140001558
mov r8d, 5
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140009df0
mov rdi, qword [rsp + 0x20]
mov r9d, 0x30
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call fcn.1400175f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x140229a08], 0
jne 0x1400016f5
call fcn.140004430
mov dword [0x140229a00], eax
cmp dword [rbx - 0x10], 0
jl 0x1400015d2
lea rdx, [0x1401dcf20]
mov rcx, rbx
call fcn.140161e64
test rax, rax
je 0x1400015d2
sub rax, rbx
sar rax, 1
test eax, eax
jle 0x1400015d2
call fcn.140008b30
call fcn.140008c70
call fcn.140002f00
mov edx, 1
mov rcx, r14
call fcn.140001830
jmp 0x1400016f5
call fcn.140012980
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400015f1
mov ecx, 0x80004005
call fcn.14000a340
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x88], rbx
call fcn.140012980
mov rcx, rax
test rax, rax
setne sil
test esi, esi
jne 0x140001624
mov ecx, 0x80004005
call fcn.14000a340
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x28], rdi
mov ecx, 1
call fcn.1400148dc
test rax, rax
je 0x140001660
mov r8d, 1
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.140009df0
mov rbx, qword [rsp + 0x88]
mov ecx, 2
call fcn.1400148dc
test rax, rax
je 0x140001687
mov r8d, 2
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140009df0
mov rdi, qword [rsp + 0x28]
mov r9d, 0x31
mov r8, rdi
mov rdx, rbx
mov rcx, r14
call fcn.1400175f0
cmp eax, 1
jne 0x1400016ba
call fcn.140008b30
call fcn.140008c70
call fcn.140002f00
xor edx, edx
mov rcx, r14
call fcn.140001830
nop
lea rdx, [rdi - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400016d5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebp
dec ebp
test ebp, ebp
jg 0x1400016f5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 0x80070057
call fcn.14000a340
int3