Function at 0x14000bfd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rbx
push rdi
push r15
mov rbp, rsp
sub rsp, 0x68
xor edx, edx
lea r9, [rbp + 0x30]
mov rdi, rcx
xor r15d, r15d
xor r8d, r8d
mov dword [rbp + 0x30], r15d
mov ebx, r15d
lea ecx, [rdx + 0x40]
call fcn.14001fe30
cmp eax, 0xc0000004
jne 0x14000c047
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x30]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rbp + 0x30]
lea r9, [rbp + 0x30]
mov rdx, rax
mov ecx, SHGetSetSettings
mov rbx, rax
call fcn.14001fe30
cmp eax, 0xc0000004
je 0x14000c002
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x60], r14
test eax, eax
js 0x14000c287
test rbx, rbx
je 0x14000c29d
mov esi, r15d
mov r14, r15
cmp qword [rbx], rsi
jbe 0x14000c0c4
mov rax, r15
lea rax, [rax + rax*4]
movups xmm0, xmmword [rbx + rax*8 + 0x10]
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmm0, xmmword [rbx + rax*8 + 0x20]
movups xmmword [rbp - 0x28], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movups xmm0, xmmword [rbp - 0x48]
mov ecx, eax
psrldq xmm0, 8
movq rax, xmm0
cmp rax, rcx
jne 0x14000c0b2
mov rax, qword [rdi + 8]
cmp qword [rbp - 0x28], rax
je 0x14000c0c0
inc esi
mov eax, esi
cmp rax, qword [rbx]
jb 0x14000c073
jmp 0x14000c28c
mov r14, qword [rbp - 0x38]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r14, r14
je 0x14000c29d
lea rdx, [r14 + 8]
mov qword [rbp + 0x38], r15
mov rcx, rdi
call fcn.14000aff0
test rax, rax
je 0x14000c29d
lea r9, [rbp + 0x38]
mov r8d, 8
mov rdx, rax
mov rcx, rdi
call fcn.14000b1f0
test eax, eax
je 0x14000c29d
mov rdx, qword [rbp + 0x38]
test rdx, rdx
je 0x14000c29d
add rdx, 8
mov qword [rbp + 0x38], r15
mov rcx, rdi
call fcn.14000aff0
test rax, rax
je 0x14000c29d
lea r9, [rbp + 0x38]
mov r8d, 8
mov rdx, rax
mov rcx, rdi
call fcn.14000b1f0
test eax, eax
je 0x14000c29d
mov rdx, qword [rbp + 0x38]
test rdx, rdx
je 0x14000c29d
add rdx, 0x28
mov qword [rbp + 0x38], r15
mov rcx, rdi
call fcn.14000aff0
test rax, rax
je 0x14000c29d
lea r9, [rbp + 0x38]
mov r8d, 8
mov rdx, rax
mov rcx, rdi
call fcn.14000b1f0
test eax, eax
je 0x14000c29d
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x14000c29d
lea rsi, [rax + 0x58]
xorps xmm0, xmm0
mov rdx, rsi
mov rcx, rdi
movups xmmword [rbp - 0x48], xmm0
call fcn.14000aff0
test rax, rax
je 0x14000c29d
lea r9, [rbp - 0x48]
mov r8d, 0x10
mov rdx, rax
mov rcx, rdi
call fcn.14000b1f0
test eax, eax
je 0x14000c29d
movzx eax, word [rbp - 0x48]
test ax, ax
je 0x14000c29d
mov ecx, eax
mov r14d, eax
shr rcx, 1
mov eax, 2
inc rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14002166c
lea r8, [r14 + 2]
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.140023b70
mov rdx, qword [rbp - 0x40]
mov rcx, rdi
call fcn.14000aff0
test rax, rax
je 0x14000c29d
mov r9, rbx
mov r8d, r14d
mov rdx, rax
mov rcx, rdi
call fcn.14000b1f0
test eax, eax
je 0x14000c29d
mov rdx, rsi
mov word [rbp - 0x48], r15w
mov rcx, rdi
call fcn.14000aff0
test rax, rax
je 0x14000c29d
lea r9, [rbp - 0x48]
mov r8d, 0x10
mov rdx, rax
mov rcx, rdi
call fcn.14000b310
test eax, eax
je 0x14000c29d
mov rcx, rbx
call fcn.140021138
mov al, 1
jmp 0x14000c29f
test rbx, rbx
je 0x14000c29d
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
mov r14, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x90]
add rsp, 0x68
pop r15
pop rdi
pop rbx
pop rbp
ret