Function at 0x41add0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a13e
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x55746c]
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.0041a3c0
mov ecx, eax
test ecx, ecx
je 0x41b018
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.00403e60
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.0041b030
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 0x41ae86
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 0x41aea7
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040aae0
mov esi, dword [ebp - 0x21c]
push 0x51a8b4
push esi
call fcn.004b1553
add esp, 8
test eax, eax
jne 0x41af0a
add esi, 0xfffffff0
push esi
call fcn.004042d0
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 0x41aee2
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 0x41aff8
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x41aff8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00495040
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.SOFTWAREHaloDesktop
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x218], 0
je 0x41afb0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41af72
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00405580
lea ecx, [ebp - 0x21c]
call fcn.004167b0
lea ecx, [ebp - 0x21c]
call fcn.004166b0
mov esi, dword [ebp - 0x21c]
add esi, 0xfffffff0
push esi
call fcn.004042d0
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 0x41afd9
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 0x41aff8
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.00468598
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00404170
int3