Function at 0x7729f8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x772a00
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x772fab
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, ebx
mov edx, dword [0x76f638]
call fcn.0040bd54
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00407e94
mov eax, ebx
mov edx, edi
call fcn.0040a948
lea eax, [ebp - 0x14]
push eax
mov eax, edi
call fcn.0040b0c4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jbe 0x772f73
mov eax, esi
call fcn.0040721c
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x772f6c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
mov eax, edi
call fcn.0040b0c4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x772f54
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x772fc0
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x772f54
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
call fcn.007745e8
movzx eax, ax
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
call fcn.007745ec
movzx eax, ax
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
call fcn.007745e8
movzx eax, ax
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
call fcn.007745ec
movzx eax, ax
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
call fcn.007745e8
movzx eax, ax
mov dword [ebx + 0x40], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
call fcn.007745ec
movzx eax, ax
mov dword [ebx + 0x44], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
call fcn.007745e8
movzx eax, ax
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
call fcn.007745ec
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 0x772fc4
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x772b99
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.007745e8
mov esi, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.007745ec
mov edi, eax
movzx eax, si
movzx edx, di
shl edx, 0x10
or eax, edx
lea ecx, [ebp - 4]
mov edx, 8
call fcn.00427904
jmp 0x772ba6
lea eax, [ebp - 4]
mov edx, 0x773004
call fcn.0040a990
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x773024
push dword [ebp - 4]
push 0x773054
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0040b3b0
mov eax, dword [ebp - 0x24]
call fcn.0040b0c4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x772be9
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.0040b124
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x773024
push dword [ebp - 4]
push 0x773080
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.0040b3b0
mov eax, dword [ebp - 0x28]
call fcn.0040b0c4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x772c2c
lea eax, [ebx + 4]
mov edx, dword [ebp - 0x10]
call fcn.0040b124
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x773024
push dword [ebp - 4]
push 0x7730a8
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040b3b0
mov eax, dword [ebp - 0x2c]
call fcn.0040b0c4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x772c6f
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 0x10]
call fcn.0040b124
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x773024
push dword [ebp - 4]
push 0x7730d8
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040b3b0
mov eax, dword [ebp - 0x30]
call fcn.0040b0c4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x772cb2
lea eax, [ebx + 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.0040b124
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x773024
push dword [ebp - 4]
push 0x773104
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0040b3b0
mov eax, dword [ebp - 0x34]
call fcn.0040b0c4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x772cf5
lea eax, [ebx + 0x20]
mov edx, dword [ebp - 0x10]
call fcn.0040b124
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x773024
push dword [ebp - 4]
push 0x773134
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.0040b3b0
mov eax, dword [ebp - 0x38]
call fcn.0040b0c4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x772d38
lea eax, [ebx + 0x18]
mov edx, dword [ebp - 0x10]
call fcn.0040b124
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x773024
push dword [ebp - 4]
push 0x773154
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.0040b3b0
mov eax, dword [ebp - 0x3c]
call fcn.0040b0c4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x772d7b
lea eax, [ebx + 0x50]
mov edx, dword [ebp - 0x10]
call fcn.0040b124
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x773024
push dword [ebp - 4]
push 0x77317c
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.0040b3b0
mov eax, dword [ebp - 0x40]
call fcn.0040b0c4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x772dbe
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.0040b124
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x773024
push dword [ebp - 4]
push 0x7731a4
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0040b3b0
mov eax, dword [ebp - 0x44]
call fcn.0040b0c4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x772e01
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 0x10]
call fcn.0040b124
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x773024
push dword [ebp - 4]
push 0x7731cc
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.0040b3b0
mov eax, dword [ebp - 0x48]
call fcn.0040b0c4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x772e44
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0x10]
call fcn.0040b124
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x773024
push dword [ebp - 4]
push 0x7731f4
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.0040b3b0
mov eax, dword [ebp - 0x4c]
call fcn.0040b0c4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x772e87
lea eax, [ebx + 0x28]
mov edx, dword [ebp - 0x10]
call fcn.0040b124
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, 0x773224
call fcn.004290e4
mov edx, dword [ebp - 0x50]
lea eax, [ebx + 8]
call fcn.0040a948
cmp byte [ebx + 0x54], 0
je 0x772f50
cmp dword [ebx + 0x3c], 0
jbe 0x772f19
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0x11
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0
lea edx, [ebp - 0x84]
mov ecx, 1
mov eax, 0x773248
call fcn.004290e4
mov edx, dword [ebp - 0x74]
lea eax, [ebx + 8]
call fcn.0040a948
jmp 0x772f50
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, 0x77326c
call fcn.004290e4
mov edx, dword [ebp - 0x88]
lea eax, [ebx + 8]
call fcn.0040a948
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x772f73
mov eax, dword [ebp - 0x1c]
call fcn.00407250
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x772fb2
lea eax, [ebp - 0x88]
call fcn.0040a558
lea eax, [ebp - 0x74]
call fcn.0040a558
lea eax, [ebp - 0x50]
mov edx, 0xc
call fcn.0040a5b8
lea eax, [ebp - 4]
call fcn.0040a558
pop eax
jmp eax