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

Disassembly:
push ebp
lea ebp, [esp - 0x1af0]
mov eax, 0x1af0
call fcn.00491ff0
push 0xfffffffffffffffe
push 0x4beef0
push 0x4913d1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4d4028]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x1aec], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, ecx
mov edi, edx
mov byte [ebp - 0x19], 0
push 0x410
xor esi, esi
push esi
lea eax, [ebp + 0x147c]
push eax
call fcn.00491fe0
add esp, 0xc
mov dword [ebp - 4], esi
push 0x40e
lea eax, [ebp + 0x147c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jbe 0x48ea6f
cmp word [edi], 0x5a4d
je 0x48e81d
mov dword [ebp - 4], 0xfffffffe
xor al, al
jmp 0x48ea79
mov eax, dword [edi + 0x3c]
lea edi, [edi + eax*2]
cmp dword [edi], 0x4550
jne 0x48e80f
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea eax, [ebp + 0x147c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x28], eax
mov word [ebp + 0x1a1c], si
mov dword [ebp + 0x1ae8], esi
cmp eax, 0xffffffff
je 0x48e89a
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp + 0x1ae8], eax
lea eax, [ebp - 0x38]
push eax
push esi
push esi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x48e891
push dword [ebp - 0x34]
push dword [ebp - 0x38]
lea esi, [ebp + 0x1a1c]
call fcn.0048e70e
pop ecx
pop ecx
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0x1af8]
push str.Module__d_r_n
push ebx
call fcn.0048e62e
lea eax, [ebp + 0x147c]
push eax
push str._s_r_n
push ebx
call fcn.0048e62e
push dword [edi + 0x50]
push dword [edi + 0x34]
push str.Image_Base:_0x_08x__Image_Size:_0x_08x_r_n
push ebx
call fcn.0048e62e
push dword [edi + 8]
push dword [edi + 0x58]
push str.Checksum:___0x_08x__Time_Stamp:_0x_08x_r_n
push ebx
call fcn.0048e62e
lea eax, [ebp + 0x1a1c]
push eax
push dword [ebp + 0x1ae8]
push str.File_Size:____10d__File_Time:___s_r_n
push ebx
call fcn.0048e62e
add esp, 0x48
push str.Version_Information:_r_n
push ebx
call fcn.0048e62e
pop ecx
pop ecx
lea eax, [ebp + 0x147c]
push eax
lea esi, [ebp]
call fcn.0048f610
lea eax, [ebp + 0x188c]
push eax
mov eax, esi
push eax
call fcn.0048f800
lea eax, [ebp + 0x188c]
push eax
push str.___Company:_____s_r_n
push ebx
call fcn.0048e62e
add esp, 0xc
lea eax, [ebp + 0x188c]
push eax
mov eax, esi
push eax
call fcn.0048f87a
lea eax, [ebp + 0x188c]
push eax
push str.___Product:_____s_r_n
push ebx
call fcn.0048e62e
add esp, 0xc
lea eax, [ebp + 0x188c]
push eax
mov eax, esi
push eax
call fcn.0048f83d
lea eax, [ebp + 0x188c]
push eax
push str.___FileDesc:____s_r_n
push ebx
call fcn.0048e62e
add esp, 0xc
lea eax, [ebp + 0x1ae4]
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x24], 4
jge 0x48e9a8
mov ecx, dword [ebp - 0x24]
mov cx, word [ebp + ecx*2 + 8]
mov word [eax], cx
inc eax
inc eax
inc dword [ebp - 0x24]
jmp 0x48e98d
movzx eax, word [ebp + 0x1aea]
push eax
movzx eax, word [ebp + 0x1ae8]
push eax
movzx eax, word [ebp + 0x1ae6]
push eax
movzx eax, word [ebp + 0x1ae4]
push eax
push str.___FileVer:_____d._d._d._d_r_n
push ebx
call fcn.0048e62e
add esp, 0x18
lea eax, [ebp + 0x1ae4]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x20], 4
jge 0x48e9fa
mov ecx, dword [ebp - 0x20]
mov cx, word [ebp + ecx*2 + 0x10]
mov word [eax], cx
inc eax
inc eax
inc dword [ebp - 0x20]
jmp 0x48e9df
movzx eax, word [ebp + 0x1aea]
push eax
movzx eax, word [ebp + 0x1ae8]
push eax
movzx eax, word [ebp + 0x1ae6]
push eax
movzx eax, word [ebp + 0x1ae4]
push eax
push str.___ProdVer:_____d._d._d._d_r_n
push ebx
call fcn.0048e62e
add esp, 0x18
cmp dword [ebp + 0x1af8], 1
jne 0x48ea44
movzx eax, word [ebp + 0x28]
push eax
push str.___Language:____d_r_n
push ebx
call fcn.0048e62e
add esp, 0xc
cmp dword [ebp], esi
je 0x48ea52
push dword [ebp]
call fcn.004903a8
pop ecx
mov dword [ebp], esi
push 0x4a7f18
push ebx
call fcn.0048e62e
pop ecx
pop ecx
mov byte [ebp - 0x19], 1
jmp 0x48ea6f
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1aec]
xor ecx, ebp
call fcn.00490f79
add ebp, 0x1af0
leave
ret