Function at 0x14002dee0
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r13d, r9d
mov rbx, r8
mov r14, rdx
mov rsi, rcx
mov r12, qword [rsp + 0xb8]
mov ebp, dword [rsp + 0xb0]
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea eax, [rbp + r13]
lea rdi, [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, rdi
mov rdx, rax
call fcn.140006b50
mov rcx, qword [rsi + 0x28]
lea rax, [rcx + 1]
cmp rax, 1
ja 0x14002df90
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
mov ebx, 0x19
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140036e40
mov eax, ebx
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
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 0x14002e057
mov r15, rax
mov edi, r13d
mov r12d, ebp
test rbx, rbx
je 0x14002e00e
test ebp, ebp
je 0x14002e00e
lea rcx, [r15 + rdi]
mov rdx, rbx
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rdi + r15]
add rax, 8
xor ecx, ecx
jmp 0x14002dfea
add rcx, 2
cmp rcx, 0x40
je 0x14002e00e
mov rdx, qword [rax + rcx*8 - 8]
test rdx, rdx
je 0x14002dffc
sub rdx, rbx
mov qword [rax + rcx*8 - 8], rdx
mov rdx, qword [rax + rcx*8]
test rdx, rdx
je 0x14002dfe0
sub rdx, rbx
mov qword [rax + rcx*8], rdx
jmp 0x14002dfe0
mov qword [sym.plugin_container.exe_g_shared_IPC_size], rdi
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.14002de20
mov qword [sym.plugin_container.exe_g_shared_IPC_size], 0
test eax, eax
je 0x14002e06b
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xb8]
mov dword [rcx], eax
jmp 0x14002df70
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
mov ebx, 0x1b
jmp 0x14002df70
mov qword [sym.plugin_container.exe_g_shared_policy_size], r12
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.14002de20
mov qword [sym.plugin_container.exe_g_shared_policy_size], 0
test eax, eax
jne 0x14002e040
mov ecx, 0x38
call sub.mozglue.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov r12, rax
mov r9, qword [rsi + 0x40]
mov r8d, dword [rsi + 0x10]
mov rdx, qword [rsi]
mov qword [rsp + 0x20], r14
mov rcx, rax
call fcn.14002b4f0
mov rbx, qword [rsi + 0x38]
mov qword [rsi + 0x38], r12
test rbx, rbx
je 0x14002e0e3
mov rcx, rbx
call fcn.14002b580
mov rcx, rbx
call sub.mozglue.dll_void___cdecl_operator_delete_void____ptr64_
mov r12, qword [rsi + 0x38]
mov rcx, r12
mov rdx, r15
mov r8d, r13d
mov r9d, 0x400
call fcn.14002b650
mov ebx, 4
test al, al
je 0x14002df70
mov rdi, qword [rsi]
mov rbx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 7
lea r9, [rsp + 0x38]
mov rcx, rax
mov rdx, rbx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x14002e15b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xb8]
mov dword [rcx], eax
mov ebx, 0x1a
jmp 0x14002df70
mov rax, qword [rsp + 0x38]
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.14002de20
mov qword [sym.plugin_container.exe_g_shared_section], 0
test eax, eax
jne 0x14002e040
mov rcx, rsi
call fcn.14000d130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x14002df70