Function at 0x140007bb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rbx
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
xor edx, edx
lea r9, [rbp + 0x67]
xor r14d, r14d
xor r8d, r8d
mov dword [rbp + 0x67], r14d
mov ebx, r14d
lea ecx, [rdx + 0x40]
call fcn.1400139f0
cmp eax, 0xc0000004
jne 0x140007c28
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x67]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rbp + 0x67]
lea r9, [rbp + 0x67]
mov rdx, rax
mov ecx, 0x40
mov rbx, rax
call fcn.1400139f0
cmp eax, 0xc0000004
je 0x140007be3
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x80], rdi
test eax, eax
js 0x140007e68
test rbx, rbx
je 0x140007e7e
mov rsi, r14
mov edi, r14d
cmp qword [rbx], r14
jbe 0x140007cb4
mov rax, r14
nop word [rax + rax]
lea rax, [rax + rax*4]
movups xmm0, xmmword [rbx + rax*8 + 0x10]
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp + 7], xmm0
movups xmm0, xmmword [rbx + rax*8 + 0x20]
movups xmmword [rbp + 0x17], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movups xmm0, xmmword [rbp - 0x19]
mov ecx, eax
psrldq xmm0, 8
movq rax, xmm0
cmp rax, rcx
jne 0x140007ca2
mov rax, qword [0x1400a8110]
cmp qword [rbp + 0x17], rax
je 0x140007cb0
inc edi
mov eax, edi
cmp rax, qword [rbx]
jb 0x140007c60
jmp 0x140007e6d
mov rsi, qword [rbp + 7]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test rsi, rsi
je 0x140007e7e
mov rdx, qword [0x1400a9f28]
lea r9, [rsi + 8]
lea r8, [rbp + 0x77]
mov qword [rbp + 0x77], r14
lea rcx, [rbp - 0x19]
mov qword [rbp - 0x19], r14
mov qword [rsp + 0x20], 8
call fcn.140010530
test al, al
je 0x140007e7e
mov r9, qword [rbp + 0x77]
test r9, r9
je 0x140007e7e
mov rdx, qword [0x1400a9f28]
lea r8, [rbp + 0x7f]
add r9, 8
mov qword [rbp + 0x7f], r14
lea rcx, [rbp - 0x19]
mov qword [rbp - 0x19], r14
mov qword [rsp + 0x20], 8
call fcn.140010530
test al, al
je 0x140007e7e
mov r9, qword [rbp + 0x7f]
test r9, r9
je 0x140007e7e
mov rdx, qword [0x1400a9f28]
lea r8, [rbp + 0x6f]
add r9, 0x28
mov qword [rbp + 0x6f], r14
lea rcx, [rbp - 0x19]
mov qword [rbp - 0x19], r14
mov qword [rsp + 0x20], 8
call fcn.140010530
test al, al
je 0x140007e7e
mov r9, qword [rbp + 0x6f]
test r9, r9
je 0x140007e7e
mov rdx, qword [0x1400a9f28]
lea r8, [rbp - 9]
xorps xmm0, xmm0
mov qword [rbp - 0x19], r14
add r9, 0x58
mov qword [rsp + 0x20], 0x10
lea rcx, [rbp - 0x19]
movups xmmword [rbp - 9], xmm0
call fcn.140010530
test al, al
je 0x140007e7e
movzx eax, word [rbp - 9]
test ax, ax
je 0x140007e7e
mov ecx, eax
mov eax, 2
shr rcx, 1
inc rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14001508c
movzx r8d, word [rbp - 9]
xor edx, edx
add r8, 2
mov rcx, rax
mov rbx, rax
call fcn.14001b720
movzx ecx, word [rbp - 9]
mov r8, rbx
mov r9, qword [rbp - 1]
mov rdx, qword [0x1400a9f28]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x19]
mov qword [rbp - 0x19], r14
call fcn.140010530
test al, al
je 0x140007e7e
mov r8, qword [rbp + 0x6f]
lea r9, [rbp - 9]
mov rdx, qword [0x1400a9f28]
lea rcx, [rbp - 0x19]
add r8, 0x58
mov word [rbp - 9], r14w
mov qword [rbp - 0x19], r14
mov qword [rsp + 0x20], 0x10
call fcn.140010530
test al, al
je 0x140007e7e
mov rcx, rbx
call fcn.140014b60
mov al, 1
jmp 0x140007e80
test rbx, rbx
je 0x140007e7e
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
add rsp, 0x90
pop r14
pop rbx
pop rbp
ret