Function at 0x140011180
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 rsi, r9
mov r15, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x140041028]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea r14, [rcx + 0x28]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x8000004
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, r14
mov rdx, rax
call fcn.140006e80
mov rcx, qword [rdi + 0x28]
lea rax, [rcx + 1]
cmp rax, 1
jbe 0x14001143a
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 0x140011449
mov r14, rax
test r15, r15
je 0x14001129a
lea r12, [r14 + 0x2000]
mov r8d, 0xe000
mov rcx, r12
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
pxor xmm0, xmm0
pcmpeqd xmm1, xmm1
movdqu xmm2, xmmword [r12 + rax*8]
movdqa xmm4, xmm2
pcmpeqd xmm4, xmm0
pshufd xmm3, xmm4, 0xb1
pand xmm3, xmm4
movd ecx, xmm3
not ecx
test cl, 1
je 0x140011270
movq rcx, xmm2
sub rcx, r15
mov qword [r12 + rax*8], rcx
pxor xmm3, xmm1
pextrw ecx, xmm3, 4
test cl, 1
je 0x140011290
pshufd xmm2, xmm2, 0xee
movq rcx, xmm2
sub rcx, r15
mov qword [r12 + rax*8 + 8], rcx
add rax, 2
cmp rax, 0x40
jne 0x140011242
mov qword [sym.plugin_container.exe_g_shared_IPC_size], 0x2000
lea r8, [sym.plugin_container.exe_g_shared_IPC_size]
lea rdx, str.g_shared_IPC_size
mov r9d, 8
mov rcx, rdi
call fcn.1400132e0
mov qword [sym.plugin_container.exe_g_shared_IPC_size], 0
test eax, eax
jne 0x14001142e
mov qword [sym.plugin_container.exe_g_shared_policy_size], 0xe000
lea r8, [sym.plugin_container.exe_g_shared_policy_size]
lea rdx, str.g_shared_policy_size
mov r9d, 8
mov rcx, rdi
call fcn.1400132e0
mov qword [sym.plugin_container.exe_g_shared_policy_size], 0
test eax, eax
jne 0x14001142e
mov ecx, 0x38
call sub.mozglue.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov r15, rax
mov r12, qword [rdi + 0x40]
mov ebp, dword [rdi + 0x10]
mov r13, qword [rdi]
pxor xmm0, xmm0
movdqu xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov ecx, 0x18
call sub.mozglue.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r15 + 8], rax
mov qword [r15 + 0x18], r12
mov qword [r15 + 0x20], r13
mov dword [r15 + 0x28], ebp
mov qword [r15 + 0x30], rbx
mov rbx, qword [rdi + 0x38]
mov qword [rdi + 0x38], r15
test rbx, rbx
jne 0x140011458
mov rcx, r15
mov rdx, r14
call fcn.140013430
test al, al
je 0x140011471
mov rbx, qword [rdi]
mov r14, qword [rdi + 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 + 0x38]
mov rcx, rax
mov rdx, r14
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140011478
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, rdi
call fcn.1400132e0
mov qword [sym.plugin_container.exe_g_shared_section], 0
test eax, eax
jne 0x14001142e
mov dword [rdi + 0x14], 0
add rdi, 8
mov rcx, rdi
call fcn.14000e370
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebp, ebp
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140018b90
mov eax, ebp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
jmp 0x14001140e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov ebp, 0x19
jmp 0x14001140e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov ebp, 0x1b
jmp 0x14001140e
mov rcx, rbx
call fcn.140015200
mov rcx, rbx
call sub.mozglue.dll_void___cdecl_operator_delete_void____ptr64_
mov r15, qword [rdi + 0x38]
jmp 0x14001136b
mov ebp, 4
jmp 0x14001140e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov ebp, 0x1a
jmp 0x14001140e