Function at 0x10006b60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050a60
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1006e098]
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, 0x100566b4
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 0x10006bd0
sub ecx, dword [ebp - 0x48]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10002b10
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 0x10006c64
lea eax, [ebp - 0x40]
push eax
call fcn.10004ac0
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x58]
add eax, 4
cmp eax, esi
je 0x10006c59
mov ecx, eax
call fcn.100027d0
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.100027d0
mov esi, dword [ebp - 0x58]
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x10006c6f
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 0x10006ccd
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 0x10006cb0
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10002b10
jmp 0x10006e60
lea eax, [ebp - 0x48]
push eax
push 0x20119
push 0
push str.SoftWare
push dword [ebp - 0x44]
call esi
test eax, eax
je 0x10006d2f
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 0x10006d12
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10002b10
jmp 0x10006e60
lea eax, [ebp - 0x54]
push eax
push 0x20119
push 0
push dword [ebp - 0x64]
push dword [ebp - 0x48]
call esi
test eax, eax
je 0x10006d6e
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.10004800
jmp 0x10006e60
lea eax, [ebp - 0x50]
push eax
push 0x20119
push 0
push dword [ebp - 0x60]
push dword [ebp - 0x54]
call esi
test eax, eax
je 0x10006d95
push dword [ebp - 0x50]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x54]
jmp 0x10006d4f
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.10002e10
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 0x10006e33
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.100170de
push dword [ebp - 0x4c]
mov esi, eax
push 0
push esi
call fcn.1002e2b0
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 0x10006e2a
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006e11
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.10002b10
push esi
call fcn.100170e7
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.10006890
lea ecx, [ebp - 0x40]
call fcn.100027d0
lea ecx, [ebp - 0x28]
call fcn.100027d0
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.100170cd
mov esp, ebp
pop ebp
ret 0x14