Function at 0x7d7130d0
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
lea eax, [ebp - 0x120]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], ecx
mov edx, dword [0x7d727a40]
movzx eax, byte [edx]
and eax, 8
je 0x7d7131a1
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 0x7d71311c
mov dword [ebp - 0x14], 0x12
jmp 0x7d713123
mov dword [ebp - 0x14], 0x21
push 0x7d7242c0
push 0x6be
push 0x7d727e7c
mov eax, dword [ebp - 0x14]
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 0x7d7131a1
cmp dword [ebp + 0x10], 0
je 0x7d713161
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
jmp 0x7d713168
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp + 0x34]
push ecx
mov edx, dword [ebp + 0x30]
push edx
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.__p__p__d__p__p__p__p__p__p__p__p__n
call fcn.7d71f960
add esp, 0x30
cmp dword [ebp + 0xc], 0
je 0x7d7131c0
cmp dword [ebp + 0x10], 0
jne 0x7d7131c0
call fcn.7d714aa0
test eax, eax
je 0x7d7131c0
mov eax, 0x57
jmp 0x7d713445
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.7d7149a0
add esp, 8
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x7d7131e1
mov eax, 6
jmp 0x7d713445
lea ecx, [ebp - 0x10]
push ecx
push 0x100
lea edx, [ebp - 0x120]
push edx
push 2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ntext.dll_NtQueryKey]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x7d713214
cmp dword [ebp - 0xc], 0x80000005
je 0x7d713214
jmp 0x7d713424
cmp dword [ebp + 0xc], 0
jne 0x7d713224
cmp dword [ebp + 0x10], 0
je 0x7d71331f
cmp dword [ebp - 0xc], 0x80000005
jne 0x7d713286
lea ecx, [ebp - 0x120]
cmp dword [ebp - 8], ecx
je 0x7d713244
mov edx, dword [ebp - 8]
push edx
call fcn.7d714a40
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
call fcn.7d714a20
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x7d713263
mov eax, 8
jmp 0x7d713445
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 2
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ntext.dll_NtQueryKey]
mov dword [ebp - 0xc], eax
jmp 0x7d713224
cmp dword [ebp - 0xc], 0
je 0x7d713291
jmp 0x7d713424
cmp dword [ebp + 0xc], 0
je 0x7d7132fc
cmp dword [ebp + 0x10], 0
je 0x7d7132fc
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x7d7132fc
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
add eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ntext.dll_RtlUnicodeToMultiByteN]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x18]
jne 0x7d7132ee
mov dword [ebp - 0xc], 0x80000005
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
sub ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp + 0xc]
mov byte [edx + ecx], 0
jmp 0x7d71331d
cmp dword [ebp + 0x10], 0
je 0x7d71331d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
add eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.ntext.dll_RtlUnicodeToMultiByteSize]
jmp 0x7d713326
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x18], 0
je 0x7d713337
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov dword [edx], ecx
cmp dword [ebp + 0x1c], 0
je 0x7d71334a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
shr eax, 1
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
cmp dword [ebp + 0x20], 0
je 0x7d71335d
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
shr eax, 1
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
cmp dword [ebp + 0x24], 0
je 0x7d71336e
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
mov dword [edx], ecx
cmp dword [ebp + 0x28], 0
je 0x7d713381
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
shr eax, 1
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
cmp dword [ebp + 0x2c], 0
je 0x7d713392
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x28]
mov dword [edx], ecx
cmp dword [ebp + 0x34], 0
je 0x7d7133a8
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [ebp + 0x34]
mov dword [edx], eax
mov dword [edx + 4], ecx
cmp dword [ebp + 0x30], 0
je 0x7d713424
mov eax, dword [0x7d727a40]
movzx ecx, byte [eax]
and ecx, 1
je 0x7d71341b
mov edx, 1
imul edx, edx, 0
movsx eax, byte [edx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c]
cmp eax, 0x2e
jne 0x7d7133d8
mov dword [ebp - 0x1c], 0x12
jmp 0x7d7133df
mov dword [ebp - 0x1c], 0x21
push 0x7d7242c0
push 0x6f1
push 0x7d727e7c
mov ecx, dword [ebp - 0x1c]
add ecx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c
push ecx
mov edx, dword [0x7d727a40]
push edx
push 0
call fcn.7d71f8f0
add esp, 0x18
cmp eax, 0xffffffff
je 0x7d71341b
push str.security_argument_not_supported._n
call fcn.7d71f960
add esp, 4
mov eax, dword [ebp + 0x30]
mov dword [eax], 0
lea ecx, [ebp - 0x120]
cmp dword [ebp - 8], ecx
je 0x7d71343b
mov edx, dword [ebp - 8]
push edx
call fcn.7d714a40
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
mov esp, ebp
pop ebp
ret 0x30