Function at 0x18078457
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 0x1807847b
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x20], edi
lea ecx, [ebx + 8]
cmp dword [ecx], edi
jne 0x180784a5
push dword [ebx + 4]
xor eax, eax
cmp byte [ebx + 0x24], al
setne al
add eax, 0x80000001
push eax
mov eax, 0x20019
call fcn.180227c8
test eax, eax
jne 0x18078707
cmp dword [ebx], 5
je 0x18078707
jmp 0x180784b2
xor edi, edi
lea esi, [ebx + 0x10]
cmp dword [esi], edi
jne 0x18078525
mov eax, dword [ebx]
sub eax, edi
je 0x180784fa
dec eax
je 0x180784ed
dec eax
je 0x180784e0
dec eax
je 0x180784d3
dec eax
jne 0x18078522
mov dword [ebx], 5
jmp 0x18078522
mov dword [ebx], 4
mov ecx, str.Booleans
jmp 0x18078505
mov dword [ebx], 3
mov ecx, str.Integers
jmp 0x18078505
mov dword [ebx], 2
mov ecx, str.Timings
jmp 0x18078505
mov dword [ebx], 1
mov ecx, str.Counts
cmp ecx, edi
je 0x18078522
mov eax, dword [ebx + 8]
push ecx
push eax
mov eax, 0x20019
mov ecx, esi
call fcn.180227c8
test eax, eax
jne 0x180786f1
mov dword [ebx + 0x18], edi
cmp dword [ebx], 5
je 0x18078707
mov eax, dword [0x180fa268]
mov ecx, 0x180fa268
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 0x180785a6
lea esi, [ebx + 0x10]
call fcn.1802293f
jmp 0x180786e6
test edi, edi
jne 0x180786e6
push dword [ebp - 0x28]
lea esi, [ebx + 0x1c]
mov eax, esi
call fcn.1800ba49
mov eax, dword [ebx]
dec eax
je 0x1807868e
dec eax
je 0x18078651
dec eax
je 0x18078620
dec eax
jne 0x180786e0
push 4
pop edi
cmp dword [ebp - 0x2c], edi
jne 0x180786e6
push 0x18
call fcn.1809d904
pop ecx
test eax, eax
je 0x180786ca
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], 0x180d02dc
cmp ecx, 1
ja 0x18078617
mov dword [eax + 0x14], ecx
jmp 0x180786c6
or dword [eax + 0x14], 0xffffffff
jmp 0x180786c6
cmp dword [ebp - 0x2c], 8
jne 0x180786e6
push 0x20
call fcn.1809d904
pop ecx
test eax, eax
je 0x180786ca
mov esi, dword [esi]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [eax + 8], 3
mov dword [eax], 0x180d02dc
jmp 0x180786b5
cmp dword [ebp - 0x2c], 0x20
jne 0x180786e6
push 0x38
call fcn.1809d904
pop ecx
test eax, eax
je 0x180786ca
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], 0x180d02dc
rep movsd dword es:[edi], dword [esi]
jmp 0x180786c6
cmp dword [ebp - 0x2c], 8
jne 0x180786e6
push 0x20
call fcn.1809d904
pop ecx
test eax, eax
je 0x180786ca
mov esi, dword [esi]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [eax + 8], 1
mov dword [eax], 0x180d02dc
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 0x180786cc
xor esi, esi
mov ecx, dword [ebx + 0x20]
cmp esi, ecx
je 0x180786e0
test ecx, ecx
je 0x180786dd
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x20], esi
cmp dword [ebx + 0x20], 0
jne 0x180786fc
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.18004250
cmp dword [ebx], 5
jne 0x180784b0
jmp 0x18078707
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.1809ccb5
leave
ret