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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x631420
push 0x547619
mov eax, dword fs:[0]
push eax
sub esp, 0xbbc
mov eax, dword [0x669404]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov esi, edx
mov byte [ebp - 0xbad], 0
push 0x208
push 0
lea eax, [ebp - 0x364]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0
push 0x206
lea ecx, [ebp - 0x364]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x41a493
mov edx, 0x5a4d
cmp dx, word [esi]
je 0x41a1f4
mov dword [ebp - 4], 0xfffffffe
xor al, al
jmp 0x41a4a0
mov ebx, dword [esi + 0x3c]
add ebx, esi
cmp dword [ebx], 0x4550
jne 0x41a1e6
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea eax, [ebp - 0x364]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xbb4], eax
mov byte [ebp - 0x15c], 0
xor esi, esi
cmp eax, 0xffffffff
je 0x41a285
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0xbcc]
push ecx
push esi
push esi
mov edx, dword [ebp - 0xbb4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x41a275
mov eax, dword [ebp - 0xbc8]
push eax
mov ecx, dword [ebp - 0xbcc]
push ecx
lea esi, [ebp - 0x15c]
call fcn.0041a0e0
add esp, 8
mov edx, dword [ebp - 0xbb4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
push eax
push str.Module__d_r_n
push edi
call fcn.0041a080
lea ecx, [ebp - 0x364]
push ecx
push str._s_r_n
push edi
call fcn.0041a080
mov edx, dword [ebx + 0x50]
push edx
mov eax, dword [ebx + 0x34]
push eax
push str.Image_Base:_0x_08x__Image_Size:_0x_08x_r_n
push edi
call fcn.0041a080
mov ecx, dword [ebx + 8]
push ecx
mov edx, dword [ebx + 0x58]
push edx
push str.Checksum:___0x_08x__Time_Stamp:_0x_08x_r_n
push edi
call fcn.0041a080
lea eax, [ebp - 0x15c]
push eax
push esi
push str.File_Size:____10d__File_Time:___s_r_n
push edi
call fcn.0041a080
add esp, 0x48
push str.Version_Information:_r_n
push edi
call fcn.0041a080
add esp, 8
lea ecx, [ebp - 0x364]
push ecx
lea edx, [ebp - 0xbac]
push edx
call fcn.00419e00
push 0xc7
push 0
lea eax, [ebp - 0xf4]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0xc6
lea ecx, [ebp - 0x97c]
push ecx
lea edx, [ebp - 0xf4]
push edx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
call esi
lea eax, [ebp - 0xf4]
push eax
push str.___Company:_____s_r_n
push edi
call fcn.0041a080
push 0xc7
push 0
lea ecx, [ebp - 0xf4]
push ecx
call sub.MSVCR100.dll_memset
add esp, 0x18
push 0xc6
lea edx, [ebp - 0x774]
push edx
lea eax, [ebp - 0xf4]
push eax
call esi
lea ecx, [ebp - 0xf4]
push ecx
push str.___Product:_____s_r_n
push edi
call fcn.0041a080
push 0xc7
push 0
lea edx, [ebp - 0xf4]
push edx
call sub.MSVCR100.dll_memset
add esp, 0x18
push 0xc6
lea eax, [ebp - 0x56c]
push eax
lea ecx, [ebp - 0xf4]
push ecx
call esi
lea edx, [ebp - 0xf4]
push edx
push str.___FileDesc:____s_r_n
push edi
call fcn.0041a080
add esp, 0xc
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0xbc4], eax
mov dword [ebp - 0xbbc], ecx
cmp eax, 4
jge 0x41a3ea
mov dx, word [ebp + eax*2 - 0xba4]
mov word [ecx], dx
add ecx, 2
inc eax
jmp 0x41a3c8
movzx eax, word [ebp - 0x22]
push eax
movzx ecx, word [ebp - 0x24]
push ecx
movzx edx, word [ebp - 0x26]
push edx
movzx eax, word [ebp - 0x28]
push eax
push str.___FileVer:_____d._d._d._d_r_n
push edi
call fcn.0041a080
add esp, 0x18
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0xbc0], eax
mov dword [ebp - 0xbb8], ecx
cmp eax, 4
jge 0x41a433
mov dx, word [ebp + eax*2 - 0xb9c]
mov word [ecx], dx
add ecx, 2
inc eax
jmp 0x41a411
movzx eax, word [ebp - 0x22]
push eax
movzx ecx, word [ebp - 0x24]
push ecx
movzx edx, word [ebp - 0x26]
push edx
movzx eax, word [ebp - 0x28]
push eax
push str.___ProdVer:_____d._d._d._d_r_n
push edi
call fcn.0041a080
add esp, 0x18
mov eax, dword [ebp - 0xbac]
test eax, eax
je 0x41a469
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 0xbac], 0
push 0x616074
push edi
call fcn.0041a080
add esp, 8
mov byte [ebp - 0xbad], 1
jmp 0x41a493
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0xbad]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00546bdc
mov esp, ebp
pop ebp
ret