Function at 0x140030790
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.1400121cc
mov rbp, qword [rsi]
lea rax, [rbp + 1]
test rax, 0xfffffffffffffffe
jne 0x1400307fa
mov ebx, 0x19
jmp 0x140030909
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 0x140030835
lea ebx, [rax + 0x1a]
jmp 0x140030909
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 0x14003085e
lea ebx, [rax + 0x1b]
jmp 0x140030909
lea r8, [rax + 0x2000]
mov rcx, r14
call fcn.1400304a8
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, [0x1400387d0]
mov rcx, rdi
call fcn.1400309e8
and qword [sym.firefox.exe_g_shared_section], 0
mov ebx, eax
test eax, eax
jne 0x140030909
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, [0x1400387e8]
call fcn.1400309e8
and qword [sym.firefox.exe_g_shared_IPC_size], 0
mov ebx, eax
test eax, eax
jne 0x140030909
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, [0x1400387a0]
call fcn.1400309e8
and qword [sym.firefox.exe_g_shared_policy_size], 0
mov ebx, eax
test eax, eax
je 0x140030920
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x88]
mov dword [rcx], eax
mov eax, ebx
jmp 0x1400309cf
mov ecx, 0x38
call qword [sym.imp.mozglue.dll_moz_xmalloc]
test rax, rax
je 0x140030948
mov r9, qword [rdi + 0x40]
mov rcx, rax
mov r8d, dword [rdi + 0x10]
mov rdx, qword [rdi]
mov qword [rsp + 0x20], r15
call fcn.14002e47c
mov rsi, qword [rdi + 0x38]
mov qword [rdi + 0x38], rax
test rsi, rsi
je 0x1400309a1
mov rcx, qword [rsi + 0x18]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 8]
test al, al
je 0x14003097d
lea rcx, [rsi + 8]
call fcn.14002ee44
mov rcx, qword [rsi]
test rcx, rcx
je 0x14003097d
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rcx, [rsi + 8]
call fcn.14002ee44
mov rcx, qword [rsi + 8]
mov edx, 0x18
call fcn.140006078
mov rcx, rsi
call qword [sym.imp.mozglue.dll_free]
mov rax, qword [rdi + 0x38]
mov rdx, rbp
mov rcx, rax
call fcn.14002e6e4
test al, al
jne 0x1400309b7
mov eax, 4
jmp 0x1400309cf
and dword [rdi + 0x14], 0
lea rcx, [rdi + 8]
call fcn.140015c08
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