Function at 0x464b90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3c0b
mov eax, dword fs:[0]
push eax
mov eax, 0x4050
call fcn.004861a0
mov eax, dword [0x4e96d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov edi, dword [ebp + 8]
xor eax, eax
push 0x3ffe
push eax
mov word [ebp - 0x4014], ax
lea eax, [ebp - 0x4012]
mov dword [esi], 0
mov dword [esi + 4], 0
push eax
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0047c2c0
add esp, 0xc
push 0
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
jne 0x464d06
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.0046c0e0
mov esi, eax
mov ecx, esi
call fcn.0046e8e0
cmp byte [0x4f3c72], 0
jne 0x464c88
push 0xf0
call fcn.0046e4f0
add esp, 4
mov dword [ebp - 0x4018], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x464c7a
push 0x4f3c72
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x4cea7a
push 0
push 0
push 0x1f
push str.C:BuildAgentwork6ef1b807bd9726a1RemoteInstallerInstallerUIutils_collector.cpp
push 0x20
call fcn.0046bf00
jmp 0x464c7c
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4f41c4], eax
mov ecx, esi
call fcn.0046e8f0
mov ecx, dword [0x4f41c4]
lea ecx, [ecx + 0xd0]
call fcn.0046e8e0
mov edx, edi
lea ecx, [ebp - 0x401c]
call fcn.00410ed0
mov dword [ebp - 4], 1
mov ecx, dword [0x4f41c4]
push dword [eax]
push str.GetFileVersionInfoSize_failed_with___s_
mov edx, dword [ecx]
push ecx
call dword [edx + 0x48]
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov edx, dword [ebp - 0x401c]
or ecx, 0xffffffff
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x464cf1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x4f41c4]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov eax, dword [0x4f41c4]
jmp 0x464fb4
lea eax, [ebp - 0x4014]
push eax
push 0x2000
push 0
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x464e17
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.0046c0e0
mov esi, eax
mov ecx, esi
call fcn.0046e8e0
cmp byte [0x4f3c6c], 0
jne 0x464d99
push 0xf0
call fcn.0046e4f0
add esp, 4
mov dword [ebp - 0x4018], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x464d8b
push 0x4f3c6c
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x4cea7a
push 0
push 0
push 0x26
push str.C:BuildAgentwork6ef1b807bd9726a1RemoteInstallerInstallerUIutils_collector.cpp
push 0x20
call fcn.0046bf00
jmp 0x464d8d
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4f4198], eax
mov ecx, esi
call fcn.0046e8f0
mov ecx, dword [0x4f4198]
lea ecx, [ecx + 0xd0]
call fcn.0046e8e0
mov edx, edi
lea ecx, [ebp - 0x401c]
call fcn.00410ed0
mov dword [ebp - 4], 3
mov ecx, dword [0x4f4198]
push dword [eax]
push str.GetFileVersionInfo_failed_with___s_
mov edx, dword [ecx]
push ecx
call dword [edx + 0x48]
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov edx, dword [ebp - 0x401c]
or ecx, 0xffffffff
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x464e02
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x4f4198]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov eax, dword [0x4f4198]
jmp 0x464fb4
xor eax, eax
mov dword [ebp - 0x4024], 0
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x4020]
push eax
lea eax, [ebp - 0x4024]
mov dword [ebp - 0x4020], 0
push eax
push 0x4ce6c0
lea eax, [ebp - 0x4014]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x464ec5
cmp dword [ebp - 0x4020], 0
jbe 0x464ec5
mov eax, dword [ebp - 0x4024]
xor edx, edx
movdqu xmm0, xmmword [eax + 0x20]
movdqu xmm1, xmmword [eax]
movdqu xmm2, xmmword [eax + 0x10]
mov eax, dword [eax + 0x30]
movdqu xmmword [ebp - 0x4038], xmm0
mov dword [ebp - 0x4028], eax
movdqa xmm0, xmm1
psrldq xmm1, 0xc
movd eax, xmm1
psrldq xmm0, 8
movd ecx, xmm0
add edx, eax
mov dword [esi], edx
adc ecx, 0
xor edx, edx
mov dword [esi + 4], ecx
movd ecx, xmm2
psrldq xmm2, 4
movd eax, xmm2
add edx, eax
mov al, 1
mov dword [edi], edx
adc ecx, 0
mov dword [edi + 4], ecx
jmp 0x464fc1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.0046c0e0
mov esi, eax
mov ecx, esi
call fcn.0046e8e0
cmp byte [0x4f3c70], 0
jne 0x464f3b
push 0xf0
call fcn.0046e4f0
add esp, 4
mov dword [ebp - 0x4018], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x464f2d
push 0x4f3c70
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x4cea7a
push 0
push 0
push 0x34
push str.C:BuildAgentwork6ef1b807bd9726a1RemoteInstallerInstallerUIutils_collector.cpp
push 0x20
call fcn.0046bf00
jmp 0x464f2f
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4f41d4], eax
mov ecx, esi
call fcn.0046e8f0
mov ecx, dword [0x4f41d4]
lea ecx, [ecx + 0xd0]
call fcn.0046e8e0
mov edx, edi
lea ecx, [ebp - 0x4018]
call fcn.00410ed0
mov dword [ebp - 4], 5
mov ecx, dword [0x4f41d4]
push dword [eax]
push str.VerQueryValue_failed_with___s_
mov edx, dword [ecx]
push ecx
call dword [edx + 0x48]
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov edx, dword [ebp - 0x4018]
or ecx, 0xffffffff
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x464fa4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x4f41d4]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov eax, dword [0x4f41d4]
lea ecx, [eax + 0xd0]
call fcn.0046e8f0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004712e4
mov esp, ebp
pop ebp
ret