Function at 0x1805a8d4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x180af1d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebx + 0x20]
push esi
push edi
xor edi, edi
cmp ecx, edi
je 0x1805a8f8
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x20], edi
lea ecx, [ebx + 8]
cmp dword [ecx], edi
jne 0x1805a922
push dword [ebx + 4]
xor eax, eax
cmp byte [ebx + 0x24], al
setne al
add eax, 0x80000001
push eax
mov eax, 0x20019
call fcn.180182f9
test eax, eax
jne 0x1805ab84
cmp dword [ebx], 5
je 0x1805ab84
jmp 0x1805a92f
xor edi, edi
lea esi, [ebx + 0x10]
cmp dword [esi], edi
jne 0x1805a9a2
mov eax, dword [ebx]
sub eax, edi
je 0x1805a977
dec eax
je 0x1805a96a
dec eax
je 0x1805a95d
dec eax
je 0x1805a950
dec eax
jne 0x1805a99f
mov dword [ebx], 5
jmp 0x1805a99f
mov dword [ebx], 4
mov ecx, str.Booleans
jmp 0x1805a982
mov dword [ebx], 3
mov ecx, str.Integers
jmp 0x1805a982
mov dword [ebx], 2
mov ecx, str.Timings
jmp 0x1805a982
mov dword [ebx], 1
mov ecx, str.Counts
cmp ecx, edi
je 0x1805a99f
mov eax, dword [ebx + 8]
push ecx
push eax
mov eax, 0x20019
mov ecx, esi
call fcn.180182f9
test eax, eax
jne 0x1805ab6e
mov dword [ebx + 0x18], edi
cmp dword [ebx], 5
je 0x1805ab84
mov eax, dword [0x180b4188]
mov ecx, 0x180b4188
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov eax, 0xff
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
push eax
lea eax, [ebp - 0x28]
lea edi, [ebp - 0x40]
mov dword [ebp - 0x2c], 0x20
call fcn.18002b2f
mov eax, dword [eax + 4]
mov ecx, dword [esi]
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x30]
push edx
push 0
lea edx, [ebp - 0x34]
push edx
push eax
push dword [ebx + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, dword [ebp - 0x40]
mov edi, eax
mov eax, dword [ebp - 0x38]
call fcn.18003baa
inc dword [ebx + 0x18]
cmp edi, 0x103
jne 0x1805aa23
lea esi, [ebx + 0x10]
call fcn.18018470
jmp 0x1805ab63
test edi, edi
jne 0x1805ab63
push dword [ebp - 0x28]
lea esi, [ebx + 0x1c]
mov eax, esi
call fcn.1800a395
mov eax, dword [ebx]
dec eax
je 0x1805ab0b
dec eax
je 0x1805aace
dec eax
je 0x1805aa9d
dec eax
jne 0x1805ab5d
push 4
pop edi
cmp dword [ebp - 0x2c], edi
jne 0x1805ab63
push 0x18
call fcn.18076ac4
pop ecx
test eax, eax
je 0x1805ab47
mov ecx, dword [ebp - 0x24]
mov esi, dword [esi]
and dword [eax + 0xc], 0
and dword [eax + 0x10], 0
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [eax], 0x1809f8c0
cmp ecx, 1
ja 0x1805aa94
mov dword [eax + 0x14], ecx
jmp 0x1805ab43
or dword [eax + 0x14], 0xffffffff
jmp 0x1805ab43
cmp dword [ebp - 0x2c], 8
jne 0x1805ab63
push 0x20
call fcn.18076ac4
pop ecx
test eax, eax
je 0x1805ab47
mov esi, dword [esi]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [eax + 8], 3
mov dword [eax], 0x1809f8c0
jmp 0x1805ab32
cmp dword [ebp - 0x2c], 0x20
jne 0x1805ab63
push 0x38
call fcn.18076ac4
pop ecx
test eax, eax
je 0x1805ab47
mov esi, dword [esi]
and dword [eax + 0xc], 0
and dword [eax + 0x10], 0
mov dword [eax + 4], esi
push 8
lea edi, [eax + 0x18]
pop ecx
lea esi, [ebp - 0x24]
mov dword [eax + 8], 2
mov dword [eax], 0x1809f8c0
rep movsd dword es:[edi], dword [esi]
jmp 0x1805ab43
cmp dword [ebp - 0x2c], 8
jne 0x1805ab63
push 0x20
call fcn.18076ac4
pop ecx
test eax, eax
je 0x1805ab47
mov esi, dword [esi]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [eax + 8], 1
mov dword [eax], 0x1809f8c0
and dword [eax + 0xc], 0
mov dword [eax + 0x1c], edx
mov dword [eax + 0x18], ecx
and dword [eax + 0x10], 0
mov dword [eax + 4], esi
mov esi, eax
jmp 0x1805ab49
xor esi, esi
mov ecx, dword [ebx + 0x20]
cmp esi, ecx
je 0x1805ab5d
test ecx, ecx
je 0x1805ab5a
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x20], esi
cmp dword [ebx + 0x20], 0
jne 0x1805ab79
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.18003e0a
cmp dword [ebx], 5
jne 0x1805a92d
jmp 0x1805ab84
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.18003e0a
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.18075e75
leave
ret