Function at 0x4014ce
Capabilities:
Get file size
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497820
push 0x46c6a4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xba8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov byte [ebp - 0x1c], bl
push 0x208
push ebx
lea eax, [ebp - 0x224]
push eax
call fcn.0046c780
add esp, 0xc
mov dword [ebp - 4], ebx
push 0x206
lea eax, [ebp - 0x224]
push eax
mov edi, dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x401778
mov dword [ebp - 0xba8], edi
cmp word [edi], 0x5a4d
jne 0x401552
mov esi, dword [edi + 0x3c]
add esi, edi
mov dword [ebp - 0xbb0], esi
cmp dword [esi], 0x4550
je 0x40155d
or dword [ebp - 4], 0xffffffff
xor al, al
jmp 0x40177f
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0xbac], edi
mov byte [ebp - 0xba4], bl
mov dword [ebp - 0x2f8], ebx
cmp edi, 0xffffffff
je 0x4015d7
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x2f8], eax
lea eax, [ebp - 0xbb8]
push eax
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x4015d0
push dword [ebp - 0xbb4]
push dword [ebp - 0xbb8]
lea eax, [ebp - 0xba4]
push eax
call fcn.0040178e
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0x10]
push str.Module__d_r_n
mov edi, dword [ebp + 8]
push edi
call fcn.004013e6
lea eax, [ebp - 0x224]
push eax
push str._s_r_n
push edi
call fcn.004013e6
push dword [esi + 0x50]
push dword [esi + 0x34]
push str.Image_Base:_0x_08x__Image_Size:_0x_08x_r_n
push edi
call fcn.004013e6
push dword [esi + 8]
push dword [esi + 0x58]
push str.Checksum:___0x_08x__Time_Stamp:_0x_08x_r_n
push edi
call fcn.004013e6
lea eax, [ebp - 0xba4]
push eax
push dword [ebp - 0x2f8]
push str.File_Size:____10d__File_Time:___s_r_n
push edi
call fcn.004013e6
add esp, 0x48
push str.Version_Information:_r_n
push edi
call fcn.004013e6
pop ecx
pop ecx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0xb40]
call fcn.0040201b
mov esi, 0xc7
push esi
lea eax, [ebp - 0x2f4]
push eax
lea ecx, [ebp - 0xb40]
call fcn.00402202
lea eax, [ebp - 0x2f4]
push eax
push str.___Company:_____s_r_n
push edi
call fcn.004013e6
add esp, 0xc
push esi
lea eax, [ebp - 0x2f4]
push eax
lea ecx, [ebp - 0xb40]
call fcn.0040227c
lea eax, [ebp - 0x2f4]
push eax
push str.___Product:_____s_r_n
push edi
call fcn.004013e6
add esp, 0xc
push esi
lea eax, [ebp - 0x2f4]
push eax
lea ecx, [ebp - 0xb40]
call fcn.0040223f
lea eax, [ebp - 0x2f4]
push eax
push str.___FileDesc:____s_r_n
push edi
call fcn.004013e6
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0xb40]
call fcn.004021c4
movzx eax, word [ebp - 0x226]
push eax
movzx eax, word [ebp - 0x228]
push eax
movzx eax, word [ebp - 0x22a]
push eax
movzx eax, word [ebp - 0x22c]
push eax
push str.___FileVer:_____d._d._d._d_r_n
push edi
call fcn.004013e6
add esp, 0x18
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0xb40]
call fcn.004021e3
movzx eax, word [ebp - 0x226]
push eax
movzx eax, word [ebp - 0x228]
push eax
movzx eax, word [ebp - 0x22a]
push eax
movzx eax, word [ebp - 0x22c]
push eax
push str.___ProdVer:_____d._d._d._d_r_n
push edi
call fcn.004013e6
add esp, 0x18
lea ecx, [ebp - 0xb40]
call fcn.004021af
push 0x4ae23c
push edi
call fcn.004013e6
pop ecx
pop ecx
mov byte [ebp - 0x1c], 1
jmp 0x401778
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret