Function at 0x7d712650
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
lea eax, [ebp - 0x11c]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x11c]
mov dword [ebp - 8], ecx
mov edx, dword [0x7d727a40]
movzx eax, byte [edx]
and eax, 8
je 0x7d7126fa
mov ecx, 1
imul ecx, ecx, 0
movsx edx, byte [ecx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c]
cmp edx, 0x2e
jne 0x7d712698
mov dword [ebp - 0x18], 0x12
jmp 0x7d71269f
mov dword [ebp - 0x18], 0x21
push 0x7d7242c0
push 0x4fc
push 0x7d727de4
mov eax, dword [ebp - 0x18]
add eax, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c
push eax
mov ecx, dword [0x7d727a40]
push ecx
push 3
call fcn.7d71f8f0
add esp, 0x18
cmp eax, 0xffffffff
je 0x7d7126fa
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.__p__d__p__p__p__p__p__p__n
call fcn.7d71f960
add esp, 0x24
cmp dword [ebp + 0x20], 0
je 0x7d712706
cmp dword [ebp + 0x24], 0
je 0x7d712718
cmp dword [ebp + 0x18], 0
jne 0x7d712718
cmp dword [ebp + 0x10], 0
je 0x7d712718
cmp dword [ebp + 0x14], 0
jne 0x7d712722
mov eax, 0x57
jmp 0x7d712944
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.7d7149a0
add esp, 8
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x7d712743
mov eax, 6
jmp 0x7d712944
mov edx, dword [0x7d727a3c]
add edx, 0x20a
mov dword [ebp - 4], edx
cmp dword [ebp + 0x20], 0
je 0x7d712763
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp - 4]
add ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x100
jbe 0x7d712775
mov dword [ebp - 0x1c], 0x100
jmp 0x7d71277b
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x11c]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ntext.dll_NtEnumerateValueKey]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x80000005
jne 0x7d712809
lea eax, [ebp - 0x11c]
cmp dword [ebp - 0xc], eax
je 0x7d7127c3
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.7d714a40
add esp, 4
mov edx, dword [ebp - 4]
push edx
call fcn.7d714a20
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x7d7127e2
mov eax, 8
jmp 0x7d712944
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ntext.dll_NtEnumerateValueKey]
mov dword [ebp - 0x10], eax
jmp 0x7d7127a3
cmp dword [ebp - 0x10], 0
je 0x7d712814
jmp 0x7d712923
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
shr ecx, 1
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx]
jb 0x7d71282f
mov dword [ebp - 0x10], 0x80000005
jmp 0x7d712901
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x14
push edx
mov eax, dword [ebp + 0x10]
push eax
call sub.ntext.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
shr edx, 1
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
xor eax, eax
mov ecx, dword [ebp + 0x10]
mov word [ecx + edx*2], ax
cmp dword [ebp + 0x20], 0
je 0x7d712901
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
sub eax, dword [edx + 8]
mov ecx, dword [ebp + 0x24]
cmp eax, dword [ecx]
jbe 0x7d712887
mov dword [ebp - 0x10], 0x80000005
jmp 0x7d712901
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
sub eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 0x20]
push eax
call sub.ntext.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
sub edx, dword [ecx + 8]
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
sub ecx, 2
cmp edx, ecx
ja 0x7d712901
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call fcn.7d714a60
add esp, 4
test eax, eax
je 0x7d712901
mov ecx, dword [ebp + 0x20]
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
sub ecx, dword [edx + 8]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x20]
jbe 0x7d712901
mov ecx, 2
imul ecx, ecx, 0xffffffff
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + ecx]
test eax, eax
je 0x7d712901
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov word [edx], cx
cmp dword [ebp + 0x1c], 0
je 0x7d712912
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
mov dword [eax], edx
cmp dword [ebp + 0x24], 0
je 0x7d712923
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
mov dword [eax], edx
lea eax, [ebp - 0x11c]
cmp dword [ebp - 0xc], eax
je 0x7d71293a
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.7d714a40
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
mov esp, ebp
pop ebp
ret 0x20