Function at 0x6d7f0034
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x7c8]
sub esp, 0x848
mov eax, dword [0x6d808560]
xor eax, ebp
mov dword [ebp + 0x7c4], eax
push ebx
push esi
push edi
call fcn.6d7ef650
xor ebx, ebx
mov esi, 0x20019
push esi
push 0x6d7fe14c
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.6d7ef3c4
test eax, eax
jne 0x6d7f0241
push esi
push 0x6d7fe158
push dword [ebp - 0x80]
lea ecx, [ebp - 0x74]
call fcn.6d7ef3c4
lea ecx, [ebp - 0x68]
test eax, eax
jne 0x6d7f0244
push esi
push 0x6d7fe164
push dword [ebp - 0x74]
call fcn.6d7ef3c4
test eax, eax
jne 0x6d7f0241
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 0x6d7f0230
lea eax, [ebp + 0x3c4]
mov dword [ebp - 0x58], ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6d7f0110
sub eax, esi
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x58]
mov dl, byte [ebp + edx + 0x3c4]
cmp dl, 0x2e
je 0x6d7f012e
mov byte [ecx], dl
inc ecx
inc dword [ebp - 0x58]
cmp dword [ebp - 0x58], eax
jbe 0x6d7f011c
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 0x6d7f015d
xor eax, eax
jmp 0x6d7f0174
lea eax, [esi + esi]
call fcn.6d7f98a0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x3c]
push ecx
push eax
call fcn.6d7ef3c4
push 0x6d7fde60
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 0x6d7f0198
xor eax, eax
jmp 0x6d7f01b0
lea eax, [esi + esi]
call fcn.6d7f98a0
mov eax, esp
push 3
push esi
push 0x6d7fde60
push eax
call fcn.6d7ef3c4
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
call fcn.6d7ef3c4
test eax, eax
je 0x6d7f01d4
lea eax, [ebp - 0x54]
push eax
push 1
push 0x67
push 0x6d808690
call fcn.6d7ec834
call fcn.6d7ef3c4
test eax, eax
je 0x6d7f01ee
call fcn.6d7ef3c4
test eax, eax
je 0x6d7f0200
cmp dword [ebp + 0x7d0], ebx
je 0x6d7f0200
lea eax, [ebp - 0x54]
push eax
push 1
push 0x68
push 0x6d808690
call fcn.6d7ec834
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 0x6d7f0104
lea ecx, [ebp - 0x68]
call fcn.6d7e2c8b
lea ecx, [ebp - 0x74]
call fcn.6d7e2c8b
lea ecx, [ebp - 0x80]
call fcn.6d7e2c8b
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7c4]
xor ecx, ebp
call fcn.6d7f98d8
add ebp, 0x7c8
leave
ret