Function at 0x469e80
Capabilities:
Get file size
Parse pe header
Read file via mapping

Disassembly:
jmp 0x469e80
push 0xffffffffffffffff
push 0x5557b8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5c1d10]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x68]
mov esi, ecx
lea ecx, [esp + 0x20]
call fcn.004028ba
xor edi, edi
mov dword [esp + 0x60], edi
cmp dword [esi + 0x2a0], edi
je 0x469eda
lea ecx, [esi + 0x298]
call fcn.00402865
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push ebx
mov dword [esi + 0x2a4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
or ebx, 0xffffffff
cmp ebp, ebx
jne 0x469f15
mov dword [esp + 0x60], ebx
lea ecx, [esp + 0x20]
call fcn.00404bba
lea eax, [ebx + 2]
jmp 0x46a248
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x469f3f
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x60], ebx
lea ecx, [esp + 0x20]
call fcn.00404bba
mov eax, 4
jmp 0x46a248
push edi
push edi
push edi
push 2
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x18], ebx
jne 0x469f78
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00404bba
mov eax, 2
jmp 0x46a248
push edi
push edi
push edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x469faf
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push ebp
call esi
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00404bba
lea eax, [edi + 3]
jmp 0x46a248
push 0x40
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
push edi
je 0x469fea
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push ebp
call esi
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00404bba
mov eax, 0xa
jmp 0x46a248
lea ecx, [esi + 4]
call fcn.00403490
cmp word [esi + 0x10], 0x5a4d
je 0x46a028
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push ebp
call esi
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00404bba
mov eax, 6
jmp 0x46a248
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x46a05d
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebp
call esi
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00404bba
mov eax, 7
jmp 0x46a248
lea ebx, [eax + edi]
push 0xf8
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x46a07e
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x18]
push eax
jmp 0x46a037
push ebx
lea ecx, [esi + 4]
call fcn.00403a08
push ebx
lea ecx, [esi + 4]
call fcn.004010dc
cmp dword [esi + 0x50], 0x4550
je 0x46a0a7
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
push ecx
jmp 0x46a037
mov eax, dword [esi + 0x4c]
cmp eax, 0x40
jae 0x46a0b4
mov eax, 0x40
push eax
lea ecx, [esi + 4]
call fcn.00402b76
xor eax, eax
cmp word [esi + 0x56], ax
mov dword [esp + 0x1c], eax
jbe 0x46a15f
mov dword [esp + 0x14], eax
movzx edx, word [ebx + 0x14]
add edx, dword [esp + 0x14]
push 0x28
lea eax, [edx + ebx + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x46a143
movzx ecx, word [ebx + 0x14]
add ecx, dword [esp + 0x14]
lea edx, [ecx + ebx + 0x18]
push edx
lea ecx, [esp + 0x24]
call fcn.00401f96
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x46a133
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x46a133
push eax
add ecx, edi
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x46a133
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
add ecx, edi
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.004022d4
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 0x298]
call fcn.004031b6
mov eax, dword [esp + 0x1c]
movzx ecx, word [esi + 0x56]
add dword [esp + 0x14], 0x28
add eax, 1
cmp eax, ecx
mov dword [esp + 0x1c], eax
jb 0x46a0d1
mov ecx, esi
mov dword [esi + 0x2a4], 1
call fcn.00401eb0
mov ecx, dword [esi + 0xa4]
cmp dword [eax + 0x20], ecx
jbe 0x46a18e
mov ebx, dword [eax + 0x1c]
mov edx, dword [eax]
mov dword [eax + 0x20], ecx
add ecx, edi
push ebx
push ecx
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
push ebp
call edi
lea ecx, [esi + 4]
mov dword [esi + 0x2a4], 1
call fcn.004015c3
test eax, eax
mov ebx, dword [esi + 0x25c]
lea edi, [esi + 0x25c]
je 0x46a1f1
mov edx, dword [esi + 0x1d4]
mov eax, dword [esi + 0x1d0]
push edx
push eax
mov ecx, esi
call fcn.00403a53
mov edx, dword [ebx]
push eax
mov ecx, edi
call edx
mov eax, dword [esi + 0x1dc]
mov ecx, dword [esi + 0x1d8]
jmp 0x46a219
mov eax, dword [esi + 0xcc]
mov ecx, dword [esi + 0xc8]
push eax
push ecx
mov ecx, esi
call fcn.00403a53
mov edx, dword [ebx]
push eax
mov ecx, edi
call edx
mov eax, dword [esi + 0xd4]
mov ecx, dword [esi + 0xd0]
mov ebx, dword [esi + 0x27c]
push eax
push ecx
lea edi, [esi + 0x27c]
mov ecx, esi
call fcn.00403a53
mov edx, dword [ebx]
push eax
mov ecx, edi
call edx
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00404bba
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004f409d
add esp, 0x50
ret 4