Function at 0x4ac0e0
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
xor edi, edi
push 0x400
mov dword [ebp - 0xc], edi
call fcn.004e4240
mov esi, eax
push 0x800
mov dword [ebp - 0x14], esi
call fcn.004e4240
push 0x208
mov dword [ebp - 0x10], eax
call fcn.004e4240
push 0x400
push edi
push esi
mov ebx, eax
mov dword [ebp - 4], edi
call fcn.004e7d90
mov eax, dword [ebp + 8]
add esp, 0x18
push 0x400
push esi
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x4ac8c4
mov eax, dword [ebp - 0x10]
sub eax, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
mov dword [ebp - 0x1c], eax
lea esp, [esp]
mov edi, dword [ebp - 0x10]
push 0x800
push 0
push edi
mov dword [ebp - 8], 0
call fcn.004e7d90
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4ac172
mov eax, dword [ebp - 0x14]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ac186
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4ac196
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 8]
push ecx
push edx
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4ac892
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x18]
push edx
push eax
push eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push str.SystemComponent
push eax
mov dword [ebp - 4], 4
call esi
test eax, eax
jne 0x4ac218
mov eax, 1
cmp dword [ebp - 0x18], eax
jne 0x4ac218
mov ecx, dword [ebp - 8]
add dword [ebp - 0xc], eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ac895
mov edi, 0x208
push edi
push 0
push ebx
mov dword [ebp - 4], edi
call fcn.004e7d90
mov eax, dword [ebp - 8]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push ebx
push 0
push 0
push str.ParentDisplayName
push eax
call esi
test eax, eax
jne 0x4ac256
mov ecx, dword [ebp - 8]
inc dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ac895
push edi
push 0
push ebx
mov dword [ebp - 4], edi
call fcn.004e7d90
mov eax, dword [ebp - 8]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push ebx
push 0
push 0
push str.Winet
push eax
call esi
test eax, eax
jne 0x4ac28f
mov ecx, dword [ebp - 8]
inc dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ac895
push edi
push 0
push ebx
mov dword [ebp - 4], edi
call fcn.004e7d90
mov eax, dword [ebp - 8]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push ebx
push 0
push 0
push str.UninstallString
push eax
call esi
test eax, eax
je 0x4ac2ef
push edi
push 0
push ebx
mov dword [ebp - 4], edi
call fcn.004e7d90
mov edx, dword [ebp - 8]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push ebx
push 0
push 0
push str.WindowsInstaller
push edx
call esi
test eax, eax
je 0x4ac2ef
mov eax, dword [ebp - 8]
inc dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ac895
push edi
push 0
push ebx
mov dword [ebp - 4], edi
call fcn.004e7d90
mov edx, dword [ebp - 8]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push ebx
push 0
push 0
push str.DisplayName
push edx
call esi
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ac317
sub eax, edx
sar eax, 1
je 0x4ac888
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ac330
mov edi, dword [ebp + 0x10]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4ac343
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0x10]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4ac365
mov eax, dword [0x51d454]
push 0x208
push 0
push ebx
mov dword [edi], eax
mov dword [ebp - 4], 0x208
call fcn.004e7d90
mov edx, dword [ebp - 8]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push ebx
push 0
push 0
push str.DisplayVersion
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ac3ec
cmp dword [ebp - 4], eax
jbe 0x4ac3ec
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ac3b4
mov edi, dword [ebp + 0x10]
sub eax, edx
add edi, 0xfffffffe
jmp 0x4ac3d0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4ac3d0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x10]
lea edi, [esi - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4ac3f2
mov eax, dword [0x51d454]
push 0x208
push 0
push ebx
mov dword [edi], eax
mov dword [ebp - 4], 0x208
call fcn.004e7d90
mov edx, dword [ebp - 8]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push ebx
push 0
push 0
push str.Publisher
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ac470
cmp dword [ebp - 4], eax
jbe 0x4ac470
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ac441
sub eax, edx
lea edi, [esi - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4ac451
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x10]
lea edi, [esi - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4ac473
mov eax, dword [0x51d454]
push 0x208
push 0
push ebx
mov dword [edi], eax
mov dword [ebp - 4], 0x208
call fcn.004e7d90
mov edx, dword [ebp - 8]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push ebx
push 0
push 0
push str.InstallDate
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ac4f1
cmp dword [ebp - 4], eax
jbe 0x4ac4f1
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ac4c2
sub eax, edx
lea edi, [esi - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4ac4d2
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x10]
lea edi, [esi - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4ac4f4
mov eax, dword [0x51d454]
push 0x208
push 0
push ebx
mov dword [edi], eax
mov dword [ebp - 4], 0x208
call fcn.004e7d90
mov edx, dword [ebp - 8]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push ebx
push 0
push 0
push str.UninstallString
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ac572
cmp dword [ebp - 4], eax
jbe 0x4ac572
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ac543
sub eax, edx
lea edi, [esi - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4ac553
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x10]
lea edi, [esi - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4ac575
mov eax, dword [0x51d454]
push 0x208
push 0
push ebx
mov dword [edi], eax
mov dword [ebp - 4], 0x208
call fcn.004e7d90
mov edx, dword [ebp - 8]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push ebx
push 0
push 0
push str.ProductID
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ac5f3
cmp dword [ebp - 4], eax
jbe 0x4ac5f3
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ac5c4
sub eax, edx
lea edi, [esi - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4ac5d4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x10]
lea edi, [esi - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4ac5f6
mov eax, dword [0x51d454]
push 0x208
push 0
push ebx
mov dword [edi], eax
mov dword [ebp - 4], 0x208
call fcn.004e7d90
mov edx, dword [ebp - 8]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push ebx
push 0
push 0
push str.RegCompany
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ac674
cmp dword [ebp - 4], eax
jbe 0x4ac674
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ac645
sub eax, edx
lea edi, [esi - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4ac655
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x10]
lea edi, [esi - 2]
jmp 0x4ac680
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4ac680
mov eax, dword [0x51d454]
push 0x208
push 0
push ebx
mov dword [edi], eax
mov dword [ebp - 4], 0x208
call fcn.004e7d90
mov edx, dword [ebp - 8]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push ebx
push 0
push 0
push str.RegOwner
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ac6ff
cmp dword [ebp - 4], eax
jbe 0x4ac6ff
mov eax, ebx
mov edx, ebx
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ac6d0
sub eax, edx
lea edi, [esi - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4ac6e0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x10]
lea edi, [esi - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4ac702
mov eax, dword [0x51d454]
push 0x208
push 0
push ebx
mov dword [edi], eax
mov dword [ebp - 4], 0x208
call fcn.004e7d90
mov edx, dword [ebp - 8]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push ebx
push 0
push 0
push str.URLInfoAbout
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ac780
cmp dword [ebp - 4], eax
jbe 0x4ac780
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ac751
sub eax, edx
lea edi, [esi - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4ac761
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x10]
lea edi, [esi - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4ac783
mov eax, dword [0x51d454]
push 0x208
push 0
push ebx
mov dword [edi], eax
mov dword [ebp - 4], 0x208
call fcn.004e7d90
mov edx, dword [ebp - 8]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push ebx
push 0
push 0
push str.URLUpdateInfo
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ac801
cmp dword [ebp - 4], eax
jbe 0x4ac801
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ac7d2
sub eax, edx
lea edi, [esi - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4ac7e2
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x10]
lea edi, [esi - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4ac804
mov eax, dword [0x51d454]
mov dword [edi], eax
lea eax, [esi - 2]
lea ebx, [ebx]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4ac820
mov ecx, dword [str.System]
mov dword [eax], ecx
mov edx, dword [0x521c74]
mov dword [eax + 4], edx
mov ecx, dword [0x521c78]
mov dword [eax + 8], ecx
mov dx, word [0x521c7c]
mov word [eax + 0xc], dx
lea edi, [esi - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4ac854
mov eax, dword [0x51d454]
mov dword [edi], eax
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ac870
sub eax, edx
sar eax, 1
mov ecx, 1
mov word [esi + eax*2], cx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0xc]
mov esi, dword [ebp - 0x14]
push 0x400
push 0
push esi
call fcn.004e7d90
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add esp, 0xc
push 0x400
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4ac150
mov edx, dword [ebp - 0x14]
push edx
call fcn.004e424b
mov eax, dword [ebp - 0x10]
push eax
call fcn.004e424b
push ebx
call fcn.004e424b
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret