Function at 0x68926b50
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x134
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x134]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x14], ecx
mov edx, dword [0x6893c030]
movzx eax, byte [edx]
and eax, 8
je 0x68926c21
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 0x68926ba3
mov dword [ebp - 0x1c], 0x12
jmp 0x68926baa
mov dword [ebp - 0x1c], 0x21
push 0x68938310
push 0x85c
push 0x6893c6c0
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 0x68926c21
cmp dword [ebp + 0x1c], 0
je 0x68926be8
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
jmp 0x68926bef
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.68918990
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.__p__s__p__p__p__p_d__n
call fcn.68933ab0
add esp, 0x20
cmp dword [ebp + 0x18], 0
je 0x68926c2d
cmp dword [ebp + 0x1c], 0
je 0x68926c33
cmp dword [ebp + 0x10], 0
je 0x68926c3d
mov eax, 0x57
jmp 0x68926f05
cmp dword [ebp + 8], 0x80000004
je 0x68926c67
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.68927d30
add esp, 8
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x68926c67
mov eax, 6
jmp 0x68926f05
cmp dword [ebp + 0x1c], 0
je 0x68926c75
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 0x18], 0
jne 0x68926c8a
cmp dword [ebp + 0x1c], 0
je 0x68926c8a
mov edx, dword [ebp + 0x1c]
mov dword [edx], 0
cmp dword [ebp + 0x14], 0
je 0x68926c99
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.ntext.dll_RtlInitAnsiString]
push 1
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.ntext.dll_RtlAnsiStringToUnicodeString]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x68926ccf
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
jmp 0x68926f05
cmp dword [ebp + 8], 0x80000004
jne 0x68926d05
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 - 0x24]
push eax
call fcn.68928870
add esp, 0x10
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.ntext.dll_RtlFreeUnicodeString]
mov eax, dword [ebp - 0x2c]
jmp 0x68926f05
lea edx, [ebp - 0xc]
push edx
push 0x100
lea eax, [ebp - 0x134]
push eax
push 2
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ntext.dll_NtQueryValueKey]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x68926d3c
cmp dword [ebp - 4], 0x80000005
je 0x68926d3c
jmp 0x68926eda
cmp dword [ebp + 0x18], 0
jne 0x68926d59
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
call fcn.68927dd0
add esp, 4
test eax, eax
je 0x68926eae
cmp dword [ebp - 4], 0x80000005
jne 0x68926dc1
lea edx, [ebp - 0x134]
cmp dword [ebp - 8], edx
je 0x68926d79
mov eax, dword [ebp - 8]
push eax
call fcn.68927db0
add esp, 4
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.6891ef70
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x68926d9a
mov dword [ebp - 4], 0xc0000017
jmp 0x68926eda
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
push 2
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ntext.dll_NtQueryValueKey]
mov dword [ebp - 4], eax
jmp 0x68926d59
cmp dword [ebp - 4], 0
je 0x68926dcc
jmp 0x68926eda
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push eax
call fcn.68927dd0
add esp, 4
test eax, eax
je 0x68926e6f
mov ecx, dword [ebp - 0xc]
sub ecx, dword [0x6893bfbc]
push ecx
mov edx, dword [ebp - 8]
add edx, dword [0x6893bfbc]
push edx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntext.dll_RtlUnicodeToMultiByteSize]
cmp dword [ebp + 0x18], 0
je 0x68926e61
cmp dword [ebp - 0x10], 0
je 0x68926e61
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x18]
jbe 0x68926e1e
mov dword [ebp - 4], 0x80000005
jmp 0x68926e61
mov edx, dword [ebp - 0xc]
sub edx, dword [0x6893bfbc]
push edx
mov eax, dword [ebp - 8]
add eax, dword [0x6893bfbc]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.ntext.dll_RtlUnicodeToMultiByteN]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jae 0x68926e61
mov ecx, dword [ebp + 0x18]
add ecx, dword [ebp - 0x10]
movzx edx, byte [ecx - 1]
test edx, edx
je 0x68926e61
mov eax, dword [ebp + 0x18]
add eax, dword [ebp - 0x10]
mov byte [eax], 0
mov ecx, dword [ebp - 0x10]
add ecx, dword [0x6893bfbc]
mov dword [ebp - 0xc], ecx
jmp 0x68926eac
cmp dword [ebp + 0x18], 0
je 0x68926eac
mov edx, dword [ebp - 0xc]
sub edx, dword [0x6893bfbc]
cmp edx, dword [ebp - 0x18]
jbe 0x68926e8c
mov dword [ebp - 4], 0x80000005
jmp 0x68926eac
mov eax, dword [ebp - 0xc]
sub eax, dword [0x6893bfbc]
push eax
mov ecx, dword [ebp - 8]
add ecx, dword [0x6893bfbc]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call sub.ntext.dll_memcpy
add esp, 0xc
jmp 0x68926eb5
mov dword [ebp - 4], 0
cmp dword [ebp + 0x14], 0
je 0x68926ec6
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
mov dword [eax], edx
cmp dword [ebp + 0x1c], 0
je 0x68926eda
mov eax, dword [ebp - 0xc]
sub eax, dword [0x6893bfbc]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
lea edx, [ebp - 0x134]
cmp dword [ebp - 8], edx
je 0x68926ef1
mov eax, dword [ebp - 8]
push eax
call fcn.68927db0
add esp, 4
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.ntext.dll_RtlFreeUnicodeString]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
mov esp, ebp
pop ebp
ret 0x18