Function at 0x180c2ea3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x181cb008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx + 0x28]
and dword [ebx + 0x28], 0
test ecx, ecx
je 0x180c2ec9
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebx + 8]
cmp dword [ecx], 0
jne 0x180c2ef7
xor eax, eax
cmp byte [ebx + 0x2c], al
push 0x20019
push dword [ebx + 4]
setne al
add eax, 0x80000001
push eax
call fcn.18014f76
test eax, eax
jne 0x180c3154
lea ecx, [ebx + 8]
mov eax, dword [ebx]
cmp eax, 5
je 0x180c3154
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x28], esi
lea edi, [ebx + 0x14]
cmp dword [edi], 0
jne 0x180c2f83
sub eax, 0
je 0x180c2f5b
sub eax, 1
je 0x180c2f4e
sub eax, 1
je 0x180c2f41
sub eax, 1
je 0x180c2f34
sub eax, 1
jne 0x180c2f7d
mov dword [ebx], 5
jmp 0x180c2f7d
mov dword [ebx], 4
mov eax, str.Booleans
jmp 0x180c2f66
mov dword [ebx], 3
mov eax, str.Integers
jmp 0x180c2f66
mov dword [ebx], 2
mov eax, str.Timings
jmp 0x180c2f66
mov dword [ebx], 1
mov eax, str.Counts
push 0x20019
push eax
push dword [ecx]
mov ecx, edi
call fcn.18014f76
test eax, eax
jne 0x180c3114
and dword [ebx + 0x20], 0
mov eax, dword [ebx]
cmp eax, 5
je 0x180c3114
call fcn.18004001
push eax
lea ecx, [ebp - 0x30]
call fcn.180070cc
and dword [ebp - 0x38], 0
lea ecx, [ebp - 0x30]
mov eax, 0xff
mov dword [ebp - 0x2c], 0x20
push eax
mov dword [ebp - 0x3c], eax
call fcn.18006fc2
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push 0
lea ecx, [ebp - 0x3c]
push ecx
push eax
push dword [ebx + 0x20]
push dword [edi]
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.18006def
inc dword [ebx + 0x20]
cmp esi, 0x103
jne 0x180c2ff9
mov ecx, edi
call fcn.18014efb
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
jmp 0x180c310c
test esi, esi
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x34], esi
jne 0x180c3109
lea edi, [ebx + 0x24]
push esi
mov ecx, edi
call fcn.1800b9f1
mov eax, dword [ebx]
sub eax, 1
je 0x180c3123
sub eax, 1
je 0x180c30bd
sub eax, 1
je 0x180c3072
sub eax, 1
jne 0x180c3103
cmp dword [ebp - 0x2c], 4
jne 0x180c3109
push 0x18
call fcn.18144dcf
mov edx, dword [ebp - 0x24]
pop ecx
mov ecx, dword [edi]
and dword [eax + 0xc], 0
and dword [eax + 0x10], 0
mov dword [eax + 4], ecx
mov ecx, eax
mov dword [eax + 8], 4
mov dword [eax], 0x181aa1fc
cmp edx, 1
jbe 0x180c306d
or edx, 0xffffffff
mov dword [ecx + 0x14], edx
jmp 0x180c30ab
cmp dword [ebp - 0x2c], 8
jne 0x180c3109
push 0x20
call fcn.18144dcf
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
pop ecx
mov ecx, dword [ebx + 0x24]
mov dword [eax + 8], 3
mov dword [eax], 0x181aa1f8
and dword [eax + 0xc], 0
mov dword [eax + 0x1c], edi
mov dword [eax + 0x18], edx
and dword [eax + 0x10], 0
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 0x28]
mov dword [ebx + 0x28], eax
test ecx, ecx
je 0x180c3103
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x180c3103
cmp dword [ebp - 0x2c], 0x20
jne 0x180c3109
push 0x38
call fcn.18144dcf
pop ecx
mov ecx, dword [edi]
lea esi, [ebp - 0x24]
push 8
and dword [eax + 0xc], 0
lea edi, [eax + 0x18]
and dword [eax + 0x10], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], 2
mov dword [eax], 0x181accc8
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x28]
mov dword [ebx + 0x28], eax
test ecx, ecx
je 0x180c3100
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [ebp - 0x34]
cmp dword [ebx + 0x28], 0
jne 0x180c314c
lea ecx, [esi - 0x10]
call fcn.18004665
mov esi, dword [ebp - 0x28]
mov eax, dword [ebx]
cmp eax, 5
je 0x180c3154
lea ecx, [ebx + 8]
jmp 0x180c2f0b
cmp dword [ebp - 0x2c], 8
jne 0x180c3109
push 0x20
call fcn.18144dcf
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
pop ecx
mov ecx, dword [ebx + 0x24]
mov dword [eax + 8], 1
mov dword [eax], 0x181aa1f8
jmp 0x180c309a
lea ecx, [esi - 0x10]
call fcn.18004665
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18144705
leave
ret