Function at 0x14000dcd8
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xb0
mov rax, qword [rcx + 8]
xor r14d, r14d
mov rsi, rcx
mov qword [r11 - 0x70], rax
mov qword [r11 - 0x50], rax
lea rax, [0x140123d40]
mov qword [rsp + 0x50], r14
mov qword [r11 - 0x80], rax
mov rax, qword [rcx]
mov qword [r11 - 0x68], rax
mov eax, dword [rdx + 0xc]
lea rdi, [r11 - 0x48]
add eax, 0x30
mov r13, rdx
cmp r8, r14
lea ecx, [r14 + 0x40]
mov edx, eax
mov ebx, r14d
mov qword [r11 - 0x78], r14
mov qword [r11 - 0x58], r14
mov qword [r11 - 0x60], r14
cmovne rdi, r8
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r12, rax
cmp rax, r14
je 0x14000dfc2
mov r8d, dword [r13 + 0xc]
lea rcx, [rax + 0x20]
mov rdx, r13
add r8d, 0x10
call sub.msvcrt.dll_memcpy
lea r8d, [r14 + 4]
lea rcx, [rsp + 0x60]
mov rdx, rbp
call fcn.14000a2c8
cmp eax, r14d
je 0x14000dfb9
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
mov r8, rbp
mov qword [rsp + 0x50], r12
call fcn.140009ef0
cmp eax, r14d
je 0x14000dfaf
mov rdx, qword [rsi + 8]
mov ecx, dword [rdx]
sub ecx, 1
je 0x14000de26
cmp ecx, 2
jne 0x14000dfaf
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
lea rcx, str.Th____p_nDa____p_n
mov qword [rsp + 0x78], r8
call fcn.14000a838
mov r11, qword [rsi + 8]
mov rcx, qword [r11 + 8]
mov dword [rsp + 0x30], r14d
lea r9d, [r14 + 0x10]
mov rcx, qword [rcx]
lea r8, [rsp + 0x70]
mov edx, 0x22c1c3
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call fcn.140008c70
mov ebx, eax
cmp eax, r14d
jne 0x14000defe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kull_m_remotelib_create___kull_m_kernel_ioctl_handle__0x_08x__n
mov edx, eax
call fcn.14000a838
jmp 0x14000def5
mov rcx, qword [rdx + 8]
xor edx, edx
cmp dword [0x140124310], 5
mov rcx, qword [rcx]
jbe 0x14000de87
mov qword [rsp + 0x48], r14
lea rax, [rsp + 0xe0]
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call sub.ntdll.dll_RtlCreateUserThread
cmp eax, r14d
jge 0x14000dec8
mov qword [rsp + 0xe0], r14
lea rcx, str.ERROR_kull_m_remotelib_create___RtlCreateUserThread__0x_08x__n
jmp 0x14000dec1
mov rax, qword [rsp + 0x60]
mov r9, qword [rsi]
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0xe0], rax
cmp rax, r14
jne 0x14000ded9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kull_m_remotelib_create___CreateRemoteThread__0x_08x__n
mov edx, eax
call fcn.14000a838
mov rax, qword [rsp + 0xe0]
cmp rax, r14
je 0x14000dfaf
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
cmp ebx, r14d
je 0x14000dfaf
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
mov r8d, Ordinal_36
mov qword [rsp + 0x50], rdi
call fcn.140009ef0
mov ebx, eax
cmp eax, r14d
je 0x14000dfaf
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x80], rax
cmp rax, r14
je 0x14000dfaf
lea rax, [rsp + 0x90]
cmp rdi, rax
je 0x14000dfa2
mov ebx, r14d
mov qword [rdi + 0x18], r14
cmp dword [rdi + 0x10], r14d
je 0x14000df9e
mov edx, dword [rdi + 0x10]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x50], rax
cmp rax, r14
je 0x14000df9e
mov r8d, dword [rdi + 0x10]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.140009ef0
mov ebx, eax
cmp eax, r14d
je 0x14000df8e
mov rax, qword [rsp + 0x50]
mov qword [rdi + 0x18], rax
jmp 0x14000df99
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp ebx, r14d
jne 0x14000dfa2
mov dword [rdi + 0x10], r14d
lea rcx, [rsp + 0x80]
call fcn.14000a374
lea rcx, [rsp + 0x60]
call fcn.14000a374
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r11, [rsp + 0xb0]
mov eax, ebx
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret