Function at 0x6d4fafdf
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xc0]
sub esp, 0x140
mov eax, dword [0x6d506878]
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 0x6d4fb2ab
push 0x6d501bc0
push eax
call fcn.6d4f9a2e
pop ecx
pop ecx
test eax, eax
jne 0x6d4fb2ab
lea eax, [ebp - 0x5c]
push eax
push 0x6d501798
push 1
push ebx
push 0x6d501be0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x6d4fb29e
mov eax, esi
mov dword [ebp - 0x58], eax
cmp dword [esi], ebx
jne 0x6d4fb0c1
cmp dword [ebp + 0xd0], ebx
jne 0x6d4fb29e
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.6d4f9a5b
add esp, 0xc
test eax, eax
js 0x6d4fb296
mov esi, dword [ebp - 0x58]
cmp esi, 0x400
jg 0x6d4fb12c
push esi
call fcn.6d4f9eba
pop ecx
test al, al
je 0x6d4fb12c
mov eax, esi
call fcn.6d4fdab0
mov eax, esp
jmp 0x6d4fb135
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 0x6d4fb109
cmp dword [eax], 1
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
push eax
jne 0x6d4fb0ec
call dword [ecx + 0x14]
jmp 0x6d4fb0ef
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x6d4fb11c
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
je 0x6d4fb102
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x6d4fb2ad
cmp dword [eax], 1
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
push eax
jne 0x6d4fb119
call dword [ecx + 0x18]
jmp 0x6d4fb11c
call dword [ecx + 0x20]
add dword [ebp - 0x58], 8
mov eax, dword [ebp - 0x58]
cmp dword [eax], ebx
jne 0x6d4fb0be
jmp 0x6d4fb056
push esi
lea ecx, [ebp - 0x70]
call fcn.6d4f9ffc
push 3
push esi
lea ecx, [ebp - 0x44]
push ecx
push eax
call fcn.6d4fe202
mov dword [ebp - 0x60], eax
cmp eax, ebx
je 0x6d4fb296
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.6d4f9b10
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.6d4f9b10
push str.Required_Categories
lea eax, [ebp + 0x3c]
push esi
push eax
call edi
push eax
call fcn.6d4f9b10
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.6d4fe202
test eax, eax
jne 0x6d4fb1fb
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.6d4f1774
cmp dword [ebp - 0x74], ebx
jne 0x6d4fb1fb
cmp dword [ebp - 0x58], ebx
jne 0x6d4fb1fb
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x80]
call fcn.6d4f9c12
push str.CLSID_
lea eax, [ebp + 0x3c]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_strcpy_s]
push eax
call fcn.6d4f9b10
push dword [ebp - 0x60]
lea eax, [ebp + 0x3c]
push esi
push eax
call edi
push eax
call fcn.6d4f9b10
push str.Implemented_Categories
lea eax, [ebp + 0x3c]
push esi
push eax
call edi
push eax
call fcn.6d4f9b10
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x3c]
push eax
push SysReAllocString
lea ecx, [ebp - 0x6c]
call fcn.6d4fe202
test eax, eax
jne 0x6d4fb286
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.6d4f1774
cmp esi, ebx
jne 0x6d4fb286
cmp dword [ebp - 0x58], ebx
jne 0x6d4fb286
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x80]
call fcn.6d4f9c12
lea ecx, [ebp - 0x6c]
call fcn.6d4f1774
lea ecx, [ebp - 0x80]
call fcn.6d4f1774
lea ecx, [ebp - 0x70]
call fcn.6d4f9e59
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
je 0x6d4fb2ab
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.6d4fd7d5
add ebp, 0xc0
leave
ret 0xc