Function at 0x14014eab0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov rdi, rcx
mov edx, 0x3e8
mov rcx, qword [0x1405d7e90]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14014eaf1
lea rcx, str.Couldnt_get_trampoline_region_lock__will_continue_possibly_unsafely._n
call fcn.14029c740
mov rdx, qword [0x1405d7e58]
mov rax, qword [rdx + 8]
mov rcx, rdx
cmp byte [rax + 0x19], 0
jne 0x14014eb1d
cmp qword [rax + 0x20], rdi
jae 0x14014eb11
mov rax, qword [rax + 0x10]
jmp 0x14014eb17
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14014eb05
cmp byte [rcx + 0x19], 0
jne 0x14014eb32
cmp rdi, qword [rcx + 0x20]
jb 0x14014eb32
cmp rcx, rdx
jne 0x14014edf7
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbp + 0x77], rax
mov ecx, dword [0x1405d7ed8]
test ecx, ecx
jne 0x14014eb6f
lea rcx, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rbp - 0xd]
mov dword [0x1405d7ed8], edx
lea rcx, str.System_page_size:__u_n
call fcn.14029c740
mov ecx, dword [0x1405d7ed8]
mov rax, qword [rbp + 0x77]
mov r14d, ecx
test rdi, rdi
jne 0x14014ebb8
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, r14d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
jne 0x14014ecb1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_allocating_memory_during_hooking:__d_n
call fcn.14029c740
jmp 0x14014edf7
mov rax, rdi
cqo
idiv r14
mov rcx, rdi
sub rcx, rdx
mov qword [rbp - 0x39], rcx
mov rsi, rcx
sub rsi, r14
lea rbx, [r14 + rcx]
xor al, al
mov byte [rbp + 0x6f], al
nop dword [rax]
mov qword [rbp + 0x7f], rbx
mov r15, rcx
sub r15, rsi
mov r12, rbx
sub r12, rcx
mov r13, rsi
cmp r15, r12
cmovge r13, rbx
mov r8d, 0x30
lea rdx, [rbp - 0x11]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x14014ec32
cmp byte [rbp + 0x6f], al
jne 0x14014ec27
lea rcx, str.VirtualQuery_failures_n
call fcn.14029c740
mov byte [rbp + 0x6f], 1
cmp r15, r12
jl 0x14014ec83
add rbx, qword [rbp + 7]
jmp 0x14014ec87
cmp dword [rbp + 0xf], 0x10000
jne 0x14014ec27
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8, r14
mov rdx, r13
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
jne 0x14014ecb1
mov rax, rsi
sub rax, r14
cmp r15, r12
cmovl rsi, rax
mov rax, qword [rbp + 0x7f]
lea rbx, [r14 + rax]
cmovl rbx, rax
mov rcx, qword [rbp - 0x39]
jmp 0x14014ebe0
sub rsi, qword [rbp + 7]
lea rcx, [r14 + rbx]
lea rax, [rdi + 0x7fffffff]
cmp rcx, rax
jl 0x14014eca8
mov eax, 0x80000000
add rax, rdi
cmp rsi, rax
jle 0x14014ed31
mov rcx, qword [rbp - 0x39]
jmp 0x14014ebe0
mov rdx, qword [0x1405d7eb8]
cmp rdx, qword [0x1405d7ec0]
mov qword [rbp + 0x6f], rax
je 0x14014ecd2
mov qword [rdx], rax
add qword [0x1405d7eb8], 8
jmp 0x14014ece2
lea r8, [rbp + 0x6f]
lea rcx, [0x1405d7eb0]
call fcn.14014e690
lea rdi, [rbx - 0x40]
add rdi, r14
cmp rbx, rdi
ja 0x14014edf7
mov qword [rbp + 0x6f], rbx
mov rdx, qword [0x1405d7ea0]
cmp rdx, qword [0x1405d7ea8]
je 0x14014ed13
mov qword [rdx], rbx
add qword [0x1405d7ea0], 8
jmp 0x14014ed23
lea r8, [rbp + 0x6f]
lea rcx, [0x1405d7e98]
call fcn.14014e690
add rbx, 0x40
cmp rbx, rdi
jbe 0x14014ecf2
jmp 0x14014edf7
lea rcx, str.Could_not_find_page_for_trampoline_in____2GB_range_of_function_to_hook_n
call fcn.14029c740
mov rbx, qword [0x1405d7e58]
mov rax, qword [rbx + 8]
mov qword [rbp - 0x29], rax
xor r14d, r14d
mov dword [rbp - 0x21], r14d
mov rcx, rbx
cmp byte [rax + 0x19], r14b
jne 0x14014ed87
nop dword [rax]
mov qword [rbp - 0x29], rax
cmp qword [rax + 0x20], rdi
jae 0x14014ed74
mov dword [rbp - 0x21], r14d
mov rax, qword [rax + 0x10]
jmp 0x14014ed81
mov dword [rbp - 0x21], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r14b
je 0x14014ed60
cmp byte [rcx + 0x19], r14b
jne 0x14014ed93
cmp rdi, qword [rcx + 0x20]
jae 0x14014edf7
movabs rax, 0x666666666666666
cmp qword [0x1405d7e60], rax
je 0x14014ee1f
lea rsi, [0x1405d7e58]
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], r14
mov qword [rbp - 0x31], r14
mov ecx, 0x28
call fcn.14031dc78
mov qword [rbp - 0x31], rax
mov qword [rax + 0x20], rdi
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], 0
mov qword [rbp - 0x31], r14
movups xmm0, xmmword [rbp - 0x29]
movaps xmmword [rbp - 0x39], xmm0
mov r8, rax
lea rdx, [rbp - 0x39]
mov rcx, rsi
call fcn.140146bc0
mov rcx, qword [0x1405d7e90]
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_ReleaseMutex]
call fcn.14010b490
int3