Function at 0x6d4653d9
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x7c8]
sub esp, 0x848
mov eax, dword [0x6d46c188]
xor eax, ebp
mov dword [ebp + 0x7c4], eax
push ebx
push esi
push edi
call fcn.6d4649f5
xor ebx, ebx
mov esi, 0x20019
push esi
push 0x6d469b0c
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.6d468011
test eax, eax
jne 0x6d4655e6
push esi
push 0x6d469b18
push dword [ebp - 0x80]
lea ecx, [ebp - 0x74]
call fcn.6d468011
lea ecx, [ebp - 0x68]
test eax, eax
jne 0x6d4655e9
push esi
push 0x6d469b24
push dword [ebp - 0x74]
call fcn.6d468011
test eax, eax
jne 0x6d4655e6
mov esi, 0x3ff
push esi
lea eax, [ebp + 0x3c5]
push ebx
push eax
mov dword [ebp - 0x5c], ebx
mov byte [ebp + 0x3c4], bl
call sub.MSVCR100.dll_memset
push esi
lea eax, [ebp - 0x3b]
push ebx
push eax
mov byte [ebp - 0x3c], bl
call sub.MSVCR100.dll_memset
add esp, 0x18
lea edi, [esi + 1]
push edi
lea eax, [ebp + 0x3c4]
push eax
push ebx
jmp 0x6d4655d5
lea eax, [ebp + 0x3c4]
mov dword [ebp - 0x58], ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6d4654b5
sub eax, esi
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x58]
mov dl, byte [ebp + edx + 0x3c4]
cmp dl, 0x2e
je 0x6d4654d3
mov byte [ecx], dl
inc ecx
inc dword [ebp - 0x58]
cmp dword [ebp - 0x58], eax
jbe 0x6d4654c1
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x54], str.NODOTVERSION
call dword [sym.imp.kernel32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x6d465502
xor eax, eax
jmp 0x6d465519
lea eax, [esi + esi]
call fcn.6d4673e0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x3c]
push ecx
push eax
call fcn.6d468011
push 0x6d469820
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], str.CLSID_STRING
call dword [sym.imp.kernel32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x6d46553d
xor eax, eax
jmp 0x6d465555
lea eax, [esi + esi]
call fcn.6d4673e0
mov eax, esp
push 3
push esi
push 0x6d469820
push eax
call fcn.6d468011
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
call fcn.6d468011
test eax, eax
je 0x6d465579
lea eax, [ebp - 0x54]
push eax
push 1
push 0x67
push 0x6d46c280
call fcn.6d463951
call fcn.6d468011
test eax, eax
je 0x6d465593
call fcn.6d468011
test eax, eax
je 0x6d4655a5
cmp dword [ebp + 0x7d0], ebx
je 0x6d4655a5
lea eax, [ebp - 0x54]
push eax
push 1
push 0x68
push 0x6d46c280
call fcn.6d463951
call dword [sym.imp.ole32.dll_CoUninitialize]
push edi
lea eax, [ebp + 0x3c4]
push ebx
push eax
call sub.MSVCR100.dll_memset
push edi
lea eax, [ebp - 0x3c]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0x18
inc dword [ebp - 0x5c]
push edi
lea eax, [ebp + 0x3c4]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x6d4654a9
lea ecx, [ebp - 0x68]
call fcn.6d4616c7
lea ecx, [ebp - 0x74]
call fcn.6d4616c7
lea ecx, [ebp - 0x80]
call fcn.6d4616c7
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7c4]
xor ecx, ebp
call fcn.6d46731e
add ebp, 0x7c8
leave
ret