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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439efb
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x45e4c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebx], 0
mov dword [ebp - 0x44], edx
mov dword [eax], 0
mov byte [edx], 0
mov edx, ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], eax
call fcn.00419eb0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x41a051
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push Ordinal_1
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x41a084
push dword [ebp - 0x28]
call fcn.00421a46
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp esi, 0xffffffff
jne 0x41a0a4
xor al, al
jmp 0x41a1f1
push 0xc
call fcn.00421a96
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 1
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41a0de
mov dword [eax], vtable.appv::utility::scope_guard_func.0
mov byte [ebp - 4], 2
mov dword [eax], vtable.appv::utility::scope_guard_func_impl_class_std::_Bind_0__void__int____stdcall___void____void____.0
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov byte [ebp - 4], 1
jmp 0x41a0e0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 4
push 0
push 0
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
test esi, esi
jne 0x41a10f
xor bl, bl
jmp 0x41a1e0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], edi
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x2c], esi
call fcn.0041bf70
mov byte [ebp - 4], 5
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x41a141
xor bl, bl
jmp 0x41a1d4
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x2c], edi
call fcn.0041c000
mov byte [ebp - 4], 6
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x41a18d
mov esi, dword [edi + 0x3c]
add esi, edi
cmp dword [esi], 0x4550
je 0x41a17b
mov dword [ebx], 1
jmp 0x41a1c6
movzx eax, word [esi + 4]
cmp eax, 0x14c
je 0x41a199
cmp eax, 0x8664
je 0x41a191
xor bl, bl
jmp 0x41a1c8
mov dword [ebx], 3
jmp 0x41a1bd
mov edx, edi
mov dword [ebx], 2
mov ecx, esi
call fcn.0041a210
test eax, eax
je 0x41a1bd
mov eax, dword [eax + 0x10]
test al, 1
je 0x41a1bd
test al, 2
jne 0x41a1bd
mov eax, dword [ebp - 0x44]
mov byte [eax], 1
mov ecx, dword [ebp - 0x34]
movzx eax, word [esi + 0x5c]
mov dword [ecx], eax
mov bl, 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.004154a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.004154a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004154a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004210ea
mov esp, ebp
pop ebp
ret