Function at 0x60420c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x604214
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov esi, eax
mov eax, dword [ebp - 8]
mov edx, dword [0x5fc114]
call fcn.0040d1e4
xor eax, eax
push ebp
push 0x6048e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.0040bca4
lea eax, [ebp - 0x18]
push eax
mov eax, esi
call fcn.0040c824
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jbe 0x6048a9
mov eax, ebx
call fcn.0040712c
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x6048a2
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 0x60488a
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x6048f8
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x60488a
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 0x6048fc
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6043b7
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.0043060c
jmp 0x6043c4
lea eax, [ebp - 4]
mov edx, 0x60493c
call fcn.0040bcec
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x60495c
push dword [ebp - 4]
push 0x60498c
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.0040cb14
mov eax, dword [ebp - 0x28]
call fcn.0040c824
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x60440a
mov eax, dword [ebp - 8]
add eax, 0x10
mov edx, dword [ebp - 0x14]
call fcn.0040c884
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x60495c
push dword [ebp - 4]
push 0x6049b8
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040cb14
mov eax, dword [ebp - 0x2c]
call fcn.0040c824
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x604450
mov eax, dword [ebp - 8]
add eax, 0xc
mov edx, dword [ebp - 0x14]
call fcn.0040c884
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x60495c
push dword [ebp - 4]
push 0x6049e0
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040cb14
mov eax, dword [ebp - 0x30]
call fcn.0040c824
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x604496
mov eax, dword [ebp - 8]
add eax, 0x1c
mov edx, dword [ebp - 0x14]
call fcn.0040c884
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x60495c
push dword [ebp - 4]
push 0x604a10
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0040cb14
mov eax, dword [ebp - 0x34]
call fcn.0040c824
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6044dc
mov eax, dword [ebp - 8]
add eax, 0x24
mov edx, dword [ebp - 0x14]
call fcn.0040c884
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x60495c
push dword [ebp - 4]
push 0x604a3c
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.0040cb14
mov eax, dword [ebp - 0x38]
call fcn.0040c824
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x604522
mov eax, dword [ebp - 8]
add eax, 0x28
mov edx, dword [ebp - 0x14]
call fcn.0040c884
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x60495c
push dword [ebp - 4]
push 0x604a6c
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.0040cb14
mov eax, dword [ebp - 0x3c]
call fcn.0040c824
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x604568
mov eax, dword [ebp - 8]
add eax, 0x20
mov edx, dword [ebp - 0x14]
call fcn.0040c884
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x60495c
push dword [ebp - 4]
push 0x604a8c
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.0040cb14
mov eax, dword [ebp - 0x40]
call fcn.0040c824
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6045ae
mov eax, dword [ebp - 8]
add eax, 0x54
mov edx, dword [ebp - 0x14]
call fcn.0040c884
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x60495c
push dword [ebp - 4]
push 0x604ab4
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0040cb14
mov eax, dword [ebp - 0x44]
call fcn.0040c824
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6045f4
mov eax, dword [ebp - 8]
add eax, 0x14
mov edx, dword [ebp - 0x14]
call fcn.0040c884
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x60495c
push dword [ebp - 4]
push 0x604adc
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.0040cb14
mov eax, dword [ebp - 0x48]
call fcn.0040c824
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x60463a
mov eax, dword [ebp - 8]
add eax, 0x18
mov edx, dword [ebp - 0x14]
call fcn.0040c884
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x60495c
push dword [ebp - 4]
push 0x604b04
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.0040cb14
mov eax, dword [ebp - 0x4c]
call fcn.0040c824
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x604680
mov eax, dword [ebp - 8]
add eax, 0x2c
mov edx, dword [ebp - 0x14]
call fcn.0040c884
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x60495c
push dword [ebp - 4]
push 0x604b2c
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.0040cb14
mov eax, dword [ebp - 0x50]
call fcn.0040c824
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6046c6
mov eax, dword [ebp - 8]
add eax, 0x30
mov edx, dword [ebp - 0x14]
call fcn.0040c884
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, 0x604b5c
call fcn.00431adc
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
add eax, 8
call fcn.0040bca4
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, 0x604b7c
call fcn.00431adc
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 8]
add eax, 4
call fcn.0040bca4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x60495c
push dword [ebp - 4]
push 0x604ba0
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.0040cb14
mov eax, dword [ebp - 0x94]
call fcn.0040c824
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6047c4
mov eax, dword [ebp - 8]
add eax, 0x5c
mov edx, dword [ebp - 0x14]
call fcn.0040c884
mov eax, dword [ebp - 8]
cmp byte [eax + 0x58], 0
je 0x604886
mov eax, dword [ebp - 8]
cmp dword [eax + 0x40], 0
jbe 0x604849
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, 0x604bcc
call fcn.00431adc
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 8]
add eax, 4
call fcn.0040bca4
jmp 0x604886
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, 0x604bfc
call fcn.00431adc
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 8]
add eax, 4
call fcn.0040bca4
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6048a9
mov eax, dword [ebp - 0x20]
call fcn.0040717c
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6048ed
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.0040b914
lea eax, [ebp - 0x70]
call fcn.0040b8b4
lea eax, [ebp - 0x54]
mov edx, 0xc
call fcn.0040b914
lea eax, [ebp - 4]
call fcn.0040b8b4
pop eax
jmp eax