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

Disassembly:
push 0xffffffffffffffff
push 0x418c26
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x41f030]
xor eax, esp
mov dword [esp + 0x458], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41f030]
xor eax, esp
push eax
lea eax, [esp + 0x470]
mov dword fs:[0], eax
mov eax, dword [esp + 0x480]
mov dword [esp + 0x20], eax
xor ecx, ecx
mov ebx, 7
xor ebp, ebp
push 0x33
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea esi, [esp + 0x44]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], cx
call fcn.00403480
mov dword [esp + 0x478], ebp
xor edx, edx
xor edi, edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], dx
push 0x206
lea ecx, [esp + 0x62]
xor eax, eax
push ebp
mov byte [esp + 0x480], 1
push ecx
mov word [esp + 0x68], ax
call fcn.0040bea0
mov eax, dword [esp + 0x50]
mov ebx, 8
add esp, 0xc
mov dword [esp + 0x14], 0x104
cmp dword [esp + 0x58], ebx
jae 0x408ac1
lea eax, [esp + 0x44]
lea edx, [esp + 0x18]
push edx
push 0x20019
push ebp
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x408b16
cmp dword [esp + 0x3c], ebx
jb 0x408aef
mov eax, dword [esp + 0x28]
push eax
call fcn.0040b187
add esp, 4
xor ecx, ecx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], cx
cmp dword [esp + 0x58], ebx
jb 0x408cda
mov edx, dword [esp + 0x44]
push edx
jmp 0x408cd2
mov edx, dword [esp + 0x18]
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x70]
push ecx
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x408c6c
jmp 0x408b40
lea eax, [esp + 0x5c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x408b47
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x60]
lea esi, [esp + 0x28]
call fcn.00403480
push str.PC_App_Store
mov ebx, 0xc
mov eax, esi
call fcn.00409ad0
cmp eax, 0xffffffff
jne 0x408bae
mov edx, dword [esp + 0x18]
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x70]
push ecx
inc edi
push edi
push edx
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x408b40
mov ebx, 8
jmp 0x408c6c
push 1
mov eax, 0x41b03c
lea ecx, [esp + 0x44]
call fcn.00402fd0
push ebp
lea eax, [esp + 0x28]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x48]
call fcn.004033c0
mov eax, dword [esp + 0x44]
mov esi, 8
cmp dword [esp + 0x58], esi
jae 0x408be3
lea eax, [esp + 0x44]
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push ebp
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x408c38
cmp dword [esp + 0x3c], esi
jb 0x408c11
mov edx, dword [esp + 0x28]
push edx
call fcn.0040b187
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], ax
cmp dword [esp + 0x58], esi
jb 0x408cda
mov ecx, dword [esp + 0x44]
push ecx
jmp 0x408cd2
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x268]
push eax
push ebp
push ebp
push str.InstallDir
push ecx
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, esi
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x264]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x408c81
mov esi, dword [esp + 0x20]
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x268]
call fcn.00403480
cmp dword [esp + 0x3c], ebx
jb 0x408cb4
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0040b187
add esp, 4
xor edx, edx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], dx
cmp dword [esp + 0x58], ebx
jb 0x408cda
mov eax, dword [esp + 0x44]
push eax
call fcn.0040b187
add esp, 4
mov ecx, dword [esp + 0x470]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.0040b192
add esp, 0x468
ret