Function at 0x10064550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101430bd
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x38
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3c], edx
mov esi, ecx
mov dword [ebp - 0x20], esi
mov edx, dword [ebx + 0xc]
lea eax, [ebp - 0x20]
mov ecx, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
push eax
mov eax, dword [ebp - 0x3c]
push 0
push 0
push 2
push edx
push ecx
push dword [eax]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x4c], edi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x100645da
mov dword [edi], eax
xor ecx, ecx
mov dword [edi + 4], 0x1019abc0
mov eax, dword [edi + 4]
jmp 0x100645ef
mov ecx, dword [ebp - 0x20]
mov eax, 0x1019ab88
mov dword [edi], 0
mov dword [edi + 4], 0x1019ab88
mov eax, dword [eax + 4]
cmp eax, dword [0x1019ab8c]
jne 0x1006478f
cmp dword [edi], 0
jne 0x1006478f
xor eax, eax
test ecx, ecx
je 0x10064791
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
shr ecx, 1
mov dword [ebp - 4], eax
mov byte [ebp - 4], 1
jne 0x10064637
mov dword [ebp - 0x28], ecx
mov word [ebp + ecx*2 - 0x38], ax
jmp 0x10064642
push 0
push ecx
lea ecx, [ebp - 0x38]
call fcn.10001d80
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 0x28]
cmovae ecx, dword [ebp - 0x38]
add eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x3c]
push ecx
push 0
push 2
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x10064683
mov dword [edi], eax
xor ecx, ecx
mov dword [edi + 4], 0x1019abc0
mov eax, dword [edi + 4]
jmp 0x10064698
mov ecx, dword [ebp - 0x20]
mov eax, 0x1019ab88
mov dword [edi], 0
mov dword [edi + 4], 0x1019ab88
mov eax, dword [eax + 4]
cmp eax, dword [0x1019ab8c]
jne 0x10064727
cmp dword [edi], 0
jne 0x10064727
mov eax, dword [ebp - 0x28]
shr ecx, 1
dec ecx
cmp ecx, eax
ja 0x100646cc
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
mov dword [ebp - 0x28], ecx
cmovae eax, dword [ebp - 0x38]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x100646d9
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x38]
call fcn.10001d80
lea ecx, [ebp - 0x38]
call fcn.10011e90
movups xmm0, xmmword [ebp - 0x38]
mov dword [esi], 0
lea ecx, [ebp - 0x38]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x38], ax
movq xmm0, qword [ebp - 0x28]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
call fcn.10002400
jmp 0x100647a8
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x38]
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.10002400
jmp 0x100647a8
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret