Function at 0x14002d150
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x14005c678]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb8]
mov dword [rax], 0
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
call fcn.14002d090
mov ecx, eax
call fcn.1400026b0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jge 0x14002d1e0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xa8]
mov r9d, dword [rsp + 0x38]
lea r8, [0x14003bbb0]
mov edx, 0x2a7
mov rcx, rax
call fcn.140006ed0
mov eax, dword [rsp + 0x38]
jmp 0x14002d525
xor eax, eax
test eax, eax
jne 0x14002d181
mov edx, 8
lea rcx, [rsp + 0x80]
call fcn.140008f70
lea rcx, [rsp + 0x80]
call fcn.1400012e0
nop
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x64]
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.14000d5c0
lea rcx, [rsp + 0x80]
call fcn.14000d360
movzx eax, al
test eax, eax
jne 0x14002d26a
mov byte [rsp + 0x30], 1
jmp 0x14002d26f
mov byte [rsp + 0x30], 0
movzx ecx, byte [rsp + 0x30]
call fcn.1400026c0
movzx eax, al
test eax, eax
je 0x14002d2b6
mov rax, qword [rsp + 0xa8]
lea r8, [0x14003bbe8]
mov edx, 0x2b2
mov rcx, rax
call fcn.140006e70
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x80]
call fcn.14000aee0
mov eax, dword [rsp + 0x48]
jmp 0x14002d525
xor eax, eax
test eax, eax
jne 0x14002d24f
lea rcx, [rsp + 0x88]
call fcn.1400292f0
nop
mov eax, dword [rsp + 0x60]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x80]
call fcn.140009740
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.140030670
xor edx, edx
lea rcx, [rsp + 0x88]
call fcn.140001640
movzx ecx, al
call fcn.1400026c0
movzx eax, al
test eax, eax
je 0x14002d370
mov rax, qword [rsp + 0xa8]
lea r8, [0x14003bc20]
mov edx, 0x2ba
mov rcx, rax
call fcn.140006e70
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x88]
call fcn.14002b9c0
nop
lea rcx, [rsp + 0x80]
call fcn.14000aee0
mov eax, dword [rsp + 0x4c]
jmp 0x14002d525
xor eax, eax
test eax, eax
jne 0x14002d30e
lea rcx, [rsp + 0x88]
call fcn.140009760
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14002d3e6
mov ecx, 0x241
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0xa8]
lea r8, [0x14003bc58]
mov edx, 0x2bf
mov rcx, rax
call fcn.140006e70
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x88]
call fcn.14002b9c0
nop
lea rcx, [rsp + 0x80]
call fcn.14000aee0
mov eax, dword [rsp + 0x50]
jmp 0x14002d525
lea rcx, [rsp + 0x88]
call fcn.140009760
mov rcx, qword [rsp + 0x68]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4550
je 0x14002d460
mov ecx, 0x241
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0xa8]
lea r8, [0x14003bc90]
mov edx, 0x2c6
mov rcx, rax
call fcn.140006e70
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x88]
call fcn.14002b9c0
nop
lea rcx, [rsp + 0x80]
call fcn.14000aee0
mov eax, dword [rsp + 0x54]
jmp 0x14002d525
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x14002d484
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x28]
mov dword [rax], ecx
jmp 0x14002d4fe
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14002d4b2
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x78]
mov ecx, dword [rcx + 0x28]
mov dword [rax], ecx
jmp 0x14002d4fe
mov ecx, 0x241
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0xa8]
lea r8, [0x14003bcc8]
mov edx, 0x2d4
mov rcx, rax
call fcn.140006e70
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0x88]
call fcn.14002b9c0
nop
lea rcx, [rsp + 0x80]
call fcn.14000aee0
mov eax, dword [rsp + 0x58]
jmp 0x14002d525
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x88]
call fcn.14002b9c0
nop
lea rcx, [rsp + 0x80]
call fcn.14000aee0
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400317d0
add rsp, 0xa8
ret