Function at 0x4ae8a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4ae8a8
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4aecd3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, ebx
mov edx, dword [0x4ad474]
call fcn.004052bc
mov eax, ebx
xor ecx, ecx
mov edx, 0x48
call fcn.004031d4
mov eax, ebx
mov edx, edi
call fcn.0040471c
lea eax, [ebp - 0x14]
push eax
mov eax, edi
call fcn.00404b88
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jbe 0x4aecb0
mov eax, esi
call fcn.00402ae0
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4aeca9
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.00404b88
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4aec93
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x4aece4
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4aec93
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
call fcn.00407824
movzx eax, ax
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 8]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
call fcn.00407824
movzx eax, ax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0xc]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
call fcn.00407824
movzx eax, ax
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0x10]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
call fcn.00407824
movzx eax, ax
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0x14]
mov dword [ebx + 0x40], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4aece8
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4aea34
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
xor edx, edx
push edx
push eax
lea edx, [ebp - 8]
mov eax, 8
call fcn.00409424
lea eax, [ebp - 0x24]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404be8
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, 4
mov edx, 5
mov eax, dword [ebp - 8]
call fcn.00404be8
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
pop ecx
call fcn.004049d4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4aed0c
push dword [ebp - 8]
push 0x4aed28
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00404a48
mov eax, dword [ebp - 0x2c]
call fcn.00404b88
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4aea77
lea eax, [ebx + 0x20]
mov edx, dword [ebp - 0x10]
call fcn.004048c0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4aed0c
push dword [ebp - 8]
push 0x4aed40
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404a48
mov eax, dword [ebp - 0x30]
call fcn.00404b88
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4aeaba
lea eax, [ebx + 4]
mov edx, dword [ebp - 0x10]
call fcn.004048c0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4aed0c
push dword [ebp - 8]
push 0x4aed58
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404a48
mov eax, dword [ebp - 0x34]
call fcn.00404b88
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4aeafd
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 0x10]
call fcn.004048c0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4aed0c
push dword [ebp - 8]
push 0x4aed74
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404a48
mov eax, dword [ebp - 0x38]
call fcn.00404b88
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4aeb40
lea eax, [ebx + 0x18]
mov edx, dword [ebp - 0x10]
call fcn.004048c0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4aed0c
push dword [ebp - 8]
push 0x4aed8c
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404a48
mov eax, dword [ebp - 0x3c]
call fcn.00404b88
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4aeb83
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 0x10]
call fcn.004048c0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4aed0c
push dword [ebp - 8]
push 0x4aeda0
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404a48
mov eax, dword [ebp - 0x40]
call fcn.00404b88
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4aebc6
lea eax, [ebx + 0x44]
mov edx, dword [ebp - 0x10]
call fcn.004048c0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4aed0c
push dword [ebp - 8]
push 0x4aedb8
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00404a48
mov eax, dword [ebp - 0x44]
call fcn.00404b88
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4aec09
lea eax, [ebx + 8]
mov edx, dword [ebp - 0x10]
call fcn.004048c0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4aed0c
push dword [ebp - 8]
push 0x4aedd0
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00404a48
mov eax, dword [ebp - 0x48]
call fcn.00404b88
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4aec4c
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.004048c0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4aed0c
push dword [ebp - 8]
push 0x4aede8
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00404a48
mov eax, dword [ebp - 0x4c]
call fcn.00404b88
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4aec8f
lea eax, [ebx + 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.004048c0
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aecb0
mov eax, dword [ebp - 0x1c]
call fcn.00402b10
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aecda
lea eax, [ebp - 0x4c]
mov edx, 0xb
call fcn.004046ec
lea eax, [ebp - 8]
call fcn.004046c8
ret