Function at 0x140040684
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.1400242e0
mov rax, qword [rsp + 0x60]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140040735
cmp byte [rsp + 0x70], r13b
je 0x140040730
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14004076f
call fcn.140035b88
test eax, eax
jne 0x140040759
cmp byte [rsp + 0x70], r13b
je 0x140040751
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14004076f
cmp byte [rsp + 0x70], r13b
je 0x14004076c
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.14002d070
test eax, eax
jne 0x1400408e9
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.1400242e0
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0xc], ebx
jne 0x1400407b6
cmp byte [rsp + 0x70], r13b
je 0x1400407b1
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400407f0
call fcn.140035b88
test eax, eax
jne 0x1400407da
cmp byte [rsp + 0x70], r13b
je 0x1400407d2
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400407f0
cmp byte [rsp + 0x70], r13b
je 0x1400407ed
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.14002d070
test eax, eax
jne 0x1400408e9
mov rsi, qword [rbp + 0x78]
mov rcx, r13
test rsi, rsi
je 0x14004089d
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.1400242e0
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0xc], ebx
jne 0x140040844
cmp byte [rsp + 0x70], r13b
je 0x14004087d
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14004087d
call fcn.140035b88
test eax, eax
jne 0x140040867
cmp byte [rsp + 0x70], r13b
je 0x140040860
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14004087d
cmp byte [rsp + 0x70], r13b
je 0x14004087a
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.14002d070
mov rdi, qword [rbp - 0x78]
test eax, eax
jne 0x1400408e9
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 0x1400408ec
mov ebx, r13d
cmp byte [rbp - 0x60], r13b
je 0x1400408fa
mov rcx, rdi
call fcn.140032810
cmp byte [rbp - 0x30], r13b
je 0x140040909
mov rcx, qword [rbp - 0x48]
call fcn.140032810
cmp byte [rbp], r13b
je 0x140040918
mov rcx, qword [rbp - 0x18]
call fcn.140032810
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