Function at 0x10064d32
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x1008a418]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x58]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 0x90], ecx
push 0x50
push eax
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x74], 3
mov dword [ebp - 0x70], 0xffd0102
mov dword [ebp - 0x6c], 0x660d001f
mov dword [ebp - 0x68], 0x660e001f
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x78], edi
call fcn.100102ed
push 4
pop eax
push eax
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x94]
push eax
push edi
lea eax, [ebp - 0x98]
mov dword [ebp - 0xa8], edi
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x5c], edi
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x7c], edi
push eax
push 0x10007a64
push 0x10007a10
mov dword [ebp - 0x94], 1
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
jne 0x10064df4
cmp dword [ebp - 0x7c], edi
mov dword [ebp - 0x7c], 1
jne 0x10064df7
mov dword [ebp - 0x7c], edi
test ebx, ebx
jne 0x10064e2a
mov esi, dword [esi]
lea eax, [ebp - 0x74]
mov edi, esp
push ebx
push eax
push dword [ebp - 0x84]
mov ecx, dword [esi + 0x24]
call dword [0x1008c6d4]
call dword [esi + 0x24]
cmp edi, esp
je 0x10064e21
mov ecx, 4
int 0x29
mov esi, eax
mov edi, ebx
jmp 0x10064f62
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0xc8]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
xor edi, edi
push eax
push 5
push SysReAllocStringLen
push 3
push ebx
mov dword [ebp - 0x80], edi
call dword [sym.imp.MSOERT2.dll_OpenFileStreamShareW]
mov esi, eax
test esi, esi
js 0x10064f60
cmp dword [ebp - 0x7c], edi
je 0x10064fc6
mov eax, dword [ebp - 0x90]
cmp dword [eax + 8], edi
jne 0x10064fc6
push 2
pop esi
mov ecx, ebx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], 0xffd0102
mov dword [ebp - 0x5c], 0x660d001f
call fcn.1001b08a
test eax, eax
jne 0x10064e99
xor esi, esi
inc esi
jmp 0x10064f60
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, esi
cmp ax, di
jne 0x10064e9e
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
mov dword [ebp - 0x78], edi
test edi, edi
jne 0x10064ecf
mov esi, 0x8007000e
jmp 0x10064f60
mov edx, ebx
xor esi, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, si
jne 0x10064ed6
sub edx, ecx
mov ecx, edi
sar edx, 1
push ebx
inc edx
call fcn.1000b82d
mov esi, eax
test esi, esi
js 0x10064f60
mov ebx, dword [ebp - 0x84]
xor eax, eax
mov dword [ebp - 0xc0], edi
mov edi, esp
push eax
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc8], 0x660e001f
mov esi, dword [ebx]
push eax
push 1
push ebx
mov ecx, dword [esi + 0x20]
call dword [0x1008c6d4]
call dword [esi + 0x20]
cmp edi, esp
je 0x10064f32
mov ecx, 4
int 0x29
mov esi, eax
test esi, esi
js 0x10064f5d
xor eax, eax
mov edi, esp
push eax
lea eax, [ebp - 0x64]
mov esi, dword [ebx]
push eax
push ebx
mov ecx, dword [esi + 0x24]
call dword [0x1008c6d4]
call dword [esi + 0x24]
cmp edi, esp
je 0x10064f5b
mov ecx, 4
int 0x29
mov esi, eax
mov edi, dword [ebp - 0x78]
xor ebx, ebx
push dword [ebp - 0x80]
mov ecx, dword [ebp - 0x90]
call fcn.10064a42
lea ecx, [ebp - 0x80]
call int.1000b34b
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x10064f89
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x10064f94
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x8c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xa8], ebx
call fcn.1000deab
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10087900
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], edi
push eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x60], 1
push eax
push dword [ebp - 0x80]
mov dword [ebp - 0x5c], 0x660e001f
call dword [sym.imp.MSOERT2.dll_HrStreamToByte]
mov esi, eax
test esi, esi
js 0x10064f60
lea edx, [ebp - 0xa8]
mov ecx, ebx
call fcn.100641d9
mov esi, eax
test esi, esi
js 0x10064f60
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x88]
call fcn.10046b29
mov esi, eax
test esi, esi
js 0x10064f60
mov eax, dword [ebp - 0x8c]
mov edi, esp
mov ebx, dword [ebp - 0x84]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x88]
mov esi, dword [ebx]
mov dword [ebp - 0xb0], eax
xor eax, eax
push eax
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc8], 0xffd0102
mov ecx, dword [esi + 0x20]
push eax
push 2
push ebx
mov dword [ebp - 0xb8], 0x660d001f
call dword [0x1008c6d4]
call dword [esi + 0x20]
cmp edi, esp
je 0x1006508a
mov ecx, 4
int 0x29
mov esi, eax
test esi, esi
js 0x10064f5d
xor eax, eax
mov edi, esp
push eax
lea eax, [ebp - 0x60]
jmp 0x10064f40