Function at 0x6d626149
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xc0]
sub esp, 0x140
mov eax, dword [0x6d62e944]
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 0x6d626415
push 0x6d62b170
push eax
call fcn.6d624857
pop ecx
pop ecx
test eax, eax
jne 0x6d626415
lea eax, [ebp - 0x5c]
push eax
push 0x6d62af58
push 1
push ebx
push 0x6d62b190
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x6d626408
mov eax, esi
mov dword [ebp - 0x58], eax
cmp dword [esi], ebx
jne 0x6d62622b
cmp dword [ebp + 0xd0], ebx
jne 0x6d626408
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.6d624884
add esp, 0xc
test eax, eax
js 0x6d626400
mov esi, dword [ebp - 0x58]
cmp esi, 0x400
jg 0x6d626296
push esi
call fcn.6d624dbe
pop ecx
test al, al
je 0x6d626296
mov eax, esi
call fcn.6d628c10
mov eax, esp
jmp 0x6d62629f
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 0x6d626273
cmp dword [eax], 1
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
push eax
jne 0x6d626256
call dword [ecx + 0x14]
jmp 0x6d626259
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x6d626286
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
je 0x6d62626c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x6d626417
cmp dword [eax], 1
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
push eax
jne 0x6d626283
call dword [ecx + 0x18]
jmp 0x6d626286
call dword [ecx + 0x20]
add dword [ebp - 0x58], 8
mov eax, dword [ebp - 0x58]
cmp dword [eax], ebx
jne 0x6d626228
jmp 0x6d6261c0
push esi
lea ecx, [ebp - 0x70]
call fcn.6d624faf
push 3
push esi
lea ecx, [ebp - 0x44]
push ecx
push eax
call fcn.6d6293f2
mov dword [ebp - 0x60], eax
cmp eax, ebx
je 0x6d626400
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.6d624939
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.6d624939
push str.Required_Categories
lea eax, [ebp + 0x3c]
push esi
push eax
call edi
push eax
call fcn.6d624939
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.6d6293f2
test eax, eax
jne 0x6d626365
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.6d624b0c
cmp dword [ebp - 0x74], ebx
jne 0x6d626365
cmp dword [ebp - 0x58], ebx
jne 0x6d626365
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x80]
call fcn.6d624a9d
push str.CLSID_
lea eax, [ebp + 0x3c]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_strcpy_s]
push eax
call fcn.6d624939
push dword [ebp - 0x60]
lea eax, [ebp + 0x3c]
push esi
push eax
call edi
push eax
call fcn.6d624939
push str.Implemented_Categories
lea eax, [ebp + 0x3c]
push esi
push eax
call edi
push eax
call fcn.6d624939
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x3c]
push eax
push SysReAllocString
lea ecx, [ebp - 0x6c]
call fcn.6d6293f2
test eax, eax
jne 0x6d6263f0
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.6d624b0c
cmp esi, ebx
jne 0x6d6263f0
cmp dword [ebp - 0x58], ebx
jne 0x6d6263f0
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x80]
call fcn.6d624a9d
lea ecx, [ebp - 0x6c]
call fcn.6d624b0c
lea ecx, [ebp - 0x80]
call fcn.6d624b0c
lea ecx, [ebp - 0x70]
call fcn.6d624d33
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
je 0x6d626415
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.6d6289ea
add ebp, 0xc0
leave
ret 0xc