Function at 0x7dd92175
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x7de403ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x7dd98673
lea eax, [ebp - 0x1c]
push eax
push 0
push edi
call fcn.7dd7e96f
test al, al
je 0x7dd9e63b
mov byte [ebp - 0x15], 0
test esi, esi
jne 0x7dd921d3
push dword [ebp - 0x1c]
push ebx
call fcn.7dd920cd
mov esi, eax
test esi, esi
je 0x7dd9e645
lea eax, [ebp - 0x34]
push eax
push 0
push edi
call fcn.7dd7e941
test al, al
je 0x7dd9e63b
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp - 0x34]
push esi
push edi
call fcn.7dd92252
test eax, eax
jl 0x7dd9223c
cmp dword [ebp - 0x20], 0xffffffff
je 0x7dd9223c
mov esi, dword [sym.imp.ntdll.dll_NtQueryValueKey]
lea eax, [ebp - 0x30]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push 2
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call esi
mov edi, eax
test edi, edi
jge 0x7dd9be80
cmp edi, 0x80000005
je 0x7dd924e5
push dword [ebp - 0x20]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.7dd71442
leave
ret 0x10
push dword [ebp - 0x20]
call dword [sym.imp.ntdll.dll_NtClose]
xor esi, esi
cmp edi, esi
jl 0x7dd924c1
cmp dword [ebx + 4], 1
jne 0x7dd92554
cmp byte [ebp - 0x15], 0
jne 0x7dd9868b
cmp edi, esi
jl 0x7dd924c1
push 2
pop edi
lea ecx, [ebx + 0xc]
mov dword [ebp - 0x28], ecx
cmp dword [ebx + 8], edi
jb 0x7dd9e659
mov ax, word [ebx + 8]
sub ax, di
mov dx, word [ebx + 8]
mov word [ebp - 0x2a], dx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 1
mov word [ebp - 0x2c], ax
jne 0x7dd924ae
cmp ax, 4
jae 0x7dd92527
push 1
lea eax, [ebp - 0x2c]
push eax
xor esi, esi
push esi
push dword [ebp - 0x24]
call fcn.7dd7eca4
mov edi, eax
lea eax, [ebp - 0x14]
cmp ebx, eax
je 0x7dd9223a
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x7dd9223a
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov ecx, dword fs:[0x18]
push dword [ebp - 0x30]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
test ebx, ebx
je 0x7dd9e64f
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
push ebx
push 2
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call esi
mov edi, eax
jmp 0x7dd92454
movzx edx, word [ecx]
movzx esi, ax
sub esi, edi
shr esi, 1
cmp dx, word [ecx + esi*2]
jne 0x7dd924ae
cmp dx, 0x22
je 0x7dd9e660
cmp dx, 0x27
jne 0x7dd924ae
jmp 0x7dd9e660
mov edi, 0xc0000024
jmp 0x7dd924c1
push 0x7dd98444
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov byte [ebp - 0x15], 1
jmp 0x7dd921bc
push esi
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x24]
call fcn.7dd7eca4
mov edi, eax
cmp edi, esi
jl 0x7dd924c1
push esi
lea eax, [ebp - 0x3c]
push eax
push esi
push dword [ebp - 0x24]
call fcn.7dd7eca4
mov edi, eax
jmp 0x7dd92477
lea ebx, [ebp - 0x14]
jmp 0x7dd92454
mov eax, 0xc000000d
jmp 0x7dd9223c
mov eax, 0xc0000016
jmp 0x7dd9223c
mov edi, 0xc0000017
jmp 0x7dd92231
xor eax, eax
jmp 0x7dd92494
add ecx, edi
mov dword [ebp - 0x28], ecx
mov ecx, 0xfffc
mov edx, ecx
add ax, dx
add word [ebp - 0x2a], cx
mov word [ebp - 0x2c], ax
jmp 0x7dd924ae