Function at 0x6d5753d9
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x7c8]
sub esp, 0x848
mov eax, dword [0x6d57c188]
xor eax, ebp
mov dword [ebp + 0x7c4], eax
push ebx
push esi
push edi
call fcn.6d5749f5
xor ebx, ebx
mov esi, 0x20019
push esi
push 0x6d579b0c
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.6d578011
test eax, eax
jne 0x6d5755e6
push esi
push 0x6d579b18
push dword [ebp - 0x80]
lea ecx, [ebp - 0x74]
call fcn.6d578011
lea ecx, [ebp - 0x68]
test eax, eax
jne 0x6d5755e9
push esi
push 0x6d579b24
push dword [ebp - 0x74]
call fcn.6d578011
test eax, eax
jne 0x6d5755e6
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 0x6d5755d5
lea eax, [ebp + 0x3c4]
mov dword [ebp - 0x58], ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6d5754b5
sub eax, esi
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x58]
mov dl, byte [ebp + edx + 0x3c4]
cmp dl, 0x2e
je 0x6d5754d3
mov byte [ecx], dl
inc ecx
inc dword [ebp - 0x58]
cmp dword [ebp - 0x58], eax
jbe 0x6d5754c1
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 0x6d575502
xor eax, eax
jmp 0x6d575519
lea eax, [esi + esi]
call fcn.6d5773e0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x3c]
push ecx
push eax
call fcn.6d578011
push 0x6d579820
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 0x6d57553d
xor eax, eax
jmp 0x6d575555
lea eax, [esi + esi]
call fcn.6d5773e0
mov eax, esp
push 3
push esi
push 0x6d579820
push eax
call fcn.6d578011
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
call fcn.6d578011
test eax, eax
je 0x6d575579
lea eax, [ebp - 0x54]
push eax
push 1
push 0x67
push 0x6d57c280
call fcn.6d573951
call fcn.6d578011
test eax, eax
je 0x6d575593
call fcn.6d578011
test eax, eax
je 0x6d5755a5
cmp dword [ebp + 0x7d0], ebx
je 0x6d5755a5
lea eax, [ebp - 0x54]
push eax
push 1
push 0x68
push 0x6d57c280
call fcn.6d573951
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 0x6d5754a9
lea ecx, [ebp - 0x68]
call fcn.6d5716c7
lea ecx, [ebp - 0x74]
call fcn.6d5716c7
lea ecx, [ebp - 0x80]
call fcn.6d5716c7
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7c4]
xor ecx, ebp
call fcn.6d57731e
add ebp, 0x7c8
leave
ret