Function at 0x140131e50
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x80
mov rax, qword [0x140232100]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor edx, edx
lea r9, [rsp + 0x58]
mov rsi, rcx
xor r14d, r14d
xor r8d, r8d
mov dword [rsp + 0x58], r14d
mov ebx, r14d
lea ecx, [rdx + 0x40]
call fcn.1401393c0
cmp eax, 0xc0000004
jne 0x140131eda
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x58]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x58]
lea r9, [rsp + 0x58]
mov rdx, rax
mov ecx, 0x40
mov rbx, rax
call fcn.1401393c0
cmp eax, 0xc0000004
je 0x140131e92
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], rdi
test eax, eax
js 0x140132136
test rbx, rbx
je 0x14013214c
mov edi, r14d
mov rbp, r14
cmp qword [rbx], rdi
jbe 0x140131f65
mov rax, r14
nop dword [rax]
lea rax, [rax + rax*4]
movups xmm0, xmmword [rbx + rax*8 + 0x10]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rbx + rax*8 + 0x20]
movups xmmword [rsp + 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movups xmm1, xmmword [rsp + 0x60]
mov ecx, eax
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, rcx
jne 0x140131f52
mov rax, qword [rsp + 0x20]
cmp rax, qword [rsi]
je 0x140131f60
inc edi
mov eax, edi
cmp rax, qword [rbx]
jb 0x140131f10
jmp 0x14013213b
movq rbp, xmm1
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test rbp, rbp
je 0x14013214c
lea rdx, [rbp + 8]
mov qword [rsp + 0x60], r14
mov rcx, rsi
call fcn.140130e90
test rax, rax
je 0x14013214c
lea r9, [rsp + 0x60]
mov r8d, 8
mov rdx, rax
mov rcx, rsi
call fcn.140131020
test eax, eax
je 0x14013214c
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14013214c
add rdx, 8
mov qword [rsp + 0x60], r14
mov rcx, rsi
call fcn.140130e90
test rax, rax
je 0x14013214c
lea r9, [rsp + 0x60]
mov r8d, 8
mov rdx, rax
mov rcx, rsi
call fcn.140131020
test eax, eax
je 0x14013214c
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14013214c
add rdx, 0x28
mov qword [rsp + 0x60], r14
mov rcx, rsi
call fcn.140130e90
test rax, rax
je 0x14013214c
lea r9, [rsp + 0x60]
mov r8d, 8
mov rdx, rax
mov rcx, rsi
call fcn.140131020
test eax, eax
je 0x14013214c
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14013214c
lea rdi, [rax + 0x58]
xorps xmm0, xmm0
mov rdx, rdi
mov rcx, rsi
movups xmmword [rsp + 0x60], xmm0
call fcn.140130e90
test rax, rax
je 0x14013214c
lea r9, [rsp + 0x60]
mov r8d, 0x10
mov rdx, rax
mov rcx, rsi
call fcn.140131020
test eax, eax
je 0x14013214c
movzx eax, word [rsp + 0x60]
test ax, ax
je 0x14013214c
mov ecx, eax
mov ebp, eax
shr rcx, 1
mov eax, 2
inc rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1401387ec
lea r8, [rbp + 2]
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.140172380
mov rdx, qword [rsp + 0x68]
mov rcx, rsi
call fcn.140130e90
test rax, rax
je 0x14013214c
mov r9, rbx
mov r8d, ebp
mov rdx, rax
mov rcx, rsi
call fcn.140131020
test eax, eax
je 0x14013214c
mov rdx, rdi
mov word [rsp + 0x60], r14w
mov rcx, rsi
call fcn.140130e90
test rax, rax
je 0x14013214c
lea r9, [rsp + 0x60]
mov r8d, 0x10
mov rdx, rax
mov rcx, rsi
call fcn.140131160
test eax, eax
je 0x14013214c
mov rcx, rbx
call fcn.1401383fc
mov al, 1
jmp 0x14013214e
test rbx, rbx
je 0x14013214c
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
mov rdi, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140138160
add rsp, 0x80
pop r14
pop rsi
pop rbx
ret