Function at 0x10064a5
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
xor esi, esi
xor eax, eax
lea edi, [ebp - 0x24]
mov dword [ebp - 0x28], esi
stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
xor ebx, ebx
mov dword [ebp - 8], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
call fcn.01004d3c
mov edi, dword [ebp + 0xc]
or eax, 0x2001f
push eax
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x10064fb
push eax
push edi
push 0x1001d30
call fcn.01004cb9
add esp, 0xc
jmp 0x1006727
push esi
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, esi
je 0x1006525
push eax
push edi
push 0x1001ce0
jmp 0x10064ee
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax + 2]
push eax
call fcn.010081a2
push dword [ebp - 0xc]
mov ebx, eax
call fcn.010081a2
cmp eax, esi
pop ecx
pop ecx
mov dword [ebp - 8], eax
je 0x1006713
cmp ebx, esi
je 0x1006713
cmp dword [ebp - 0x18], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
jbe 0x10066c4
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 8]
lea eax, [ebp + 0xc]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x10065a9
cmp eax, 0x103
je 0x10066d0
push eax
push esi
push edi
push 0x1001c88
jmp 0x100669f
cmp dword [ebp + 0x14], 0
je 0x100662c
cmp dword [ebp + 0xc], 1
je 0x100660b
cmp dword [ebp + 0xc], 0xb
je 0x10065c7
cmp dword [ebp + 0xc], 3
jne 0x10065f3
cmp dword [ebp + 8], 8
jne 0x10065f3
push 0x2e
push ebx
call fcn.01008016
test eax, eax
pop ecx
pop ecx
jne 0x10065f3
cmp word [ebx], 0x7b
jne 0x10065f3
push ebx
call fcn.010080f4
cmp word [ebx + eax*2 - 2], 0x7d
pop ecx
jne 0x10065f3
push ebx
push edi
push 0x1001c4c
jmp 0x1006650
push esi
push ebx
push edi
push dword [ebp + 0xc]
push 0x1001bf0
call fcn.01004cb9
add esp, 0x14
jmp 0x10066ba
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp + 0x10]
call fcn.01005f60
test eax, eax
jne 0x10066a9
push esi
push edi
push ebx
push 0x1001b98
jmp 0x100669f
cmp dword [ebp + 0xc], 1
jne 0x100665a
push 0x2e
push ebx
call fcn.01008016
test eax, eax
pop ecx
pop ecx
je 0x100665a
mov eax, dword [ebp - 8]
cmp word [eax], 0
jne 0x100665a
push ebx
push edi
push 0x1001b50
call fcn.01004cb9
add esp, 0xc
jmp 0x10066ba
cmp dword [ebp + 0xc], 0xb
je 0x1006684
cmp dword [ebp + 0xc], 3
jne 0x100666c
cmp dword [ebp + 8], 8
jae 0x1006684
push esi
push ebx
push edi
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0x1001ae0
call fcn.01004cb9
add esp, 0x18
jmp 0x10066ba
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp + 0x10]
call fcn.01005f60
test eax, eax
jne 0x10066a9
push esi
push edi
push ebx
push 0x1001a80
call fcn.01004cb9
add esp, 0x10
jmp 0x10066ba
push ebx
push dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push eax
call fcn.01006372
test eax, eax
je 0x10066e1
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x1006564
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x1c], 1
jmp 0x100670a
push esi
push edi
push 0x1001a18
call fcn.01004cb9
add esp, 0xc
jmp 0x10066c4
push esi
push edi
push ebx
push 0x10019c0
jmp 0x100671f
push dword [ebp + 0x14]
push esi
push dword [ebp - 4]
call fcn.010063d9
test eax, eax
jne 0x1006708
push edi
push 0x1001978
call fcn.01004cb9
pop ecx
pop ecx
mov esi, dword [esi]
lea eax, [ebp - 0x28]
cmp esi, eax
jne 0x10066eb
jmp 0x1006727
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push edi
push 0x1001920
call fcn.01004cb9
add esp, 0x10
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x1006742
jmp 0x100673b
mov eax, esi
mov esi, dword [esi]
push eax
call fcn.010081ba
pop ecx
lea eax, [ebp - 0x28]
cmp esi, eax
jne 0x1006730
cmp dword [ebp - 4], 0
je 0x1006751
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x100675c
push ebx
call fcn.010081ba
pop ecx
cmp dword [ebp - 8], 0
pop edi
pop esi
pop ebx
je 0x100676e
push dword [ebp - 8]
call fcn.010081ba
pop ecx
mov eax, dword [ebp - 0x1c]
leave
ret 0x10