Function at 0x10006980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100501f0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1006e090]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x58], esi
mov eax, dword [ebp + 0xc]
mov edx, 0x10056674
mov edi, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x18]
test eax, eax
mov dword [ebp - 0x18], 0
cmovne edx, eax
mov dword [ebp - 0x14], 7
mov ecx, edx
xor eax, eax
mov word [ebp - 0x28], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x48], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100069f0
sub ecx, dword [ebp - 0x48]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10002af0
cmp dword [esi + 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
ja 0x10006a84
lea eax, [ebp - 0x40]
push eax
call fcn.10004850
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x58]
add eax, 4
cmp eax, esi
je 0x10006a79
mov ecx, eax
call fcn.100027b0
movups xmm0, xmmword [esi]
mov eax, dword [ebp - 0x58]
movups xmmword [eax + 4], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x14], xmm0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x40]
call fcn.100027b0
mov esi, dword [ebp - 0x58]
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x10006a8f
mov eax, dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x44]
push ecx
push 0x20119
push 0
push eax
push 0x80000003
call esi
test eax, eax
je 0x10006aed
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov dword [edi + 0x10], 0
cmovae edx, dword [ebp - 0x28]
xor eax, eax
mov ecx, edx
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006ad0
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10002af0
jmp 0x10006c80
lea eax, [ebp - 0x48]
push eax
push 0x20119
push 0
push str.SoftWare
push dword [ebp - 0x44]
call esi
test eax, eax
je 0x10006b4f
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov dword [edi + 0x10], 0
cmovae edx, dword [ebp - 0x28]
xor eax, eax
mov ecx, edx
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006b32
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10002af0
jmp 0x10006c80
lea eax, [ebp - 0x54]
push eax
push 0x20119
push 0
push dword [ebp - 0x64]
push dword [ebp - 0x48]
call esi
test eax, eax
je 0x10006b8e
push dword [ebp - 0x48]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x44]
call esi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, edi
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.100047e0
jmp 0x10006c80
lea eax, [ebp - 0x50]
push eax
push 0x20119
push 0
push dword [ebp - 0x60]
push dword [ebp - 0x54]
call esi
test eax, eax
je 0x10006bb5
push dword [ebp - 0x50]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x54]
jmp 0x10006b6f
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.10002df0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
push eax
push 0
push 0
push 0
push dword [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x10006c53
inc eax
xor ecx, ecx
mov dword [ebp - 0x4c], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100168b0
push dword [ebp - 0x4c]
mov esi, eax
push 0
push esi
call fcn.1002da90
add esp, 0x10
lea eax, [ebp - 0x4c]
push eax
push esi
push 0
push 0
push dword [ebp - 0x5c]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10006c4a
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006c31
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.10002af0
push esi
call fcn.100168b9
add esp, 4
push dword [ebp - 0x50]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x54]
call esi
push dword [ebp - 0x48]
call esi
push dword [ebp - 0x44]
call esi
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.100066b0
lea ecx, [ebp - 0x40]
call fcn.100027b0
lea ecx, [ebp - 0x28]
call fcn.100027b0
mov eax, edi
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.1001689f
mov esp, ebp
pop ebp
ret 0x14