Function at 0x1400091c0
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov ebx, r9d
mov rdi, r8
mov r12, rdx
mov rsi, rcx
mov r14, qword [rsp + 0xc8]
mov r15d, dword [rsp + 0xc0]
mov rax, qword [0x140043010]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea eax, [r15 + rbx]
lea rbp, [rcx + 0x28]
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], 0
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x8000004
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, rbp
mov rdx, rax
call fcn.1400098a0
mov rcx, qword [rsi + 0x28]
lea rax, [rcx + 1]
cmp rax, 1
jbe 0x140009430
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x20], 0
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x140009440
mov r12, rax
mov rbp, rbx
mov r14d, ebx
mov r13d, r15d
test rdi, rdi
je 0x1400092b4
test r15d, r15d
je 0x1400092b4
lea rbx, [r12 + r14]
mov rcx, rbx
mov rdx, rdi
mov r8, r13
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov rcx, qword [rbx + rax*8]
test rcx, rcx
jne 0x1400092ab
inc rax
cmp rax, 0x40
jne 0x140009297
jmp 0x1400092b4
sub rcx, rdi
mov qword [rbx + rax*8], rcx
jmp 0x1400092a0
mov qword [sym.plugin_container.exe_g_shared_IPC_size], r14
lea r8, [sym.plugin_container.exe_g_shared_IPC_size]
lea rdx, str.g_shared_IPC_size
mov r9d, 8
mov rcx, rsi
call fcn.1400088b0
mov qword [sym.plugin_container.exe_g_shared_IPC_size], 0
test eax, eax
jne 0x14000941c
mov qword [sym.plugin_container.exe_g_shared_policy_size], r13
lea r8, [sym.plugin_container.exe_g_shared_policy_size]
lea rdx, str.g_shared_policy_size
mov r9d, 8
mov rcx, rsi
call fcn.1400088b0
mov qword [sym.plugin_container.exe_g_shared_policy_size], 0
test eax, eax
jne 0x14000941c
mov ecx, 0x38
call sub.mozglue.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov rdi, rax
mov r9, qword [rsi + 0x40]
mov r8d, dword [rsi + 0x10]
mov rdx, qword [rsi]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.140009520
mov rbx, qword [rsi + 0x38]
mov qword [rsi + 0x38], rdi
test rbx, rbx
jne 0x140009457
mov rcx, rdi
mov rdx, r12
mov r8d, ebp
mov r9d, 0x400
call fcn.1400095b0
test al, al
je 0x140009470
mov rdi, qword [rsi]
mov rbx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 7
lea r9, [rsp + 0x48]
mov rcx, rax
mov rdx, rbx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140009477
mov rax, qword [rsp + 0x48]
mov qword [sym.plugin_container.exe_g_shared_section], rax
lea r8, [sym.plugin_container.exe_g_shared_section]
lea rdx, str.g_shared_section
mov r9d, 8
mov rcx, rsi
call fcn.1400088b0
mov qword [sym.plugin_container.exe_g_shared_section], 0
test eax, eax
jne 0x14000941c
mov rcx, rsi
call fcn.1400094a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14001d580
mov eax, edi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xc8]
mov dword [rcx], eax
jmp 0x1400093fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov edi, 0x19
jmp 0x1400093fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xc8]
mov dword [rcx], eax
mov edi, 0x1b
jmp 0x1400093fc
mov rcx, rbx
call fcn.140002cf0
mov rcx, rbx
call fcn.140039950
mov rdi, qword [rsi + 0x38]
jmp 0x14000935b
mov edi, 4
jmp 0x1400093fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xc8]
mov dword [rcx], eax
mov edi, 0x1a
jmp 0x1400093fc