Function at 0x425090
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46172f
mov eax, dword fs:[0]
push eax
sub esp, 0x660
mov eax, dword [0x47f534]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x658], ebx
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
push eax
push 0x46e2b0
lea ecx, [ebp - 0x51c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x650], esi
mov edx, dword [ebx + 4]
cmp edx, dword [0x468618]
je 0x425101
mov eax, dword [ebx]
mov ecx, ebx
mov edx, dword [eax + 0x4c]
call edx
mov eax, dword [ebx]
push esi
push 0x40
mov ecx, dword [ebp + 8]
push ecx
mov ecx, ebx
mov edx, dword [eax + 0x20]
call edx
test eax, eax
je 0x4254d6
mov byte [ebp - 4], 1
mov dword [ebp - 0x644], esi
mov dword [ebp - 0x640], esi
mov dword [ebp - 0x63c], esi
mov dword [ebp - 0x638], esi
mov dword [ebp - 0x634], esi
mov dword [ebp - 0x630], esi
lea eax, [ebp - 0x644]
push eax
mov ecx, ebx
call fcn.00437996
test eax, eax
je 0x4251f7
lea ecx, [ebp - 0x644]
push ecx
mov esi, str._Y__m__d__H:_M:_S
lea edi, [ebp - 0x648]
call fcn.0040c9d0
mov byte [ebp - 4], 2
push eax
lea ecx, [ebx + 0x40]
call fcn.00403790
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.00403830
lea edx, [ebp - 0x63c]
push edx
lea edi, [ebp - 0x648]
call fcn.0040c9d0
mov byte [ebp - 4], 3
push eax
lea ecx, [ebx + 0x44]
call fcn.00403790
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.00403830
lea eax, [ebp - 0x634]
push eax
lea edi, [ebp - 0x648]
call fcn.0040c9d0
mov byte [ebp - 4], 4
push eax
lea ecx, [ebx + 0x48]
call fcn.00403790
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.00403830
mov eax, dword [ebp - 0x62c]
mov dword [ebx + 0x54], eax
push eax
push 0x46ce94
lea ecx, [ebx + 0x4c]
push ecx
call fcn.00402ee0
add esp, 0xc
xor esi, esi
mov dword [ebp - 4], esi
jmp 0x42521b
push esi
lea edx, [ebp - 0x51c]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x64c], eax
cmp eax, esi
ja 0x425272
lea eax, [ebp - 0x648]
push eax
mov ecx, ebx
call fcn.00437b98
mov byte [ebp - 4], 6
lea ecx, [ebx + 0x38]
push eax
call fcn.004037b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x648]
call fcn.00403830
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403830
xor eax, eax
jmp 0x4254f5
lea esi, [eax + 1]
push esi
call fcn.0042a715
add esp, 4
mov edi, eax
mov dword [ebp - 0x648], edi
test edi, edi
jne 0x4252a1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403830
lea eax, [edi + 8]
jmp 0x4254f5
push esi
push 0
push edi
call fcn.0044c470
add esp, 0xc
push edi
mov ecx, dword [ebp - 0x64c]
push ecx
push 0
lea edx, [ebp - 0x51c]
push edx
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x664]
push eax
lea ecx, [ebp - 0x65c]
push ecx
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueA
xor esi, esi
mov dword [ebp - 0x64c], esi
mov edx, dword [ebp - 0x664]
shr edx, 2
cmp esi, edx
jae 0x4254c2
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x65c]
movzx ecx, word [eax + esi*4 + 2]
push ecx
movzx edx, word [eax + esi*4]
push edx
push str.StringFileInfo_04x_04xCompanyName
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x660]
push ecx
lea edx, [ebp - 0x654]
push edx
lea eax, [ebp - 0x11c]
push eax
push edi
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [ebp - 0x654]
push ecx
lea ecx, [ebx + 0x50]
call fcn.004034c0
mov dword [ebp - 4], 0
jmp 0x42537b
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x65c]
movzx edx, word [eax + esi*4 + 2]
push edx
movzx eax, word [eax + esi*4]
push eax
push str.StringFileInfo_04x_04xProductVersion
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x660]
push edx
lea eax, [ebp - 0x654]
push eax
lea ecx, [ebp - 0x11c]
push ecx
push edi
call sub.VERSION.dll_VerQueryValueA
mov edx, dword [ebp - 0x654]
push edx
lea ecx, [ebx + 0x3c]
call fcn.004034c0
mov dword [ebp - 4], 0
jmp 0x425401
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x65c]
movzx ecx, word [eax + esi*4 + 2]
push ecx
movzx edx, word [eax + esi*4]
push edx
push str.StringFileInfo_04x_04xFileDescription
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x660]
push ecx
lea edx, [ebp - 0x654]
push edx
lea eax, [ebp - 0x11c]
push eax
push edi
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [ebp - 0x654]
push ecx
lea ecx, [ebx + 0x38]
call fcn.004034c0
mov dword [ebp - 4], 0
jmp 0x425487
mov edx, dword [ebx + 0x38]
cmp dword [edx - 0xc], 0
jne 0x4254ba
lea eax, [ebp - 0x668]
push eax
mov ecx, ebx
call fcn.00437b98
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebx + 0x38]
call fcn.004037b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x668]
call fcn.00403830
add esi, 1
jmp 0x4252de
push edi
call fcn.0042a71a
add esp, 4
mov edx, dword [ebx]
mov ecx, ebx
mov eax, dword [edx + 0x4c]
call eax
jmp 0x4254e0
mov dword [ebp - 0x650], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403830
mov eax, dword [ebp - 0x650]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00448f05
mov esp, ebp
pop ebp
ret 4