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

Disassembly:
push ebx
mov ebx, esp
and esp, 0xfffffff0
push ebp
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e73c
push 0x418c6a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc8
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], esi
mov eax, 0x200
pxor xmm0, xmm0
mov byte [ebp - 0x28], 0
movq qword [ebp - 0x48], xmm0
movaps xmmword [ebp + eax - 0x258], xmm0
movaps xmmword [ebp + eax - 0x268], xmm0
movaps xmmword [ebp + eax - 0x278], xmm0
movaps xmmword [ebp + eax - 0x288], xmm0
sub eax, 0x40
jne 0x4156df
mov dword [ebp - 4], 0
lea edi, [ebp - 0x248]
push 0x206
push edi
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x415995
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx edx, word [eax]
cmp edx, 0x5a4d
je 0x415758
xor eax, eax
mov esp, dword [ebp - 0x18]
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov edx, dword [ebp - 0x34]
add edx, dword [eax + 0x3c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0x4550
je 0x415788
xor eax, eax
mov esp, dword [ebp - 0x18]
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor eax, eax
push eax
push 0x80
push 3
push eax
push 1
push Ordinal_3
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x40], eax
xor eax, eax
mov byte [ebp - 0x2c8], al
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x40], 0xffffffff
jne 0x4157bd
lea esi, [ebp - 0x2c8]
jmp 0x41580f
push 0
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x3c], eax
lea esi, [ebp - 0x264]
push esi
xor eax, eax
push eax
push eax
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x4157eb
lea esi, [ebp - 0x2c8]
jmp 0x415806
lea esi, [ebp - 0x2c8]
push dword [ebp - 0x260]
push dword [ebp - 0x264]
push esi
call fcn.00415120
add esp, 0xc
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebx + 0x10]
push str.Module__d_r_n
push dword [ebx + 8]
call fcn.004151a0
push edi
push str._s_r_n
push dword [ebx + 8]
call fcn.004151a0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
push dword [eax + 0x50]
push dword [edx + 0x34]
push str.Image_Base:_0x_08x__Image_Size:_0x_08x_r_n
push dword [ebx + 8]
call fcn.004151a0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
push dword [eax + 8]
push dword [edx + 0x58]
push str.Checksum:___0x_08x__Time_Stamp:_0x_08x_r_n
push dword [ebx + 8]
call fcn.004151a0
push esi
push dword [ebp - 0x3c]
push str.File_Size:____10d__File_Time:___s_r_n
push dword [ebx + 8]
call fcn.004151a0
push str.Version_Information:_r_n
push dword [ebx + 8]
call fcn.004151a0
add esp, 0x50
push edi
lea ecx, [ebp - 0xbd8]
call fcn.00414a80
lea esi, [ebp - 0x390]
push 0xc7
push esi
lea ecx, [ebp - 0xbd8]
call fcn.00414960
push esi
push str.___Company:_____s_r_n
push dword [ebx + 8]
call fcn.004151a0
add esp, 0xc
push 0xc7
push esi
lea ecx, [ebp - 0xbd8]
call fcn.00414820
push esi
push str.___Product:_____s_r_n
push dword [ebx + 8]
call fcn.004151a0
add esp, 0xc
push 0xc7
push esi
lea ecx, [ebp - 0xbd8]
call fcn.004148c0
push esi
push str.___FileDesc:____s_r_n
push dword [ebx + 8]
call fcn.004151a0
add esp, 0xc
lea esi, [ebp - 0x25c]
push esi
lea ecx, [ebp - 0xbd8]
call fcn.00414a30
movzx edi, word [ebp - 0x25c]
movzx ecx, word [ebp - 0x25a]
movzx edx, word [ebp - 0x258]
movzx eax, word [ebp - 0x256]
push eax
push edx
push ecx
push edi
push str.___FileVer:_____d._d._d._d_r_n
push dword [ebx + 8]
call fcn.004151a0
add esp, 0x18
push esi
lea ecx, [ebp - 0xbd8]
call fcn.00414a00
movzx esi, word [ebp - 0x25c]
movzx ecx, word [ebp - 0x25a]
movzx edx, word [ebp - 0x258]
movzx eax, word [ebp - 0x256]
push eax
push edx
push ecx
push esi
push str.___ProdVer:_____d._d._d._d_r_n
push dword [ebx + 8]
call fcn.004151a0
add esp, 0x18
lea ecx, [ebp - 0xbd8]
call fcn.00414a60
push 0x422510
push dword [ebx + 8]
call fcn.004151a0
add esp, 8
mov byte [ebp - 0x28], 1
mov dword [ebp - 4], 0xffffffff
movzx eax, byte [ebp - 0x28]
mov esp, dword [ebp - 0x18]
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret