Function at 0x140040a90
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.140033ad0
mov rax, qword [rsp + 0x60]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140040b41
cmp byte [rsp + 0x70], r13b
je 0x140040b3c
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140040b7b
call fcn.14003d910
test eax, eax
jne 0x140040b65
cmp byte [rsp + 0x70], r13b
je 0x140040b5d
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140040b7b
cmp byte [rsp + 0x70], r13b
je 0x140040b78
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.140038f88
test eax, eax
jne 0x140040cf5
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140033ad0
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0xc], ebx
jne 0x140040bc2
cmp byte [rsp + 0x70], r13b
je 0x140040bbd
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140040bfc
call fcn.14003d910
test eax, eax
jne 0x140040be6
cmp byte [rsp + 0x70], r13b
je 0x140040bde
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140040bfc
cmp byte [rsp + 0x70], r13b
je 0x140040bf9
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.140038f88
test eax, eax
jne 0x140040cf5
mov rsi, qword [rbp + 0x78]
mov rcx, r13
test rsi, rsi
je 0x140040ca9
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140033ad0
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0xc], ebx
jne 0x140040c50
cmp byte [rsp + 0x70], r13b
je 0x140040c89
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140040c89
call fcn.14003d910
test eax, eax
jne 0x140040c73
cmp byte [rsp + 0x70], r13b
je 0x140040c6c
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140040c89
cmp byte [rsp + 0x70], r13b
je 0x140040c86
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.140038f88
mov rdi, qword [rbp - 0x78]
test eax, eax
jne 0x140040cf5
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 0x140040cf8
mov ebx, r13d
cmp byte [rbp - 0x60], r13b
je 0x140040d06
mov rcx, rdi
call fcn.14003d60c
cmp byte [rbp - 0x30], r13b
je 0x140040d15
mov rcx, qword [rbp - 0x48]
call fcn.14003d60c
cmp byte [rbp], r13b
je 0x140040d24
mov rcx, qword [rbp - 0x18]
call fcn.14003d60c
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