Function at 0x14007e0e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x10060
call fcn.14009d600
sub rsp, rax
mov rax, qword [0x1401c76e0]
xor rax, rsp
mov qword [rsp + 0x10050], rax
mov r9, qword [rcx + 0x18]
mov ebx, r8d
mov rdi, rdx
mov r14, rcx
cmp rdx, r9
jb 0x14007e133
mov cl, byte [rcx]
mov eax, 1
shl rax, cl
add rax, r9
cmp rax, rdx
ja 0x14007e14f
movzx eax, byte [r14]
mov r8, rdx
lea rdx, str.NaClSysToUser:_sysaddr_0x_08I64x__mem_start_0x_08I64x__addr_space__d_bits_n
mov ecx, 0xfffffffc
mov dword [rsp + 0x20], eax
call fcn.14007e6c4
sub rdi, qword [r14 + 0x18]
mov rax, rbx
lea rsi, [rbx + rdi]
cmp rsi, rdi
jbe 0x14007e370
cmp rsi, qword [r14 + 0x48]
ja 0x14007e370
shr rdi, 0xc
dec rsi
shr rsi, 0xc
sub rsi, rdi
inc rsi
je 0x14007e36c
lea rax, [r14 + 0x130]
mov rdx, rdi
mov rcx, rax
call fcn.140067874
mov r12, rax
test rax, rax
jne 0x14007e1a9
inc rdi
dec rsi
jmp 0x14007e364
mov rbp, qword [rax + 8]
sub rbp, rdi
add rbp, qword [rax]
cmp rbp, rsi
cmova rbp, rsi
cmp dword [rax + 0x14], 0
je 0x14007e35e
xor r13d, r13d
test rbp, rbp
je 0x14007e35e
mov rbx, rdi
mov r15, rdi
shl rbx, 0xc
shl r15, 0xc
mov qword [rsp + 0x38], rbx
test r15, r15
je 0x14007e1f8
mov cl, byte [r14]
mov eax, 1
shl rax, cl
cmp rax, r15
ja 0x14007e210
movzx r9d, byte [r14]
lea rdx, str.NaClUserToSys:_uaddr_0x_08I64x__addr_space__d_bits_n
mov r8, r15
mov ecx, 0xfffffffc
call fcn.14007e6c4
mov rcx, qword [r14 + 0x18]
mov rax, r13
mov edx, 0xf4
add rcx, r15
shl rax, 0xc
mov qword [rsp + 0x30], rcx
mov rcx, qword [r12]
shl rcx, 0xc
sub rcx, rax
mov eax, 0x10000
sub rcx, rbx
mov ebx, eax
mov r8d, eax
add rcx, qword [r12 + 0x30]
cmp rcx, rax
cmovl rbx, rcx
lea rcx, [rsp + 0x50]
call fcn.14009c6c0
mov r8, rbx
mov rbx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
mov rdx, rbx
call fcn.14009bfb0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
je 0x14007e370
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x1000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x14007e2b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.UnmapFiles:_VirtualAlloc_failed_with__d_n
mov ecx, 0xfffffffc
mov r8d, eax
call fcn.14007e6c4
mov rax, rbx
lea rdx, [rsp + 0x50]
mov ecx, 0x200
mov r8d, 0x80
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rax + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rax + 0x50], xmm1
movups xmm1, xmmword [rdx + 0x70]
add rdx, r8
movups xmmword [rax + 0x60], xmm0
add rax, r8
movups xmmword [rax - 0x10], xmm1
dec rcx
jne 0x14007e2c8
lea r8d, [rcx + 0x20]
lea r9, [rsp + 0x40]
mov edx, 0x10000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14007e346
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.UnmapFiles:_VirtualProtect_failed_with__d_n
mov ecx, 0xfffffffc
mov r8d, eax
call fcn.14007e6c4
mov rbx, qword [rsp + 0x38]
inc r13
add r15, 0x1000
cmp r13, rbp
jb 0x14007e1e3
add rdi, rbp
sub rsi, rbp
test rsi, rsi
jmp 0x14007e17e
mov al, 1
jmp 0x14007e372
xor al, al
mov rcx, qword [rsp + 0x10050]
xor rcx, rsp
call fcn.14009c5b0
mov rbx, qword [rsp + 0x100b0]
add rsp, 0x10060
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret