Function at 0x460edc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404bc8
xor eax, eax
push ebp
push 0x46117d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404728
xor eax, eax
push ebp
push 0x4610ed
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
call fcn.00404bd8
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x460f65
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46114d
mov eax, dword [ebp - 0x10]
call fcn.004087a0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4610dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x20]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x460fa6
call fcn.004041b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46114d
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x46118c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00408ca4
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x18]
call fcn.004049e0
mov ecx, 8
sub ecx, eax
mov edx, 1
mov eax, 0x461198
call fcn.00404c38
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
call fcn.00404a2c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.00408ca4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004049e0
mov ecx, 8
sub ecx, eax
mov edx, 1
mov eax, 0x461198
call fcn.00404c38
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
call fcn.00404a2c
lea eax, [ebp - 0x2c]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.00404c38
push dword [ebp - 0x2c]
push 0x4611ac
lea eax, [ebp - 0x30]
push eax
mov ecx, 4
mov edx, 5
mov eax, dword [ebp - 0x18]
call fcn.00404c38
push dword [ebp - 0x30]
push 0x4611ac
lea eax, [ebp - 0x34]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.00404c38
push dword [ebp - 0x34]
push 0x4611ac
lea eax, [ebp - 0x38]
push eax
mov ecx, 4
mov edx, 5
mov eax, dword [ebp - 0x1c]
call fcn.00404c38
push dword [ebp - 0x38]
mov eax, ebx
mov edx, 7
call fcn.00404aa0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4610e3
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00402748
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461184
lea eax, [ebp - 0x40]
mov edx, 8
call fcn.0040474c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040474c
lea eax, [ebp - 8]
call fcn.00404728
ret