Function at 0x535dc8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x535dd0
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
lea esi, [ebp - 0x14]
xor eax, eax
push ebp
push 0x5361c4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, edi
call fcn.00405bcc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x535e0f
call fcn.004113b8
mov eax, dword [ebp - 0xc]
call fcn.00402f38
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x53619a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, edi
call fcn.00405bcc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x535e48
call fcn.004113b8
lea eax, [ebp - 0xc]
push eax
push esi
push 0x5361d4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x535e64
call fcn.004113b8
lea eax, [ebp - 4]
push eax
mov edi, dword [esi]
movzx eax, word [edi]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
movzx eax, word [edi + 2]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x5361f8
call fcn.0040c558
lea eax, [ebp - 0xc]
push eax
push esi
push 0x53620c
push dword [ebp - 4]
push 0x536228
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00405ad0
mov eax, dword [ebp - 0x28]
call fcn.00405bcc
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x535ecf
mov eax, ebx
mov edx, dword [esi]
call fcn.00405934
lea eax, [ebp - 0xc]
push eax
push esi
push 0x53620c
push dword [ebp - 4]
push 0x536240
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00405ad0
mov eax, dword [ebp - 0x2c]
call fcn.00405bcc
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x535f0e
lea eax, [ebx + 4]
mov edx, dword [esi]
call fcn.00405934
lea eax, [ebp - 0xc]
push eax
push esi
push 0x53620c
push dword [ebp - 4]
push 0x53625c
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00405ad0
mov eax, dword [ebp - 0x30]
call fcn.00405bcc
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x535f4d
lea eax, [ebx + 8]
mov edx, dword [esi]
call fcn.00405934
lea eax, [ebp - 0xc]
push eax
push esi
push 0x53620c
push dword [ebp - 4]
push 0x536274
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00405ad0
mov eax, dword [ebp - 0x34]
call fcn.00405bcc
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x535f8c
lea eax, [ebx + 0xc]
mov edx, dword [esi]
call fcn.00405934
lea eax, [ebp - 0xc]
push eax
push esi
push 0x53620c
push dword [ebp - 4]
push 0x53628c
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00405ad0
mov eax, dword [ebp - 0x38]
call fcn.00405bcc
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x535fcb
lea eax, [ebx + 0x10]
mov edx, dword [esi]
call fcn.00405934
lea eax, [ebp - 0xc]
push eax
push esi
push 0x53620c
push dword [ebp - 4]
push 0x5362a4
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00405ad0
mov eax, dword [ebp - 0x3c]
call fcn.00405bcc
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x53600a
lea eax, [ebx + 0x14]
mov edx, dword [esi]
call fcn.00405934
lea eax, [ebp - 0xc]
push eax
push esi
push 0x53620c
push dword [ebp - 4]
push 0x5362c0
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00405ad0
mov eax, dword [ebp - 0x40]
call fcn.00405bcc
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x536049
lea eax, [ebx + 0x18]
mov edx, dword [esi]
call fcn.00405934
lea eax, [ebp - 0xc]
push eax
push esi
push 0x53620c
push dword [ebp - 4]
push 0x5362dc
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00405ad0
mov eax, dword [ebp - 0x44]
call fcn.00405bcc
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x536088
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.00405934
lea eax, [ebp - 0xc]
push eax
push esi
push 0x53620c
push dword [ebp - 4]
push 0x5362f4
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00405ad0
mov eax, dword [ebp - 0x48]
call fcn.00405bcc
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x5360c7
lea eax, [ebx + 0x20]
mov edx, dword [esi]
call fcn.00405934
lea eax, [ebp - 0xc]
push eax
push esi
push 0x53620c
push dword [ebp - 4]
push 0x53630c
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00405ad0
mov eax, dword [ebp - 0x4c]
call fcn.00405bcc
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x536106
lea eax, [ebx + 0x24]
mov edx, dword [esi]
call fcn.00405934
lea eax, [ebp - 0xc]
push eax
push esi
push 0x53620c
push dword [ebp - 4]
push 0x536320
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00405ad0
mov eax, dword [ebp - 0x50]
call fcn.00405bcc
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x536145
lea eax, [ebx + 0x28]
mov edx, dword [esi]
call fcn.00405934
lea eax, [ebp - 0xc]
push eax
push esi
push 0x53620c
push dword [ebp - 4]
push 0x536338
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00405ad0
mov eax, dword [ebp - 0x54]
call fcn.00405bcc
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x536184
lea eax, [ebx + 0x2c]
mov edx, dword [esi]
call fcn.00405934
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5361a1
mov eax, dword [ebp - 0x10]
call fcn.00402f54
ret