Function at 0x10054050
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f5489
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10283a3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov ecx, eax
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x48], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x44], 0
jb 0x100540a7
mov ecx, dword [eax]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100540b1
mov eax, dword [edi]
lea edx, [ebp - 0x44]
push edx
mov edx, dword [ebp - 0x4c]
push 0
push 0
push 2
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x100540ed
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], 1
jmp 0x1005426f
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x18]
shr ecx, 1
cmp ecx, eax
ja 0x10054138
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x10054145
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.10022fb0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x50]
cmovae ecx, dword [ebp - 0x28]
cmp dword [eax + 0x14], 8
jb 0x1005415b
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x10054163
mov edi, dword [edi]
lea edx, [ebp - 0x44]
push edx
push ecx
push 0
push 2
push eax
push edi
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1005419d
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 0x48], 1
mov byte [ebp - 4], al
jmp 0x10054267
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x18]
shr ecx, 1
dec ecx
cmp ecx, eax
ja 0x100541c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x100541cd
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.10022fb0
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov dword [ebp - 0x30], 0
cmovae edx, dword [ebp - 0x28]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10054200
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10027e50
mov byte [ebp - 4], 2
xor eax, eax
movups xmm0, xmmword [ebp - 0x40]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x40], ax
movq xmm0, qword [ebp - 0x30]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x48], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10020960
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10020960
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1017034a
mov esp, ebp
pop ebp
ret