Function at 0x1807b014
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x180fd00c]
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 0x1807b03a
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebx + 8]
cmp dword [ecx], 0
jne 0x1807b068
xor eax, eax
cmp byte [ebx + 0x2c], al
push 0x20019
push dword [ebx + 4]
setne al
add eax, reloc.WS2_32.dll_accept
push eax
call fcn.180189a3
test eax, eax
jne 0x1807b2c3
lea ecx, [ebx + 8]
mov eax, dword [ebx]
cmp eax, 5
je 0x1807b2c3
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x2c], esi
lea edi, [ebx + 0x14]
cmp dword [edi], 0
jne 0x1807b0f4
sub eax, 0
je 0x1807b0cc
sub eax, 1
je 0x1807b0bf
sub eax, 1
je 0x1807b0b2
sub eax, 1
je 0x1807b0a5
sub eax, 1
jne 0x1807b0ee
mov dword [ebx], 5
jmp 0x1807b0ee
mov dword [ebx], 4
mov eax, str.Booleans
jmp 0x1807b0d7
mov dword [ebx], 3
mov eax, str.Integers
jmp 0x1807b0d7
mov dword [ebx], 2
mov eax, str.Timings
jmp 0x1807b0d7
mov dword [ebx], 1
mov eax, str.Counts
push 0x20019
push eax
push dword [ecx]
mov ecx, edi
call fcn.180189a3
test eax, eax
jne 0x1807b2a9
and dword [ebx + 0x20], 0
mov eax, dword [ebx]
cmp eax, 5
je 0x1807b2a9
lea ecx, [ebp - 0x28]
call fcn.18005c3b
mov eax, dword [ebp - 0x28]
xor edx, edx
and dword [ebp - 0x34], 0
inc edx
mov dword [ebp - 0x38], 0xff
mov dword [ebp - 0x30], 0x20
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0xff
or ecx, edx
jge 0x1807b13d
push 0xff
lea ecx, [ebp - 0x28]
call fcn.18006135
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push 0
lea ecx, [ebp - 0x38]
push ecx
push eax
push dword [ebx + 0x20]
push dword [edi]
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.18005c62
inc dword [ebx + 0x20]
cmp esi, 0x103
jne 0x1807b17a
mov ecx, edi
call fcn.18018928
jmp 0x1807b29b
test esi, esi
jne 0x1807b29b
push dword [ebp - 0x28]
lea edi, [ebx + 0x24]
mov ecx, edi
call fcn.1800600b
mov eax, dword [ebx]
sub eax, 1
je 0x1807b251
sub eax, 1
je 0x1807b21c
sub eax, 1
je 0x1807b1f3
sub eax, 1
jne 0x1807b295
push 4
pop esi
cmp dword [ebp - 0x30], esi
jne 0x1807b29b
push 0x18
call fcn.180a6a69
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, edx
mov dword [eax + 8], esi
mov dword [eax], 0x180e6ab0
sub ecx, 0
je 0x1807b1e9
sub ecx, 1
je 0x1807b1e9
or edx, 0xffffffff
mov ecx, eax
mov dword [ecx + 0x14], edx
jmp 0x1807b285
cmp dword [ebp - 0x30], 8
jne 0x1807b29b
push 0x20
call fcn.180a6a69
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
pop ecx
mov ecx, dword [edi]
mov dword [eax + 8], 3
mov dword [eax], 0x180e6aac
jmp 0x1807b274
cmp dword [ebp - 0x30], 0x20
jne 0x1807b29b
push 0x38
call fcn.180a6a69
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
pop ecx
mov dword [eax + 8], 2
mov dword [eax], 0x180e9298
rep movsd dword es:[edi], dword [esi]
jmp 0x1807b285
cmp dword [ebp - 0x30], 8
jne 0x1807b29b
push 0x20
call fcn.180a6a69
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
pop ecx
mov ecx, dword [edi]
mov dword [eax + 8], 1
mov dword [eax], 0x180e6aac
and dword [eax + 0xc], 0
mov dword [eax + 0x1c], esi
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 0x1807b295
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [ebx + 0x28], 0
jne 0x1807b2b8
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.18003140
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebx]
cmp eax, 5
je 0x1807b2c3
lea ecx, [ebx + 8]
jmp 0x1807b07c
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.18003140
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.180a61d8
leave
ret