Function at 0x1400d4620
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x298]
sub rsp, 0x390
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1403c6da0]
xor rax, rsp
mov qword [rbp + 0x280], rax
xor esi, esi
mov dword [rsp + 0x50], esi
mov word [rbp + 0x70], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x72]
call fcn.14025e980
call fcn.14011eba0
mov r8d, 0x103
lea rdx, [rbp + 0x70]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400d48b4
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], rsi
mov word [rbp + 0x20], si
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x70]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x20]
call fcn.14008fca0
nop
lea edx, [rsi + 0x5c]
or r8, 0xffffffffffffffff
lea rcx, [rbp + 0x20]
call fcn.140098840
cmp rax, 0xffffffffffffffff
je 0x1400d48a4
lea r9, [rax + 1]
xor r8d, r8d
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x20]
call fcn.140098e80
nop
lea r8, str.TaskSpace.exe
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x48]
call fcn.1400a2e30
nop
mov edi, 1
mov dword [rsp + 0x50], edi
mov rcx, rax
call fcn.140098720
test al, al
je 0x1400d474d
lea r8, str.TaskSpaceHookDll.dll
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x30]
call fcn.1400a2e30
nop
mov edi, 3
mov dword [rsp + 0x50], edi
mov rcx, rax
call fcn.140098720
test al, al
je 0x1400d474d
mov bl, 1
jmp 0x1400d474f
xor bl, bl
test dil, 2
je 0x1400d4778
and edi, 0xfffffffd
cmp qword [rbp - 0x18], 8
jb 0x1400d4768
mov rcx, qword [rbp - 0x30]
call fcn.14011bc00
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
test dil, 1
je 0x1400d478e
cmp qword [rbp + 0x60], 8
jb 0x1400d478e
mov rcx, qword [rbp + 0x48]
call fcn.14011bc00
test bl, bl
je 0x1400d4893
lea r8, str.TaskSpace.exe
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x48]
call fcn.1400a2e30
nop
lea r8, str.__slave
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140091080
nop
cmp qword [rbp + 0x60], 8
jb 0x1400d47cf
mov rcx, qword [rbp + 0x48]
call fcn.14011bc00
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rsp + 0x68]
call fcn.14025e980
mov dword [rsp + 0x60], WSAGetLastError
lea rax, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rax, qword [rbp - 8]
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
lea rcx, [0x1403e4108]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
cmp qword [rbp - 0x18], 8
jb 0x1400d484f
mov rcx, qword [rbp - 0x30]
call fcn.14011bc00
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
cmp qword [rbp + 0x10], 8
jb 0x1400d486f
mov rcx, qword [rbp - 8]
call fcn.14011bc00
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], rsi
mov word [rbp - 8], si
cmp qword [rbp + 0x38], 8
jb 0x1400d488f
mov rcx, qword [rbp + 0x20]
call fcn.14011bc00
mov eax, edi
jmp 0x1400d48b6
cmp qword [rbp + 0x10], 8
jb 0x1400d48a4
mov rcx, qword [rbp - 8]
call fcn.14011bc00
nop
cmp qword [rbp + 0x38], 8
jb 0x1400d48b4
mov rcx, qword [rbp + 0x20]
call fcn.14011bc00
xor eax, eax
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.14025db20
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret