Function at 0x140010550
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x268]
sub rsp, 0x340
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140079698]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rsi, rcx
mov rcx, qword [rcx + 0x260]
sub rcx, 0x18
call fcn.140001ee0
add rax, 0x18
mov qword [rsp + 0x78], rax
call fcn.140015cb0
mov rcx, rax
test rax, rax
jne 0x1400105be
mov ecx, 0x80004005
call fcn.1400026e0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
mov rcx, qword [rsi + 0x260]
or rdi, 0xffffffffffffffff
cmp dword [rcx - 0x10], 0
jle 0x140010683
lea edx, [rdi + 0x5d]
call fcn.140039fd8
mov rbx, rax
test rax, rax
je 0x140010683
sub rbx, qword [rsi + 0x260]
sar rbx, 1
test ebx, ebx
js 0x140010683
lea r8d, [rbx + 1]
lea rdx, [rbp - 0x68]
lea rcx, [rsi + 0x260]
call fcn.14000f2d0
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140003360
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140010644
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, ebx
lea rdx, [rbp - 0x60]
lea rcx, [rsi + 0x260]
call fcn.14000f230
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140003360
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140010683
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, 0x104
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.140015cb0
mov rcx, rax
test rax, rax
jne 0x1400106ad
mov ecx, 0x80004005
call fcn.1400026e0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea r15, [0x1400682c0]
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [r15 + rax*2], 0
jne 0x1400106d0
mov r8d, eax
mov rdx, r15
lea rcx, [rsp + 0x60]
call fcn.140002b70
lea rcx, [rbp + 0x20]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400106f2
mov r8d, eax
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140002b70
lea rdx, str.______
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140010720
mov r8d, eax
lea rcx, [rsp + 0x60]
call fcn.140002b70
xor r12d, r12d
mov r14d, r12d
cmp qword [rsi + 0x2a8], r12
jle 0x1400107bb
mov ebx, r12d
nop dword [rax]
mov r8d, 2
lea rdx, [0x1400682dc]
lea rcx, [rsp + 0x60]
call fcn.140002b70
test rbx, rbx
js 0x1400107b5
cmp rbx, qword [rsi + 0x2a8]
jge 0x1400107b5
mov rax, qword [rsi + 0x2a0]
mov rdx, qword [rax + rbx*8]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x60]
call fcn.140002b70
mov r8d, 1
mov rdx, r15
lea rcx, [rsp + 0x60]
call fcn.140002b70
inc r14d
inc rbx
movsxd rax, r14d
cmp rax, qword [rsi + 0x2a8]
jl 0x140010750
jmp 0x1400107bb
call fcn.140015fbc
int3
mov qword [rbp - 0x80], r12
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
xor edx, edx
lea r8d, [rax + 0x60]
lea rcx, [rbp - 0x48]
call fcn.14003a130
mov dword [rbp - 0x50], 0x68
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 0x400
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r12
mov r9d, 1
mov r8, qword [rsi + 0x268]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
jne 0x14001083c
mov rcx, rsi
call fcn.140010440
int3
or edx, 0xffffffff
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x68]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [rsp + 0x68]
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001088a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400108a9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400108c6
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, esi
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1400371e0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret