Function at 0x14000ba78
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xc0
mov rax, qword [0x140016018]
xor rax, rsp
mov qword [rbp + 0xf], rax
xor r13d, r13d
mov r12, rdx
mov r15, rcx
mov edi, r13d
test rdx, rdx
jne 0x14000babb
lea eax, [rdx + 0x57]
jmp 0x14000bdc0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
nop dword [rax + rax]
cmp dword [0x1400167e8], eax
je 0x14000bad9
mov eax, 0x10dd
jmp 0x14000bdc0
mov eax, dword [0x1400167ec]
test eax, eax
jne 0x14000bdc0
test r15, r15
jne 0x14000baf5
lea eax, [r15 + 6]
jmp 0x14000bdc0
mov rcx, qword [r15]
test rcx, rcx
jne 0x14000bb14
lea edi, [rcx + 6]
mov dword [0x1400167ec], edi
mov qword [0x1400167d0], r15
mov eax, edi
jmp 0x14000bdc0
mov rsi, r13
mov r14, r13
call fcn.14000b2dc
mov rcx, r12
mov rbx, rax
call fcn.14000b2dc
mov qword [rbp - 0x69], rax
cmp rax, rbx
jne 0x14000bb41
cmp dword [0x1400167b0], r13d
jne 0x14000bb06
jmp 0x14000bd51
mov ecx, 0x30
call fcn.140001280
mov r14, rax
test rax, rax
jne 0x14000bb5d
mov edi, 8
jmp 0x14000bd51
mov rcx, rbx
call fcn.14000b0c8
mov rsi, rax
test rax, rax
je 0x14000bb53
xor eax, eax
lea r13, [rsi + 0x1e]
mov qword [rsi + 0x40], rax
mov r8, rbx
mov r12, rsi
xor edx, edx
lea rax, [rbp - 0x39]
test r12, r12
mov qword [rbp - 0x51], rax
lea rcx, [rbp - 0x31]
mov qword [rbp - 0x61], rdx
cmovne rcx, r12
mov dword [rbp - 0x59], edx
mov qword [rbp - 0x39], rdx
lea rax, [rbp - 0x71]
mov qword [rbp - 0x49], rax
mov rdi, r8
mov dword [rbp - 0x71], edx
test r8, r8
jne 0x14000bbc4
lea ecx, [rdx + 0xd]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor r8d, r8d
jmp 0x14000bbf0
movzx eax, byte [r8]
lea rdx, [0x140011160]
shl rax, 4
mov r9, r8
add rax, rdx
mov r8, rcx
mov rdx, rax
lea rcx, [rbp - 0x61]
mov rax, qword [rax + 8]
call qword [0x140012988]
mov r8, rax
movsxd rax, dword [rbp - 0x71]
mov edx, r8d
sub rax, rdi
sub edx, ebx
add rax, r8
add r12, rax
mov al, dl
and al, 7
mov r9b, r12b
sub r9b, sil
mov cl, r9b
shl cl, 3
or cl, al
mov byte [rsi + 0x40], cl
mov al, byte [rdi]
add al, 0x3e
cmp al, 0x29
ja 0x14000bc2f
movabs rcx, 0x28040000403
bt rcx, rax
jb 0x14000bc6c
cmp byte [rdi], 0xff
jne 0x14000bc3a
cmp byte [rdi + 1], 0x25
jmp 0x14000bc61
mov al, byte [rdi]
sub al, 0x26
cmp al, 0x3f
ja 0x14000bc52
movabs rcx, 0xc000000000010101
bt rcx, rax
jb 0x14000bc57
cmp byte [rdi], 0xe3
jne 0x14000bc63
cmp byte [rdi + 1], 0xff
jne 0x14000bc63
cmp byte [rdi + 2], 0x25
je 0x14000bc6c
cmp edx, 5
jb 0x14000bb7d
cmp edx, 5
jae 0x14000bca3
cmp byte [r8], 0x90
jne 0x14000bc84
inc r8
mov edx, r8d
sub edx, ebx
cmp edx, 5
jb 0x14000bc71
cmp edx, 5
jae 0x14000bca3
xor r13d, r13d
mov edi, 9
cmp dword [0x1400167b0], r13d
jne 0x14000bd57
jmp 0x14000bd51
cmp r12, r13
jbe 0x14000bca9
int3
mov byte [rsi + 0x3e], dl
lea rcx, [rsi + 0x20]
mov edi, edx
mov r8d, edx
mov rdx, rbx
mov byte [r13], r9b
call sub.msvcrt.dll_memcpy
cmp rdi, 0x19
jbe 0x14000bcd1
mov edi, 6
jmp 0x14000bd51
movzx edx, byte [r13]
lea rax, [rdi + rbx]
add rdx, rsi
mov qword [rsi + 0x48], rax
mov rax, qword [rbp - 0x69]
mov r8, r13
mov qword [rsi + 0x50], rax
mov eax, esi
lea rcx, [rdx + 6]
mov word [rdx], 0x25ff
sub eax, ecx
lea rcx, [rdx + 6]
sub r8, rcx
add eax, 0x48
cmp rcx, r13
mov dword [rdx + 2], eax
mov r13d, 0
cmova r8, r13
test r8, r8
je 0x14000bd1f
mov dl, 0xcc
call sub.msvcrt.dll_memset
lea r9, [rbp - 0x6d]
mov dword [rbp - 0x6d], r13d
mov r8d, 0x40
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop dword [rax + rax]
test eax, eax
jne 0x14000bd96
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov dword [0x1400167ec], edi
test rsi, rsi
je 0x14000bd80
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 qword [rsi + 0x48], rax
mov qword [rbx + 0x10], rsi
test r14, r14
je 0x14000bb06
mov rcx, r14
call fcn.1400012b8
jmp 0x14000bb06
mov dword [r14 + 8], r13d
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x20], rsi
mov qword [r14 + 0x18], rbx
mov eax, dword [rbp - 0x6d]
mov dword [r14 + 0x28], eax
mov rax, qword [0x1400167a8]
mov qword [r14], rax
xor eax, eax
mov qword [0x1400167a8], r14
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14000f1e0
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret