Function at 0x446f70
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48143c
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x4ac084]
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 - 0x480], edx
mov ebx, ecx
mov eax, dword [ebp + 8]
push 0x4e
mov dword [ebp - 0x48c], eax
lea eax, [ebp - 0x60]
push 0
push eax
mov dword [ebp - 0x4c8], str.DisplayIcon
mov dword [ebp - 0x4c4], str.DisplayName
mov dword [ebp - 0x4c0], str.DisplayVersion
mov dword [ebp - 0x4bc], str.InstallDate
mov dword [ebp - 0x4b8], str.HelpLink
mov dword [ebp - 0x4b4], str.Publisher
mov dword [ebp - 0x4b0], str.URLInfoAbout
mov dword [ebp - 0x4ac], str.URLUpdateInfo
mov dword [ebp - 0x4a8], str.EstimatedSize
mov dword [ebp - 0x4a4], str.NoModify
mov dword [ebp - 0x4a0], str.NoModify
mov dword [ebp - 0x49c], str.NoRepair
mov dword [ebp - 0x498], 0x49bafc
mov dword [ebp - 0x494], str.VersionMajor
mov dword [ebp - 0x490], str.VersionMinor
call fcn.0045b910
add esp, 0xc
push str.msi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x447443
push str.MsiEnumRelatedProductsW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x447086
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x447443
xor ecx, ecx
xor esi, esi
mov word [ebp - 0x60], cx
lea ecx, [ebp - 0x60]
push ecx
push esi
push esi
push ebx
call eax
test eax, eax
mov ecx, 1
push edi
cmove esi, ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x447443
cmp word [ebp - 0x60], 0
je 0x447443
xorps xmm0, xmm0
mov dword [ebp - 0x474], 0
movq qword [ebp - 0x47c], xmm0
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x474], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x488]
mov dword [ebp - 4], 0
call fcn.00403ac0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x470]
call fcn.00409520
add esp, 4
lea ecx, [ebp - 0x47c]
push 0x20119
push dword [eax]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00402f70
mov edx, dword [ebp - 0x470]
test eax, eax
setne bl
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x447159
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x488]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44717a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x447198
mov eax, dword [ebp - 0x47c]
test eax, eax
je 0x447443
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x447443
push 0x2001f
xorps xmm0, xmm0
mov dword [ebp - 0x464], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
movq qword [ebp - 0x46c], xmm0
lea ecx, [ebp - 0x46c]
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0
call fcn.00402f70
mov edi, dword [ebp - 0x480]
lea ecx, [ebp - 0x46c]
push edi
call fcn.00418720
mov eax, dword [ebp - 0x46c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x44720a
push eax
call ebx
xorps xmm0, xmm0
mov dword [ebp - 0x464], 0
movq qword [ebp - 0x46c], xmm0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 2
call fcn.00403ac0
push edi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x480]
call fcn.00409520
push ecx
push 0x2001f
push 0
push ecx
push dword [eax]
lea ecx, [ebp - 0x46c]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0042e8d0
mov edx, dword [ebp - 0x480]
test eax, eax
mov eax, esi
setne byte [ebp - 0x481]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4472a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x488]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4472c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x481], 0
je 0x4472ef
mov eax, dword [ebp - 0x46c]
test eax, eax
je 0x4472d9
push eax
call ebx
mov eax, dword [ebp - 0x47c]
test eax, eax
je 0x447443
push eax
call ebx
jmp 0x447443
xor esi, esi
mov edi, dword [ebp + esi*4 - 0x4c8]
lea ecx, [ebp - 0x47c]
xor eax, eax
mov dword [ebp - 0x480], 0x200
mov word [ebp - 0x460], ax
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x460]
push eax
push edi
call fcn.00402ef0
test eax, eax
jne 0x44733d
push ecx
lea eax, [ebp - 0x460]
push eax
push edi
lea ecx, [ebp - 0x46c]
call fcn.004083d0
inc esi
cmp esi, 8
jb 0x4472f1
mov edi, dword [ebp - 0x46c]
xor esi, esi
nop dword [eax + eax]
mov ebx, dword [ebp + esi*4 - 0x4a8]
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x470]
mov dword [ebp - 0x470], 0
push eax
lea eax, [ebp - 0x488]
mov dword [ebp - 0x480], 4
push eax
push 0
push ebx
push dword [ebp - 0x47c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4473c1
cmp dword [ebp - 0x488], 4
jne 0x4473c1
mov eax, dword [ebp - 0x470]
push 4
mov dword [ebp - 0x480], eax
lea eax, [ebp - 0x480]
push eax
push 4
push 0
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
call ebx
jmp 0x4473c7
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
inc esi
cmp esi, 7
jb 0x447350
mov esi, dword [ebp - 0x48c]
test esi, esi
je 0x447429
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4473e0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push str.UninstallString
push edi
call ebx
test eax, eax
jne 0x447429
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x447415
push edi
call esi
mov ecx, dword [ebp - 0x47c]
test ecx, ecx
je 0x447422
push ecx
call esi
mov eax, 1
jmp 0x447445
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x447436
push edi
call esi
mov ecx, dword [ebp - 0x47c]
test ecx, ecx
je 0x447443
push ecx
call esi
xor eax, eax
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.00458d41
mov esp, ebp
pop ebp
ret