Function at 0x4374f0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x448010]
mov esi, ecx
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x18]
lea edi, [esi + 0x18]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [edx + ecx]
push 0
push eax
push 0
push 0x8000004
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, edi
push eax
call fcn.004150e0
mov eax, dword [esi + 0x18]
lea ecx, [eax + 1]
cmp ecx, 1
ja 0x43755e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov ebx, 0x19
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043c380
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x437606
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
test ebx, ebx
je 0x4375cb
test edx, edx
je 0x4375cb
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
lea edi, [ecx + eax]
push edx
push ebx
push edi
call sub.ntdll.dll_memcpy
add esp, 0xc
mov eax, 0xffffff00
jmp 0x4375b5
add eax, 4
je 0x4375cb
mov ecx, dword [edi + eax + 0x100]
test ecx, ecx
je 0x4375b0
sub ecx, ebx
mov dword [edi + eax + 0x100], ecx
jmp 0x4375b0
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov dword [sym.firefox.exe_g_shared_IPC_size], eax
push 4
push sym.firefox.exe_g_shared_IPC_size
push str.g_shared_IPC_size
call fcn.00437450
test eax, eax
mov dword [sym.firefox.exe_g_shared_IPC_size], 0
je 0x437618
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x437548
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov ebx, 0x1b
jmp 0x437548
mov eax, dword [ebp + 0x14]
mov ecx, esi
mov dword [sym.firefox.exe_g_shared_policy_size], eax
push 4
push sym.firefox.exe_g_shared_policy_size
push str.g_shared_policy_size
call fcn.00437450
test eax, eax
mov dword [sym.firefox.exe_g_shared_policy_size], 0
jne 0x4375f4
mov edi, dword [ebp + 8]
push 0x1c
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebx, eax
mov ecx, eax
push edi
push dword [esi + 0x24]
push dword [esi + 8]
push dword [esi]
call fcn.00434e60
mov edi, dword [esi + 0x20]
mov dword [esi + 0x20], ebx
test edi, edi
je 0x43767d
mov ecx, edi
call fcn.00434ee0
push edi
call sub.mozglue.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebx, dword [esi + 0x20]
mov eax, dword [ebp + 0x10]
mov ecx, ebx
push 0x400
push eax
push dword [ebp - 0x18]
call fcn.00434fa0
mov ebx, 4
test al, al
je 0x437548
mov edi, dword [esi]
mov ebx, dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x14]
push 0
push 0
push 7
push ecx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x4376d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov ebx, 0x1a
mov dword [ecx], eax
jmp 0x437548
mov eax, dword [ebp - 0x14]
mov ecx, esi
mov dword [sym.firefox.exe_g_shared_section], eax
push 4
push sym.firefox.exe_g_shared_section
push str.g_shared_section
call fcn.00437450
test eax, eax
mov dword [sym.firefox.exe_g_shared_section], 0
jne 0x4375f4
mov ecx, esi
call fcn.0041abc0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x437548