Function at 0x41b570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd3cb
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x532ab0]
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 dword [ebp - 0x83c], ecx
xor ebx, ebx
mov dword [ebp - 4], 0
cmp byte [0x53b870], bl
mov eax, dword [0x5326d8]
sete bl
mov ecx, 0x5326d8
add ebx, 0x80000001
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x824], esi
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x828], 0
mov byte [ebp - 4], 3
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x818], eax
mov eax, str.Software_
mov byte [ebp - 4], 4
test eax, 0xffff0000
jne 0x41b637
movzx edi, ax
mov ecx, edi
call fcn.00401140
test eax, eax
je 0x41b647
push edi
push eax
lea ecx, [ebp - 0x818]
call fcn.00401f80
jmp 0x41b647
push str.Software_
lea ecx, [ebp - 0x818]
call fcn.00404640
lea eax, [ebp - 0x818]
push eax
lea edx, [ebp - 0x824]
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 5
call fcn.00404430
push 0x53b9b4
mov edx, eax
lea ecx, [ebp - 0x838]
mov byte [ebp - 4], 6
call fcn.00404430
push 0x519224
mov edx, eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 7
call fcn.00419e30
lea ecx, [ebp + 8]
push ecx
mov edx, eax
lea ecx, [ebp - 0x81c]
mov byte [ebp - 4], 8
call fcn.00404430
add esp, 0x10
lea ecx, [ebp - 0x830]
push 1
push dword [eax]
push ebx
call fcn.0041ab70
mov edx, dword [ebp - 0x81c]
test eax, eax
setne byte [ebp - 0x811]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41b6e2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x834]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b705
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x838]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b728
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x840]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b74b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x818]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b76e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x811], 0
je 0x41b789
mov eax, dword [ebp - 0x830]
mov byte [ebp - 0x811], 0
jmp 0x41b8d4
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
mov dword [ebp - 0x820], 0x400
call fcn.004a96d0
mov esi, dword [ebp - 0x830]
add esp, 0xc
xor ebx, ebx
lea esp, [esp]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
inc ebx
mov dword [ebp - 0x81c], ebx
test edi, edi
je 0x41b7f7
cmp edi, 0x103
jne 0x41b8a9
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x818], eax
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 9
test eax, 0xffff0000
jne 0x41b93f
movzx ebx, ax
mov ecx, ebx
call fcn.00401140
test eax, eax
je 0x41b83d
push ebx
push eax
lea ecx, [ebp - 0x818]
call fcn.00401f80
mov ebx, dword [ebp - 0x81c]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x818]
cmp dword [eax - 0xc], 0
je 0x41b865
mov ecx, dword [ebp - 0x83c]
lea eax, [ebp - 0x818]
push eax
call fcn.0041bce0
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
mov dword [ebp - 0x820], 0x400
call fcn.004a96d0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x818]
add edx, 0xfffffff0
add esp, 0xc
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b8a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x41b7c0
mov eax, dword [ebp - 0x830]
test esi, esi
mov esi, dword [ebp - 0x824]
je 0x41b8ca
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov byte [ebp - 0x811], 1
or ebx, 0xffffffff
test eax, eax
je 0x41b8df
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b8fc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x41b91d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x811]
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.004a4ab5
mov esp, ebp
pop ebp
ret
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b942
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x818]
call fcn.00401be0
jmp 0x41b843