Function at 0x408ad0
Capabilities:
Delete registry key
Get installed programs
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x440e71
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4558c0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4558c0]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov eax, dword [esp + 0x240]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallYouxunbox
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], eax
call fcn.00401800
mov dword [esp + 0x238], 0
mov ecx, dword [esp + 0x14]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x408ce4
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push 0
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x408cd0
push 0x1fe
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0042b410
mov eax, dword [esp + 0x24]
add esp, 0xc
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x40]
push edx
push 0
push eax
mov dword [esp + 0x3c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x408cd0
cmp eax, 0xea
je 0x408cd0
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
call fcn.00401800
push 2
lea ecx, [esp + 0x28]
push ecx
lea ebx, [esp + 0x28]
mov byte [esp + 0x240], 1
call fcn.0040a270
mov edi, dword [esp + 0x28]
add edi, 0xf4
mov byte [esp + 0x238], 2
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x408c51
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x408c45
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x408c45
push eax
call fcn.00401ef0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x408c3e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [edi], ebp
jmp 0x408c51
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, edi
call fcn.00401df0
mov byte [esp + 0x238], 1
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 0x408c79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x238], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408ca1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x40]
push edx
push 0
push eax
mov dword [esp + 0x3c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x408bad
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
push SysReAllocString
call esi
mov dword [esp + 0x238], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408d0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.004293f9
add esp, 0x228
ret 4