Function at 0x10008150
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060066
mov eax, dword fs:[0]
push eax
sub esp, 0x858
mov eax, dword [0x100811d4]
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 - 0x854], esi
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x828]
mov edx, dword [ebp + 0x18]
test edx, edx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x85c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x860], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x858], edi
mov dword [ebp - 0x858], eax
mov eax, 0x10066f40
cmovne eax, edx
push eax
call fcn.10003770
cmp dword [esi + 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x844], 0
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x84c], 0
mov dword [ebp - 0x848], 0
ja 0x10008257
lea eax, [ebp - 0x840]
push eax
call fcn.10007ab0
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x854]
add eax, 4
cmp eax, esi
je 0x10008246
mov ecx, eax
call fcn.100037c0
movups xmm0, xmmword [esi]
mov eax, dword [ebp - 0x854]
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 - 0x840]
call fcn.100037c0
mov esi, dword [ebp - 0x854]
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x10008262
mov eax, dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x844]
push ecx
push 0x20119
push 0
push eax
push VariantInit
call esi
test eax, eax
je 0x100082a3
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x828]
cmovae ecx, dword [ebp - 0x828]
push ecx
mov ecx, edi
call fcn.10003770
jmp 0x10008432
lea eax, [ebp - 0x850]
push eax
push 0x20119
push 0
push str.SoftWare
push dword [ebp - 0x844]
call esi
test eax, eax
je 0x100082ef
push dword [ebp - 0x844]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
mov ecx, edi
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.10003770
jmp 0x10008432
lea eax, [ebp - 0x84c]
push eax
push 0x20119
push 0
push dword [ebp - 0x85c]
push dword [ebp - 0x850]
call esi
test eax, eax
je 0x10008327
push dword [ebp - 0x850]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x844]
call esi
jmp 0x100082ce
lea eax, [ebp - 0x848]
push eax
push 0x20119
push 0
push dword [ebp - 0x860]
push dword [ebp - 0x84c]
call esi
test eax, eax
je 0x1000836a
push dword [ebp - 0x848]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x84c]
call esi
push dword [ebp - 0x844]
call esi
jmp 0x100082ce
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.1003b8a0
add esp, 0xc
mov dword [ebp - 0x864], 0x400
lea eax, [ebp - 0x864]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push dword [ebp - 0x858]
push dword [ebp - 0x848]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x848]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x84c]
call esi
push dword [ebp - 0x850]
call esi
push dword [ebp - 0x844]
call esi
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100083e0
sub ecx, edx
sar ecx, 1
je 0x100082ce
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x840]
call fcn.10003770
cmp dword [ebp - 0x82c], 8
lea eax, [ebp - 0x840]
mov ecx, edi
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x840]
push eax
call fcn.10003770
lea ecx, [ebp - 0x840]
call fcn.100037c0
lea ecx, [ebp - 0x828]
call fcn.100037c0
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.1002453b
mov esp, ebp
pop ebp
ret 0x14