Function at 0x14000ab40
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 [0x140015018]
xor rax, rsp
mov qword [rbp + 0xf], rax
xor r13d, r13d
mov r12, rdx
mov r15, rcx
mov edi, r13d
test rdx, rdx
jne 0x14000ab83
lea eax, [rdx + 0x57]
jmp 0x14000ae8c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1400157e0], eax
je 0x14000ab9b
mov eax, 0x10dd
jmp 0x14000ae8c
mov eax, dword [0x1400157e4]
test eax, eax
jne 0x14000ae8c
test r15, r15
jne 0x14000abb7
lea eax, [r15 + 6]
jmp 0x14000ae8c
mov rcx, qword [r15]
test rcx, rcx
jne 0x14000abd6
lea edi, [rcx + 6]
mov dword [0x1400157e4], edi
mov qword [0x1400157c8], r15
mov eax, edi
jmp 0x14000ae8c
mov rsi, r13
mov r14, r13
call fcn.14000a40c
mov rcx, r12
mov rbx, rax
call fcn.14000a40c
mov qword [rbp - 0x69], rax
cmp rax, rbx
jne 0x14000ac03
cmp dword [0x1400157a8], r13d
jne 0x14000abc8
jmp 0x14000ae1d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, 8
mov rcx, rax
mov edx, edi
lea r8d, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
je 0x14000ae1d
mov rcx, rbx
call fcn.14000a1fc
mov rsi, rax
test rax, rax
je 0x14000ae1d
xor eax, eax
lea r13, [rsi + 0x1e]
mov qword [rsi + 0x40], rax
mov r8, rbx
mov rdi, rsi
xor edx, edx
lea rax, [rbp - 0x39]
test rdi, rdi
mov qword [rbp - 0x51], rax
lea rcx, [rbp - 0x31]
mov qword [rbp - 0x61], rdx
cmovne rcx, rdi
mov dword [rbp - 0x59], edx
mov qword [rbp - 0x39], rdx
lea rax, [rbp - 0x71]
mov qword [rbp - 0x49], rax
mov r12, r8
mov dword [rbp - 0x71], edx
test r8, r8
jne 0x14000ac8e
lea ecx, [rdx + 0xd]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor r8d, r8d
jmp 0x14000acba
movzx eax, byte [r8]
lea rdx, [0x140010160]
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 [0x140011990]
mov r8, rax
movsxd rax, dword [rbp - 0x71]
mov edx, r8d
sub rax, r12
sub edx, ebx
add rax, r8
add rdi, rax
mov al, dl
and al, 7
mov cl, dil
sub cl, sil
shl cl, 3
or cl, al
mov byte [rsi + 0x40], cl
mov al, byte [r12]
add al, 0x3e
cmp al, 0x29
ja 0x14000acfb
movzx eax, al
movabs rcx, 0x28040000403
bt rcx, rax
jb 0x14000ad44
cmp byte [r12], 0xff
jne 0x14000ad0a
cmp byte [r12 + 1], 0x25
jmp 0x14000ad39
mov al, byte [r12]
sub al, 0x26
cmp al, 0x3f
ja 0x14000ad24
movabs rcx, 0xc000000000010101
bt rcx, rax
jb 0x14000ad2b
cmp byte [r12], 0xe3
jne 0x14000ad3b
cmp byte [r12 + 1], 0xff
jne 0x14000ad3b
cmp byte [r12 + 2], 0x25
je 0x14000ad44
cmp edx, 5
jb 0x14000ac4d
cmp edx, 5
jae 0x14000ad7b
cmp byte [r8], 0x90
jne 0x14000ad5c
inc r8
mov edx, r8d
sub edx, ebx
cmp edx, 5
jb 0x14000ad49
cmp edx, 5
jae 0x14000ad7b
xor r13d, r13d
mov edi, 9
cmp dword [0x1400157a8], r13d
jne 0x14000ae23
jmp 0x14000ae1d
cmp rdi, r13
jbe 0x14000ad81
int3
sub dil, sil
mov byte [rsi + 0x3e], dl
mov byte [r13], dil
lea rcx, [rsi + 0x20]
mov edi, edx
mov r8d, edx
mov rdx, rbx
call sub.msvcrt.dll_memcpy
cmp rdi, 0x19
jbe 0x14000ada9
mov edi, 6
jmp 0x14000ae1d
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 0x14000adf7
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]
test eax, eax
jne 0x14000ae62
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [0x1400157e4], edi
test rsi, rsi
je 0x14000ae4c
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 0x14000abc8
mov rcx, r14
call fcn.140001274
jmp 0x14000abc8
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 [0x1400157a0]
mov qword [r14], rax
xor eax, eax
mov qword [0x1400157a0], r14
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14000e250
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret