Function at 0x4132d0
Capabilities:
Map section object
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x68
mov esi, dword [ebp + 8]
mov eax, dword [0x450010]
xor eax, ebp
mov dword [ebp - 0x10], eax
sub esp, 0x18
movaps xmm0, xmmword [0x445700]
movups xmmword [esp], xmm0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x1000
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
je 0x4134fd
push eax
call fcn.00413200
add esp, 4
mov eax, dword [0x4508e0]
xor ecx, ecx
lea edx, [ebp - 0x5c]
mov dword [edx], ecx
lea edi, [ebp - 0x58]
mov dword [edi], ecx
push 4
push ecx
push 2
push edi
push ecx
push ecx
push ecx
push edx
push 0xffffffffffffffff
push eax
call sub.ntdll.dll_NtMapViewOfSection
test eax, eax
jns 0x41334e
push eax
call sub.ntdll.dll_RtlNtStatusToDosError
push eax
call sub.ntdll.dll_RtlSetLastWin32Error
mov edi, dword [ebp - 0x5c]
test edi, edi
je 0x413527
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push 0x44af12
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
and eax, 0xfffffffc
je 0x4134f3
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x4134f3
mov edx, dword [eax + 0x3c]
add edx, eax
je 0x4134f3
cmp dword [edx], 0x4550
jne 0x4134f3
movzx ecx, word [edx + 0x18]
cmp ecx, 0x10b
jne 0x4134f3
cmp dword [edx + 0x50], 0x138
jb 0x4134f3
cmp dword [edx + 0x74], 0
je 0x4134f3
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x4134f3
mov edx, dword [edx + 0x7c]
test edx, edx
je 0x4134f3
mov ebx, ecx
add ebx, eax
je 0x4134f3
mov ebx, dword [ebx + 0x14]
test ebx, ebx
je 0x4134f3
mov dword [ebp - 0x64], ebx
lea ebx, [ebp - 0x20]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], eax
mov ebx, dword [ecx + eax + 0x10]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ecx
lea ebx, [edx + ecx]
mov dword [ebp - 0x48], ebx
mov ebx, dword [ecx + eax + 0x1c]
add ebx, eax
mov dword [ebp - 0x6c], ebx
lea ebx, [ebp - 0x20]
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x74], edx
mov edx, 0x3fffffff
mov ebx, dword [ebp - 0x64]
and ebx, edx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ecx + eax + 0x20]
add ebx, eax
mov dword [ebp - 0x68], ebx
mov ebx, dword [ecx + eax + 0x18]
mov dword [ebp - 0x60], ebx
lea ebx, [ebp - 0x20]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x68]
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x60]
and edx, ebx
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x30], edx
add eax, dword [ecx + eax + 0x24]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x2c], edx
and ebx, 0x7fffffff
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x24], ebx
add dword [ebp - 0x74], ecx
je 0x4134f3
cmp dword [ebp - 0x64], 0
je 0x4134f3
cmp dword [ebp - 0x6c], 0
je 0x4134f3
cmp dword [ebp - 0x68], 0
je 0x4134f3
cmp dword [ebp - 0x70], 0
je 0x4134f3
test eax, eax
je 0x4134f3
cmp dword [ebp - 0x60], 0
je 0x4134f3
lea ecx, [ebp - 0x58]
mov edx, 0x4486cc
call fcn.004130c0
test eax, eax
je 0x4134f3
mov eax, dword [eax]
mov dword [edi + 4], eax
lea ecx, [ebp - 0x58]
mov edx, 0x448d10
call fcn.004130c0
test eax, eax
je 0x4134f3
mov eax, dword [eax]
mov dword [edi + 8], eax
lea ecx, [ebp - 0x58]
mov edx, 0x447e29
call fcn.004130c0
test eax, eax
je 0x4134f3
mov eax, dword [eax]
mov dword [edi + 0xc], eax
lea ecx, [ebp - 0x58]
mov edx, 0x447907
call fcn.004130c0
test eax, eax
je 0x4134f3
mov eax, dword [eax]
mov dword [edi + 0x10], eax
mov dword [edi], 1
xor eax, eax
jmp 0x41354d
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [esi + 0xc], 1
mov dword [esi], str._builds_worker_checkouts_gecko_browser_app_winlauncher_freestanding_SharedSection.cpp
mov dword [esi + 4], 0x9e
mov dword [esi + 8], ecx
jmp 0x41356f
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [esi], str._builds_worker_checkouts_gecko_browser_app_winlauncher_freestanding_SharedSection.cpp
mov dword [esi + 4], 0xa8
mov dword [esi + 8], ecx
mov al, 1
mov byte [esi + 0xc], al
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x41356f
push eax
push 0xffffffffffffffff
call sub.ntdll.dll_NtUnmapViewOfSection
test eax, eax
jns 0x41356f
push eax
call sub.ntdll.dll_RtlNtStatusToDosError
push eax
call sub.ntdll.dll_RtlSetLastWin32Error
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004230e0
mov eax, esi
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret