Function at 0x18078468
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x180f51f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebx + 0x20]
push esi
push edi
xor edi, edi
cmp ecx, edi
je 0x1807848c
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x20], edi
lea ecx, [ebx + 8]
cmp dword [ecx], edi
jne 0x180784b6
push dword [ebx + 4]
xor eax, eax
cmp byte [ebx + 0x24], al
setne al
add eax, 0x80000001
push eax
mov eax, 0x20019
call fcn.180227e5
test eax, eax
jne 0x18078718
cmp dword [ebx], 5
je 0x18078718
jmp 0x180784c3
xor edi, edi
lea esi, [ebx + 0x10]
cmp dword [esi], edi
jne 0x18078536
mov eax, dword [ebx]
sub eax, edi
je 0x1807850b
dec eax
je 0x180784fe
dec eax
je 0x180784f1
dec eax
je 0x180784e4
dec eax
jne 0x18078533
mov dword [ebx], 5
jmp 0x18078533
mov dword [ebx], 4
mov ecx, str.Booleans
jmp 0x18078516
mov dword [ebx], 3
mov ecx, str.Integers
jmp 0x18078516
mov dword [ebx], 2
mov ecx, str.Timings
jmp 0x18078516
mov dword [ebx], 1
mov ecx, str.Counts
cmp ecx, edi
je 0x18078533
mov eax, dword [ebx + 8]
push ecx
push eax
mov eax, 0x20019
mov ecx, esi
call fcn.180227e5
test eax, eax
jne 0x18078702
mov dword [ebx + 0x18], edi
cmp dword [ebx], 5
je 0x18078718
mov eax, dword [0x180fa248]
mov ecx, 0x180fa248
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.18002f83
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.18003fe5
inc dword [ebx + 0x18]
cmp edi, 0x103
jne 0x180785b7
lea esi, [ebx + 0x10]
call fcn.1802295c
jmp 0x180786f7
test edi, edi
jne 0x180786f7
push dword [ebp - 0x28]
lea esi, [ebx + 0x1c]
mov eax, esi
call fcn.1800ba49
mov eax, dword [ebx]
dec eax
je 0x1807869f
dec eax
je 0x18078662
dec eax
je 0x18078631
dec eax
jne 0x180786f1
push 4
pop edi
cmp dword [ebp - 0x2c], edi
jne 0x180786f7
push 0x18
call fcn.1809d904
pop ecx
test eax, eax
je 0x180786db
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], 0x180d02e4
cmp ecx, 1
ja 0x18078628
mov dword [eax + 0x14], ecx
jmp 0x180786d7
or dword [eax + 0x14], 0xffffffff
jmp 0x180786d7
cmp dword [ebp - 0x2c], 8
jne 0x180786f7
push 0x20
call fcn.1809d904
pop ecx
test eax, eax
je 0x180786db
mov esi, dword [esi]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [eax + 8], 3
mov dword [eax], 0x180d02e4
jmp 0x180786c6
cmp dword [ebp - 0x2c], 0x20
jne 0x180786f7
push 0x38
call fcn.1809d904
pop ecx
test eax, eax
je 0x180786db
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], 0x180d02e4
rep movsd dword es:[edi], dword [esi]
jmp 0x180786d7
cmp dword [ebp - 0x2c], 8
jne 0x180786f7
push 0x20
call fcn.1809d904
pop ecx
test eax, eax
je 0x180786db
mov esi, dword [esi]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [eax + 8], 1
mov dword [eax], 0x180d02e4
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 0x180786dd
xor esi, esi
mov ecx, dword [ebx + 0x20]
cmp esi, ecx
je 0x180786f1
test ecx, ecx
je 0x180786ee
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x20], esi
cmp dword [ebx + 0x20], 0
jne 0x1807870d
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.18004250
cmp dword [ebx], 5
jne 0x180784c1
jmp 0x18078718
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.18004250
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1809cca5
leave
ret