Function at 0x6846e4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x6846ec
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov esi, eax
mov eax, dword [ebp - 8]
mov edx, dword [0x67d774]
call fcn.0040d214
xor eax, eax
push ebp
push 0x684dbe
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.0040bd94
lea eax, [ebp - 0x18]
push eax
mov eax, esi
call fcn.0040c8a8
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jbe 0x684d81
mov eax, ebx
call fcn.00407300
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x684d7a
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 0x684d62
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x684dd0
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x684d62
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 0x684dd4
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x68488f
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.0042a2b4
jmp 0x68489c
lea eax, [ebp - 4]
mov edx, 0x684e14
call fcn.0040bddc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x684e34
push dword [ebp - 4]
push 0x684e64
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.0040cb94
mov eax, dword [ebp - 0x28]
call fcn.0040c8a8
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6848e2
mov eax, dword [ebp - 8]
add eax, 0x10
mov edx, dword [ebp - 0x14]
call fcn.0040c908
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x684e34
push dword [ebp - 4]
push 0x684e90
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040cb94
mov eax, dword [ebp - 0x2c]
call fcn.0040c8a8
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x684928
mov eax, dword [ebp - 8]
add eax, 0xc
mov edx, dword [ebp - 0x14]
call fcn.0040c908
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x684e34
push dword [ebp - 4]
push 0x684eb8
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040cb94
mov eax, dword [ebp - 0x30]
call fcn.0040c8a8
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x68496e
mov eax, dword [ebp - 8]
add eax, 0x1c
mov edx, dword [ebp - 0x14]
call fcn.0040c908
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x684e34
push dword [ebp - 4]
push 0x684ee8
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0040cb94
mov eax, dword [ebp - 0x34]
call fcn.0040c8a8
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6849b4
mov eax, dword [ebp - 8]
add eax, 0x24
mov edx, dword [ebp - 0x14]
call fcn.0040c908
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x684e34
push dword [ebp - 4]
push 0x684f14
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.0040cb94
mov eax, dword [ebp - 0x38]
call fcn.0040c8a8
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6849fa
mov eax, dword [ebp - 8]
add eax, 0x28
mov edx, dword [ebp - 0x14]
call fcn.0040c908
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x684e34
push dword [ebp - 4]
push 0x684f44
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.0040cb94
mov eax, dword [ebp - 0x3c]
call fcn.0040c8a8
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x684a40
mov eax, dword [ebp - 8]
add eax, 0x20
mov edx, dword [ebp - 0x14]
call fcn.0040c908
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x684e34
push dword [ebp - 4]
push 0x684f64
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.0040cb94
mov eax, dword [ebp - 0x40]
call fcn.0040c8a8
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x684a86
mov eax, dword [ebp - 8]
add eax, 0x54
mov edx, dword [ebp - 0x14]
call fcn.0040c908
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x684e34
push dword [ebp - 4]
push 0x684f8c
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0040cb94
mov eax, dword [ebp - 0x44]
call fcn.0040c8a8
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x684acc
mov eax, dword [ebp - 8]
add eax, 0x14
mov edx, dword [ebp - 0x14]
call fcn.0040c908
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x684e34
push dword [ebp - 4]
push 0x684fb4
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.0040cb94
mov eax, dword [ebp - 0x48]
call fcn.0040c8a8
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x684b12
mov eax, dword [ebp - 8]
add eax, 0x18
mov edx, dword [ebp - 0x14]
call fcn.0040c908
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x684e34
push dword [ebp - 4]
push 0x684fdc
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.0040cb94
mov eax, dword [ebp - 0x4c]
call fcn.0040c8a8
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x684b58
mov eax, dword [ebp - 8]
add eax, 0x2c
mov edx, dword [ebp - 0x14]
call fcn.0040c908
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x684e34
push dword [ebp - 4]
push 0x685004
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.0040cb94
mov eax, dword [ebp - 0x50]
call fcn.0040c8a8
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x684b9e
mov eax, dword [ebp - 8]
add eax, 0x30
mov edx, dword [ebp - 0x14]
call fcn.0040c908
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, 0x685034
call fcn.0042b64c
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
add eax, 8
call fcn.0040bd94
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, 0x685054
call fcn.0042b64c
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 8]
add eax, 4
call fcn.0040bd94
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x684e34
push dword [ebp - 4]
push 0x685078
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.0040cb94
mov eax, dword [ebp - 0x94]
call fcn.0040c8a8
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x684c9c
mov eax, dword [ebp - 8]
add eax, 0x5c
mov edx, dword [ebp - 0x14]
call fcn.0040c908
mov eax, dword [ebp - 8]
cmp byte [eax + 0x58], 0
je 0x684d5e
mov eax, dword [ebp - 8]
cmp dword [eax + 0x40], 0
jbe 0x684d21
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, 0x6850a4
call fcn.0042b64c
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 8]
add eax, 4
call fcn.0040bd94
jmp 0x684d5e
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, 0x6850d4
call fcn.0042b64c
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 8]
add eax, 4
call fcn.0040bd94
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x684d81
mov eax, dword [ebp - 0x20]
call fcn.00407334
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x684dc5
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.0040ba04
lea eax, [ebp - 0x70]
call fcn.0040b9a4
lea eax, [ebp - 0x54]
mov edx, 0xc
call fcn.0040ba04
lea eax, [ebp - 4]
call fcn.0040b9a4
pop eax
jmp eax