Function at 0x425070
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x7c
mov dword [ebp - 0x38], 0x704438
mov dword [ebp - 0x34], 0x718670
mov dword [ebp - 0x30], ebp
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x30], 0x425383
lea esi, [ebp - 0x54]
mov eax, esi
call fcn.007050a1
xor ebx, ebx
cmp dword [ebp + 0x10], 0
je 0x4252e7
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4252e7
cmp dword [ebp + 0x14], 0
je 0x4252e7
mov dword [ebp - 0x4c], 0xffffffff
lea eax, [ebp - 0x64]
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.VERSION.DLL_GetFileVersionInfoSizeW
sub esp, 8
mov esi, eax
test esi, esi
je 0x4252c9
mov eax, esi
add eax, 0x800
mov dword [ebp - 0x4c], 0xffffffff
mov dword [esp], eax
call fcn.006e864c
mov ebx, eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x4c], 0xffffffff
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.VERSION.DLL_GetFileVersionInfoW
sub esp, 0x10
test eax, eax
je 0x4252d6
mov dword [ebp - 0x4c], 0xffffffff
lea eax, [ebp - 0x14]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x5c]
mov dword [esp + 8], eax
mov dword [esp], ebx
mov dword [esp + 4], str.VarFileInfoTranslation
call sub.VERSION.DLL_VerQueryValueW
sub esp, 0x10
test eax, eax
lea esi, [ebp - 0x54]
je 0x4252d0
mov eax, dword [ebp - 0x14]
and eax, 0xfffffffc
cmp eax, 4
jne 0x4252d0
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.006efc40
mov esi, eax
sub esi, 0xffffff80
mov ecx, esi
add ecx, ecx
mov eax, 0xffffffff
jb 0x425182
mov eax, ecx
mov dword [ebp - 0x4c], 0xffffffff
mov dword [esp], eax
call fcn.006e864c
mov edi, eax
mov eax, dword [ebp - 0x5c]
movzx ecx, word [eax]
movzx eax, word [eax + 2]
mov dword [ebp - 0x4c], 0xffffffff
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
mov dword [esp], edi
mov dword [esp + 8], str.StringFileInfo_04x_04x_s
call fcn.004253c8
test eax, eax
js 0x4252f9
mov dword [ebp - 0x4c], 0xffffffff
lea eax, [ebp - 0x14]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x60]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
call sub.VERSION.DLL_VerQueryValueW
sub esp, 0x10
test eax, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edi
je 0x425311
mov eax, dword [ebp - 0x14]
lea ecx, [eax + eax + 0x80]
add ecx, ecx
mov eax, 0xffffffff
jb 0x425216
mov eax, ecx
mov dword [ebp - 0x4c], 0xffffffff
mov dword [esp], eax
call fcn.006e864c
mov esi, eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], 0xffffffff
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.006efc5c
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x58], esi
mov dword [esp + 4], esi
lea esi, [ebp - 0x10]
mov dword [esp], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xffffffff
call fcn.00706f34
mov dword [ebp - 0x4c], 2
mov dword [esp + 4], esi
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call fcn.00706f90
lea eax, [ebp - 0x10]
mov dword [esp], eax
call fcn.00406480
mov eax, dword [ebp - 0x1c]
test eax, eax
lea esi, [ebp - 0x54]
mov edi, dword [ebp - 0x18]
je 0x4252aa
mov dword [esp], eax
call fcn.006e2f5c
test edi, edi
je 0x4252b6
mov dword [esp], edi
call fcn.006e2f5c
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x42537c
mov dword [esp], eax
jmp 0x425377
xor ebx, ebx
lea esi, [ebp - 0x54]
jmp 0x4252e7
test ebx, ebx
jne 0x4252dd
jmp 0x4252e5
test ebx, ebx
lea esi, [ebp - 0x54]
je 0x4252e5
mov dword [esp], ebx
call fcn.006e2f5c
xor ebx, ebx
mov dword [esp], esi
call fcn.007050c2
mov eax, ebx
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret
test ebx, ebx
je 0x425305
mov dword [esp], ebx
call fcn.006e2f5c
test edi, edi
lea esi, [ebp - 0x54]
je 0x4252e5
mov dword [esp], edi
jmp 0x4252e0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x4c], 0xffffffff
lea esi, [ebp - 0x10]
mov dword [esp], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x71853c
call fcn.00706e98
mov dword [ebp - 0x4c], 1
mov dword [esp + 4], esi
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call fcn.00706f90
lea eax, [ebp - 0x10]
mov dword [esp], eax
call fcn.00406480
mov eax, dword [ebp - 0x1c]
test eax, eax
lea esi, [ebp - 0x54]
mov edi, dword [ebp - 0x18]
je 0x425370
mov dword [esp], eax
call fcn.006e2f5c
test edi, edi
je 0x42537c
mov dword [esp], edi
call fcn.006e2f5c
mov bl, 1
jmp 0x4252e7