Function at 0x10007f70
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x1002bea0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x11c], 0
test edi, edi
je 0x100082fa
mov eax, dword [esi]
cmp eax, dword [0x100241d8]
jne 0x10007fcd
mov eax, dword [esi + 4]
cmp eax, dword [0x100241dc]
jne 0x10007fcd
mov eax, dword [esi + 8]
cmp eax, dword [0x100241e0]
jne 0x10007fcd
mov eax, dword [esi + 0xc]
cmp eax, dword [0x100241e4]
je 0x100082fa
lea eax, [ebp - 0x11c]
push eax
push 0x10023bd0
push 1
push 0
push 0x100241f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x100082fa
mov ecx, dword [edi]
mov ebx, dword [ebp + 0x10]
test ecx, ecx
je 0x10008059
nop dword [eax]
mov eax, dword [edi + 4]
lea edx, [ebp - 0x114]
push edx
push 1
push esi
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x11c]
push eax
movups xmmword [ebp - 0x114], xmm0
test ebx, ebx
je 0x10008040
cmp ecx, 1
mov ecx, dword [eax]
jne 0x1000802e
call dword [ecx + 0x14]
jmp 0x10008031
call dword [ecx + 0x1c]
mov ebx, eax
test ebx, ebx
js 0x100082fc
mov ebx, dword [ebp + 0x10]
jmp 0x1000804f
cmp ecx, 1
mov ecx, dword [eax]
jne 0x1000804c
call dword [ecx + 0x18]
jmp 0x1000804f
call dword [ecx + 0x20]
mov ecx, dword [edi + 8]
add edi, 8
test ecx, ecx
jne 0x10008000
test ebx, ebx
jne 0x100082fa
push 0x40
lea eax, [ebp - 0x104]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x1000807d
lea ebx, [eax + 0xd]
jmp 0x100082fc
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x12c], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10008090
sub ecx, edx
sar ecx, 1
push 2
lea eax, [ecx + 1]
push eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x118]
push eax
call fcn.10006cd0
add esp, 0xc
test eax, eax
js 0x100082ef
mov esi, dword [ebp - 0x118]
cmp esi, 0x400
jg 0x100080e8
push esi
call fcn.1000c820
add esp, 4
test al, al
je 0x100080e8
mov eax, esi
call fcn.10010530
mov eax, esp
jmp 0x100080f4
push esi
lea ecx, [ebp - 0x12c]
call fcn.10007860
push 3
push esi
lea ecx, [ebp - 0x104]
push ecx
push eax
call fcn.100085b0
mov edi, eax
test edi, edi
je 0x100082ef
push 0x10023be0
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.1001557c
push eax
call fcn.10007ad0
push edi
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.10015828
push eax
call fcn.10007ad0
push str.Required_Categories
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.10015828
push eax
call fcn.10007ad0
add esp, 0x30
mov dword [ebp - 0x138], VariantInit
lea eax, [ebp - 0x84]
mov dword [ebp - 0x134], 0
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x128], 0
push 0x20019
push eax
push SysReAllocString
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x118], 0
call fcn.1000b050
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x1000821b
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x118]
push eax
push 0
push 0
push 0
push dword [ebp - 0x128]
call ebx
lea ecx, [ebp - 0x128]
mov esi, eax
call fcn.10008710
test esi, esi
jne 0x1000821b
cmp dword [ebp - 0x118], esi
jne 0x1000821b
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x138]
call fcn.10008960
push 0x10023be0
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.1001557c
push eax
call fcn.10007ad0
push edi
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.10015828
push eax
call fcn.10007ad0
push str.Implemented_Categories
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.10015828
push eax
call fcn.10007ad0
add esp, 0x30
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x128]
push 0x20019
push eax
push SysReAllocString
call fcn.1000b050
test eax, eax
jne 0x100082d5
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x118]
push eax
push 0
push 0
push 0
push dword [ebp - 0x128]
call ebx
lea ecx, [ebp - 0x128]
mov esi, eax
call fcn.10008710
test esi, esi
jne 0x100082d5
cmp dword [ebp - 0x118], esi
jne 0x100082d5
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x138]
call fcn.10008960
mov eax, dword [ebp - 0x128]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x100082e8
push eax
call esi
push SysReAllocString
call esi
lea ecx, [ebp - 0x12c]
call fcn.10006d90
xor ebx, ebx
mov ecx, dword [ebp - 0x11c]
test ecx, ecx
je 0x1000830c
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, ebx
lea esp, [ebp - 0x144]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001025d
mov esp, ebp
pop ebp
ret 0xc