Function at 0x694204
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x69420d
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00406fbc
xor eax, eax
push ebp
push 0x6944bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x2d], 0
cmp dword [ebp - 8], 0
jne 0x694256
mov dl, 1
mov eax, dword [0x43ce34]
call fcn.0044b7d0
mov dword [ebp - 8], eax
mov byte [ebp - 0x2d], 1
jmp 0x69425e
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
push 0
lea eax, [ebp - 0x3c]
push eax
xor ecx, ecx
mov dx, 0x5c
mov eax, dword [ebp - 4]
call fcn.00693ecc
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, 0x6944d8
call fcn.00407d1c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
lea eax, [ebp - 0x44]
push eax
mov cl, 1
mov dx, 0x5c
mov eax, dword [ebp - 4]
call fcn.00693ecc
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, 0x6944f8
call fcn.00407d1c
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.004207cc
mov eax, dword [ebp - 0x48]
call fcn.00407ac0
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x69440a
mov eax, dword [ebp - 0x10]
call fcn.004046a4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00407ac0
push eax
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x69450c
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6943ff
mov eax, dword [ebp - 0x14]
shr eax, 2
test eax, eax
jb 0x6943ff
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax*4 + 0x6d0248]
lea eax, [ebp - 0x4c]
mov edx, 0x69454c
call fcn.00407d1c
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
movzx edx, word [edx + ecx*4]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 0x58], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
movzx edx, word [edx + ecx*4 + 2]
mov dword [ebp - 0x54], edx
mov byte [ebp - 0x50], 0
lea edx, [ebp - 0x5c]
mov ecx, 1
call fcn.00420e38
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x2c]
call fcn.00407ac0
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6943e6
mov eax, dword [ebp - 0x1c]
push dword [eax*4 + 0x6d0248]
push 0x694590
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x24]
call fcn.00407b18
push dword [ebp - 0x64]
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.00407da4
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xb
jne 0x694345
inc dword [ebp - 0x18]
dec dword [ebp - 0x34]
jne 0x694340
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
call fcn.004046f4
lea ecx, [ebp - 0x68]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00449ee0
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp + 8]
call fcn.0041ef3c
cmp byte [ebp + 0xc], 0
jne 0x694476
mov eax, dword [ebp - 0xc]
mov edx, 0x6945a0
call fcn.00407e54
jne 0x694476
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x694476
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x6c]
mov edx, 0x6945cc
mov eax, dword [ebp - 8]
call fcn.00449ee0
mov eax, dword [ebp - 0x6c]
xor ecx, ecx
mov dx, 0x2e
call fcn.00693ecc
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.00407ac0
push eax
call sub.user32.dll_CharUpperBuffW
cmp byte [ebp - 0x2d], 0
je 0x694484
mov eax, dword [ebp - 8]
call fcn.00405234
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6944c3
lea eax, [ebp - 0x6c]
mov edx, 4
call fcn.00406f38
lea eax, [ebp - 0x4c]
mov edx, 6
call fcn.00406f38
lea eax, [ebp - 0x2c]
call fcn.00406ed8
lea eax, [ebp - 0xc]
call fcn.00406ed8
ret