Function at 0x1400a6110
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x138]
sub rsp, 0x238
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x1401730f8]
xor rax, rsp
mov qword [rbp + reloc.OLEAUT32.dll_VARIANT_UserUnmarshal], rax
mov eax, r9d
mov dword [rsp + 0x50], eax
mov r15, r8
mov rsi, rdx
mov r14, rcx
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov qword [rbp + 0x70], r8
mov r13, qword [rbp + 0x1b8]
xor edi, edi
mov dword [0x14017a640], edi
mov r12, qword [0x14017a728]
mov rbx, qword [0x14017a720]
cmp rbx, r12
je 0x1400a61a1
lea rcx, [rbx + 8]
call fcn.1400048d0
add rbx, 0x58
cmp rbx, r12
jne 0x1400a6184
mov rbx, qword [0x14017a720]
mov eax, dword [rsp + 0x50]
mov qword [0x14017a728], rbx
test al, 8
jne 0x1400a638a
cmp qword [r14 + 0x18], rdi
je 0x1400a6246
xor r9d, r9d
mov r8b, 1
lea rdx, [rbp + 0x80]
mov rcx, r14
call fcn.14002edc0
lea rcx, [rbp + 0x80]
call fcn.1400048d0
cmp qword [r14 + 0x18], rdi
je 0x1400a6246
lea r8, [0x140102568]
mov rdx, r14
lea rcx, [rbp + 0xd0]
call fcn.14000cde0
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.14000cf90
nop
test rax, rax
lea rdx, [rax + 8]
jne 0x1400a6217
mov rdx, rdi
lea rcx, [rsi + 8]
cmp rcx, rdx
je 0x1400a622d
or r9, 0xffffffffffffffff
xor r8d, r8d
call fcn.140004680
nop
lea rcx, [rbp + 0x80]
call fcn.1400048d0
nop
lea rcx, [rbp + 0xd0]
call fcn.1400048d0
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp - 8]
call fcn.1400b52d0
mov dword [rbp - 0x10], 0x68
or dword [rbp + 0x2c], 1
movzx eax, word [rbp + 0x1a8]
mov word [rbp + 0x30], ax
cmp qword [r15 + 0x18], rdi
je 0x1400a6281
lea rbx, [r15 + 8]
cmp qword [rbx + 0x18], 8
jb 0x1400a6284
mov rbx, qword [rbx]
jmp 0x1400a6284
mov rbx, rdi
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.140009620
nop
mov byte [rax + 8], 1
mov rcx, qword [rax]
call fcn.140002ef0
mov rdx, qword [rax]
lea rax, [0x14017a648]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
mov eax, dword [rbp + 0x1b0]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
lea rcx, [rsp + 0x58]
call fcn.140009c60
test ebx, ebx
jne 0x1400a6377
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x14017a640], eax
lea rdx, [rbp + 0xd0]
mov rcx, rsi
call fcn.14002ecf0
lea rcx, [rbp + 0xd0]
call fcn.1400048d0
lea rax, [0x140102478]
mov qword [rbp + 0x80], rax
lea rax, [0x1401025f8]
mov qword [rbp + 0xc0], rax
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0x80]
call fcn.140006eb0
lea rcx, [rbp + 0x80]
call fcn.1400a85b4
nop
mov rcx, r14
call fcn.1400048d0
nop
mov rcx, rsi
call fcn.1400048d0
nop
mov rcx, r15
call fcn.1400048d0
or eax, 0xffffffff
jmp 0x1400a65a1
mov rbx, qword [0x14017a648]
mov r12d, dword [0x14017a658]
jmp 0x1400a64d4
xor edx, edx
lea r8d, [rdx + 0x6c]
lea rcx, [rbp - 0x7c]
call fcn.1400b52d0
mov dword [rbp - 0x80], 0x70
mov eax, dword [rbp + 0x1b0]
or eax, 0x40
mov dword [rbp - 0x7c], eax
lea rax, [r13 + 8]
cmp qword [rax + 0x18], 8
jb 0x1400a63ba
mov rax, qword [rax]
mov qword [rbp - 0x70], rax
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.140009620
nop
mov byte [rax + 8], 1
mov rcx, qword [rax]
call fcn.140002ef0
mov rcx, qword [rax]
mov qword [rbp - 0x68], rcx
lea rcx, [rsp + 0x58]
call fcn.140009c60
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.140009620
nop
mov byte [rax + 8], 1
mov rcx, qword [rax]
call fcn.140002ef0
mov rcx, qword [rax]
mov qword [rbp - 0x60], rcx
lea rcx, [rsp + 0x58]
call fcn.140009c60
mov eax, dword [rbp + 0x1a8]
mov dword [rbp - 0x50], eax
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, r15
call fcn.140009620
nop
mov byte [rax + 8], 1
mov rcx, qword [rax]
call fcn.140002ef0
mov rcx, qword [rax]
mov qword [rbp - 0x58], rcx
lea rcx, [rsp + 0x58]
call fcn.140009c60
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne al
test al, al
jne 0x1400a64b8
mov eax, dword [rbp - 0x48]
cmp eax, 0x20
jge 0x1400a64b8
mov dword [0x14017a640], eax
lea r8, [0x140102568]
mov rdx, r14
lea rcx, [rbp + 0x80]
call fcn.14000cde0
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.14000cf90
mov rcx, rax
call fcn.1400a85b4
nop
lea rcx, [rbp + 0x80]
call fcn.1400048d0
or edi, 0xffffffff
jmp 0x1400a6585
mov rbx, qword [rbp - 0x18]
mov qword [0x14017a648], rbx
mov rcx, rbx
call fcn.1400a54b8
mov r12d, eax
mov dword [0x14017a658], eax
mov edx, 0x3e8
mov rcx, rbx
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov r9d, dword [rbp + 0x1a0]
mov r8d, dword [rsp + 0x50]
mov rdx, rbx
mov ecx, r12d
call fcn.1400a86d4
mov r12d, eax
lea rdx, [0x14017a644]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test r12d, r12d
je 0x1400a6585
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x14017a640], eax
lea rdx, [rbp + 0xd0]
mov rcx, rsi
call fcn.14002ecf0
lea rcx, [rbp + 0xd0]
call fcn.1400048d0
lea rax, [0x140102478]
mov qword [rbp + 0x80], rax
lea rax, [0x1401025f8]
mov qword [rbp + 0xc0], rax
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0x80]
call fcn.140006eb0
lea rcx, [rbp + 0x80]
call fcn.1400a85b4
cmp r12d, 0x102
mov edi, 0xfffffffd
je 0x1400a6585
mov edi, 0xfffffffe
mov rcx, r14
call fcn.1400048d0
nop
mov rcx, rsi
call fcn.1400048d0
nop
mov rcx, r15
call fcn.1400048d0
mov eax, edi
mov rcx, qword [rbp + reloc.OLEAUT32.dll_VARIANT_UserUnmarshal]
xor rcx, rsp
call fcn.1400b31f0
add rsp, 0x238
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret