Function at 0x1400402c8
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.140022c38
mov rax, qword [rsp + 0x60]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140040379
cmp byte [rsp + 0x70], r13b
je 0x140040374
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400403b3
call fcn.1400339b0
test eax, eax
jne 0x14004039d
cmp byte [rsp + 0x70], r13b
je 0x140040395
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400403b3
cmp byte [rsp + 0x70], r13b
je 0x1400403b0
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.14002c06c
test eax, eax
jne 0x14004052d
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140022c38
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0xc], ebx
jne 0x1400403fa
cmp byte [rsp + 0x70], r13b
je 0x1400403f5
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140040434
call fcn.1400339b0
test eax, eax
jne 0x14004041e
cmp byte [rsp + 0x70], r13b
je 0x140040416
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140040434
cmp byte [rsp + 0x70], r13b
je 0x140040431
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.14002c06c
test eax, eax
jne 0x14004052d
mov rsi, qword [rbp + 0x78]
mov rcx, r13
test rsi, rsi
je 0x1400404e1
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140022c38
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0xc], ebx
jne 0x140040488
cmp byte [rsp + 0x70], r13b
je 0x1400404c1
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400404c1
call fcn.1400339b0
test eax, eax
jne 0x1400404ab
cmp byte [rsp + 0x70], r13b
je 0x1400404a4
mov rax, qword [rsp + 0x58]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400404c1
cmp byte [rsp + 0x70], r13b
je 0x1400404be
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.14002c06c
mov rdi, qword [rbp - 0x78]
test eax, eax
jne 0x14004052d
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 0x140040530
mov ebx, r13d
cmp byte [rbp - 0x60], r13b
je 0x14004053e
mov rcx, rdi
call fcn.140031f6c
cmp byte [rbp - 0x30], r13b
je 0x14004054d
mov rcx, qword [rbp - 0x48]
call fcn.140031f6c
cmp byte [rbp], r13b
je 0x14004055c
mov rcx, qword [rbp - 0x18]
call fcn.140031f6c
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