Function at 0x14000b6bc
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 [0x1400167e8], eax
je 0x14000b6f1
mov eax, 0x10dd
jmp 0x14000b9a0
xor r14d, r14d
cmp dword [0x1400167ec], r14d
je 0x14000b707
call fcn.14000b418
jmp 0x14000b99a
mov rbx, qword [0x1400167a8]
mov ebp, r14d
jmp 0x14000b79d
mov rdx, qword [rbx + 0x20]
cmp dword [rbx + 8], r14d
je 0x14000b73f
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 0x14000b79a
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 0x14000b793
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 0x14000b716
mov rbx, qword [0x1400167e0]
jmp 0x14000b7bb
mov rcx, qword [rbx + 8]
call fcn.14000b560
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000b7af
mov rbx, qword [0x1400167b8]
jmp 0x14000b7d5
mov rcx, qword [rbx + 8]
call fcn.14000b560
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000b7c9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop dword [rax + rax]
mov rbx, qword [0x1400167a8]
mov rdi, rax
jmp 0x14000b811
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 0x14000b7f2
mov rbx, qword [0x1400167e0]
jmp 0x14000b832
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop dword [rax + rax]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000b81f
mov rdi, qword [0x1400167b8]
test rdi, rdi
je 0x14000b87a
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop dword [rax + rax]
mov rdi, qword [rdi]
test rdi, rdi
jne 0x14000b843
mov rdi, qword [0x1400167b8]
test rdi, rdi
je 0x14000b87a
mov rbx, qword [rdi]
mov rcx, rdi
call fcn.1400012b8
mov rdi, rbx
test rbx, rbx
jne 0x14000b867
mov rdi, qword [0x1400167a8]
mov qword [0x1400167b8], r14
mov qword [0x1400167e0], r14
test rdi, rdi
je 0x14000b904
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 0x14000b8f1
mov rsi, qword [rdi + 0x20]
test rsi, rsi
je 0x14000b8f1
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.1400012b8
mov rdi, rbx
test rbx, rbx
jne 0x14000b894
mov qword [0x1400167a8], r14
test ebp, ebp
je 0x14000b98e
cmp dword [0x1400167c0], r14d
jne 0x14000b98e
mov rcx, qword [0x1400167c8]
lea rbx, [0x1400167c8]
jmp 0x14000b989
cmp dword [rcx], 0x52727464
jne 0x14000b982
lea r8, [rcx + 0x10000]
mov edx, r14d
lea rax, [rcx + 0xa8]
cmp qword [rax], r14
je 0x14000b950
cmp qword [rax], rcx
jb 0x14000b982
cmp qword [rax], r8
jae 0x14000b982
inc edx
add rax, 0x60
cmp edx, 0x2a9
jb 0x14000b941
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 [0x1400167d8], r14
jmp 0x14000b986
lea rbx, [rcx + 8]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14000b928
call fcn.14000ae74
mov dword [0x1400167e8], r14d
mov eax, dword [0x1400167ec]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret