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

Disassembly:
push 0xffffffffffffffff
push 0x57efa8
mov eax, dword fs:[0]
push eax
mov eax, 0x1048
call fcn.005027c0
mov eax, dword [0x6531f0]
xor eax, esp
mov dword [esp + 0x1040], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x105c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x106c]
lea ecx, [esp + 0x24]
push ecx
xor ebx, ebx
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], ebx
call fcn.004026a0
mov dword [esp + 0x1064], ebx
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x18]
push edx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4241e6
mov edx, dword [esp + 0x18]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x3c]
push ecx
push ebx
push ebx
push ebx
push edx
mov dword [esp + 0x50], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor ebp, ebp
cmp dword [esp + 0x20], ebx
jbe 0x4241db
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
mov byte [esp + 0x1064], 1
mov edx, dword [0x669e38]
mov eax, dword [edx + 0xc]
mov ecx, 0x669e38
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x28], edi
mov byte [esp + 0x1064], 3
mov edx, dword [esp + 0x18]
push 0x400
lea ecx, [esp + 0x858]
push ecx
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x42417e
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ebx, 0x63132c
call fcn.0042b340
mov byte [esp + 0x106c], 4
push eax
lea edx, [esp + 0x28]
push edx
lea ebx, [esp + 0x864]
call fcn.0042b340
add esp, 0x10
mov byte [esp + 0x1064], 6
lea ecx, [esp + 0x34]
call fcn.00402750
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x34]
push edx
push str.UninstallString
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x44], 0
mov dword [esp + 0x2c], 0x400
call esi
test eax, eax
jne 0x4240f3
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4240f3
shr eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x54], cx
lea eax, [esp + 0x54]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4240d0
sub eax, edx
sar eax, 1
lea edx, [esp + 0x54]
mov ebx, eax
push edx
lea eax, [esp + 0x2c]
call fcn.004028e0
mov edi, dword [esp + 0x28]
cmp dword [edi - 0xc], 0
je 0x42416b
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x34]
push edx
push str.DisplayName
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 0x400
call esi
test eax, eax
jne 0x42415d
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42415d
shr eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x54], cx
lea eax, [esp + 0x54]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x424140
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x58]
lea esi, [esp + 0x3c]
call fcn.0040e430
mov ebx, dword [esp + 0x30]
lea edx, [esp + 0x38]
push edx
call fcn.0042bc60
mov byte [esp + 0x1064], 3
lea ecx, [esp + 0x1c]
call fcn.00402750
xor ebx, ebx
mov byte [esp + 0x1064], 1
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4241a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1064], bl
cmp dword [esp + 0x50], 8
jb 0x4241bd
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004fdb3f
add esp, 4
xor edx, edx
inc ebp
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
cmp ebp, dword [esp + 0x20]
jb 0x423fdd
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1064], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424211
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x105c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1040]
xor ecx, esp
call fcn.004fdb4a
add esp, 0x1054
ret