Function at 0x689267e0
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 [0x6893c030]
movzx eax, byte [edx]
and eax, 8
je 0x689268b1
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 0x6892682c
mov dword [ebp - 0x1c], 0x12
jmp 0x68926833
mov dword [ebp - 0x1c], 0x21
push 0x68938310
push 0x664
push 0x6893c410
mov eax, dword [ebp - 0x1c]
add eax, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c
push eax
mov ecx, dword [0x6893c030]
push ecx
push 3
call fcn.68933a40
add esp, 0x18
cmp eax, 0xffffffff
je 0x689268b1
cmp dword [ebp + 0x10], 0
je 0x68926871
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
jmp 0x68926878
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.68933ab0
add esp, 0x30
cmp dword [ebp + 0xc], 0
je 0x689268d0
cmp dword [ebp + 0x10], 0
jne 0x689268d0
call fcn.68927e10
test eax, eax
je 0x689268d0
mov eax, 0x57
jmp 0x68926b3b
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.68927d30
add esp, 8
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x689268f1
mov eax, 6
jmp 0x68926b3b
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 0x68926924
cmp dword [ebp - 0xc], 0x80000005
je 0x68926924
jmp 0x68926b1a
cmp dword [ebp + 0xc], 0
je 0x68926a02
cmp dword [ebp + 0x10], 0
je 0x68926a02
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
je 0x68926a02
cmp dword [ebp - 0xc], 0x80000005
jne 0x689269a6
lea edx, [ebp - 0x11c]
cmp dword [ebp - 8], edx
je 0x68926964
mov eax, dword [ebp - 8]
push eax
call fcn.68927db0
add esp, 4
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.6891ef70
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x68926983
mov eax, 8
jmp 0x68926b3b
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 0x68926944
cmp dword [ebp - 0xc], 0
je 0x689269b1
jmp 0x68926b1a
cmp dword [ebp + 0x10], 0
je 0x689269d2
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 0x689269d2
mov dword [ebp - 0xc], 0xc0000023
jmp 0x68926a00
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 0x68926a09
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 0
je 0x68926a1c
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 0x68926a2d
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 0x68926a40
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 0x68926a53
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 0x68926a64
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 0x68926a77
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 0x68926a88
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 0x68926a9e
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 0x68926b1a
mov edx, dword [0x6893c030]
movzx eax, byte [edx]
and eax, 1
je 0x68926b11
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 0x68926acf
mov dword [ebp - 0x18], 0x12
jmp 0x68926ad6
mov dword [ebp - 0x18], 0x21
push 0x68938310
push 0x692
push 0x6893c410
mov eax, dword [ebp - 0x18]
add eax, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c
push eax
mov ecx, dword [0x6893c030]
push ecx
push 0
call fcn.68933a40
add esp, 0x18
cmp eax, 0xffffffff
je 0x68926b11
push str.security_argument_not_supported._n
call fcn.68933ab0
add esp, 4
mov edx, dword [ebp + 0x30]
mov dword [edx], 0
lea eax, [ebp - 0x11c]
cmp dword [ebp - 8], eax
je 0x68926b31
mov ecx, dword [ebp - 8]
push ecx
call fcn.68927db0
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
mov esp, ebp
pop ebp
ret 0x30