Function at 0x1800077f0
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [rdx + 0x180]
mov r14, rdx
mov rsi, qword [rdx]
mov rdi, rcx
bt rax, 0xd
jae 0x180007871
lea rcx, [rdx + 0x18]
bt rax, 0xe
jae 0x180007850
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [r14 + 0x108]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x18000786e
lea rcx, str.function_not_present
call fcn.180003ff0
xor al, al
jmp 0x180007abe
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x18000786e
lea rcx, str.module_not_present
call fcn.180003ff0
xor al, al
jmp 0x180007abe
add rsi, rax
test rsi, rsi
je 0x180007ae1
xor edx, edx
mov rcx, rsi
call fcn.180005970
lea rdx, [r14 + 0x1d0]
mov r8, rsi
lea rcx, str.inserting_hook:__s__p
call fcn.180003ff0
mov ecx, 0xc350
call fcn.1800b7890
mov qword [rdi + 0xac0], rax
mov rcx, qword [0x180112fb0]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1800078c7
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
mov rdx, r14
mov r8d, 0xa08
call fcn.1800df840
mov qword [rdi + 0xa08], rsi
mov rcx, qword [0x180112fb0]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1800078f6
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rax, qword [r14 + 0x180]
mov qword [rdi + 0xa10], rax
bt rax, 0x17
jae 0x18000794f
xor eax, eax
lea r8, [0x180007160]
mov qword [rsp + 0x28], rax
mov r9, rdi
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rdi + 0xa20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0xa28], rax
mov al, 1
jmp 0x180007abe
mov rcx, qword [rdi + 0xa08]
bt rax, 0x16
jae 0x18000799f
lea rax, vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__bool_____thiscall_TextHook::__struct__CONTEXT____ptr64___class_TextHook____ptr64__struct_std::_Ph_1__const____ptr64___bool__struct__CONTEXT____ptr64_.0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rax, [0x1800084c0]
xor r8d, r8d
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x50], al
lea rax, [rsp + 0x40]
mov qword [rsp + 0x78], rax
call fcn.18008d2d0
jmp 0x180007abe
lea r9, [0x180112fd0]
mov edx, 0xa
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rdi + 0xa08]
lea rbx, [rdi + 0xa31]
mov rdx, rbx
lea r8, [rsp + 0x38]
call fcn.1800949f0
test eax, eax
je 0x180007a08
cmp eax, 3
jne 0x180007ad2
mov rcx, qword [rdi + 0xa08]
mov edx, 9
call fcn.180005970
mov rcx, qword [rdi + 0xa08]
lea r8, [rsp + 0x38]
mov rdx, rbx
call fcn.1800949f0
test eax, eax
jne 0x1800079d6
movsxd rax, dword [0x180110378]
lea rdx, [0x1801102f0]
lea rcx, [fcn.180007cf0]
mov qword [rax + rdx], rdi
movsxd rax, dword [0x18011037c]
mov qword [rax + rdx], rcx
movsxd rcx, dword [0x180110380]
mov rax, qword [rsp + 0x38]
mov qword [rcx + rdx], rax
movaps xmm0, xmmword [0x1801102f0]
mov rcx, qword [rdi + 0xa08]
movups xmmword [rbx], xmm0
movaps xmm1, xmmword [0x180110300]
movups xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [0x180110310]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x180110320]
movups xmmword [rbx + 0x30], xmm1
movaps xmm0, xmmword [0x180110330]
movups xmmword [rbx + 0x40], xmm0
movaps xmm1, xmmword [0x180110340]
movups xmmword [rbx + 0x50], xmm1
movaps xmm0, xmmword [0x180110350]
movups xmmword [rbx + 0x60], xmm0
movaps xmm1, xmmword [0x180110360]
movups xmmword [rbx + 0x70], xmm1
mov eax, dword [0x180110370]
mov dword [rbx + 0x80], eax
movzx eax, word [0x180110374]
mov word [rbx + 0x84], ax
call fcn.180094c90
test eax, eax
sete al
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret
mov ecx, eax
call fcn.180094f10
mov rcx, rax
call fcn.180003ff0
xor al, al
jmp 0x180007abe