Function at 0x53e54a0
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53ed373
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x54183c4]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x54183c4]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
mov edi, 8
push edi
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x53e5b92
xor ecx, ecx
push ebx
mov word [esp + 0xa0], cx
mov esi, 7
push 0x105
lea ecx, [esp + 0xa4]
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb4], ebx
call fcn.052e8e40
mov dword [esp + 0xc8], ebx
push ebx
xor edx, edx
push 0x105
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], dx
call fcn.052e8e40
mov byte [esp + 0xc8], 1
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x20], 0x104
mov dword [esp + 0x24], ebx
cmp dword [esp + 0xb0], edi
jae 0x53e558d
lea eax, [esp + 0x9c]
mov edx, dword [esp + 0x1c]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x30]
push ecx
push eax
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
jne 0x53e5b4c
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], ebx
cmp dword [esp + 0xb0], edi
jae 0x53e55c6
lea eax, [esp + 0x9c]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x53e5b02
push 0x40
mov dword [esp + 0x30], ebx
call fcn.053506ca
mov esi, eax
add esp, 4
test esi, esi
je 0x53e5bc2
mov dword [esi], esi
mov dword [esp + 0x28], esi
mov dword [esi + 4], esi
mov byte [esp + 0xc8], 2
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], 0x104
cmp dword [esp + 0x5c], edi
jae 0x53e5624
lea eax, [esp + 0x48]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
push 0
push str.DisplayName
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x53e56ee
cmp dword [esp + 0x5c], edi
jb 0x53e5656
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
jmp 0x53e565e
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x68]
push eax
mov edx, str.DisplayName
call fcn.052ef2a0
lea ecx, [esp + 0x64]
mov byte [esp + 0xc8], 3
mov edx, dword [esi + 4]
push ecx
push edx
push esi
call fcn.052e8ca0
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov ebx, 1
mov dword [ecx], eax
mov byte [esp + 0xc8], 2
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x94], edi
jb 0x53e56bb
mov eax, dword [esp + 0x80]
push eax
call fcn.053504e7
add esp, 4
xor ecx, ecx
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], cx
cmp dword [esp + 0x78], edi
jb 0x53e56ee
mov edx, dword [esp + 0x64]
push edx
call fcn.053504e7
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], 0x104
cmp dword [esp + 0x5c], edi
jae 0x53e5704
lea eax, [esp + 0x48]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
push 0
push str.DisplayVersion
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x53e57da
cmp dword [esp + 0x5c], edi
jb 0x53e5736
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
jmp 0x53e573e
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x68]
push eax
mov edx, str.DisplayVersion
call fcn.052ef2a0
lea ecx, [esp + 0x64]
mov byte [esp + 0xc8], 4
mov edx, dword [esi + 4]
push ecx
push edx
push esi
call fcn.052e8ca0
mov ecx, 0x4924923
sub ecx, ebx
cmp ecx, 1
jb 0x53e5bb8
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
inc ebx
mov dword [ecx], eax
mov byte [esp + 0xc8], 2
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x94], edi
jb 0x53e57a7
mov edx, dword [esp + 0x80]
push edx
call fcn.053504e7
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
cmp dword [esp + 0x78], edi
jb 0x53e57da
mov ecx, dword [esp + 0x64]
push ecx
call fcn.053504e7
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], 0x104
cmp dword [esp + 0x5c], edi
jae 0x53e57f0
lea eax, [esp + 0x48]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x20]
push 0
push 0
push str.Publisher
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x53e58c6
cmp dword [esp + 0x5c], edi
jb 0x53e5822
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
jmp 0x53e582a
lea edx, [esp + 0x48]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x68]
push ecx
mov edx, str.Publisher
call fcn.052ef2a0
lea edx, [esp + 0x64]
mov byte [esp + 0xc8], 5
mov eax, dword [esi + 4]
push edx
push eax
push esi
call fcn.052e8ca0
mov ecx, 0x4924923
sub ecx, ebx
cmp ecx, 1
jb 0x53e5bb8
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
inc ebx
mov dword [ecx], eax
mov byte [esp + 0xc8], 2
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x94], edi
jb 0x53e5893
mov edx, dword [esp + 0x80]
push edx
call fcn.053504e7
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
cmp dword [esp + 0x78], edi
jb 0x53e58c6
mov ecx, dword [esp + 0x64]
push ecx
call fcn.053504e7
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], 0x104
cmp dword [esp + 0x5c], edi
jae 0x53e58dc
lea eax, [esp + 0x48]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x20]
push 0
push 0
push str.InstallLocation
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x53e59b2
cmp dword [esp + 0x5c], edi
jb 0x53e590e
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
jmp 0x53e5916
lea edx, [esp + 0x48]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x68]
push ecx
mov edx, str.InstallLocation
call fcn.052ef2a0
lea edx, [esp + 0x64]
mov byte [esp + 0xc8], 6
mov eax, dword [esi + 4]
push edx
push eax
push esi
call fcn.052e8ca0
mov ecx, 0x4924923
sub ecx, ebx
cmp ecx, 1
jb 0x53e5bb8
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
inc ebx
mov dword [ecx], eax
mov byte [esp + 0xc8], 2
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x94], edi
jb 0x53e597f
mov edx, dword [esp + 0x80]
push edx
call fcn.053504e7
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
cmp dword [esp + 0x78], edi
jb 0x53e59b2
mov ecx, dword [esp + 0x64]
push ecx
call fcn.053504e7
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], 0x104
cmp dword [esp + 0x5c], edi
jae 0x53e59c8
lea eax, [esp + 0x48]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x20]
push 0
push 0
push str.UninstallString
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x53e5a9e
cmp dword [esp + 0x5c], edi
jb 0x53e59fa
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
jmp 0x53e5a02
lea edx, [esp + 0x48]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x68]
push ecx
mov edx, str.UninstallString
call fcn.052ef2a0
lea edx, [esp + 0x64]
mov byte [esp + 0xc8], 7
mov eax, dword [esi + 4]
push edx
push eax
push esi
call fcn.052e8ca0
mov ecx, 0x4924923
sub ecx, ebx
cmp ecx, 1
jb 0x53e5bb8
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
inc ebx
mov dword [ecx], eax
mov byte [esp + 0xc8], 2
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x94], edi
jb 0x53e5a6b
mov edx, dword [esp + 0x80]
push edx
call fcn.053504e7
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
cmp dword [esp + 0x78], edi
jb 0x53e5a9e
mov ecx, dword [esp + 0x64]
push ecx
call fcn.053504e7
add esp, 4
test ebx, ebx
je 0x53e5ad7
mov ebx, dword [esp + 0x34]
mov esi, dword [ebx + 0x30]
mov eax, dword [esi + 4]
lea edx, [esp + 0x28]
push edx
push eax
push esi
call fcn.052e70a0
mov ecx, dword [ebx + 0x34]
mov edx, 0x15555554
sub edx, ecx
cmp edx, 1
jb 0x53e5bb8
inc ecx
mov dword [ebx + 0x34], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ebx, [esp + 0x28]
mov byte [esp + 0xc8], 1
call fcn.052e5ce0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.053504e7
add esp, 4
xor ebx, ebx
inc dword [esp + 0x24]
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x20], 0x104
cmp dword [esp + 0xb0], edi
jae 0x53e5b25
lea eax, [esp + 0x9c]
mov ecx, dword [esp + 0x1c]
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x53e55ab
mov esi, 7
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x5c], edi
jb 0x53e5b6a
mov edx, dword [esp + 0x48]
push edx
call fcn.053504e7
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], ax
cmp dword [esp + 0xb0], edi
jb 0x53e5b92
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.053504e7
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.0534fc81
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.05328b02
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x3c], 0
call fcn.0535058b
push 0x540efd0
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], vtable.std::bad_alloc.0
call fcn.05350eca
int3