Function at 0x14000c2d0
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, 0xd0
mov r12, qword [0x1400f6380]
mov rax, qword [r12]
xor rax, rsp
mov qword [rsp + 0xc8], rax
cmp byte [rcx + 0x34], 0
je 0x14000c531
mov r15, r9
mov r14, r8
mov rbx, rdx
mov rdi, rcx
test byte [rcx + 0x30], 4
jne 0x14000c328
lea rcx, [rsp + 0xb0]
mov rdx, rdi
mov r8, rbx
call fcn.14000c590
jmp 0x14000c37f
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov qword [rax + 8], 0
lea rcx, [0x1400f68c0]
mov qword [rax], rcx
lea rcx, [rax + 0x10]
mov qword [rax + 0x10], rdi
movaps xmm0, xmmword [0x1400f6490]
movups xmmword [rax + 0x20], xmm0
lea rdx, [rax + 0x30]
mov qword [rax + 0x18], rdx
mov qword [rax + 0x50], rbx
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0xc0], 0
cmp byte [rdi + 0x34], 0
je 0x14000c531
mov ebx, dword [rdi + 0x30]
and ebx, 1
shl rbx, 0x1e
mov al, byte [0x14012e1f8]
test al, al
je 0x14000c541
mov ebp, dword [0x140130274]
mov dword [rsp + 0x20], ebx
lea rsi, [rsp + 0x68]
mov rcx, rsi
mov rdx, rdi
mov r8d, ebp
mov r9, rbx
call fcn.14000ef90
mov rcx, rdi
mov edx, ebp
mov r8, rsi
call fcn.14000f150
xor ebx, ebx
mov edx, 0
test eax, eax
cmovne rdx, rdi
mov qword [rsp + 0xa0], rdx
setne byte [rsp + 0xa8]
je 0x14000c4dd
lea rcx, [rsp + 0x68]
call fcn.14000f820
cmp byte [rsp + 0x98], 0
je 0x14000c4db
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x40], eax
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x48], xmm0
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x8c]
mov qword [rsp + 0x5c], rax
mov al, byte [rsp + 0x94]
mov byte [rsp + 0x64], al
mov dword [rsp + 0x70], 0
mov byte [rsp + 0x94], 0
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0xb0]
lea r8, [rsp + 0xa0]
lea r9, [rsp + 0x38]
mov rcx, rdi
call fcn.14000c920
cmp qword [r15], 0
setne bl
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000c4a9
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x14000c4a9
lea r9, [rsp + 0x40]
mov edx, dword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [rsp + 0x98], 0
je 0x14000c4dd
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000c4dd
mov r8d, dword [rsp + 0x70]
test r8d, r8d
je 0x14000c4dd
lea r9, [rsp + 0x70]
mov edx, dword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x14000c4dd
xor ebx, ebx
mov rsi, qword [rsp + 0xb8]
test rsi, rsi
je 0x14000c509
mov eax, 0xffffffff
lock xadd dword [rsi + 8], eax
test eax, eax
jne 0x14000c509
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
mov rcx, rsi
call fcn.140073730
mov rax, qword [rsp + 0xc8]
xor rax, rsp
mov rcx, qword [r12]
cmp rcx, rax
jne 0x14000c57e
mov eax, ebx
add rsp, 0xd0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov dword [0], 0x2ea
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
lea rcx, [0x14012e1f8]
call fcn.1400c0194
test eax, eax
je 0x14000c3a1
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x90]
mov dword [0x140130274], eax
lea rcx, [0x14012e1f8]
call fcn.1400c0265
jmp 0x14000c3a1
call fcn.140072349
int3