Function at 0x457926
Capabilities:
Get file version info

Disassembly:
push 0x574
mov eax, 0x4ae5c5
call fcn.0045edc9
mov edi, edx
mov ebx, ecx
push 0x208
lea eax, [ebp - 0x524]
push eax
push dword [edi + 4]
push dword [edi]
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x457c92
push 0xfde9
push 0xffffffffffffffff
lea edx, [ebp - 0x524]
lea ecx, [ebp - 0x548]
call fcn.00417443
pop ecx
pop ecx
push 0x4c9a18
push eax
push 0x4cb65c
xor esi, esi
push ebx
mov dword [ebp - 4], esi
call fcn.0040a771
pop ecx
pop ecx
push eax
call fcn.0040a60a
pop ecx
pop ecx
push eax
call fcn.0040a771
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x548]
call fcn.00409fcb
push 0xc
lea eax, [ebp - 0x580]
push eax
push dword [edi + 4]
push dword [edi]
call dword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
je 0x457a33
mov eax, dword [ebp - 0x57c]
push 8
pop ecx
mov dword [ebp - 0x538], eax
mov eax, dword [ebp - 0x580]
mov dword [ebp - 0x52c], eax
mov eax, 0x4c9a18
push eax
push str.___________Image_Size:_______0x
push eax
push str.___________Image_Base:_______0x
push ebx
mov dword [ebp - 0x534], ecx
mov dword [ebp - 0x528], ecx
call fcn.0040a771
pop ecx
pop ecx
lea edx, [ebp - 0x52c]
mov ecx, eax
call fcn.00457e34
push eax
call fcn.0040a771
pop ecx
pop ecx
push eax
call fcn.0040a771
pop ecx
pop ecx
lea edx, [ebp - 0x538]
mov ecx, eax
call fcn.00457e34
push eax
call fcn.0040a771
pop ecx
pop ecx
lea eax, [ebp - 0x570]
push eax
lea eax, [ebp - 0x524]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x564], eax
test eax, eax
je 0x457c92
inc eax
push eax
call fcn.0045e7d6
pop ecx
mov edi, eax
lea eax, [ebp - 0x524]
push edi
push dword [ebp - 0x564]
push dword [ebp - 0x570]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea eax, [ebp - 0x56c]
mov dword [ebp - 0x568], esi
push eax
lea eax, [ebp - 0x568]
push eax
push 0x4c6f34
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x457b7c
mov ecx, dword [ebp - 0x568]
push 0x4c9a18
movzx eax, word [ecx + 0x14]
push eax
movzx eax, word [ecx + 0x16]
push 0x2e
pop edx
push edx
push eax
movzx eax, word [ecx + 0x10]
push edx
push eax
movzx eax, word [ecx + 0x12]
push edx
push eax
movzx eax, word [ecx + 0xc]
push str.___________Product_Version:
push 0x4c9a18
push eax
movzx eax, word [ecx + 0xe]
push edx
push eax
movzx eax, word [ecx + 8]
push edx
push eax
movzx eax, word [ecx + 0xa]
push edx
push eax
push str.___________File_Version:
push ebx
call fcn.0040a771
pop ecx
pop ecx
push eax
call fcn.0040a638
pop ecx
pop ecx
push eax
call fcn.00414d1e
pop ecx
pop ecx
push eax
call fcn.0040a638
pop ecx
pop ecx
push eax
call fcn.00414d1e
pop ecx
pop ecx
push eax
call fcn.0040a638
pop ecx
pop ecx
push eax
call fcn.00414d1e
pop ecx
pop ecx
push eax
call fcn.0040a638
pop ecx
pop ecx
push eax
call fcn.0040a771
pop ecx
pop ecx
push eax
call fcn.0040a771
pop ecx
pop ecx
push eax
call fcn.0040a638
pop ecx
pop ecx
push eax
call fcn.00414d1e
pop ecx
pop ecx
push eax
call fcn.0040a638
pop ecx
pop ecx
push eax
call fcn.00414d1e
pop ecx
pop ecx
push eax
call fcn.0040a638
pop ecx
pop ecx
push eax
call fcn.00414d1e
pop ecx
pop ecx
push eax
call fcn.0040a638
pop ecx
pop ecx
push eax
call fcn.0040a771
pop ecx
pop ecx
mov dword [ebp - 0x53c], 0x4cb6a4
mov dword [ebp - 0x538], 0x4cb6f4
mov dword [ebp - 0x534], 0x4cb6dc
mov dword [ebp - 0x530], str.Company:
mov dword [ebp - 0x52c], str.File_Description:
mov dword [ebp - 0x528], str.Product_Name:
lea eax, [ebp - 0x56c]
push eax
lea eax, [ebp - 0x564]
push eax
push str.VarFileInfoTranslation
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x457c86
mov ecx, dword [ebp - 0x564]
push dword [ebp + esi - 0x53c]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x114]
push str.StringFileInfo_04x_04x_s
push eax
call fcn.00408d26
add esp, 0x14
lea eax, [ebp - 0x56c]
push eax
lea eax, [ebp - 0x574]
push eax
lea eax, [ebp - 0x114]
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x457c86
mov edx, dword [ebp - 0x574]
lea ecx, [ebp - 0x560]
push 0xfde9
push 0xffffffffffffffff
call fcn.00417443
pop ecx
pop ecx
push 0x4c9a18
push eax
mov dword [ebp - 4], 1
push dword [ebp + esi - 0x530]
push 0x4cb784
push ebx
call fcn.0040a771
pop ecx
pop ecx
push eax
call fcn.0040a771
pop ecx
pop ecx
push eax
call fcn.0040a60a
pop ecx
pop ecx
push eax
call fcn.0040a771
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x560]
call fcn.00409fcb
add esi, 4
cmp esi, 0xc
jb 0x457bb8
mov eax, ebx
call fcn.0045ed73
ret