Function at 0x11014b790
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x110190928]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x68], rcx
xor r15d, r15d
mov qword [rsp + 0x78], r15
mov r13d, r15d
mov qword [rsp + 0x70], r15
mov word [r11 - 0x34], r15w
mov dword [rsp + 0x58], r15d
test rcx, rcx
jne 0x11014b807
call sym.msvcrt.dll__errno
mov dword [rax], 0x16
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sym.msvcrt.dll__invalid_parameter
xor eax, eax
jmp 0x11014beae
test rdx, rdx
je 0x11014b7e1
mov cx, 0x20
mov r14d, 2
movzx eax, word [rdx]
cmp ax, cx
jne 0x11014b823
add rdx, r14
jmp 0x11014b816
cmp ax, 0x77
je 0x11014b82f
cmp ax, 0x72
jne 0x11014b7e1
mov word [rsp + 0x140], ax
add rdx, r14
movzx eax, word [rdx]
cmp ax, cx
je 0x11014b837
test ax, ax
je 0x11014b853
cmp ax, 0x74
je 0x11014b853
cmp ax, 0x62
jne 0x11014b7e1
mov word [rsp + 0x142], ax
cmp ax, 0x74
jne 0x11014b869
mov r8d, 0x4000
jmp 0x11014b879
mov r8d, r15d
mov ecx, 0x8000
cmp ax, 0x62
cmove r8d, ecx
bts r8d, 7
mov edx, 0x400
lea rcx, [rsp + 0x50]
call sym.msvcrt.dll__pipe
cmp eax, 0xffffffff
je 0x11014beab
mov r12d, 1
cmp word [rsp + 0x140], 0x77
jne 0x11014b8db
mov esi, r15d
lea rbx, [rsp + 0x54]
lea r15, [rsp + 0x64]
mov qword [rsp + 0x90], r15
lea rdi, [rsp + 0x54]
mov qword [rsp + 0xa0], rdi
lea rdi, [rsp + 0x64]
mov qword [rsp + 0x98], rdi
xor r15d, r15d
jmp 0x11014b90a
mov esi, r12d
lea rbx, [rsp + 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x98], rax
mov edi, 9
mov ecx, edi
call fcn.11013b11c
test eax, eax
jne 0x11014b931
mov ecx, dword [rsp + 0x50]
call sym.msvcrt.dll__close
mov ecx, dword [rsp + 0x54]
call sym.msvcrt.dll__close
jmp 0x11014b800
mov ecx, edi
call sym.msvcrt.dll__lock
nop
mov dword [rsp + 0x64], r12d
mov dword [rsp + 0x60], r12d
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov edi, esi
mov qword [rsp + 0x80], rdi
movsxd rdx, dword [rsp + rdi*4 + 0x50]
mov rcx, rdx
sar rcx, 5
lea r8, [sym.msvcrt.dll___pioinfo]
and edx, 0x1f
imul r10, rdx, 0x38
mov rdx, qword [r8 + rcx*8]
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r15d
lea r9, [rsp + 0x78]
mov r8, rax
mov rdx, qword [rdx + r10]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_DuplicateHandle]
test eax, eax
je 0x11014be74
mov ecx, dword [rsp + rdi*4 + 0x50]
call sym.msvcrt.dll__close
mov dword [rsp + rdi*4 + 0x60], r15d
lea rdx, [rsp + 0x140]
mov ecx, dword [rbx]
call sym.msvcrt.dll__wfdopen
mov r13, rax
mov qword [rsp + 0xa8], rax
test rax, rax
je 0x11014be74
mov r9, qword [0x1101956e8]
mov rbx, r9
mov r8d, 0x10
mov edx, dword [0x1101956e0]
mov qword [rsp + 0x88], rbx
mov rcx, rdx
shl rcx, 4
add rcx, r9
cmp rbx, rcx
jae 0x11014ba05
cmp qword [rbx], r15
je 0x11014ba05
add rbx, r8
jmp 0x11014b9e4
mov rax, rdx
shl rax, 4
add rax, r9
cmp rbx, rax
jb 0x11014ba56
lea eax, [rdx + 1]
cmp eax, edx
jb 0x11014ba53
mov edx, eax
mov rcx, r9
call fcn.11011a020
test rax, rax
je 0x11014ba53
mov qword [0x1101956e8], rax
mov ecx, dword [0x1101956e0]
mov ebx, ecx
shl rbx, 4
add rbx, rax
mov qword [rsp + 0x88], rbx
add ecx, r12d
mov dword [0x1101956e0], ecx
jmp 0x11014ba56
mov rbx, r15
test rbx, rbx
je 0x11014be56
lea r8, [0x110179e10]
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.11012dbac
mov edi, eax
cmp eax, 0x16
jne 0x11014ba8d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.11012bbfc
test edi, edi
jne 0x11014ba9b
mov r15, qword [rsp + 0x70]
test r15, r15
jne 0x11014baa2
lea r15, [0x110179e28]
mov edi, 0x68
mov r8d, edi
xor edx, edx
lea rcx, [rsp + 0xd0]
call sym.msvcrt.dll_memset
mov dword [rsp + 0xd0], edi
mov dword [rsp + 0x10c], 0x100
xor r8d, r8d
mov rax, qword [rsp + 0x78]
mov rcx, qword [sym.msvcrt.dll___pioinfo]
test esi, esi
mov rdx, rax
je 0x11014bae4
mov rdx, qword [rcx]
mov qword [rsp + 0x120], rdx
cmp esi, r12d
je 0x11014baf5
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x128], rax
mov rax, qword [rcx + 0x70]
mov qword [rsp + 0x130], rax
or rax, 0xffffffffffffffff
mov rcx, rax
mov r12, qword [rsp + 0x68]
inc rcx
cmp word [r12 + rcx*2], r8w
jne 0x11014bb15
inc rax
cmp word [r15 + rax*2], r8w
jne 0x11014bb1f
lea rdi, [rax + 5]
add rdi, rcx
mov rdx, r14
mov rcx, rdi
call fcn.110119e8c
mov rsi, rax
test rax, rax
je 0x11014be4b
mov r8, r15
mov rdx, rdi
mov rcx, rax
call sym.msvcrt.dll_wcscpy_s
xor ecx, ecx
test eax, eax
je 0x11014bb6d
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call fcn.11012bbfc
lea r8, [0x11017c690]
mov rdx, rdi
mov rcx, rsi
call sym.msvcrt.dll_wcscat_s
xor ecx, ecx
test eax, eax
je 0x11014bb97
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call fcn.11012bbfc
mov r8, r12
mov rdx, rdi
mov rcx, rsi
call sym.msvcrt.dll_wcscat_s
xor edi, edi
test eax, eax
je 0x11014bbbf
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.11012bbfc
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0xc0], rax
call sym.msvcrt.dll__errno
mov r12d, dword [rax]
xor edx, edx
mov rcx, r15
call sym.msvcrt.dll__waccess_s
test eax, eax
jne 0x11014bc34
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
mov r14d, eax
jmp 0x11014bdf5
mov qword [rsp + 0x68], rdi
mov rdx, r14
mov ecx, 0x104
call fcn.110119e8c
mov rdi, rax
test rax, rax
jne 0x11014bc74
xor ecx, ecx
call sym.msvcrt.dll_free
mov rcx, rsi
call sym.msvcrt.dll_free
mov rcx, qword [rsp + 0x70]
call sym.msvcrt.dll_free
call sym.msvcrt.dll__errno
mov dword [rax], r12d
jmp 0x11014be4b
lea r8, str.PATH
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.11012dbac
mov r14d, eax
cmp eax, 0x16
jne 0x11014bca5
xor eax, eax
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.11012bbfc
test r14d, r14d
je 0x11014bcb9
mov rcx, qword [rsp + 0x68]
call sym.msvcrt.dll_free
mov rcx, rdi
jmp 0x11014bc50
mov r14, qword [rsp + 0x68]
mov r8d, 0x103
mov rdx, rdi
mov rcx, r14
call fcn.110130b88
mov r14, rax
xor edx, edx
test rax, rax
je 0x11014bdde
cmp word [rdi], dx
je 0x11014bdde
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x11014bcea
cmp word [rdi + rax*2 - 2], 0x5c
je 0x11014bd31
cmp word [rdi + rax*2 - 2], 0x2f
je 0x11014bd31
lea r8, [0x110179e0c]
mov edx, 0x104
mov rcx, rdi
call sym.msvcrt.dll_wcscat_s
xor edx, edx
test eax, eax
je 0x11014bd31
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call fcn.11012bbfc
xor edx, edx
or rax, 0xffffffffffffffff
inc rax
cmp word [r15 + rax*2], dx
jne 0x11014bd35
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdi + rcx*2], dx
jne 0x11014bd43
add rax, rcx
mov ecx, 0x104
cmp rax, rcx
jae 0x11014bdde
mov r8, r15
mov edx, ecx
mov rcx, rdi
call sym.msvcrt.dll_wcscat_s
xor ecx, ecx
test eax, eax
je 0x11014bd82
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call fcn.11012bbfc
xor edx, edx
mov rcx, rdi
call sym.msvcrt.dll__waccess_s
xor ecx, ecx
test eax, eax
jne 0x11014bdd9
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
mov r14d, eax
jmp 0x11014bde3
jmp 0x11014bcbe
mov r14d, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
call sym.msvcrt.dll_free
mov rcx, rdi
call sym.msvcrt.dll_free
mov rcx, rsi
call sym.msvcrt.dll_free
mov rcx, qword [rsp + 0x70]
call sym.msvcrt.dll_free
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
xor r15d, r15d
test r14d, r14d
je 0x11014be28
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
call sym.msvcrt.dll__errno
mov dword [rax], r12d
test r14d, r14d
je 0x11014be46
mov rax, qword [rsp + 0xb0]
mov qword [rbx + 8], rax
mov qword [rbx], r13
jmp 0x11014bea1
mov qword [rbx], r15
jmp 0x11014be4e
xor r15d, r15d
mov rdi, qword [rsp + 0x80]
mov rcx, r13
call sym.msvcrt.dll_fclose
mov rax, qword [rsp + 0x90]
mov dword [rax], r15d
mov r13, r15
mov qword [rsp + 0xa8], r15
cmp dword [rsp + rdi*4 + 0x60], r15d
je 0x11014be84
mov ecx, dword [rsp + rdi*4 + 0x50]
call sym.msvcrt.dll__close
mov rax, qword [rsp + 0x98]
cmp dword [rax], r15d
je 0x11014bea1
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rax]
call sym.msvcrt.dll__close
nop
mov ecx, 9
call sym.msvcrt.dll__unlock
mov rax, r13
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.1101303f0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret