Function at 0x428ef0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x43600c]
mov esi, ecx
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
lea edi, [esi + 0x18]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [edx + ecx]
push ebx
push eax
push ebx
push 0x8000004
push ebx
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
mov ecx, edi
push eax
call fcn.00405e20
mov eax, dword [esi + 0x18]
lea ecx, [eax + 1]
cmp ecx, 1
ja 0x428f5d
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov ebx, 0x19
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ee00
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
push ebx
push ebx
push ebx
push 6
push eax
call dword [sym.imp.kernel32.dll_MapViewOfFile]
test eax, eax
jne 0x428f7d
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov ebx, 0x1b
jmp 0x428f45
cmp dword [ebp + 0xc], 0
mov edi, eax
mov ecx, esi
mov dword [ebp - 0x1c], esi
je 0x428fc7
cmp dword [ebp + 0x14], 0
je 0x428fc7
mov eax, dword [ebp + 0x10]
lea ebx, [edi + eax]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov eax, 0xffffff00
mov edx, dword [ebx + eax + 0x100]
test edx, edx
je 0x428fc2
sub edx, dword [ebp + 0xc]
mov dword [ebx + eax + 0x100], edx
add eax, 4
jne 0x428fad
mov eax, dword [ebp + 0x10]
mov dword [sym.plugin_container.exe_g_shared_IPC_size], eax
push 4
push sym.plugin_container.exe_g_shared_IPC_size
push str.g_shared_IPC_size
call fcn.00428e50
test eax, eax
mov dword [sym.plugin_container.exe_g_shared_IPC_size], 0
je 0x428ffe
mov ebx, eax
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
jmp 0x428f45
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [sym.plugin_container.exe_g_shared_policy_size], eax
push 4
push sym.plugin_container.exe_g_shared_policy_size
push str.g_shared_policy_size
call fcn.00428e50
test eax, eax
mov dword [sym.plugin_container.exe_g_shared_policy_size], 0
jne 0x428fee
mov ebx, dword [ebp + 8]
push 0x1c
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ecx, eax
mov dword [ebp - 0x18], eax
push ebx
mov ebx, dword [ebp - 0x1c]
push dword [ebx + 0x24]
push dword [ebx + 8]
push dword [ebx]
call fcn.004263f0
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebp - 0x18]
test eax, eax
mov dword [ebx + 0x20], ecx
je 0x429070
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.00426460
push dword [ebp - 0x18]
call sub.mozglue.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebp + 0x10]
push 0x400
push eax
push edi
call fcn.00426510
mov ebx, 4
test al, al
je 0x428f47
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi]
mov ebx, dword [edi + 0x18]
mov dword [ebp - 0x18], eax
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
xor ecx, ecx
lea edx, [ebp - 0x14]
push ecx
push ecx
push 7
push edx
push dword [ebp - 0x18]
push ebx
push eax
call dword [sym.imp.kernel32.dll_DuplicateHandle]
test eax, eax
jne 0x4290c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov ebx, 0x1a
jmp 0x428f45
mov eax, dword [ebp - 0x14]
mov ecx, edi
mov dword [sym.plugin_container.exe_g_shared_section], eax
push 4
push sym.plugin_container.exe_g_shared_section
push str.g_shared_section
call fcn.00428e50
test eax, eax
mov dword [sym.plugin_container.exe_g_shared_section], 0
jne 0x428fee
mov ecx, esi
call fcn.0040c0e0
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
xor ebx, ebx
jmp 0x428f47