Function at 0x417040
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51808e
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5684dc]
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 esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 0
call fcn.00416f80
mov ecx, eax
test ecx, ecx
je 0x417288
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push edi
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 1
call fcn.00404100
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.004172a0
mov edx, dword [ebp - 0x220]
or edi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4170f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x21c]
cmp dword [esi - 0xc], 0
jne 0x417117
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040ad80
mov esi, dword [ebp - 0x21c]
push str.home
push esi
call fcn.004c0593
add esp, 8
test eax, eax
jne 0x41717a
add esi, 0xfffffff0
push esi
call fcn.00404570
add eax, 0x10
mov byte [ebp - 4], 0
mov dword [ebx], eax
add esp, 4
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x417152
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x417268
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x417268
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a4120
add esp, 0xc
mov dword [ebp - 0x22c], 1
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x224]
push str.SOFTWAREAICleaner
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x218], 0
je 0x417220
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4171e2
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00405820
lea ecx, [ebp - 0x21c]
call fcn.00414f30
lea ecx, [ebp - 0x21c]
call fcn.00414e80
mov esi, dword [ebp - 0x21c]
add esi, 0xfffffff0
push esi
call fcn.00404570
add eax, 0x10
mov byte [ebp - 4], 0
mov dword [ebx], eax
add esp, 4
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x417249
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x417268
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.004774d8
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00404410
int3