Function at 0x140031df0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xf0
mov rbx, r8
lea r13, [rbp + 0x47]
mov r14, rdx
lea r8, [fcn.14002abb0]
add r13, 0xfffffffffffffff8
lea rdx, [rbp + 0x67]
mov rcx, r13
mov r12, r9
call fcn.140028eb0
xor edx, edx
mov qword [rbp + 0x67], rax
lea rcx, [rbp - 0x61]
mov rsi, rax
lea r8d, [rdx + 0x68]
call fcn.140174ac0
mov rcx, qword gs:[0x58]
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x71], rax
mov rax, qword [rcx]
mov ecx, 1
mov qword [rbp - 0x69], rax
mov edi, 0x1678
add rdi, rax
mov dword [rbp - 0x61], 0x68
xor eax, eax
mov dword [rbp - 0x25], ecx
neg dword [rbp + 0x77]
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
sbb ax, ax
and ax, 5
xor r15d, r15d
mov word [rbp - 0x21], ax
test rbx, rbx
je 0x140031f67
mov rdx, rbx
mov qword [rbp + 0x5f], r15
lea rcx, [rbp + 0x5f]
call fcn.14004b960
mov r8, qword [rbp + 0x5f]
mov edx, r15d
mov rcx, qword [r8]
test rcx, rcx
je 0x140031eef
nop word [rax + rax]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r15w
jne 0x140031ed4
mov rcx, qword [r8 + 8]
add r8, 8
inc edx
add edx, eax
test rcx, rcx
jne 0x140031ed0
mov rcx, rsi
call fcn.14002ac60
mov r9, qword [rbp + 0x5f]
mov r10d, r15d
mov rax, qword [r9]
test rax, rax
je 0x140031f5b
nop word [rax + rax]
mov rcx, qword [rsi]
movsxd rdx, r10d
lea r8, [rcx + rdx*2]
nop word [rax + rax]
movzx ecx, word [rax]
lea rax, [rax + 2]
mov word [r8], cx
lea r8, [r8 + 2]
test cx, cx
jne 0x140031f20
mov rcx, qword [r9]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r15w
jne 0x140031f40
inc eax
add r9, 8
add r10d, eax
mov rax, qword [r9]
test rax, rax
jne 0x140031f10
lea rcx, [rbp + 0x5f]
call fcn.14004b900
mov ecx, dword [rbp - 0x25]
test r12, r12
je 0x140031fb8
bts ecx, 8
xor edx, edx
mov dword [rbp - 0x25], ecx
mov rcx, r12
call fcn.140032290
test eax, eax
je 0x140031fa1
mov r8d, 0x1690
lea rdx, str.redir_failed:__s
add r8, qword [rbp - 0x69]
mov ecx, 0x480003
call fcn.14002d1f0
jmp 0x1400320f0
mov rax, qword [rdi]
mov qword [rbp - 0x11], rax
mov rax, qword [rdi + 8]
mov qword [rbp - 9], rax
mov rax, qword [rdi + 0x10]
mov qword [rbp - 1], rax
mov rsi, qword [rbp + 0x7f]
test rsi, rsi
je 0x140032064
lea rax, [0x1401a9c78]
mov qword [rbp - 0x51], rax
test r14, r14
je 0x140031fe5
mov rdx, r14
mov rcx, r13
call fcn.140029470
mov r14, qword [rax]
jmp 0x140031fe8
mov r14, r15
mov rax, qword [rbp + 0x67]
mov rcx, r13
mov rdx, qword [rbp + 0x4f]
mov rbx, qword [rax]
call fcn.140029470
mov edx, dword [rbp + 0x6f]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], rcx
xor r9d, r9d
lea rcx, [rbp - 0x61]
mov r8, qword [rax]
mov qword [rsp + 0x48], rcx
mov rcx, rsi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 0x400
mov dword [rsp + 0x28], edx
xor edx, edx
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
movsxd rcx, eax
call fcn.140171010
test rax, rax
jne 0x1400320e7
lea rdx, str.CreateProcessAsUser_failed:__m
mov ecx, 0x480003
call fcn.14002d1f0
jmp 0x1400320f0
test r14, r14
je 0x140032077
mov rdx, r14
mov rcx, r13
call fcn.140029470
mov r15, qword [rax]
mov rax, qword [rbp + 0x67]
mov rcx, r13
mov rdx, qword [rbp + 0x4f]
mov rbx, qword [rax]
call fcn.140029470
lea rcx, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x48], rcx
xor r8d, r8d
lea rcx, [rbp - 0x61]
mov rdx, qword [rax]
mov qword [rsp + 0x40], rcx
mov ecx, dword [rbp + 0x6f]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x400
mov dword [rsp + 0x20], ecx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
movsxd rcx, eax
call fcn.140171010
test rax, rax
jne 0x1400320e7
lea rdx, str.CreateProcess_failed:__m
mov ecx, 0x480003
call fcn.14002d1f0
jmp 0x1400320f0
lea rcx, [rbp - 0x79]
call fcn.140053680
test r12, r12
je 0x140032112
mov ebx, 3
nop word [rax + rax]
mov rcx, rdi
call fcn.140053680
add rdi, 8
sub rbx, 1
jne 0x140032100
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x138]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret