Function at 0x7c81f307
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x7c8856cc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0xa4], ecx
lea ebx, [ebp - 0x84]
mov byte [ebp - 0x85], 0
call esi
xor eax, eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xc4]
push eax
push 0x20019
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0xac]
push eax
mov dword [ebp - 0xc4], 0x18
mov dword [ebp - 0xb8], 0x40
mov dword [ebp - 0xbc], ecx
call dword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
mov dword [ebp - 0x94], eax
jl 0x7c81f477
push edi
lea eax, [ebp - 0x9c]
push eax
call esi
mov esi, dword [sym.imp.ntdll.dll_NtQueryValueKey]
lea eax, [ebp - 0x8c]
push eax
push 0x80
mov eax, ebx
push eax
push 1
lea eax, [ebp - 0x9c]
push eax
push dword [ebp - 0x90]
call esi
cmp eax, 0x80000005
mov dword [ebp - 0x94], eax
je 0x7c83aec7
cmp dword [ebp - 0x94], 0
jl 0x7c81f45e
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
lea ecx, [edx + eax]
cmp word [ecx + ebx - 2], 0
jne 0x7c81f40e
add eax, 0xfffffffe
mov dword [ebx + 0xc], eax
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebp - 0xa4]
mov eax, ecx
shr eax, 1
inc eax
cmp dword [esi], eax
jb 0x7c82d414
mov edi, dword [ebp - 0xa0]
test edi, edi
je 0x7c82d414
mov eax, ecx
shr ecx, 2
lea esi, [edx + ebx]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0xa0]
and word [ecx + eax], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0xa4]
shr eax, 1
mov dword [ecx], eax
push dword [ebp - 0x90]
call dword [sym.imp.ntdll.dll_NtClose]
cmp byte [ebp - 0x85], 0
jne 0x7c83af1c
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x94]
pop edi
pop esi
pop ebx
call fcn.7c8097aa
leave
ret 0x10
mov dword [ebp - 0x94], 0x80000005
mov dword [esi], eax
jmp 0x7c81f45e
push es
push esp
hlt
sbb al, byte [ebp + 0x4a]
cmp byte [eax], bh
shl byte [esi], 1
cmpsd dword [esi], dword es:[edi]
enter 0xffffffffffffc06d, 0xffffffffffffffae
stc
jge 0x7c83aee7
lea ebx, [edi + 0x4b]
aas
mov bl, 0xf6
add dword [ebx - 0x11], eax
xchg edx, eax
cdq
mov ecx, 0x68c3cf1
xchg ecx, eax
add ebp, dword [ebx + 0x76]
xor eax, 0xf520c43e
cdq
push edi
jecxz 0x7c83aecf
inc ebx
pushal
out dx, eax
cdq
wait
push ds
aam 0xd3
pop ecx
adc byte [edx - 0x7cb10f8c], dl
dec esi
xlatb
loope 0x7c83ae88
test byte [esi - 0x63], dl
scasb al, byte es:[edi]
loope 0x7c83af57
popfd
mov ecx, 0x540f9f11
cmc
loopne 0x7c83af57
sub al, 0xd0
push es
adc al, 0x55
cmp byte [edx + 0x68], dl
jle 0x7c83af8c
xor al, 0x58
aas
push ds
push ecx
dec ebp
sub byte [ebx], al
push ebp
cmp ch, byte [eax]
push ecx
xor eax, 0xf997fbf
pushfd
cld
lds esi, [ebp - 0x65d8a323]
xchg ebp, eax
std
cmpsb byte [esi], byte es:[edi]
xchg ebp, eax
jp 0x7c83af0b
pop edx
xchg ecx, eax
lds eax, [ebp - 0x5bc099f0]
invalid
salc
mov dl, 0x2d
out dx, al
loopne 0x7c83af9f
xlatb
sbb al, 0xdc
xchg ebp, eax
sub ecx, dword [eax]
or eax, 0x2bc1b0f1
sal byte [eax], 0xae
mov ah, 0x8a
cmp al, 0x71
mov edx, 0xd1cbf7d9
mov dh, 0xcc
ja 0x7c83af50
popal
test eax, 0x59d748f5
cmc
inc ecx
invalid
lea esp, [eax + 0x3c]
rcr dword [ecx + 0x31c2abf8], 0x45
or al, 0x96
bound ebx, qword [ecx + 0x412de66c]
push eax