Function at 0x140166130
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x110
xor r13d, r13d
mov r14, rdx
mov rsi, rcx
mov qword [rbp - 0x28], r13
xor edx, edx
mov qword [rbp - 0x20], r13
lea rcx, [rsp + 0x58]
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], r13
mov edi, r13d
mov qword [rbp - 8], r13
mov r15, r9
mov byte [rbp], r13b
mov r12, r8
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
mov byte [rbp - 0x30], r13b
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
mov byte [rbp - 0x60], r13b
call fcn.14014c9bc
mov rax, qword [rsp + 0x60]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401661e1
cmp byte [rsp + 0x70], r13b
je 0x1401661dc
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14016621b
call fcn.14016355c
test eax, eax
jne 0x140166205
cmp byte [rsp + 0x70], r13b
je 0x1401661fd
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14016621b
cmp byte [rsp + 0x70], r13b
je 0x140166218
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r13d
lea r8, [rsp + 0x50]
mov rcx, rsi
lea rdx, [rbp - 0x28]
call fcn.140151d7c
test eax, eax
jne 0x140166395
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.14014c9bc
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0xc], ebx
jne 0x140166262
cmp byte [rsp + 0x70], r13b
je 0x14016625d
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14016629c
call fcn.14016355c
test eax, eax
jne 0x140166286
cmp byte [rsp + 0x70], r13b
je 0x14016627e
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14016629c
cmp byte [rsp + 0x70], r13b
je 0x140166299
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r13d
lea r8, [rsp + 0x50]
mov rcx, r14
lea rdx, [rbp - 0x58]
call fcn.140151d7c
test eax, eax
jne 0x140166395
mov rsi, qword [rbp + 0x78]
mov rcx, r13
test rsi, rsi
je 0x140166349
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.14014c9bc
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0xc], ebx
jne 0x1401662f0
cmp byte [rsp + 0x70], r13b
je 0x140166329
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140166329
call fcn.14016355c
test eax, eax
jne 0x140166313
cmp byte [rsp + 0x70], r13b
je 0x14016630c
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140166329
cmp byte [rsp + 0x70], r13b
je 0x140166326
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r13d
mov r9d, ebx
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.140151d7c
mov rdi, qword [rbp - 0x78]
test eax, eax
jne 0x140166395
mov rcx, rdi
mov rax, qword [rbp + 0x88]
mov r9, r15
mov rdx, qword [rbp - 0x48]
mov r8, r12
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x70]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rbp - 0x18]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x68]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x60]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
jmp 0x140166398
mov ebx, r13d
cmp byte [rbp - 0x60], r13b
je 0x1401663a6
mov rcx, rdi
call fcn.140160dac
cmp byte [rbp - 0x30], r13b
je 0x1401663b5
mov rcx, qword [rbp - 0x48]
call fcn.140160dac
cmp byte [rbp], r13b
je 0x1401663c4
mov rcx, qword [rbp - 0x18]
call fcn.140160dac
lea r11, [rsp + 0x110]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret