Function at 0x180033cf0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x158]
sub rsp, 0x258
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x1801c3938]
xor rax, rsp
mov qword [rbp + 0x148], rax
movzx ebx, r9b
mov r13, r8
mov r12, rdx
mov rdi, rcx
xor r15d, r15d
mov qword [rsp + 0x50], r15
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
xor edx, edx
lea r8d, [r15 + 0x60]
lea rcx, [rsp + 0x78]
call fcn.1800c7520
mov dword [rsp + 0x70], 0x68
mov dword [rbp - 0x54], 1
neg bl
sbb ax, ax
and ax, 5
mov word [rbp - 0x50], ax
mov rcx, qword [rdi + 0x10]
inc rcx
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1800bd9f0
mov rsi, rax
test rax, rax
jne 0x180033e64
lea rcx, [rbp - 0x20]
call fcn.180012fc0
nop
lea rdx, str.new_FAILED.
lea rcx, [rbp - 0x20]
call fcn.18001da90
lea rdx, str.CProcUtility::CreateProcessInherit
lea rcx, [rbp + 0xd0]
call fcn.1800104c0
nop
lea rdx, str.ProcUtility.cpp
lea rcx, [rbp + 0xf8]
call fcn.1800104c0
nop
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x20]
call fcn.1800130a0
mov rbx, rax
call fcn.180014440
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
mov r9d, 0x103
lea r8, [rbp + 0xf8]
xor edx, edx
call fcn.1800326a0
nop
lea rcx, [rbp + 0x120]
call fcn.1800126d0
nop
lea rcx, [rbp + 0xf8]
call fcn.18008f070
nop
lea rcx, [rbp + 0xd0]
call fcn.18008f070
nop
lea rcx, [rbp + 0x68]
call fcn.180013040
lea rcx, [rbp + 0x68]
call fcn.180012100
xor al, al
jmp 0x180034023
mov r8, qword [rdi + 0x10]
inc r8
xor edx, edx
mov rcx, rax
call fcn.1800c7520
cmp qword [rdi + 0x18], 8
jb 0x180033e81
mov r8, qword [rdi]
jmp 0x180033e84
mov r8, rdi
lea rdx, [0x18014b8ec]
mov rcx, rsi
call qword [sym.imp.USER32.dll_wsprintfW]
mov r14b, 1
cmp qword [r13 + 0x10], r15
ja 0x180033ea2
mov rbx, r15
jmp 0x180033ead
mov rcx, r13
call fcn.180012700
mov rbx, rax
cmp qword [r12 + 0x10], r15
ja 0x180033eb9
mov rax, r15
jmp 0x180033ec1
mov rcx, r12
call fcn.180012700
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x180033ff7
lea rcx, [rbp - 0x20]
call fcn.180012fc0
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.CP_FAILED._GetLastError:
lea rcx, [rbp - 0x20]
call fcn.18001da90
mov rcx, rax
mov edx, ebx
call fcn.18002ef10
mov rcx, rax
lea rdx, [0x180149df0]
call fcn.18001da90
mov rcx, rax
mov rdx, rdi
call fcn.18001ddc0
lea rdx, str.CProcUtility::CreateProcessInherit
lea rcx, [rbp + 0xf8]
call fcn.1800104c0
nop
lea rdx, str.ProcUtility.cpp
lea rcx, [rbp + 0xd0]
call fcn.1800104c0
nop
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x20]
call fcn.1800130a0
mov rbx, rax
call fcn.180014440
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x20], rax
mov r9d, 0x117
lea r8, [rbp + 0xd0]
mov edx, 1
call fcn.1800326a0
nop
lea rcx, [rbp + 0x120]
call fcn.1800126d0
nop
lea rcx, [rbp + 0xd0]
call fcn.18008f070
nop
lea rcx, [rbp + 0xf8]
call fcn.18008f070
nop
lea rcx, [rbp + 0x68]
call fcn.180013040
lea rcx, [rbp + 0x68]
call fcn.180012100
xor r14b, r14b
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x50], r15
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x58], r15
mov rcx, rsi
call fcn.1800bf278
movzx eax, r14b
mov rcx, qword [rbp + 0x148]
xor rcx, rsp
call fcn.1800be9b0
add rsp, 0x258
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret