Function at 0x180007800
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 0x180007881
lea rcx, [rdx + 0x18]
bt rax, 0xe
jae 0x180007860
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 0x18000787e
lea rcx, str.function_not_present
call fcn.180003ff0
xor al, al
jmp 0x180007ace
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x18000787e
lea rcx, str.module_not_present
call fcn.180003ff0
xor al, al
jmp 0x180007ace
add rsi, rax
test rsi, rsi
je 0x180007af1
xor edx, edx
mov rcx, rsi
call fcn.180005980
lea rdx, [r14 + 0x1d0]
mov r8, rsi
lea rcx, str.inserting_hook:__s__p
call fcn.180003ff0
mov ecx, 0xc350
call fcn.1800b7c40
mov qword [rdi + 0xac0], rax
mov rcx, qword [0x180112fb0]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1800078d7
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
mov rdx, r14
mov r8d, 0xa08
call fcn.1800dfbf0
mov qword [rdi + 0xa08], rsi
mov rcx, qword [0x180112fb0]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x180007906
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rax, qword [r14 + 0x180]
mov qword [rdi + 0xa10], rax
bt rax, 0x17
jae 0x18000795f
xor eax, eax
lea r8, [0x180007170]
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 0x180007ace
mov rcx, qword [rdi + 0xa08]
bt rax, 0x16
jae 0x1800079af
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, [0x180008500]
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.18008d640
jmp 0x180007ace
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.180094d50
test eax, eax
je 0x180007a18
cmp eax, 3
jne 0x180007ae2
mov rcx, qword [rdi + 0xa08]
mov edx, 9
call fcn.180005980
mov rcx, qword [rdi + 0xa08]
lea r8, [rsp + 0x38]
mov rdx, rbx
call fcn.180094d50
test eax, eax
jne 0x1800079e6
movsxd rax, dword [0x180110378]
lea rdx, [0x1801102f0]
lea rcx, [fcn.180007d00]
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.180094ff0
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.180095270
mov rcx, rax
call fcn.180003ff0
xor al, al
jmp 0x180007ace