Function at 0x462607
Capabilities:
Get file version info

Disassembly:
push 0x574
mov eax, 0x4b9de4
call fcn.00469c08
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 0x462973
push 0xfde9
push 0xffffffffffffffff
lea edx, [ebp - 0x524]
lea ecx, [ebp - 0x548]
call fcn.0042218f
pop ecx
pop ecx
push 0x4d558c
push eax
push 0x4d71a0
xor esi, esi
push ebx
mov dword [ebp - 4], esi
call fcn.00412821
pop ecx
pop ecx
push eax
call fcn.004126ba
pop ecx
pop ecx
push eax
call fcn.00412821
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x548]
call fcn.0041207b
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 0x462714
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, 0x4d558c
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.00412821
pop ecx
pop ecx
lea edx, [ebp - 0x52c]
mov ecx, eax
call fcn.00462b15
push eax
call fcn.00412821
pop ecx
pop ecx
push eax
call fcn.00412821
pop ecx
pop ecx
lea edx, [ebp - 0x538]
mov ecx, eax
call fcn.00462b15
push eax
call fcn.00412821
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 0x462973
inc eax
push eax
call fcn.0046949c
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 0x4d2b00
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x46285d
mov ecx, dword [ebp - 0x568]
push 0x4d558c
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 0x4d558c
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.00412821
pop ecx
pop ecx
push eax
call fcn.004126e8
pop ecx
pop ecx
push eax
call fcn.0041f997
pop ecx
pop ecx
push eax
call fcn.004126e8
pop ecx
pop ecx
push eax
call fcn.0041f997
pop ecx
pop ecx
push eax
call fcn.004126e8
pop ecx
pop ecx
push eax
call fcn.0041f997
pop ecx
pop ecx
push eax
call fcn.004126e8
pop ecx
pop ecx
push eax
call fcn.00412821
pop ecx
pop ecx
push eax
call fcn.00412821
pop ecx
pop ecx
push eax
call fcn.004126e8
pop ecx
pop ecx
push eax
call fcn.0041f997
pop ecx
pop ecx
push eax
call fcn.004126e8
pop ecx
pop ecx
push eax
call fcn.0041f997
pop ecx
pop ecx
push eax
call fcn.004126e8
pop ecx
pop ecx
push eax
call fcn.0041f997
pop ecx
pop ecx
push eax
call fcn.004126e8
pop ecx
pop ecx
push eax
call fcn.00412821
pop ecx
pop ecx
mov dword [ebp - 0x53c], 0x4d71e8
mov dword [ebp - 0x538], 0x4d7238
mov dword [ebp - 0x534], 0x4d7220
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 0x462967
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.00410dd6
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 0x462967
mov edx, dword [ebp - 0x574]
lea ecx, [ebp - 0x560]
push 0xfde9
push 0xffffffffffffffff
call fcn.0042218f
pop ecx
pop ecx
push 0x4d558c
push eax
mov dword [ebp - 4], 1
push dword [ebp + esi - 0x530]
push 0x4d72c8
push ebx
call fcn.00412821
pop ecx
pop ecx
push eax
call fcn.00412821
pop ecx
pop ecx
push eax
call fcn.004126ba
pop ecx
pop ecx
push eax
call fcn.00412821
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x560]
call fcn.0041207b
add esi, 4
cmp esi, 0xc
jb 0x462899
mov eax, ebx
call fcn.00469bb2
ret