Function at 0x180c8a58
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
push 0
lea ecx, [ebx + 0x28]
call fcn.18048df9
lea ecx, [ebx + 8]
cmp dword [ecx], 0
jne 0x180c8aa5
xor eax, eax
cmp byte [ebx + 0x2c], al
push 0x20019
push dword [ebx + 4]
setne al
add eax, 0x80000001
push eax
call fcn.1803ce02
test eax, eax
jne 0x180c8d04
lea ecx, [ebx + 8]
mov eax, dword [ebx]
cmp eax, 5
je 0x180c8d04
lea edi, [ebx + 0x14]
cmp dword [edi], 0
jne 0x180c8b26
sub eax, 0
je 0x180c8b00
sub eax, 1
je 0x180c8af3
sub eax, 1
je 0x180c8ae6
sub eax, 1
je 0x180c8ad9
sub eax, 1
jne 0x180c8b22
mov dword [ebx], 5
jmp 0x180c8b22
mov dword [ebx], 4
mov eax, str.Booleans
jmp 0x180c8b0b
mov dword [ebx], 3
mov eax, str.Integers
jmp 0x180c8b0b
mov dword [ebx], 2
mov eax, str.Timings
jmp 0x180c8b0b
mov dword [ebx], 1
mov eax, str.Counts
push 0x20019
push eax
push dword [ecx]
mov ecx, edi
call fcn.1803ce02
test eax, eax
jne 0x180c8cea
and dword [ebx + 0x20], 0
cmp dword [ebx], 5
je 0x180c8cea
and dword [ebp - 0x28], 0
call fcn.18006f9c
push eax
lea ecx, [ebp - 0x28]
call fcn.180076af
mov eax, dword [ebp - 0x28]
xor edx, edx
and dword [ebp - 0x30], 0
inc edx
mov dword [ebp - 0x34], 0xff
mov dword [ebp - 0x2c], 0x20
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0xff
or ecx, edx
jge 0x180c8b7c
push 0xff
lea ecx, [ebp - 0x28]
lfence
call fcn.1800773c
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push 0
lea ecx, [ebp - 0x34]
push ecx
push eax
push dword [ebx + 0x20]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.18009ed8
inc dword [ebx + 0x20]
cmp esi, 0x103
jne 0x180c8bbd
mov ecx, edi
call fcn.1803cd6a
jmp 0x180c8cdf
test esi, esi
jne 0x180c8cdf
push dword [ebp - 0x28]
lea edi, [ebx + 0x24]
mov ecx, edi
call fcn.18011bc7
mov eax, dword [ebx]
sub eax, 1
je 0x180c8c9c
sub eax, 1
je 0x180c8c67
sub eax, 1
je 0x180c8c3e
sub eax, 1
jne 0x180c8cd9
cmp dword [ebp - 0x2c], 4
jne 0x180c8cdf
push 0x18
call fcn.181230a8
mov esi, dword [ebp - 0x24]
pop ecx
mov ecx, dword [edi]
xor edi, edi
mov dword [eax + 4], ecx
mov ecx, esi
mov dword [eax + 8], 4
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 0x181a1d30
sub ecx, edi
je 0x180c8c31
sub ecx, 1
je 0x180c8c31
or esi, 0xffffffff
push 0x14
pop edx
mov ecx, eax
mov dword [ecx + edx], esi
jmp 0x180c8cd0
cmp dword [ebp - 0x2c], 8
jne 0x180c8cdf
push 0x20
call fcn.181230a8
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
pop ecx
mov ecx, dword [edi]
mov dword [eax + 8], 3
mov dword [eax], 0x181a1b04
jmp 0x180c8cbf
cmp dword [ebp - 0x2c], 0x20
jne 0x180c8cdf
push 0x38
call fcn.181230a8
pop ecx
mov ecx, dword [edi]
lea esi, [ebp - 0x24]
xor edi, edi
mov dword [eax + 4], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
lea edi, [eax + 0x18]
push 8
pop ecx
mov dword [eax + 8], 2
mov dword [eax], 0x181a25cc
rep movsd dword es:[edi], dword [esi]
jmp 0x180c8cd0
cmp dword [ebp - 0x2c], 8
jne 0x180c8cdf
push 0x20
call fcn.181230a8
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
pop ecx
mov ecx, dword [edi]
mov dword [eax + 8], 1
mov dword [eax], 0x181a1b04
mov dword [eax + 0x1c], esi
xor edi, edi
mov dword [eax + 0x18], edx
mov dword [eax + 0x10], edi
mov dword [eax + 0xc], edi
mov dword [eax + 4], ecx
push eax
lea ecx, [ebx + 0x28]
call fcn.18048df9
cmp dword [ebx + 0x28], 0
jne 0x180c8cf9
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov eax, dword [ebx]
cmp eax, 5
je 0x180c8d04
lea ecx, [ebx + 8]
jmp 0x180c8ab0
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret