Function at 0x485e18
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
xor eax, eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x486035
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x48fc30
xor ecx, ecx
mov edx, 0x1c
call fcn.00403528
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.00402ebc
mov eax, dword [ebp - 0x1c]
call fcn.00404fc4
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x48600a
mov eax, dword [ebp - 0xc]
call fcn.00402a90
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x486003
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x485fea
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x486044
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x485fea
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00407958
movzx eax, ax
mov dword [0x48fc38], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 8]
mov dword [0x48fc3c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00407958
movzx eax, ax
mov dword [0x48fc40], eax
mov eax, dword [ebp - 4]
movzx ebx, word [eax + 0xc]
mov dword [0x48fc44], ebx
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x48fc38]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
mov eax, dword [0x48fc3c]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov eax, dword [0x48fc40]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x40]
mov ecx, 3
mov eax, 0x486050
call fcn.0040a348
mov edx, dword [ebp - 0x20]
mov eax, 0x48fc30
call fcn.00404b58
lea eax, [ebp - 0x44]
push eax
mov eax, dword [0x48fc38]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0
mov eax, dword [0x48fc3c]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0
mov eax, dword [0x48fc40]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0
lea edx, [ebp - 0x5c]
mov ecx, 2
mov eax, 0x486064
call fcn.0040a348
mov edx, dword [ebp - 0x44]
mov eax, 0x48fc34
call fcn.00404b58
lea eax, [ebp - 0x60]
push eax
mov eax, dword [0x48fc38]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0
mov eax, dword [0x48fc3c]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0
mov eax, dword [0x48fc40]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0
lea edx, [ebp - 0x5c]
mov ecx, 2
mov eax, 0x486078
call fcn.0040a348
mov edx, dword [ebp - 0x60]
mov eax, 0x48fc48
call fcn.00404b58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48600a
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00402ac0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48603c
lea eax, [ebp - 0x60]
call fcn.00404b04
lea eax, [ebp - 0x44]
call fcn.00404b04
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404b28
ret