Function at 0x6d7edfaa
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x13c4]
mov eax, 0x1444
call fcn.6d7f99b0
mov eax, dword [0x6d808560]
xor eax, ebp
mov dword [ebp + 0x13c0], eax
mov eax, dword [ebp + 0x13cc]
push ebx
xor ebx, ebx
push 0x3ff
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0xbc1]
push ebx
push eax
mov byte [ebp + 0xbc0], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x6d7fdbc4
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
cmp eax, ebx
jne 0x6d7ee006
xor eax, eax
jmp 0x6d7ee278
push esi
push edi
mov esi, 0x400
push esi
lea ecx, [ebp + 0xbc0]
push ecx
push eax
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
mov edi, dword [sym.imp.MSVCR100.dll__strlwr_s]
lea eax, [ebp + 0xbc0]
push esi
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x6d7ee274
lea eax, [ebp + 0xbc0]
push str.jvm.dll
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
je 0x6d7ee274
push esi
lea eax, [ebp + 0x7c0]
push eax
lea eax, [ebp + 0xbc0]
push eax
call dword [sym.imp.kernel32.dll_GetLongPathNameA]
lea eax, [ebp + 0x7c0]
push esi
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x6d7ee274
lea eax, [ebp + 0x7c0]
push 0x6d7fdbd4
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
cmp eax, ebx
je 0x6d7ee095
mov byte [eax], bl
mov edi, 0x20019
push edi
push 0x6d7fdbdc
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
call fcn.6d7fa651
test eax, eax
jne 0x6d7ee254
push edi
push 0x6d7fdbe8
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x60]
call fcn.6d7fa651
test eax, eax
je 0x6d7ee115
lea ecx, [ebp - 0x78]
call fcn.6d7e2c8b
lea ecx, [ebp - 0x54]
call fcn.6d7e2c8b
lea ecx, [ebp - 0x60]
call fcn.6d7e2c8b
lea ecx, [ebp - 0x6c]
call fcn.6d7e2c8b
mov eax, ebx
jmp 0x6d7ee276
push edi
push 0x6d7fdbf4
push dword [ebp - 0x60]
lea ecx, [ebp - 0x54]
call fcn.6d7fa651
test eax, eax
jne 0x6d7ee254
push 0x3ff
lea eax, [ebp + 0xfc1]
push ebx
push eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], esi
mov byte [ebp + 0xfc0], bl
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0xfc0]
push eax
push ebx
jmp 0x6d7ee247
xor ecx, ecx
xor eax, eax
cmp dword [ebp - 0x44], ebx
jbe 0x6d7ee22f
cmp byte [ebp + eax + 0xfc0], 0x2e
jne 0x6d7ee187
inc ecx
cmp ecx, 1
jg 0x6d7ee196
inc eax
cmp eax, dword [ebp - 0x44]
jb 0x6d7ee177
cmp ecx, 1
jle 0x6d7ee22f
push 3
lea eax, [ebp + 0xfc0]
push 0x6d7fdc10
push eax
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0xc
test eax, eax
js 0x6d7ee22f
push 0x20019
lea eax, [ebp + 0xfc0]
push eax
push dword [ebp - 0x54]
lea ecx, [ebp - 0x78]
call fcn.6d7fa651
test eax, eax
jne 0x6d7ee22f
push 0x3ff
lea eax, [ebp + 0x3c1]
push ebx
push eax
mov dword [ebp - 0x80], esi
mov byte [ebp + 0x3c0], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x3c0]
push eax
push 0x6d7fdc14
lea ecx, [ebp - 0x78]
call fcn.6d7fa651
test eax, eax
jne 0x6d7ee22f
push esi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 0x3c0]
push eax
call dword [sym.imp.kernel32.dll_GetLongPathNameA]
lea eax, [ebp + 0x7c0]
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.MSVCR100.dll__stricmp]
pop ecx
pop ecx
test eax, eax
je 0x6d7ee28e
inc dword [ebp - 0x48]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0xfc0]
push eax
push dword [ebp - 0x48]
mov dword [ebp - 0x44], esi
push dword [ebp - 0x54]
call edi
test eax, eax
je 0x6d7ee16a
lea ecx, [ebp - 0x78]
call fcn.6d7e2c8b
lea ecx, [ebp - 0x54]
call fcn.6d7e2c8b
lea ecx, [ebp - 0x60]
call fcn.6d7e2c8b
lea ecx, [ebp - 0x6c]
call fcn.6d7e2c8b
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp + 0x13c0]
xor ecx, ebp
pop ebx
call fcn.6d7f98d8
add ebp, 0x13c4
leave
ret
lea eax, [ebp + 0xfc0]
push eax
push dword [ebp + 0x13d0]
push dword [ebp - 0x7c]
call dword [sym.imp.MSVCR100.dll_strcpy_s]
xor ebx, ebx
add esp, 0xc
inc ebx
jmp 0x6d7ee0ee