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

Disassembly:
mov byte [rsp + 0x18], r8b
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x14005c678]
xor rax, rsp
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0xe0]
call fcn.14002d090
mov ecx, eax
call fcn.1400026b0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x14002c466
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0xd8]
mov r9d, dword [rsp + 0x44]
lea r8, [0x14003b9f0]
mov edx, 0x242
mov rcx, rax
call fcn.140006ed0
mov eax, dword [rsp + 0x44]
jmp 0x14002c9d7
xor eax, eax
test eax, eax
jne 0x14002c407
mov edx, 8
lea rcx, [rsp + 0xb8]
call fcn.140008f70
lea rcx, [rsp + 0xb8]
call fcn.1400012e0
nop
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x54]
mov r8d, 4
xor edx, edx
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.14000d5c0
lea rcx, [rsp + 0xb8]
call fcn.14000d360
movzx eax, al
test eax, eax
jne 0x14002c4f0
mov byte [rsp + 0x30], 1
jmp 0x14002c4f5
mov byte [rsp + 0x30], 0
movzx ecx, byte [rsp + 0x30]
call fcn.1400026c0
movzx eax, al
test eax, eax
je 0x14002c53c
mov rax, qword [rsp + 0xd8]
lea r8, [0x14003ba28]
mov edx, 0x24d
mov rcx, rax
call fcn.140006e70
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0xb8]
call fcn.14000aee0
mov eax, dword [rsp + 0x58]
jmp 0x14002c9d7
xor eax, eax
test eax, eax
jne 0x14002c4d5
lea rcx, [rsp + 0xb0]
call fcn.1400292f0
nop
mov eax, dword [rsp + 0x50]
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0xb8]
call fcn.140009740
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140030670
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.140001640
movzx ecx, al
call fcn.1400026c0
movzx eax, al
test eax, eax
je 0x14002c5fc
mov rax, qword [rsp + 0xd8]
lea r8, [0x14003ba60]
mov edx, 0x255
mov rcx, rax
call fcn.140006e70
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0xb0]
call fcn.14002b9c0
nop
lea rcx, [rsp + 0xb8]
call fcn.14000aee0
mov eax, dword [rsp + 0x5c]
jmp 0x14002c9d7
xor eax, eax
test eax, eax
jne 0x14002c59a
lea rcx, [rsp + 0xb0]
call fcn.140009760
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14002c678
mov ecx, 0x241
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0xd8]
lea r8, [0x14003ba98]
mov edx, 0x25d
mov rcx, rax
call fcn.140006e70
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0xb0]
call fcn.14002b9c0
nop
lea rcx, [rsp + 0xb8]
call fcn.14000aee0
mov eax, dword [rsp + 0x60]
jmp 0x14002c9d7
lea rcx, [rsp + 0xb0]
call fcn.140009760
mov rcx, qword [rsp + 0x90]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
je 0x14002c6f5
mov ecx, 0x241
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0xd8]
lea r8, [0x14003bad0]
mov edx, 0x264
mov rcx, rax
call fcn.140006e70
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0xb0]
call fcn.14002b9c0
nop
lea rcx, [rsp + 0xb8]
call fcn.14000aee0
mov eax, dword [rsp + 0x64]
jmp 0x14002c9d7
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x14002c759
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x74], 4
jae 0x14002c73c
mov dword [rsp + 0x68], 0
lea rcx, [rsp + 0xb0]
call fcn.14002b9c0
nop
lea rcx, [rsp + 0xb8]
call fcn.14000aee0
mov eax, dword [rsp + 0x68]
jmp 0x14002c9d7
mov eax, 8
imul rax, rax, 4
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x78]
mov qword [rsp + 0x48], rax
jmp 0x14002c822
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14002c7d3
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
cmp dword [rax + 0x84], 4
jae 0x14002c7b3
mov dword [rsp + 0x6c], 0
lea rcx, [rsp + 0xb0]
call fcn.14002b9c0
nop
lea rcx, [rsp + 0xb8]
call fcn.14000aee0
mov eax, dword [rsp + 0x6c]
jmp 0x14002c9d7
mov eax, 8
imul rax, rax, 4
mov rcx, qword [rsp + 0x98]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x48], rax
jmp 0x14002c822
mov ecx, 0x241
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0xd8]
lea r8, [0x14003bb08]
mov edx, 0x281
mov rcx, rax
call fcn.140006e70
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0xb0]
call fcn.14002b9c0
nop
lea rcx, [rsp + 0xb8]
call fcn.14000aee0
mov eax, dword [rsp + 0x70]
jmp 0x14002c9d7
mov rax, qword [rsp + 0x48]
cmp dword [rax], 0
je 0x14002c837
mov rax, qword [rsp + 0x48]
cmp dword [rax + 4], 0
jne 0x14002c863
mov dword [rsp + 0x74], 0
lea rcx, [rsp + 0xb0]
call fcn.14002b9c0
nop
lea rcx, [rsp + 0xb8]
call fcn.14000aee0
mov eax, dword [rsp + 0x74]
jmp 0x14002c9d7
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 4]
add eax, dword [rsp + 0xe8]
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 4], eax
mov eax, dword [rsp + 0x50]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0xb0]
call fcn.140009760
mov rcx, qword [rsp + 0xa8]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushViewOfFile]
mov ecx, eax
call fcn.1400026b0
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jne 0x14002c8fd
mov rax, qword [rsp + 0xd8]
lea r8, [0x14003bb40]
mov edx, 0x292
mov rcx, rax
call fcn.140006e70
mov dword [rsp + 0x7c], eax
lea rcx, [rsp + 0xb0]
call fcn.14002b9c0
nop
lea rcx, [rsp + 0xb8]
call fcn.14000aee0
mov eax, dword [rsp + 0x7c]
jmp 0x14002c9d7
xor eax, eax
test eax, eax
jne 0x14002c87a
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.140030670
call fcn.1400097e0
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.14000d5c0
movzx eax, byte [rsp + 0xf0]
test eax, eax
je 0x14002c9aa
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, eax
call fcn.1400026b0
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
jne 0x14002c9a4
mov rax, qword [rsp + 0xd8]
lea r8, [0x14003bb78]
mov edx, 0x299
mov rcx, rax
call fcn.140006e70
mov dword [rsp + 0x84], eax
lea rcx, [rsp + 0xb0]
call fcn.14002b9c0
nop
lea rcx, [rsp + 0xb8]
call fcn.14000aee0
mov eax, dword [rsp + 0x84]
jmp 0x14002c9d7
xor eax, eax
test eax, eax
jne 0x14002c937
mov dword [rsp + 0x88], 0
lea rcx, [rsp + 0xb0]
call fcn.14002b9c0
nop
lea rcx, [rsp + 0xb8]
call fcn.14000aee0
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1400317d0
add rsp, 0xd8
ret