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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007ba86
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x10094610]
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 eax, dword [ebp + 0xc]
lea edx, [ebp - 0x428]
push edx
or eax, 0x20019
push eax
xor ebx, ebx
push ebx
mov dword [ebp - 0x434], ecx
mov ecx, dword [ebp + 8]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push ecx
mov dword [ebp - 0x428], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x10053eb7
mov eax, 0x1b58
jmp 0x10053ef8
mov ecx, dword [ebp - 0x428]
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
push ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x424], 0x270f
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x10053f22
mov edx, dword [ebp - 0x428]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x424]
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.100660ff
mov esp, ebp
pop ebp
ret 8
xor ebx, ebx
inc dword [ebp - 0x42c]
sub esp, 0x1c
mov esi, esp
xor edx, edx
mov dword [ebp - 0x430], esp
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x430], esi
mov word [esi], dx
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10053f54
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x10053f71
mov ecx, dword [esi]
jmp 0x10053f73
mov ecx, esi
lea edx, [ebp - 0x218]
cmp edx, ecx
jb 0x10053fb9
cmp eax, 8
jb 0x10053f86
mov ecx, dword [esi]
jmp 0x10053f88
mov ecx, esi
mov edx, dword [esi + 0x10]
lea ecx, [ecx + edx*2]
lea edx, [ebp - 0x218]
cmp ecx, edx
jbe 0x10053fb9
cmp eax, 8
jb 0x10053fa1
mov eax, dword [esi]
jmp 0x10053fa3
mov eax, esi
lea ecx, [ebp - 0x218]
sub ecx, eax
push edi
sar ecx, 1
push ecx
push esi
mov ecx, esi
call fcn.1004dc02
jmp 0x10054028
cmp edi, 0x7ffffffe
ja 0x100541be
cmp eax, edi
jae 0x10053fd7
mov edx, dword [esi + 0x10]
push edx
push edi
mov ecx, esi
call fcn.1004de4c
jmp 0x10053fee
cmp edi, ebx
jne 0x10053ff0
mov dword [esi + 0x10], ebx
cmp eax, 8
jb 0x10053fe7
mov eax, dword [esi]
jmp 0x10053fe9
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp edi, ebx
seta al
test al, al
je 0x10054028
cmp dword [esi + 0x14], 8
jb 0x10054001
mov eax, dword [esi]
jmp 0x10054003
mov eax, esi
lea ebx, [edi + edi]
push ebx
lea edx, [ebp - 0x218]
push edx
push eax
call fcn.10065820
add esp, 0xc
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edi
jb 0x10054022
mov esi, dword [esi]
xor eax, eax
mov word [ebx + esi], ax
mov edi, dword [ebp - 0x434]
or ebx, 0xffffffff
lea ecx, [ebx + 2]
mov dword [ebp - 4], ebx
call fcn.10054a50
cmp eax, 0x270f
je 0x10054080
cmp dword [ebp - 0x424], 0x270f
jne 0x10054080
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x218]
lea ecx, [edi + 0xfc0]
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x10054064
sub eax, esi
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
call fcn.1004dce6
mov edx, dword [ebp - 0x428]
lea eax, [ebp - 0x438]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x218]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10054191
mov edx, dword [ebp - 0x438]
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x420]
push ecx
push 0
push 0
push str.DisplayName
push edx
mov dword [ebp - 0x43c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10054184
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x430], esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], eax
lea esi, [eax + 1]
mov dword [ebp - 0x430], ecx
mov word [ecx], ax
lea eax, [ebp - 0x420]
mov dword [ebp - 4], esi
lea edi, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x10054110
sub eax, edi
sar eax, 1
push eax
lea edx, [ebp - 0x420]
push edx
call fcn.1004dce6
mov edi, dword [ebp - 0x434]
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.10054a50
cmp eax, 0x270f
je 0x10054184
cmp dword [ebp - 0x424], 0x270f
jne 0x10054184
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10054160
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x420]
mov ecx, edi
add ecx, 0xfc0
push eax
call fcn.1004dce6
mov ecx, dword [ebp - 0x438]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x428]
push 0x104
lea edx, [ebp - 0x218]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x10053f20
jmp 0x10053ee5
push str.string_too_long
call fcn.100654a0
int3