Function at 0x6d60afdf
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xc0]
sub esp, 0x140
mov eax, dword [0x6d616878]
xor eax, ebp
mov dword [ebp + 0xbc], eax
mov eax, dword [ebp + 0xc8]
push ebx
push esi
mov esi, dword [ebp + 0xcc]
xor ebx, ebx
push edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ebx
cmp esi, ebx
je 0x6d60b2ab
push 0x6d611bc0
push eax
call fcn.6d609a2e
pop ecx
pop ecx
test eax, eax
jne 0x6d60b2ab
lea eax, [ebp - 0x5c]
push eax
push 0x6d611798
push 1
push ebx
push 0x6d611be0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x6d60b29e
mov eax, esi
mov dword [ebp - 0x58], eax
cmp dword [esi], ebx
jne 0x6d60b0c1
cmp dword [ebp + 0xd0], ebx
jne 0x6d60b29e
push 0x40
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x70], ebx
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
call fcn.6d609a5b
add esp, 0xc
test eax, eax
js 0x6d60b296
mov esi, dword [ebp - 0x58]
cmp esi, 0x400
jg 0x6d60b12c
push esi
call fcn.6d609eba
pop ecx
test al, al
je 0x6d60b12c
mov eax, esi
call fcn.6d60dab0
mov eax, esp
jmp 0x6d60b135
mov eax, dword [ebp - 0x58]
mov esi, dword [eax + 4]
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
push edx
push 1
push dword [ebp - 0x60]
movsd dword es:[edi], dword [esi]
cmp dword [ebp + 0xd0], ebx
je 0x6d60b109
cmp dword [eax], 1
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
push eax
jne 0x6d60b0ec
call dword [ecx + 0x14]
jmp 0x6d60b0ef
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x6d60b11c
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
je 0x6d60b102
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x6d60b2ad
cmp dword [eax], 1
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
push eax
jne 0x6d60b119
call dword [ecx + 0x18]
jmp 0x6d60b11c
call dword [ecx + 0x20]
add dword [ebp - 0x58], 8
mov eax, dword [ebp - 0x58]
cmp dword [eax], ebx
jne 0x6d60b0be
jmp 0x6d60b056
push esi
lea ecx, [ebp - 0x70]
call fcn.6d609ffc
push 3
push esi
lea ecx, [ebp - 0x44]
push ecx
push eax
call fcn.6d60db2a
mov dword [ebp - 0x60], eax
cmp eax, ebx
je 0x6d60b296
push str.CLSID_
mov esi, 0x80
lea eax, [ebp + 0x3c]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_strcpy_s]
push eax
call fcn.6d609b10
push dword [ebp - 0x60]
mov edi, dword [sym.imp.MSVCR100.dll_strcat_s]
lea eax, [ebp + 0x3c]
push esi
push eax
call edi
push eax
call fcn.6d609b10
push str.Required_Categories
lea eax, [ebp + 0x3c]
push esi
push eax
call edi
push eax
call fcn.6d609b10
add esp, 0x30
push 0x20019
lea ecx, [ebp + 0x3c]
mov eax, SysReAllocString
push ecx
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x58], ebx
call fcn.6d60db2a
test eax, eax
jne 0x6d60b1fb
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x74], eax
call fcn.6d601774
cmp dword [ebp - 0x74], ebx
jne 0x6d60b1fb
cmp dword [ebp - 0x58], ebx
jne 0x6d60b1fb
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x80]
call fcn.6d609c12
push str.CLSID_
lea eax, [ebp + 0x3c]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_strcpy_s]
push eax
call fcn.6d609b10
push dword [ebp - 0x60]
lea eax, [ebp + 0x3c]
push esi
push eax
call edi
push eax
call fcn.6d609b10
push str.Implemented_Categories
lea eax, [ebp + 0x3c]
push esi
push eax
call edi
push eax
call fcn.6d609b10
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x3c]
push eax
push SysReAllocString
lea ecx, [ebp - 0x6c]
call fcn.6d60db2a
test eax, eax
jne 0x6d60b286
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp - 0x6c]
mov esi, eax
call fcn.6d601774
cmp esi, ebx
jne 0x6d60b286
cmp dword [ebp - 0x58], ebx
jne 0x6d60b286
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x80]
call fcn.6d609c12
lea ecx, [ebp - 0x6c]
call fcn.6d601774
lea ecx, [ebp - 0x80]
call fcn.6d601774
lea ecx, [ebp - 0x70]
call fcn.6d609e59
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
je 0x6d60b2ab
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xbc]
xor ecx, ebp
call fcn.6d60d7d5
add ebp, 0xc0
leave
ret 0xc