Function at 0x14004eb10
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
mov eax, 0x1b10
call fcn.1400dab40
sub rsp, rax
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x1b40], rbx
mov rax, qword [0x14012ce40]
xor rax, rsp
mov qword [rsp + 0x1b00], rax
mov r12, r8
mov rbp, rdx
mov esi, ecx
mov word [rsp + 0xf0], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xf2]
call fcn.1400b57e0
xor r13d, r13d
mov dword [rsp + 0x50], r13d
mov r8, rbp
mov edx, 0x104
lea rcx, [rsp + 0xf0]
call fcn.1400b1b70
lea rbx, [rsp + 0xf0]
cmp word [rbp], 0x22
jne 0x14004ebca
lea rbx, [rsp + 0xf2]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xf0]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0xec], 0x22
jne 0x14004ebca
mov word [rsp + rcx*2 + 0xec], ax
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x80]
call fcn.1400b57e0
mov dword [rsp + 0x80], WSAGetLastError
mov word [rsp + 0xb00], r13w
xor edx, edx
mov r8d, 0xffe
lea rcx, [rsp + 0xb02]
call fcn.1400b57e0
mov qword [rsp + 0x20], r12
mov r9, rbx
lea r8, str._s__s
mov edx, 0x800
lea rcx, [rsp + 0xb00]
call fcn.1400b1010
mov word [rsp + 0x300], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rsp + 0x302]
call fcn.1400b57e0
mov r9, rbp
lea r8, str.__s_
mov edx, 0x400
lea rcx, [rsp + 0x300]
call fcn.1400b1010
mov ebx, 1
test esi, esi
cmovne ebx, r13d
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14004eca0
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14004ec96
mov rcx, rax
call fcn.140050830
jmp 0x14004ec99
mov rax, r13
mov qword [0x1401370f0], rax
lea r8, [rsp + 0xb00]
lea rdx, str.CreateProcess__s
mov rcx, rax
call fcn.140050c00
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xb00]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14004ee5f
mov rdi, qword [0x1401370f0]
test rdi, rdi
jne 0x14004ed3a
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14004ed30
mov rcx, rax
call fcn.140050830
mov rdi, rax
jmp 0x14004ed33
mov rdi, r13
mov qword [0x1401370f0], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.CreateProcess_failed
mov rcx, rdi
call fcn.140050e40
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14004ed85
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14004ed7b
mov rcx, rax
call fcn.140050830
jmp 0x14004ed7e
mov rax, r13
mov qword [0x1401370f0], rax
lea rdx, str.Attempt_spawn_before_giving_up...
mov rcx, rax
call fcn.140050c00
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14004edc8
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14004edbe
mov rcx, rax
call fcn.140050830
jmp 0x14004edc1
mov rax, r13
mov qword [0x1401370f0], rax
mov r9, r12
lea r8, [rsp + 0x300]
lea rdx, str._tspawnl__s__s
mov rcx, rax
call fcn.140050c00
mov qword [rsp + 0x20], r13
mov r9, r12
lea r8, [rsp + 0x300]
mov rdx, rbp
mov ecx, ebx
call fcn.1400b2550
mov dword [rsp + 0x50], eax
cmp eax, 0xffffffff
jne 0x14004eee8
mov rdi, qword [0x1401370f0]
test rdi, rdi
jne 0x14004ee40
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14004ee36
mov rcx, rax
call fcn.140050830
mov rdi, rax
jmp 0x14004ee39
mov rdi, r13
mov qword [0x1401370f0], rdi
call fcn.1400b3910
lea r8, str.tspawn_failed
mov edx, dword [rax]
mov rcx, rdi
call fcn.140050e40
mov eax, dword [rsp + 0x50]
jmp 0x14004eee8
test esi, esi
je 0x14004eec6
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14004ee97
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14004ee8d
mov rcx, rax
call fcn.140050830
jmp 0x14004ee90
mov rax, r13
mov qword [0x1401370f0], rax
lea rdx, str.Waiting_for_CreateProcess_to_complete
mov rcx, rax
call fcn.140050c00
or edx, 0xffffffff
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x14004eece
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x1b00]
xor rcx, rsp
call fcn.1400b09d0
mov rbx, qword [rsp + 0x1b40]
add rsp, 0x1b10
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret