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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454b90
push 0x43918c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbac
mov eax, dword [0x45b990]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0xbbc], eax
mov esi, ecx
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x358]
rep stosd dword es:[edi], eax
mov dword [ebp - 4], eax
push 0x206
lea ecx, [ebp - 0x358]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x42f1d1
mov dword [ebp - 0xbb4], esi
cmp word [esi], 0x5a4d
jne 0x42f1d1
mov ebx, dword [esi + 0x3c]
add ebx, esi
mov dword [ebp - 0xbb8], ebx
cmp dword [ebx], 0x4550
jne 0x42f1d1
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea edx, [ebp - 0x358]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0xba8], esi
mov ecx, 0x19
xor eax, eax
lea edi, [ebp - 0x88]
rep stosd dword es:[edi], eax
xor edi, edi
mov dword [ebp - 0xba4], edi
cmp esi, 0xffffffff
je 0x42f094
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [ebp - 0xba4], edi
lea eax, [ebp - 0xbb0]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x42f08d
mov ecx, dword [ebp - 0xbac]
push ecx
mov edx, dword [ebp - 0xbb0]
push edx
push 0x63
lea esi, [ebp - 0x88]
call fcn.0042f200
mov esi, dword [ebp - 0xba8]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0x50]
push eax
mov ecx, dword [ebx + 0x34]
push ecx
push str.Image_Base:_0x_08x__Image_Size:_0x_08x_r_n
call fcn.0042e720
mov edx, dword [ebx + 8]
push edx
mov eax, dword [ebx + 0x58]
push eax
push str.Checksum:___0x_08x__Time_Stamp:_0x_08x_r_n
call fcn.0042e720
lea ecx, [ebp - 0x88]
push ecx
push edi
push str.File_Size:____10d__File_Time:___s_r_n
call fcn.0042e720
push str.Version_Information:_r_n
call fcn.0042e720
add esp, 0x28
lea edx, [ebp - 0x358]
push edx
lea esi, [ebp - 0xba0]
call fcn.0042ffb0
mov eax, esi
push eax
mov eax, 0xc7
lea edx, [ebp - 0x150]
call fcn.00430200
lea ecx, [ebp - 0x150]
push ecx
push str.___Company:_____s_r_n
call fcn.0042e720
add esp, 8
mov edx, esi
push edx
mov eax, 0xc7
lea edx, [ebp - 0x150]
call fcn.00430280
lea eax, [ebp - 0x150]
push eax
push str.___Product:_____s_r_n
call fcn.0042e720
add esp, 8
mov ecx, esi
push ecx
mov eax, 0xc7
lea edx, [ebp - 0x150]
call fcn.00430240
lea edx, [ebp - 0x150]
push edx
push str.___FileDesc:____s_r_n
call fcn.0042e720
add esp, 8
lea eax, [ebp - 0x24]
mov ecx, esi
call fcn.004301a0
movzx eax, word [ebp - 0x1e]
push eax
movzx ecx, word [ebp - 0x20]
push ecx
movzx edx, word [ebp - 0x22]
push edx
movzx eax, word [ebp - 0x24]
push eax
push str.___FileVer:_____d._d._d._d_r_n
call fcn.0042e720
add esp, 0x14
lea eax, [ebp - 0x24]
mov ecx, esi
call fcn.004301d0
movzx ecx, word [ebp - 0x1e]
push ecx
movzx edx, word [ebp - 0x20]
push edx
movzx eax, word [ebp - 0x22]
push eax
movzx ecx, word [ebp - 0x24]
push ecx
push str.___ProdVer:_____d._d._d._d_r_n
call fcn.0042e720
add esp, 0x14
call fcn.00430180
push 0x4535f4
call fcn.0042e720
add esp, 4
jmp 0x42f1d1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004395fe
mov esp, ebp
pop ebp
ret 4