Function at 0x6be3d4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x6be3dc
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x6be985
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, ebx
mov edx, dword [0x6bbb30]
call fcn.0040b7ec
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.004074c0
mov eax, ebx
mov edx, edi
call fcn.0040a21c
lea eax, [ebp - 0x14]
push eax
mov eax, edi
call fcn.0040acb4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jbe 0x6be94f
mov eax, esi
call fcn.00406464
mov dword [ebp - 0x1c], eax
xor edx, edx
push ebp
push 0x6be948
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x1c]
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
mov eax, edi
call fcn.0040acb4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x6be932
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x6be998
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6be932
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
call fcn.006bfdf0
movzx eax, ax
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
call fcn.006bfdf4
movzx eax, ax
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
call fcn.006bfdf0
movzx eax, ax
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
call fcn.006bfdf4
movzx eax, ax
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
call fcn.006bfdf0
movzx eax, ax
mov dword [ebx + 0x40], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
call fcn.006bfdf4
movzx eax, ax
mov dword [ebx + 0x44], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
call fcn.006bfdf0
movzx eax, ax
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
call fcn.006bfdf4
movzx eax, ax
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x1c]
and eax, 2
cmp eax, 2
sete al
mov byte [ebx + 0x54], al
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x6be99c
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6be577
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.006bfdf0
mov esi, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.006bfdf4
movzx edx, si
movzx eax, ax
shl eax, 0x10
or edx, eax
mov esi, edx
lea ecx, [ebp - 4]
mov edx, 8
mov eax, esi
call fcn.00425f64
jmp 0x6be584
lea eax, [ebp - 4]
mov edx, 0x6be9dc
call fcn.0040a264
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x6be9fc
push dword [ebp - 4]
push 0x6bea2c
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0040afa8
mov eax, dword [ebp - 0x24]
call fcn.0040acb4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6be5c7
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.0040ad1c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x6be9fc
push dword [ebp - 4]
push 0x6bea58
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.0040afa8
mov eax, dword [ebp - 0x28]
call fcn.0040acb4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6be60a
lea eax, [ebx + 4]
mov edx, dword [ebp - 0x10]
call fcn.0040ad1c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x6be9fc
push dword [ebp - 4]
push 0x6bea80
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040afa8
mov eax, dword [ebp - 0x2c]
call fcn.0040acb4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6be64d
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 0x10]
call fcn.0040ad1c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x6be9fc
push dword [ebp - 4]
push 0x6beab0
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040afa8
mov eax, dword [ebp - 0x30]
call fcn.0040acb4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6be690
lea eax, [ebx + 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.0040ad1c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x6be9fc
push dword [ebp - 4]
push 0x6beadc
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0040afa8
mov eax, dword [ebp - 0x34]
call fcn.0040acb4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6be6d3
lea eax, [ebx + 0x20]
mov edx, dword [ebp - 0x10]
call fcn.0040ad1c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x6be9fc
push dword [ebp - 4]
push 0x6beb0c
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.0040afa8
mov eax, dword [ebp - 0x38]
call fcn.0040acb4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6be716
lea eax, [ebx + 0x18]
mov edx, dword [ebp - 0x10]
call fcn.0040ad1c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x6be9fc
push dword [ebp - 4]
push 0x6beb2c
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.0040afa8
mov eax, dword [ebp - 0x3c]
call fcn.0040acb4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6be759
lea eax, [ebx + 0x50]
mov edx, dword [ebp - 0x10]
call fcn.0040ad1c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x6be9fc
push dword [ebp - 4]
push 0x6beb54
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.0040afa8
mov eax, dword [ebp - 0x40]
call fcn.0040acb4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6be79c
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.0040ad1c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x6be9fc
push dword [ebp - 4]
push 0x6beb7c
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0040afa8
mov eax, dword [ebp - 0x44]
call fcn.0040acb4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6be7df
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 0x10]
call fcn.0040ad1c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x6be9fc
push dword [ebp - 4]
push 0x6beba4
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.0040afa8
mov eax, dword [ebp - 0x48]
call fcn.0040acb4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6be822
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0x10]
call fcn.0040ad1c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x6be9fc
push dword [ebp - 4]
push 0x6bebcc
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.0040afa8
mov eax, dword [ebp - 0x4c]
call fcn.0040acb4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6be865
lea eax, [ebx + 0x28]
mov edx, dword [ebp - 0x10]
call fcn.0040ad1c
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
lea edx, [ebp - 0x70]
mov ecx, 3
mov eax, 0x6bebfc
call fcn.00427c4c
mov edx, dword [ebp - 0x50]
lea eax, [ebx + 8]
inc ebx
or al, ch
outsb dx, byte [esi]
mov ecx, 0x7b80ffd4
push esp
invalid
je 0x6be92e
cmp dword [ebx + 0x3c], 0
jbe 0x6be8f7
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x8c], 0x11
lea edx, [ebp - 0x90]
xor ecx, ecx
mov eax, 0x6bec44
call fcn.00427c4c
mov edx, dword [ebp - 0x88]
lea eax, [ebx + 8]
call fcn.0040a21c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6be98c
lea eax, [ebp - 0x88]
call fcn.00409e3c
lea eax, [ebp - 0x74]
call fcn.00409e3c
lea eax, [ebp - 0x50]
mov edx, 0xc
call fcn.00409e9c
lea eax, [ebp - 4]
call fcn.00409e3c
ret