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

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
movaps xmmword [rsp + 0xe0], xmm6
mov rsi, rcx
mov rax, qword [0x14005c018]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x1000
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 4
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test rax, rax
je 0x14000f10c
mov rdi, rax
mov rdx, qword [0x14005cbd0]
test rdx, rdx
je 0x14000ee72
mov qword [0x14005cbd0], 0
mov rcx, 0xffffffffffffffff
call sub.ntdll.dll_NtUnmapViewOfSection
test eax, eax
jns 0x14000ee72
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
mov rcx, qword [0x14005cbc8]
cmp rcx, rdi
je 0x14000ee90
test rcx, rcx
je 0x14000ee89
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14005cbc8], rdi
xor eax, eax
lea r8, [rsp + 0x50]
mov qword [r8], rax
lea rcx, [rsp + 0x58]
mov qword [rcx], rax
mov qword [rsp + 0x30], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
mov rcx, rdi
mov rdx, 0xffffffffffffffff
xor r9d, r9d
call sub.ntdll.dll_NtMapViewOfSection
test eax, eax
jns 0x14000eeeb
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14000f13d
mov eax, dword [rdi + 0x20]
dec eax
cmp eax, 2
jb 0x14000f1e4
xorps xmm6, xmm6
movups xmmword [rsp + 0xc8], xmm6
lea rcx, [0x14005351e]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
and rax, 0xfffffffffffffffc
je 0x14000f169
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14000f169
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
je 0x14000f1a2
cmp dword [rcx], 0x4550
jne 0x14000f1a2
movzx edx, word [rcx + 0x18]
cmp edx, 0x20b
jne 0x14000f238
cmp dword [rcx + 0x50], 0x147
jbe 0x14000f1a2
cmp dword [rcx + 0x84], 0
je 0x14000f1a2
mov ebx, dword [rcx + 0x88]
test rbx, rbx
je 0x14000f1a2
mov ebp, dword [rcx + 0x8c]
test ebp, ebp
je 0x14000f1a2
mov rdx, rax
add rdx, rbx
je 0x14000f1a2
cmp dword [rdx + 0x14], 0
je 0x14000f1a2
add ebp, ebx
lea r11, [rsp + 0xc0]
mov qword [rsp + 0x58], r11
mov qword [rsp + 0x60], rax
mov ecx, dword [rdx + 0x10]
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x6c], ebx
mov dword [rsp + 0x70], ebp
mov r9d, dword [rdx + 0x14]
mov r8d, dword [rdx + 0x1c]
add r8, rax
mov qword [rsp + 0x78], r11
mov qword [rsp + 0x80], r8
mov ecx, 0x3fffffff
and r9, rcx
mov qword [rsp + 0x88], r9
mov ebx, dword [rdx + 0x18]
mov r10d, dword [rdx + 0x20]
add r10, rax
mov qword [rsp + 0x90], r11
mov qword [rsp + 0x98], r10
and rbx, rcx
mov qword [rsp + 0xa0], rbx
mov ecx, dword [rdx + 0x18]
mov edx, dword [rdx + 0x24]
add rdx, rax
mov qword [rsp + 0xa8], r11
mov qword [rsp + 0xb0], rdx
and ecx, 0x7fffffff
mov qword [rsp + 0xb8], rcx
test ecx, ecx
je 0x14000f1e4
test ebx, ebx
je 0x14000f1e4
test r9d, r9d
je 0x14000f1e4
test ebp, ebp
je 0x14000f1e4
test r8, r8
je 0x14000f1e4
test r10, r10
je 0x14000f1e4
test rdx, rdx
je 0x14000f1e4
lea rdx, [0x140051452]
lea rcx, [rsp + 0x58]
call fcn.140019ec0
test rax, rax
je 0x14000f1e4
mov eax, dword [rax]
mov qword [rdi], rax
lea rdx, [0x140051a99]
lea rcx, [rsp + 0x58]
call fcn.140019ec0
test rax, rax
je 0x14000f1e4
mov eax, dword [rax]
mov qword [rdi + 8], rax
lea rdx, [0x140050c47]
lea rcx, [rsp + 0x58]
call fcn.140019ec0
test rax, rax
je 0x14000f1e4
mov eax, dword [rax]
mov qword [rdi + 0x10], rax
lea rdx, [0x140050750]
lea rcx, [rsp + 0x58]
call fcn.140019ec0
test rax, rax
je 0x14000f1e4
mov eax, dword [rax]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x20], 1
jmp 0x14000f1e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_browser_app_winlauncher_freestanding_SharedSection.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0xb5
mov dword [rsi + 0xc], ecx
jmp 0x14000f211
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
lea rax, str._builds_worker_checkouts_gecko_browser_app_winlauncher_freestanding_SharedSection.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0xbf
mov dword [rsi + 0xc], ecx
mov al, 1
jmp 0x14000f1e6
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x58], rax
movups xmmword [rsp + 0x60], xmm6
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x78], rax
movups xmmword [rsp + 0x80], xmm6
mov qword [rsp + 0x90], rax
movups xmmword [rsp + 0x98], xmm6
jmp 0x14000f1dc
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x78], rax
movups xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], rax
movups xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0xa8], rax
xor eax, eax
mov byte [rsi + 0x10], al
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x14000f211
mov rcx, 0xffffffffffffffff
call sub.ntdll.dll_NtUnmapViewOfSection
test eax, eax
jns 0x14000f211
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.14001bc70
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x78], rax
movups xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], rax
movups xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], 0
jmp 0x14000f1e4