Function at 0x10006870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004f290
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1006d090]
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, 0x10055654
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 0x100068e0
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 0x10006974
lea eax, [ebp - 0x40]
push eax
call fcn.100047d0
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x58]
add eax, 4
cmp eax, esi
je 0x10006969
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 0x1000697f
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 0x100069dd
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 0x100069c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10002af0
jmp 0x10006b70
lea eax, [ebp - 0x48]
push eax
push 0x20119
push 0
push str.SoftWare
push dword [ebp - 0x44]
call esi
test eax, eax
je 0x10006a3f
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 0x10006a22
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10002af0
jmp 0x10006b70
lea eax, [ebp - 0x54]
push eax
push 0x20119
push 0
push dword [ebp - 0x64]
push dword [ebp - 0x48]
call esi
test eax, eax
je 0x10006a7e
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.10004760
jmp 0x10006b70
lea eax, [ebp - 0x50]
push eax
push 0x20119
push 0
push dword [ebp - 0x60]
push dword [ebp - 0x54]
call esi
test eax, eax
je 0x10006aa5
push dword [ebp - 0x50]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x54]
jmp 0x10006a5f
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 0x10006b43
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.10015a1a
push dword [ebp - 0x4c]
mov esi, eax
push 0
push esi
call fcn.1002cb20
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 0x10006b3a
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006b21
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.10002af0
push esi
call fcn.10015a23
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.100065a0
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.10015a09
mov esp, ebp
pop ebp
ret 0x14