Function at 0x14000ff80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe0
mov r12, qword [0x1401054a8]
mov rax, qword [r12]
xor rax, rsp
mov qword [rsp + 0xd8], rax
cmp byte [rcx + 0x34], 0
je 0x1400101ea
mov rsi, r9
mov rbx, r8
mov r14, rdx
mov rdi, rcx
test byte [rcx + 0x30], 4
jne 0x14000ffd8
lea rcx, [rsp + 0xc0]
mov rdx, rdi
mov r8, r14
call fcn.140010240
jmp 0x140010034
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov qword [rax + 8], 0
lea rcx, [0x140105af8]
mov qword [rax], rcx
lea rcx, [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x20], 0
mov qword [rax + 0x28], 0x20
lea rdx, [rax + 0x30]
mov qword [rax + 0x18], rdx
mov qword [rax + 0x50], r14
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0xd0], 0
cmp byte [rdi + 0x34], 0
je 0x1400101ea
mov r14d, dword [rdi + 0x30]
and r14d, 1
shl r14, 0x1e
movzx eax, byte [0x140146368]
test al, al
je 0x1400101fa
mov ebp, dword [0x14014886c]
mov dword [rsp + 0x20], r14d
lea r15, [rsp + 0x70]
mov rcx, r15
mov rdx, rdi
mov r8d, ebp
mov r9, r14
call fcn.140012f40
mov rcx, rdi
mov edx, ebp
mov r8, r15
call fcn.140013100
test eax, eax
je 0x140010194
mov qword [rsp + 0xb0], rdi
mov byte [rsp + 0xb8], 1
lea rcx, [rsp + 0x70]
mov rdx, rdi
call fcn.1400137e0
cmp byte [rsp + 0xa8], 0
je 0x140010194
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x40], eax
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rsp + 0x48], xmm0
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0x58], xmm0
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x68], eax
movzx eax, byte [rsp + 0xa4]
mov byte [rsp + 0x6c], al
mov dword [rsp + 0x78], 0
mov byte [rsp + 0xa4], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0xc0]
lea r8, [rsp + 0xb0]
lea r9, [rsp + 0x38]
mov rcx, rdi
call fcn.1400105e0
cmp qword [rsi], 0
setne sil
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001015f
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x14001015f
lea r9, [rsp + 0x40]
mov edx, dword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [rsp + 0xa8], 0
je 0x140010196
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140010196
mov r8d, dword [rsp + 0x78]
test r8d, r8d
je 0x140010196
lea r9, [rsp + 0x78]
mov edx, dword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x140010196
xor esi, esi
mov rdi, qword [rsp + 0xc8]
test rdi, rdi
je 0x1400101c2
mov eax, 0xffffffff
lock xadd dword [rdi + 8], eax
test eax, eax
jne 0x1400101c2
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rcx, rdi
call fcn.14007a930
mov rax, qword [rsp + 0xd8]
xor rax, rsp
mov rcx, qword [r12]
cmp rcx, rax
jne 0x140010237
mov eax, esi
add rsp, 0xe0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov dword [0], 0x2f1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
lea rcx, [0x140146368]
call fcn.1400d3f14
test eax, eax
je 0x140010059
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x98]
mov dword [0x14014886c], eax
lea rcx, [0x140146368]
call fcn.1400d3fef
jmp 0x140010059
call fcn.1400d58e0
int3