Function at 0x7dd77baf
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x7de403ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x104], ecx
xor ecx, ecx
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xfc], ebx
cmp edi, ecx
je 0x7dd77c11
cmp eax, ecx
je 0x7dd77e4c
cmp ebx, 0x80000004
je 0x7dd95d87
cmp ebx, 0x80000050
je 0x7dd95d87
cmp ebx, 0x80000060
je 0x7dd95d87
test bl, 2
jne 0x7dd8fbed
movzx ebx, word [esi + 2]
xor eax, eax
test edi, edi
setne al
mov dword [ebp - 0xe8], eax
test edi, edi
je 0x7dd77c55
add ebx, dword [edi]
cmp ebx, 0xc4
jbe 0x7dd77e3c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
lea ecx, [ebx + 0x18]
push ecx
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0xf8], eax
test eax, eax
je 0x7ddb0e19
mov edi, eax
lea eax, [ebp - 0x108]
push eax
push ebx
mov ebx, dword [sym.imp.ntdll.dll_NtEnumerateValueKey]
push edi
push dword [ebp - 0xe8]
push dword [ebp + 0xc]
push dword [ebp - 0xfc]
call ebx
mov dword [ebp - 0xe4], eax
cmp eax, 0x80000005
je 0x7dd8ce99
push dword [ebp - 0xf0]
call fcn.7dd77e02
xor ebx, ebx
cmp dword [ebp - 0xe4], ebx
jl 0x7dd77e18
movzx ecx, word [esi + 2]
cmp dword [ebp - 0xe8], ebx
je 0x7ddb0e43
mov eax, dword [edi + 0x10]
inc eax
inc eax
cmp ecx, eax
jb 0x7ddb0e5f
movzx eax, word [edi + 0x10]
mov word [esi], ax
movzx eax, ax
push eax
lea eax, [edi + 0x14]
push eax
push dword [esi + 4]
call sub.ntdll.dll_memmove
movzx eax, word [esi]
mov ecx, dword [esi + 4]
shr eax, 1
xor edx, edx
add esp, 0xc
mov word [ecx + eax*2], dx
add word [esi], 2
cmp dword [ebp - 0xe4], ebx
jl 0x7dd77e18
cmp dword [ebp - 0xec], ebx
je 0x7dd77d56
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0xf4]
cmp dword [ecx], eax
jb 0x7dd8fd83
push eax
mov eax, dword [edi + 8]
add eax, edi
push eax
push dword [ebp - 0xec]
call sub.ntdll.dll_memmove
add esp, 0xc
cmp dword [ebp - 0xe4], ebx
jl 0x7dd77e18
mov eax, dword [ebp - 0x100]
cmp dword [ebp - 0xe8], ebx
je 0x7ddb0e6e
cmp eax, ebx
je 0x7dd77d7d
mov ecx, dword [edi + 4]
mov dword [eax], ecx
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0xf4]
mov dword [ecx], eax
cmp dword [ebp - 0xe4], ebx
mov eax, dword [ebp - 0x104]
jl 0x7dd77e2d
cmp eax, ebx
je 0x7dd77dac
mov ecx, dword [ebp - 0xf4]
cmp ecx, ebx
je 0x7dd77dac
mov ecx, dword [ecx]
mov dword [eax], ecx
mov esi, dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp dword [ebp - 0xf8], ebx
je 0x7dd77dc6
cmp edi, dword [ebp - 0xf8]
jne 0x7dd92989
lea eax, [ebp - 0xe0]
cmp edi, eax
je 0x7dd77de0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push ebx
push dword [eax + 0x18]
call esi
push dword [ebp - 0xe4]
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.7dd71442
leave
ret 0x1c
cmp dword [ebp - 0xe4], 0x80000005
jne 0x7dd77d88
jmp 0x7dd77d62
cmp eax, ebx
je 0x7dd77dac
mov dword [eax], ebx
jmp 0x7dd77dac
lea edi, [ebp - 0xe0]
mov ebx, 0xdc
jmp 0x7dd77c89
mov dword [edi], ecx
jmp 0x7dd77c11
xor ecx, ecx
cmp dword [ebp - 0xe8], ecx
je 0x7ddb0e20
cmp dword [ebp - 0xe8], 1
jne 0x7dd77cba
mov eax, dword [edi + 0x10]
movzx edx, word [esi + 2]
inc eax
inc eax
cmp edx, eax
jb 0x7dd77cba
cmp dword [ebp - 0xec], ecx
jne 0x7dd95d69
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xe4], eax
mov eax, dword fs:[0x18]
push dword [ebp - 0x108]
mov eax, dword [eax + 0x30]
push ecx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
test edi, edi
je 0x7ddb0e36
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0xe4]
push edi
push dword [ebp - 0xe8]
push dword [ebp + 0xc]
push dword [ebp - 0xfc]
call ebx
mov dword [ebp - 0xe4], eax
jmp 0x7dd77cba
lea eax, [ebp - 0xf0]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.7dd8fc52
test eax, eax
jl 0x7ddb0e13
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0xfc]
push eax
push dword [ebp + 0xc]
push ebx
push dword [ebp - 0xf0]
call fcn.7dd8fc29
jmp 0x7dd77c3e
mov dword [ebp - 0xe4], 0x80000005
jmp 0x7dd77d56
push dword [ebp - 0xf8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
jmp 0x7dd77dc6
mov eax, dword [ebp - 0xf4]
cmp eax, ecx
je 0x7dd77cba
mov eax, dword [eax]
cmp eax, dword [edi + 0xc]
jae 0x7dd8ced1
jmp 0x7dd77cba
call sym.KERNEL32.dll_RegKrnGetGlobalState
jmp 0x7ddb0e80
push eax
jmp 0x7dd77de6
push 0xe
jmp 0x7ddb0eaa
mov eax, dword [edi + 8]
movzx edx, word [esi + 2]
inc eax
inc eax
cmp edx, eax
jb 0x7dd8cea7
jmp 0x7dd8ced1
push dword [ebp - 0xf0]
call fcn.7dd77e02
jmp 0x7ddb0e19
mov eax, dword [edi + 8]
inc eax
inc eax
cmp ecx, eax
jb 0x7ddb0e5f
movzx eax, word [edi + 8]
mov word [esi], ax
movzx eax, ax
push eax
lea eax, [edi + 0xc]
jmp 0x7dd77cfe
mov dword [ebp - 0xe4], 0x80000005
jmp 0x7dd77d1c
cmp eax, ebx
je 0x7dd77d88
mov ecx, dword [edi + 4]
mov dword [eax], ecx
jmp 0x7dd77d88
mov eax, dword [eax + 0x34]
test eax, eax
je 0x7ddb0ea8
push dword [ebp - 0x104]
push edi
push dword [ebp - 0xec]
push dword [ebp - 0x100]
push 0
push esi
push dword [ebp + 0xc]
push ebx
call eax
jmp 0x7dd77dec
push 0x57
pop eax
jmp 0x7dd77dec