Function at 0x100026e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x1002e678]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x108], eax
test esi, esi
je 0x10002a77
mov ecx, dword [edi]
cmp ecx, dword [0x10025e30]
jne 0x1000273b
mov ecx, dword [edi + 4]
cmp ecx, dword [0x10025e34]
jne 0x1000273b
mov ecx, dword [edi + 8]
cmp ecx, dword [0x10025e38]
jne 0x1000273b
mov ecx, dword [edi + 0xc]
cmp ecx, dword [0x10025e3c]
je 0x10002a77
lea eax, [ebp - 0x108]
push eax
push 0x100213a8
push 1
push 0
push 0x10025e50
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10002a71
cmp dword [esi], 0
mov ebx, dword [ebp + 0x10]
je 0x100027d4
jmp 0x10002770
mov eax, dword [esi + 4]
lea edx, [ebp - 0x11c]
movq xmm0, qword [eax]
push edx
movq qword [ebp - 0x11c], xmm0
movq xmm0, qword [eax + 8]
mov eax, dword [ebp - 0x108]
push 1
push edi
movq qword [ebp - 0x114], xmm0
mov ecx, dword [eax]
push eax
test ebx, ebx
je 0x100027bf
cmp dword [esi], 1
jne 0x100027ad
call dword [ecx + 0x14]
jmp 0x100027b0
call dword [ecx + 0x1c]
mov ebx, eax
test ebx, ebx
js 0x10002858
mov ebx, dword [ebp + 0x10]
jmp 0x100027cc
cmp dword [esi], 1
jne 0x100027c9
call dword [ecx + 0x18]
jmp 0x100027cc
call dword [ecx + 0x20]
add esi, 8
cmp dword [esi], 0
jne 0x10002770
test ebx, ebx
jne 0x10002a71
push 0x40
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x12c], ebx
lea edx, [ecx + 2]
jmp 0x10002800
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002800
sub ecx, edx
sar ecx, 1
push 2
lea eax, [ecx + 1]
push eax
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x10c]
push eax
call fcn.100012a0
add esp, 0xc
test eax, eax
js 0x10002a66
mov esi, dword [ebp - 0x10c]
cmp esi, 0x400
jg 0x10002863
push esi
call fcn.10004cf0
add esp, 4
test al, al
je 0x10002863
mov eax, esi
call fcn.1000f3e0
mov eax, esp
jmp 0x1000286f
mov eax, dword [ebp - 0x108]
jmp 0x10002a79
push esi
lea ecx, [ebp - 0x12c]
call fcn.10001d60
push 3
push esi
lea ecx, [ebp - 0x104]
push ecx
push eax
call fcn.10002cf0
mov edi, eax
test edi, edi
je 0x10002a66
push str.CLSID_
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.1000e481
push eax
call fcn.100021f0
push edi
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.1000e4d6
push eax
call fcn.100021f0
push str.Required_Categories
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.1000e4d6
push eax
call fcn.100021f0
add esp, 0x30
lea eax, [ebp - 0x84]
push 0x20019
push eax
push SysReAllocString
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x138], SysReAllocString
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x10c], 0
call fcn.100034a0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x10002996
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10c]
push eax
push 0
push 0
push 0
push dword [ebp - 0x128]
call ebx
lea ecx, [ebp - 0x128]
mov esi, eax
call fcn.10002ea0
test esi, esi
jne 0x10002996
cmp dword [ebp - 0x10c], esi
jne 0x10002996
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x138]
call fcn.10002ff0
push str.CLSID_
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.1000e481
push eax
call fcn.100021f0
push edi
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.1000e4d6
push eax
call fcn.100021f0
push str.Implemented_Categories
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.1000e4d6
push eax
call fcn.100021f0
add esp, 0x30
lea eax, [ebp - 0x84]
push 0x20019
push eax
push SysReAllocString
lea ecx, [ebp - 0x128]
call fcn.100034a0
test eax, eax
jne 0x10002a50
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x10c]
push eax
push 0
push 0
push 0
push dword [ebp - 0x128]
call ebx
lea ecx, [ebp - 0x128]
mov esi, eax
call fcn.10002ea0
test esi, esi
jne 0x10002a50
cmp dword [ebp - 0x10c], esi
jne 0x10002a50
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x138]
call fcn.10002ff0
lea ecx, [ebp - 0x128]
call fcn.100013f0
lea ecx, [ebp - 0x138]
call fcn.100013f0
lea ecx, [ebp - 0x12c]
call fcn.10001340
mov eax, dword [ebp - 0x108]
xor ebx, ebx
test eax, eax
je 0x10002a83
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
lea esp, [ebp - 0x144]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ef85
mov esp, ebp
pop ebp
ret 0xc