Function at 0x445a60
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b11b0
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x4e96d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9c], edx
mov eax, ecx
mov dword [ebp - 0xa8], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0xac]
push ecx
push dword [eax]
xor bl, bl
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x445d56
xor eax, eax
mov dword [ebp - 0x98], 0
ja 0x445d4c
cmp esi, 0xffffffff
ja 0x445d4c
cmp esi, 0x80
jbe 0x445b0f
push esi
lea ecx, [ebp - 0x98]
call fcn.0041a7a0
mov eax, dword [ebp - 0x98]
jmp 0x445b1b
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], eax
push esi
push 0
push eax
mov dword [ebp - 4], 0
call fcn.0047c2c0
add esp, 0xc
push dword [ebp - 0x98]
push esi
mov esi, dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [esi]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x445cee
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xa0]
push eax
push 0x4ce6c0
push dword [ebp - 0x98]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x445cd5
cmp dword [ebp - 0xa4], 0
je 0x445d31
mov ecx, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0x9c]
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d
push ebx
call fcn.0041b160
add esp, 0x14
call fcn.0046c0e0
mov edi, eax
mov ecx, edi
call fcn.0046e8e0
cmp byte [0x4f3b5c], 0
jne 0x445c19
push 0xf0
call fcn.0046e4f0
add esp, 4
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x445c0e
push 0x4f3b5c
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x4cea7a
push 0
push 0
push 0xab
push str.C:BuildAgentwork6ef1b807bd9726a1RemoteInstallerInstallerUIInstallerHelper.cpp
push 0x48
call fcn.0046bf00
jmp 0x445c10
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x4f3f2c], eax
mov ecx, edi
call fcn.0046e8f0
mov ecx, dword [0x4f3f2c]
lea ecx, [ecx + 0xd0]
call fcn.0046e8e0
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.0041a940
add esp, 4
lea edi, [eax + 0x10]
mov dword [ebp - 0xa8], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9c]
push dword [esi]
call fcn.00418b90
mov byte [ebp - 4], 3
mov ecx, dword [0x4f3f2c]
push edi
push dword [eax]
mov edx, dword [ecx]
push str.GetFileVersion_File:_s_Version:_s
push ecx
call dword [edx + 0x48]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp - 0x9c]
add esp, 0x10
add edx, 0xfffffff0
mov eax, esi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x445c9a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x445cb5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x4f3f2c]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4f3f2c]
lea ecx, [ecx + 0xd0]
call fcn.0046e8f0
mov bl, 1
jmp 0x445d31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x9c]
call fcn.00410c50
mov byte [ebp - 4], 4
jmp 0x445d05
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x9c]
call fcn.00410c50
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.0041a2e0
mov byte [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [ebp - 0x9c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x445d31
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x98], eax
je 0x445d9f
lea ecx, [ebp - 0x98]
call fcn.00419f10
jmp 0x445d9f
push 0x80070216
call fcn.0040abe0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x9c]
call fcn.00410c50
push eax
mov ecx, edi
mov dword [ebp - 4], 6
call fcn.0041a2e0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov esi, dword [ebp - 0x9c]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x445d9f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004712e4
mov esp, ebp
pop ebp
ret