Function at 0x14002b890
Capabilities:
Read file via mapping

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
and qword [rax - 0x30], 0
lea rsi, [rcx + 0x28]
mov r14, r8
mov dword [rax - 0x38], 0x10000
mov r15, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x8000004
or rcx, 0xffffffffffffffff
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdx, rax
mov rcx, rsi
call fcn.14000d2cc
mov rbp, qword [rsi]
lea rax, [rbp + 1]
test rax, 0xfffffffffffffffe
jne 0x14002b8fa
mov ebx, 0x19
jmp 0x14002ba09
mov rbx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [rsp + 0x30], 0
lea r9, [rsp + 0x60]
and dword [rsp + 0x28], 0
mov rcx, rax
mov r8, rbx
mov dword [rsp + 0x20], 7
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x14002b935
lea ebx, [rax + 0x1a]
jmp 0x14002ba09
mov rcx, qword [rsi]
xor r9d, r9d
and qword [rsp + 0x20], 0
xor r8d, r8d
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbp, rax
test rax, rax
jne 0x14002b95e
lea ebx, [rax + 0x1b]
jmp 0x14002ba09
lea r8, [rax + 0x2000]
mov rcx, r14
call fcn.14002b5a8
mov rax, qword [rsp + 0x60]
lea r8, [sym.firefox.exe_g_shared_section]
mov esi, 8
mov qword [sym.firefox.exe_g_shared_section], rax
mov r9d, esi
lea rdx, [0x1400333e0]
mov rcx, rdi
call fcn.14002bae8
and qword [sym.firefox.exe_g_shared_section], 0
mov ebx, eax
test eax, eax
jne 0x14002ba09
mov r9d, esi
mov qword [sym.firefox.exe_g_shared_IPC_size], 0x2000
lea r8, [sym.firefox.exe_g_shared_IPC_size]
mov rcx, rdi
lea rdx, [0x1400333f8]
call fcn.14002bae8
and qword [sym.firefox.exe_g_shared_IPC_size], 0
mov ebx, eax
test eax, eax
jne 0x14002ba09
mov r9d, esi
mov qword [sym.firefox.exe_g_shared_policy_size], 0xe000
lea r8, [sym.firefox.exe_g_shared_policy_size]
mov rcx, rdi
lea rdx, [0x1400333b0]
call fcn.14002bae8
and qword [sym.firefox.exe_g_shared_policy_size], 0
mov ebx, eax
test eax, eax
je 0x14002ba20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x88]
mov dword [rcx], eax
mov eax, ebx
jmp 0x14002bacf
mov ecx, 0x38
call qword [sym.imp.mozglue.dll_moz_xmalloc]
test rax, rax
je 0x14002ba48
mov r9, qword [rdi + 0x40]
mov rcx, rax
mov r8d, dword [rdi + 0x10]
mov rdx, qword [rdi]
mov qword [rsp + 0x20], r15
call fcn.14002957c
mov rsi, qword [rdi + 0x38]
mov qword [rdi + 0x38], rax
test rsi, rsi
je 0x14002baa1
mov rcx, qword [rsi + 0x18]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 8]
test al, al
je 0x14002ba7d
lea rcx, [rsi + 8]
call fcn.140029f44
mov rcx, qword [rsi]
test rcx, rcx
je 0x14002ba7d
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rcx, [rsi + 8]
call fcn.140029f44
mov rcx, qword [rsi + 8]
mov edx, 0x18
call fcn.140005a90
mov rcx, rsi
call qword [sym.imp.mozglue.dll_free]
mov rax, qword [rdi + 0x38]
mov rdx, rbp
mov rcx, rax
call fcn.1400297e4
test al, al
jne 0x14002bab7
mov eax, 4
jmp 0x14002bacf
and dword [rdi + 0x14], 0
lea rcx, [rdi + 8]
call fcn.140010d08
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret