Function at 0x84d4fc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x84d504
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
lea esi, [ebp - 0x14]
xor eax, eax
push ebp
push 0x84d8f8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, edi
call fcn.0040aa44
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x84d543
call fcn.0042eb3c
mov eax, dword [ebp - 0xc]
call fcn.00406f10
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x84d8ce
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.0040aa44
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
jne 0x84d57c
call fcn.0042eb3c
lea eax, [ebp - 0xc]
push eax
push esi
push 0x84d908
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
jne 0x84d598
call fcn.0042eb3c
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, 0x84d948
call fcn.00427248
lea eax, [ebp - 0xc]
push eax
push esi
push 0x84d968
push dword [ebp - 4]
push 0x84d998
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.0040ad34
mov eax, dword [ebp - 0x28]
call fcn.0040aa44
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x84d603
mov eax, ebx
mov edx, dword [esi]
call fcn.0040aaa8
lea eax, [ebp - 0xc]
push eax
push esi
push 0x84d968
push dword [ebp - 4]
push 0x84d9c0
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040ad34
mov eax, dword [ebp - 0x2c]
call fcn.0040aa44
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x84d642
lea eax, [ebx + 4]
mov edx, dword [esi]
call fcn.0040aaa8
lea eax, [ebp - 0xc]
push eax
push esi
push 0x84d968
push dword [ebp - 4]
push 0x84d9f0
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040ad34
mov eax, dword [ebp - 0x30]
call fcn.0040aa44
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x84d681
lea eax, [ebx + 8]
mov edx, dword [esi]
call fcn.0040aaa8
lea eax, [ebp - 0xc]
push eax
push esi
push 0x84d968
push dword [ebp - 4]
push 0x84da18
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0040ad34
mov eax, dword [ebp - 0x34]
call fcn.0040aa44
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x84d6c0
lea eax, [ebx + 0xc]
mov edx, dword [esi]
call fcn.0040aaa8
lea eax, [ebp - 0xc]
push eax
push esi
push 0x84d968
push dword [ebp - 4]
push 0x84da40
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.0040ad34
mov eax, dword [ebp - 0x38]
call fcn.0040aa44
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x84d6ff
lea eax, [ebx + 0x10]
mov edx, dword [esi]
call fcn.0040aaa8
lea eax, [ebp - 0xc]
push eax
push esi
push 0x84d968
push dword [ebp - 4]
push 0x84da6c
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.0040ad34
mov eax, dword [ebp - 0x3c]
call fcn.0040aa44
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x84d73e
lea eax, [ebx + 0x14]
mov edx, dword [esi]
call fcn.0040aaa8
lea eax, [ebp - 0xc]
push eax
push esi
push 0x84d968
push dword [ebp - 4]
push 0x84da9c
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.0040ad34
mov eax, dword [ebp - 0x40]
call fcn.0040aa44
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x84d77d
lea eax, [ebx + 0x18]
mov edx, dword [esi]
call fcn.0040aaa8
lea eax, [ebp - 0xc]
push eax
push esi
push 0x84d968
push dword [ebp - 4]
push 0x84dacc
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0040ad34
mov eax, dword [ebp - 0x44]
call fcn.0040aa44
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x84d7bc
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.0040aaa8
lea eax, [ebp - 0xc]
push eax
push esi
push 0x84d968
push dword [ebp - 4]
push 0x84daf4
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.0040ad34
mov eax, dword [ebp - 0x48]
call fcn.0040aa44
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x84d7fb
lea eax, [ebx + 0x20]
mov edx, dword [esi]
call fcn.0040aaa8
lea eax, [ebp - 0xc]
push eax
push esi
push 0x84d968
push dword [ebp - 4]
push 0x84db20
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.0040ad34
mov eax, dword [ebp - 0x4c]
call fcn.0040aa44
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x84d83a
lea eax, [ebx + 0x24]
mov edx, dword [esi]
call fcn.0040aaa8
lea eax, [ebp - 0xc]
push eax
push esi
push 0x84d968
push dword [ebp - 4]
push 0x84db40
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.0040ad34
mov eax, dword [ebp - 0x50]
call fcn.0040aa44
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x84d879
lea eax, [ebx + 0x28]
mov edx, dword [esi]
call fcn.0040aaa8
lea eax, [ebp - 0xc]
push eax
push esi
push 0x84d968
push dword [ebp - 4]
push 0x84db68
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.0040ad34
mov eax, dword [ebp - 0x54]
call fcn.0040aa44
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x84d8b8
lea eax, [ebx + 0x2c]
mov edx, dword [esi]
call fcn.0040aaa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x84d8d5
mov eax, dword [ebp - 0x10]
call fcn.00406f2c
ret