Function at 0x1805b11c
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 0x1805b140
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x20], edi
lea ecx, [ebx + 8]
cmp dword [ecx], edi
jne 0x1805b16a
push dword [ebx + 4]
xor eax, eax
cmp byte [ebx + 0x24], al
setne al
add eax, 0x80000001
push eax
mov eax, 0x20019
call fcn.18018366
test eax, eax
jne 0x1805b3cc
cmp dword [ebx], 5
je 0x1805b3cc
jmp 0x1805b177
xor edi, edi
lea esi, [ebx + 0x10]
cmp dword [esi], edi
jne 0x1805b1ea
mov eax, dword [ebx]
sub eax, edi
je 0x1805b1bf
dec eax
je 0x1805b1b2
dec eax
je 0x1805b1a5
dec eax
je 0x1805b198
dec eax
jne 0x1805b1e7
mov dword [ebx], 5
jmp 0x1805b1e7
mov dword [ebx], 4
mov ecx, str.Booleans
jmp 0x1805b1ca
mov dword [ebx], 3
mov ecx, str.Integers
jmp 0x1805b1ca
mov dword [ebx], 2
mov ecx, str.Timings
jmp 0x1805b1ca
mov dword [ebx], 1
mov ecx, str.Counts
cmp ecx, edi
je 0x1805b1e7
mov eax, dword [ebx + 8]
push ecx
push eax
mov eax, 0x20019
mov ecx, esi
call fcn.18018366
test eax, eax
jne 0x1805b3b6
mov dword [ebx + 0x18], edi
cmp dword [ebx], 5
je 0x1805b3cc
mov eax, dword [0x180b41a8]
mov ecx, 0x180b41a8
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.18002b40
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.18003bbe
inc dword [ebx + 0x18]
cmp edi, 0x103
jne 0x1805b26b
lea esi, [ebx + 0x10]
call fcn.180184dd
jmp 0x1805b3ab
test edi, edi
jne 0x1805b3ab
push dword [ebp - 0x28]
lea esi, [ebx + 0x1c]
mov eax, esi
call fcn.1800a3cc
mov eax, dword [ebx]
dec eax
je 0x1805b353
dec eax
je 0x1805b316
dec eax
je 0x1805b2e5
dec eax
jne 0x1805b3a5
push 4
pop edi
cmp dword [ebp - 0x2c], edi
jne 0x1805b3ab
push 0x18
call fcn.18076e14
pop ecx
test eax, eax
je 0x1805b38f
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], 0x180a1098
cmp ecx, 1
ja 0x1805b2dc
mov dword [eax + 0x14], ecx
jmp 0x1805b38b
or dword [eax + 0x14], 0xffffffff
jmp 0x1805b38b
cmp dword [ebp - 0x2c], 8
jne 0x1805b3ab
push 0x20
call fcn.18076e14
pop ecx
test eax, eax
je 0x1805b38f
mov esi, dword [esi]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [eax + 8], 3
mov dword [eax], 0x180a1098
jmp 0x1805b37a
cmp dword [ebp - 0x2c], 0x20
jne 0x1805b3ab
push 0x38
call fcn.18076e14
pop ecx
test eax, eax
je 0x1805b38f
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], 0x180a1098
rep movsd dword es:[edi], dword [esi]
jmp 0x1805b38b
cmp dword [ebp - 0x2c], 8
jne 0x1805b3ab
push 0x20
call fcn.18076e14
pop ecx
test eax, eax
je 0x1805b38f
mov esi, dword [esi]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [eax + 8], 1
mov dword [eax], 0x180a1098
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 0x1805b391
xor esi, esi
mov ecx, dword [ebx + 0x20]
cmp esi, ecx
je 0x1805b3a5
test ecx, ecx
je 0x1805b3a2
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x20], esi
cmp dword [ebx + 0x20], 0
jne 0x1805b3c1
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.18003e1e
cmp dword [ebx], 5
jne 0x1805b175
jmp 0x1805b3cc
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.18003e1e
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.180761c5
leave
ret