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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xf8
movaps xmmword [rsp + 0xe0], xmm6
mov rsi, rcx
mov rax, qword [0x14005f018]
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 0x14001ebf4
mov rdi, rax
mov rdx, qword [0x14005fd90]
test rdx, rdx
je 0x14001e937
mov qword [0x14005fd90], 0
mov rcx, 0xffffffffffffffff
call sub.ntdll.dll_NtUnmapViewOfSection
test eax, eax
jns 0x14001e937
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
mov rcx, qword [0x14005fd88]
cmp rcx, rdi
je 0x14001e955
test rcx, rcx
je 0x14001e94e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14005fd88], 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 0x14001e9b0
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 0x14001ec25
mov eax, dword [rdi + 0x20]
dec eax
cmp eax, 2
jb 0x14001eccc
xorps xmm6, xmm6
movups xmmword [rsp + 0xc8], xmm6
lea rcx, [0x14005695e]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
and rax, 0xfffffffffffffffc
je 0x14001ec51
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14001ec51
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
je 0x14001ec8a
cmp dword [rdx], 0x4550
jne 0x14001ec8a
movzx ecx, word [rdx + 0x18]
cmp ecx, 0x20b
jne 0x14001ed25
cmp dword [rdx + 0x50], 0x147
jbe 0x14001ec8a
cmp dword [rdx + 0x84], 0
je 0x14001ec8a
mov ecx, dword [rdx + 0x88]
test rcx, rcx
je 0x14001ec8a
mov r10d, dword [rdx + 0x8c]
test r10d, r10d
je 0x14001ec8a
mov rdx, rax
add rdx, rcx
je 0x14001ec8a
cmp dword [rdx + 0x14], 0
je 0x14001ec8a
lea r9, [rsp + 0xc0]
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x60], rax
mov ebx, dword [rdx + 0x10]
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x6c], ecx
lea ebx, [r10 + rcx]
mov dword [rsp + 0x70], ebx
mov r14d, dword [rdx + 0x14]
mov r11d, dword [rdx + 0x1c]
add r11, rax
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x80], r11
mov r8d, 0x3fffffff
mov r12, r14
and r12, r8
cmp r12, r14
cmovae r12, r14
mov qword [rsp + 0x88], r12
mov ebx, dword [rdx + 0x18]
mov r14d, dword [rdx + 0x20]
add r14, rax
mov qword [rsp + 0x90], r9
mov qword [rsp + 0x98], r14
and r8, rbx
cmp r8, rbx
cmovae r8, rbx
mov qword [rsp + 0xa0], r8
mov r15d, dword [rdx + 0x18]
mov edx, dword [rdx + 0x24]
add rdx, rax
mov eax, r15d
and eax, 0x7fffffff
cmp rax, r15
cmovb r15, rax
mov qword [rsp + 0xa8], r9
mov qword [rsp + 0xb0], rdx
mov qword [rsp + 0xb8], r15
add r10d, ecx
je 0x14001eccc
test r11, r11
je 0x14001eccc
test r12, r12
je 0x14001eccc
test r14, r14
je 0x14001eccc
test r8, r8
je 0x14001eccc
test rdx, rdx
je 0x14001eccc
test r15, r15
je 0x14001eccc
lea rdx, [0x1400546ae]
lea rcx, [rsp + 0x58]
call fcn.140023a30
test rax, rax
je 0x14001eccc
mov eax, dword [rax]
mov qword [rdi], rax
lea rdx, [0x140054d04]
lea rcx, [rsp + 0x58]
call fcn.140023a30
test rax, rax
je 0x14001eccc
mov eax, dword [rax]
mov qword [rdi + 8], rax
lea rdx, [0x140053e76]
lea rcx, [rsp + 0x58]
call fcn.140023a30
test rax, rax
je 0x14001eccc
mov eax, dword [rax]
mov qword [rdi + 0x10], rax
lea rdx, [0x14005397f]
lea rcx, [rsp + 0x58]
call fcn.140023a30
test rax, rax
je 0x14001eccc
mov eax, dword [rax]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x20], 1
jmp 0x14001eccc
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 0x14001ecf9
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 0x14001ecce
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 0x14001ecc4
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 0x14001ecf9
mov rcx, 0xffffffffffffffff
call sub.ntdll.dll_NtUnmapViewOfSection
test eax, eax
jns 0x14001ecf9
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.140027a90
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
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 0x14001eccc