Function at 0x10007a90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b0b6
mov eax, dword fs:[0]
push eax
sub esp, 0x858
mov eax, dword [0x100691d4]
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, 0x10051f00
cmovne eax, edx
push eax
call fcn.100036e0
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 0x10007b97
lea eax, [ebp - 0x840]
push eax
call fcn.100073f0
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x854]
add eax, 4
cmp eax, esi
je 0x10007b86
mov ecx, eax
call fcn.10003730
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.10003730
mov esi, dword [ebp - 0x854]
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x10007ba2
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 0x10007be3
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x828]
cmovae ecx, dword [ebp - 0x828]
push ecx
mov ecx, edi
call fcn.100036e0
jmp 0x10007d72
lea eax, [ebp - 0x850]
push eax
push 0x20119
push 0
push str.SoftWare
push dword [ebp - 0x844]
call esi
test eax, eax
je 0x10007c2f
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.100036e0
jmp 0x10007d72
lea eax, [ebp - 0x84c]
push eax
push 0x20119
push 0
push dword [ebp - 0x85c]
push dword [ebp - 0x850]
call esi
test eax, eax
je 0x10007c67
push dword [ebp - 0x850]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x844]
call esi
jmp 0x10007c0e
lea eax, [ebp - 0x848]
push eax
push 0x20119
push 0
push dword [ebp - 0x860]
push dword [ebp - 0x84c]
call esi
test eax, eax
je 0x10007caa
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 0x10007c0e
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.1002fe40
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 0x10007d20
sub ecx, edx
sar ecx, 1
je 0x10007c0e
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x840]
call fcn.100036e0
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.100036e0
lea ecx, [ebp - 0x840]
call fcn.10003730
lea ecx, [ebp - 0x828]
call fcn.10003730
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.10018ad7
mov esp, ebp
pop ebp
ret 0x14