Function at 0x4444d0
Capabilities:
Check if file exists
Get file version info
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x65c
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0xc], 0
jne 0x4444f0
xor eax, eax
jmp 0x4447a6
mov word [ebp - 0x10], 0
mov word [ebp - 0x224], 0
mov word [ebp - 8], 0
mov word [ebp - 0x14], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov word [ebp - 0x220], 0
push 0x206
push 0
lea edx, [ebp - 0x21e]
push edx
call fcn.00415680
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
push str.CLSID_sInprocServer32
push 0x208
push 0x104
lea ecx, [ebp - 0x220]
push ecx
call fcn.004157ac
add esp, 0x14
lea edx, [ebp - 0xc]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x220]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44479a
mov dword [ebp - 0x228], 4
mov dword [ebp - 0x438], 0x104
mov dword [ebp - 0x434], 0
lea ecx, [ebp - 0x438]
push ecx
lea edx, [ebp - 0x430]
push edx
lea eax, [ebp - 0x228]
push eax
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44479a
lea edx, [ebp - 0x430]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44479a
push 0x104
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00414cf4
add esp, 0xc
push 0
lea edx, [ebp - 0x430]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x434]
push eax
call fcn.004141a6
add esp, 4
mov dword [ebp - 0x654], eax
mov ecx, dword [ebp - 0x654]
mov dword [ebp - 0x43c], ecx
cmp dword [ebp - 0x43c], 0
je 0x44479a
mov edx, dword [ebp - 0x43c]
push edx
mov eax, dword [ebp - 0x434]
push eax
push 0
lea ecx, [ebp - 0x430]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44477f
mov dword [ebp - 0x444], 0
lea edx, [ebp - 0x444]
push edx
lea eax, [ebp - 0x440]
push eax
push 0x476f38
mov ecx, dword [ebp - 0x43c]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44477f
cmp dword [ebp - 0x440], 0
je 0x44477f
mov edx, dword [ebp - 0x440]
mov eax, dword [edx + 8]
shr eax, 0x10
mov word [ebp - 0x10], ax
mov ecx, dword [ebp - 0x440]
mov edx, dword [ecx + 8]
and edx, 0xffff
mov word [ebp - 0x224], dx
mov eax, dword [ebp - 0x440]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
mov word [ebp - 8], cx
mov edx, dword [ebp - 0x440]
mov eax, dword [edx + 0xc]
and eax, 0xffff
mov word [ebp - 0x14], ax
mov word [ebp - 0x650], 0
push 0x206
push 0
lea ecx, [ebp - 0x64e]
push ecx
call fcn.00415680
add esp, 0xc
movzx edx, word [ebp - 0x14]
push edx
movzx eax, word [ebp - 8]
push eax
movzx ecx, word [ebp - 0x224]
push ecx
movzx edx, word [ebp - 0x10]
push edx
push 0x476f3c
push 0x208
push 0x104
lea eax, [ebp - 0x650]
push eax
call fcn.004157ac
add esp, 0x20
lea ecx, [ebp - 0x650]
push ecx
call fcn.00414d31
add esp, 4
push eax
lea edx, [ebp - 0x650]
push edx
push 0x104
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041629d
add esp, 0x10
mov ecx, dword [ebp - 0x43c]
mov dword [ebp - 0x658], ecx
mov edx, dword [ebp - 0x658]
push edx
call fcn.00416122
add esp, 4
mov eax, 1
jmp 0x4447a6
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x65c], eax
mov ecx, dword [ebp - 0x65c]
push ecx
call fcn.00416122
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret