Function at 0x7d713450
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
lea eax, [ebp - 0x11c]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], ecx
mov edx, dword [0x7d727a40]
movzx eax, byte [edx]
and eax, 8
je 0x7d713521
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 0x7d71349c
mov dword [ebp - 0x1c], 0x12
jmp 0x7d7134a3
mov dword [ebp - 0x1c], 0x21
push 0x7d7242c0
push 0x664
push 0x7d727e20
mov eax, dword [ebp - 0x1c]
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 0x7d713521
cmp dword [ebp + 0x10], 0
je 0x7d7134e1
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
jmp 0x7d7134e8
mov dword [ebp - 0x14], 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 - 0x14]
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 0x7d713540
cmp dword [ebp + 0x10], 0
jne 0x7d713540
call fcn.7d714aa0
test eax, eax
je 0x7d713540
mov eax, 0x57
jmp 0x7d7137ab
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 0x7d713561
mov eax, 6
jmp 0x7d7137ab
lea ecx, [ebp - 0x10]
push ecx
push 0x100
lea edx, [ebp - 0x11c]
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 0x7d713594
cmp dword [ebp - 0xc], 0x80000005
je 0x7d713594
jmp 0x7d71378a
cmp dword [ebp + 0xc], 0
je 0x7d713672
cmp dword [ebp + 0x10], 0
je 0x7d713672
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
je 0x7d713672
cmp dword [ebp - 0xc], 0x80000005
jne 0x7d713616
lea edx, [ebp - 0x11c]
cmp dword [ebp - 8], edx
je 0x7d7135d4
mov eax, dword [ebp - 8]
push eax
call fcn.7d714a40
add esp, 4
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.7d714a20
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x7d7135f3
mov eax, 8
jmp 0x7d7137ab
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
push 2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ntext.dll_NtQueryKey]
mov dword [ebp - 0xc], eax
jmp 0x7d7135b4
cmp dword [ebp - 0xc], 0
je 0x7d713621
jmp 0x7d71378a
cmp dword [ebp + 0x10], 0
je 0x7d713642
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
shr edx, 1
add edx, 1
mov eax, dword [ebp + 0x10]
cmp edx, dword [eax]
jbe 0x7d713642
mov dword [ebp - 0xc], 0xc0000023
jmp 0x7d713670
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call sub.ntext.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
shr ecx, 1
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax + ecx*2], dx
jmp 0x7d713679
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 0
je 0x7d71368c
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
shr edx, 1
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
cmp dword [ebp + 0x18], 0
je 0x7d71369d
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
mov dword [ecx], eax
cmp dword [ebp + 0x1c], 0
je 0x7d7136b0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
shr edx, 1
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
cmp dword [ebp + 0x20], 0
je 0x7d7136c3
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
shr edx, 1
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
cmp dword [ebp + 0x24], 0
je 0x7d7136d4
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
mov dword [ecx], eax
cmp dword [ebp + 0x28], 0
je 0x7d7136e7
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
shr edx, 1
mov eax, dword [ebp + 0x28]
mov dword [eax], edx
cmp dword [ebp + 0x2c], 0
je 0x7d7136f8
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x28]
mov dword [ecx], eax
cmp dword [ebp + 0x34], 0
je 0x7d71370e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp + 0x34]
mov dword [ecx], edx
mov dword [ecx + 4], eax
cmp dword [ebp + 0x30], 0
je 0x7d71378a
mov edx, dword [0x7d727a40]
movzx eax, byte [edx]
and eax, 1
je 0x7d713781
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 0x7d71373f
mov dword [ebp - 0x18], 0x12
jmp 0x7d713746
mov dword [ebp - 0x18], 0x21
push 0x7d7242c0
push 0x692
push 0x7d727e20
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 0
call fcn.7d71f8f0
add esp, 0x18
cmp eax, 0xffffffff
je 0x7d713781
push str.security_argument_not_supported._n
call fcn.7d71f960
add esp, 4
mov edx, dword [ebp + 0x30]
mov dword [edx], 0
lea eax, [ebp - 0x11c]
cmp dword [ebp - 8], eax
je 0x7d7137a1
mov ecx, dword [ebp - 8]
push ecx
call fcn.7d714a40
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
mov esp, ebp
pop ebp
ret 0x30