Function at 0x66441c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x664424
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov esi, eax
mov eax, dword [ebp - 8]
mov edx, dword [0x65c63c]
call fcn.0040c428
xor eax, eax
push ebp
push 0x664af6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.0040af2c
lea eax, [ebp - 0x18]
push eax
mov eax, esi
call fcn.0040b9ec
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jbe 0x664ab9
mov eax, ebx
call fcn.004071ac
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x664ab2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x20]
push eax
push ebx
mov eax, dword [ebp - 0x18]
push eax
push edi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x664a9a
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x664b08
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x664a9a
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 8]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp - 8]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
mov edx, dword [ebp - 8]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp - 8]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp - 8]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp - 8]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0x14]
mov edx, dword [ebp - 8]
mov dword [edx + 0x50], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1c]
and eax, 2
cmp eax, 2
sete al
mov edx, dword [ebp - 8]
mov byte [edx + 0x58], al
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1c]
and eax, 1
cmp eax, 1
sete al
mov edx, dword [ebp - 8]
mov byte [edx + 0x59], al
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1c]
and eax, 8
cmp eax, 8
sete al
mov edx, dword [ebp - 8]
mov byte [edx + 0x5a], al
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x664b0c
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6645c7
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
mov eax, dword [ebp - 0x10]
movzx esi, word [eax]
mov eax, ebx
shr eax, 0x10
movzx eax, ax
movzx edx, si
shl edx, 0x10
or eax, edx
lea ecx, [ebp - 4]
mov edx, 8
call fcn.004279fc
jmp 0x6645d4
lea eax, [ebp - 4]
mov edx, 0x664b4c
call fcn.0040af74
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x664b6c
push dword [ebp - 4]
push 0x664b9c
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.0040bcdc
mov eax, dword [ebp - 0x28]
call fcn.0040b9ec
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x66461a
mov eax, dword [ebp - 8]
add eax, 0x10
mov edx, dword [ebp - 0x14]
call fcn.0040ba50
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x664b6c
push dword [ebp - 4]
push 0x664bc8
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040bcdc
mov eax, dword [ebp - 0x2c]
call fcn.0040b9ec
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x664660
mov eax, dword [ebp - 8]
add eax, 0xc
mov edx, dword [ebp - 0x14]
call fcn.0040ba50
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x664b6c
push dword [ebp - 4]
push 0x664bf0
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040bcdc
mov eax, dword [ebp - 0x30]
call fcn.0040b9ec
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6646a6
mov eax, dword [ebp - 8]
add eax, 0x1c
mov edx, dword [ebp - 0x14]
call fcn.0040ba50
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x664b6c
push dword [ebp - 4]
push 0x664c20
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0040bcdc
mov eax, dword [ebp - 0x34]
call fcn.0040b9ec
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6646ec
mov eax, dword [ebp - 8]
add eax, 0x24
mov edx, dword [ebp - 0x14]
call fcn.0040ba50
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x664b6c
push dword [ebp - 4]
push 0x664c4c
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.0040bcdc
mov eax, dword [ebp - 0x38]
call fcn.0040b9ec
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x664732
mov eax, dword [ebp - 8]
add eax, 0x28
mov edx, dword [ebp - 0x14]
call fcn.0040ba50
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x664b6c
push dword [ebp - 4]
push 0x664c7c
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.0040bcdc
mov eax, dword [ebp - 0x3c]
call fcn.0040b9ec
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x664778
mov eax, dword [ebp - 8]
add eax, 0x20
mov edx, dword [ebp - 0x14]
call fcn.0040ba50
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x664b6c
push dword [ebp - 4]
push 0x664c9c
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.0040bcdc
mov eax, dword [ebp - 0x40]
call fcn.0040b9ec
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6647be
mov eax, dword [ebp - 8]
add eax, 0x54
mov edx, dword [ebp - 0x14]
call fcn.0040ba50
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x664b6c
push dword [ebp - 4]
push 0x664cc4
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0040bcdc
mov eax, dword [ebp - 0x44]
call fcn.0040b9ec
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x664804
mov eax, dword [ebp - 8]
add eax, 0x14
mov edx, dword [ebp - 0x14]
call fcn.0040ba50
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x664b6c
push dword [ebp - 4]
push 0x664cec
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.0040bcdc
mov eax, dword [ebp - 0x48]
call fcn.0040b9ec
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x66484a
mov eax, dword [ebp - 8]
add eax, 0x18
mov edx, dword [ebp - 0x14]
call fcn.0040ba50
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x664b6c
push dword [ebp - 4]
push 0x664d14
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.0040bcdc
mov eax, dword [ebp - 0x4c]
call fcn.0040b9ec
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x664890
mov eax, dword [ebp - 8]
add eax, 0x2c
mov edx, dword [ebp - 0x14]
call fcn.0040ba50
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x664b6c
push dword [ebp - 4]
push 0x664d3c
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.0040bcdc
mov eax, dword [ebp - 0x50]
call fcn.0040b9ec
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6648d6
mov eax, dword [ebp - 8]
add eax, 0x30
mov edx, dword [ebp - 0x14]
call fcn.0040ba50
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0
lea edx, [ebp - 0x6c]
mov ecx, 2
mov eax, 0x664d6c
call fcn.00428e90
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
add eax, 8
call fcn.0040af2c
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x8c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0
lea edx, [ebp - 0x90]
mov ecx, 3
mov eax, 0x664d8c
call fcn.00428e90
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 8]
add eax, 4
call fcn.0040af2c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x664b6c
push dword [ebp - 4]
push 0x664db0
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.0040bcdc
mov eax, dword [ebp - 0x94]
call fcn.0040b9ec
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6649d4
mov eax, dword [ebp - 8]
add eax, 0x5c
mov edx, dword [ebp - 0x14]
call fcn.0040ba50
mov eax, dword [ebp - 8]
cmp byte [eax + 0x58], 0
je 0x664a96
mov eax, dword [ebp - 8]
cmp dword [eax + 0x40], 0
jbe 0x664a59
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x8c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0
lea edx, [ebp - 0x90]
mov ecx, 3
mov eax, 0x664ddc
call fcn.00428e90
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 8]
add eax, 4
call fcn.0040af2c
jmp 0x664a96
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 0xa0], 0x11
lea edx, [ebp - 0xa4]
xor ecx, ecx
mov eax, 0x664e0c
call fcn.00428e90
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 8]
add eax, 4
call fcn.0040af2c
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x664ab9
mov eax, dword [ebp - 0x20]
call fcn.004071e0
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x664afd
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.0040abac
lea eax, [ebp - 0x70]
call fcn.0040ab4c
lea eax, [ebp - 0x54]
mov edx, 0xc
call fcn.0040abac
lea eax, [ebp - 4]
call fcn.0040ab4c
pop eax
jmp eax