Function at 0x7d714fb0
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 [0x7d729fd0]
movzx eax, byte [edx]
and eax, 8
je 0x7d715081
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 0x7d714ffc
mov dword [ebp - 0x1c], 0x12
jmp 0x7d715003
mov dword [ebp - 0x1c], 0x21
push 0x7d7262d0
push 0x664
push 0x7d72a3b0
mov eax, dword [ebp - 0x1c]
add eax, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c
push eax
mov ecx, dword [0x7d729fd0]
push ecx
push 3
call fcn.7d721620
add esp, 0x18
cmp eax, 0xffffffff
je 0x7d715081
cmp dword [ebp + 0x10], 0
je 0x7d715041
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
jmp 0x7d715048
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.7d721690
add esp, 0x30
cmp dword [ebp + 0xc], 0
je 0x7d7150a0
cmp dword [ebp + 0x10], 0
jne 0x7d7150a0
call fcn.7d716640
test eax, eax
je 0x7d7150a0
mov eax, 0x57
jmp 0x7d71530b
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.7d716540
add esp, 8
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x7d7150c1
mov eax, 6
jmp 0x7d71530b
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 0x7d7150f4
cmp dword [ebp - 0xc], 0x80000005
je 0x7d7150f4
jmp 0x7d7152ea
cmp dword [ebp + 0xc], 0
je 0x7d7151d2
cmp dword [ebp + 0x10], 0
je 0x7d7151d2
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
je 0x7d7151d2
cmp dword [ebp - 0xc], 0x80000005
jne 0x7d715176
lea edx, [ebp - 0x11c]
cmp dword [ebp - 8], edx
je 0x7d715134
mov eax, dword [ebp - 8]
push eax
call fcn.7d7165e0
add esp, 4
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.7d7165c0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x7d715153
mov eax, 8
jmp 0x7d71530b
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 0x7d715114
cmp dword [ebp - 0xc], 0
je 0x7d715181
jmp 0x7d7152ea
cmp dword [ebp + 0x10], 0
je 0x7d7151a2
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 0x7d7151a2
mov dword [ebp - 0xc], 0xc0000023
jmp 0x7d7151d0
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 0x7d7151d9
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 0
je 0x7d7151ec
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 0x7d7151fd
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 0x7d715210
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 0x7d715223
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 0x7d715234
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 0x7d715247
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 0x7d715258
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 0x7d71526e
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 0x7d7152ea
mov edx, dword [0x7d729fd0]
movzx eax, byte [edx]
and eax, 1
je 0x7d7152e1
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 0x7d71529f
mov dword [ebp - 0x18], 0x12
jmp 0x7d7152a6
mov dword [ebp - 0x18], 0x21
push 0x7d7262d0
push 0x692
push 0x7d72a3b0
mov eax, dword [ebp - 0x18]
add eax, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c
push eax
mov ecx, dword [0x7d729fd0]
push ecx
push 0
call fcn.7d721620
add esp, 0x18
cmp eax, 0xffffffff
je 0x7d7152e1
push str.security_argument_not_supported._n
call fcn.7d721690
add esp, 4
mov edx, dword [ebp + 0x30]
mov dword [edx], 0
lea eax, [ebp - 0x11c]
cmp dword [ebp - 8], eax
je 0x7d715301
mov ecx, dword [ebp - 8]
push ecx
call fcn.7d7165e0
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
mov esp, ebp
pop ebp
ret 0x30