Function at 0x14000c784
Capabilities:
Allocate or change rwx memory
Hook routines via microsoft detours
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
nop dword [rax + rax]
cmp dword [0x140017840], eax
je 0x14000c7b9
mov eax, 0x10dd
jmp 0x14000ca68
xor r14d, r14d
cmp dword [0x140017844], r14d
je 0x14000c7cf
call fcn.14000c5a4
jmp 0x14000ca62
mov rbx, qword [0x140017800]
mov ebp, r14d
jmp 0x14000c865
mov rdx, qword [rbx + 0x20]
cmp dword [rbx + 8], r14d
je 0x14000c807
movzx r8d, byte [rdx + 0x3e]
add rdx, 0x20
mov rcx, qword [rbx + 0x18]
call sub.msvcrt.dll_memcpy
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx + 0x18]
mov qword [rcx], rax
jmp 0x14000c862
lea rcx, [rdx + 0x58]
mov word [rcx], 0x25ff
lea rax, [rcx + 6]
sub edx, eax
add edx, 0x50
mov dword [rcx + 2], edx
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x20]
add rcx, 0x58
mov byte [rdx], 0xe9
lea rax, [rdx + 5]
sub ecx, eax
mov dword [rdx + 1], ecx
lea rcx, [rdx + 5]
mov r9, qword [rbx + 0x20]
mov r8, qword [r9 + 0x48]
sub r8, rcx
cmp rcx, qword [r9 + 0x48]
cmova r8, r14
test r8, r8
je 0x14000c85b
mov dl, 0xcc
call sub.msvcrt.dll_memset
mov r9, qword [rbx + 0x20]
mov rax, qword [rbx + 0x10]
mov qword [rax], r9
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000c7de
mov rbx, qword [0x140017838]
jmp 0x14000c883
mov rcx, qword [rbx + 8]
call fcn.14000ba4c
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000c877
mov rbx, qword [0x140017810]
jmp 0x14000c89d
mov rcx, qword [rbx + 8]
call fcn.14000ba4c
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000c891
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop dword [rax + rax]
mov rbx, qword [0x140017800]
mov rdi, rax
jmp 0x14000c8d9
mov rcx, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x18]
movzx r8d, byte [rcx + 0x3e]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
nop dword [rax + rax]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000c8ba
mov rbx, qword [0x140017838]
jmp 0x14000c8fa
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop dword [rax + rax]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000c8e7
mov rdi, qword [0x140017810]
test rdi, rdi
je 0x14000c942
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop dword [rax + rax]
mov rdi, qword [rdi]
test rdi, rdi
jne 0x14000c90b
mov rdi, qword [0x140017810]
test rdi, rdi
je 0x14000c942
mov rbx, qword [rdi]
mov rcx, rdi
call fcn.140001c04
mov rdi, rbx
test rbx, rbx
jne 0x14000c92f
mov rdi, qword [0x140017800]
mov qword [0x140017810], r14
mov qword [0x140017838], r14
test rdi, rdi
je 0x14000c9cc
mov rax, qword [rdi + 0x20]
lea r9, [rsp + 0x40]
mov r8d, dword [rdi + 0x28]
mov rcx, qword [rdi + 0x18]
movzx edx, byte [rax + 0x3e]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop dword [rax + rax]
cmp dword [rdi + 8], r14d
je 0x14000c9b9
mov rsi, qword [rdi + 0x20]
test rsi, rsi
je 0x14000c9b9
xor edx, edx
mov rbx, rsi
and rbx, 0xffffffffffff0000
mov rcx, rsi
lea r8d, [rdx + 0x60]
call sub.msvcrt.dll_memset
mov rax, qword [rbx + 0x10]
mov ebp, 1
mov qword [rsi + 0x48], rax
mov qword [rbx + 0x10], rsi
mov qword [rdi + 0x20], r14
mov rbx, qword [rdi]
mov rcx, rdi
call fcn.140001c04
mov rdi, rbx
test rbx, rbx
jne 0x14000c95c
mov qword [0x140017800], r14
test ebp, ebp
je 0x14000ca56
cmp dword [0x140017818], r14d
jne 0x14000ca56
mov rcx, qword [0x140017820]
lea rbx, [0x140017820]
jmp 0x14000ca51
cmp dword [rcx], 0x52727464
jne 0x14000ca4a
lea r8, [rcx + 0x10000]
mov edx, r14d
lea rax, [rcx + 0xa8]
cmp qword [rax], r14
je 0x14000ca18
cmp qword [rax], rcx
jb 0x14000ca4a
cmp qword [rax], r8
jae 0x14000ca4a
inc edx
add rax, 0x60
cmp edx, 0x2a9
jb 0x14000ca09
mov rax, qword [rcx + 8]
xor edx, edx
mov r8d, 0x8000
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop dword [rax + rax]
mov qword [0x140017830], r14
jmp 0x14000ca4e
lea rbx, [rcx + 8]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14000c9f0
call fcn.14000c014
mov dword [0x140017840], r14d
mov eax, dword [0x140017844]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret