Function at 0x68925640
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
lea eax, [ebp - 0x120]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], ecx
mov edx, dword [0x6893c030]
movzx eax, byte [edx]
and eax, 8
je 0x689256ea
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 0x68925688
mov dword [ebp - 0x1c], 0x12
jmp 0x6892568f
mov dword [ebp - 0x1c], 0x21
push 0x68938310
push 0x549
push 0x6893c400
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 0x689256ea
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.__p__d__p__p__p__p__p__p__n
call fcn.68933ab0
add esp, 0x24
cmp dword [ebp + 0x20], 0
je 0x689256f6
cmp dword [ebp + 0x24], 0
je 0x68925708
cmp dword [ebp + 0x18], 0
jne 0x68925708
cmp dword [ebp + 0x10], 0
je 0x68925708
cmp dword [ebp + 0x14], 0
jne 0x68925712
mov eax, 0x57
jmp 0x689259c8
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.68927d30
add esp, 8
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x68925733
mov eax, 6
jmp 0x689259c8
mov edx, dword [0x6893c050]
add edx, 0x20a
mov dword [ebp - 8], edx
cmp dword [ebp + 0x20], 0
je 0x68925753
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp - 8]
add ecx, dword [eax]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x100
jbe 0x68925765
mov dword [ebp - 0x20], 0x100
jmp 0x6892576b
mov edx, dword [ebp - 8]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x120]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ntext.dll_NtEnumerateValueKey]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x80000005
jne 0x689257f9
lea eax, [ebp - 0x120]
cmp dword [ebp - 0xc], eax
je 0x689257b3
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.68927db0
add esp, 4
mov edx, dword [ebp - 8]
push edx
call fcn.6891ef70
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x689257d2
mov eax, 8
jmp 0x689259c8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ntext.dll_NtEnumerateValueKey]
mov dword [ebp - 0x10], eax
jmp 0x68925793
cmp dword [ebp - 0x10], 0
je 0x68925804
jmp 0x689259a7
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call fcn.68927dd0
add esp, 4
test eax, eax
je 0x689258a8
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
sub eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 8]
push edx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntext.dll_RtlUnicodeToMultiByteSize]
cmp dword [ebp + 0x20], 0
je 0x6892589d
cmp dword [ebp - 0x14], 0
je 0x6892589d
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx]
jbe 0x68925858
mov dword [ebp - 0x10], 0x80000005
jmp 0x6892589d
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
sub ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 8]
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x20]
push edx
call dword [sym.imp.ntext.dll_RtlUnicodeToMultiByteN]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax]
jae 0x6892589d
mov edx, dword [ebp + 0x20]
add edx, dword [ebp - 0x14]
movzx eax, byte [edx - 1]
test eax, eax
je 0x6892589d
mov ecx, dword [ebp + 0x20]
add ecx, dword [ebp - 0x14]
mov byte [ecx], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0xc], eax
jmp 0x689258e7
cmp dword [ebp + 0x20], 0
je 0x689258e7
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
sub edx, dword [ecx + 8]
mov eax, dword [ebp + 0x24]
cmp edx, dword [eax]
jbe 0x689258c7
mov dword [ebp - 0x10], 0x80000005
jmp 0x689258e7
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
sub edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp + 0x20]
push edx
call sub.ntext.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x10], 0
jne 0x68925985
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x14
push edx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntext.dll_RtlUnicodeToMultiByteSize]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
cmp edx, dword [ecx]
jb 0x68925956
mov dword [ebp - 0x10], 0x80000005
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x68925954
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
sub edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x14
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.ntext.dll_RtlUnicodeToMultiByteN]
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 0x18]
mov byte [edx], 0
jmp 0x68925985
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x14
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.ntext.dll_RtlUnicodeToMultiByteN]
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 0x18]
mov byte [edx], 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
cmp dword [ebp + 0x1c], 0
je 0x68925996
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [edx], ecx
cmp dword [ebp + 0x24], 0
je 0x689259a7
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dword [edx], ecx
lea edx, [ebp - 0x120]
cmp dword [ebp - 0xc], edx
je 0x689259be
mov eax, dword [ebp - 0xc]
push eax
call fcn.68927db0
add esp, 4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
mov esp, ebp
pop ebp
ret 0x20