Function at 0x6d1c27f0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x1834
call fcn.6d1c9470
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x1830], eax
mov eax, dword [esp + 0x1838]
push ebx
xor ebx, ebx
push 0x7ff
lea ecx, [esp + 0x39]
push ebx
push ecx
mov dword [esp + 0x2c], eax
mov byte [esp + 0x40], bl
call sub.MSVCR100.dll_memset
push 0x7ff
lea edx, [esp + 0x1045]
push ebx
push edx
mov byte [esp + 0x104c], bl
call sub.MSVCR100.dll_memset
push 0x7ff
lea eax, [esp + 0x851]
push ebx
push eax
mov byte [esp + 0x858], bl
call sub.MSVCR100.dll_memset
add esp, 0x24
push 0x20019
push str.SOFTWAREOracleJavaFX
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x800
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
call fcn.6d1b2d40
test eax, eax
je 0x6d1c28bc
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x6d1c28a4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1830]
xor ecx, esp
call fcn.6d1c932c
add esp, 0x1834
ret
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push ecx
push ebx
push ebx
push ebx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
push ebx
push edi
xor ebp, ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x6d1c2a1b
lea ecx, [esp + 0x40]
push ecx
push str.SOFTWAREOracleJavaFX
push str._s_s
lea edx, [esp + 0x104c]
push 0x800
push edx
inc ebp
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x14
lea eax, [esp + 0x24]
push eax
push 0x20019
push ebx
lea ecx, [esp + 0x104c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x6d1c2a4f
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x38]
push ecx
push ebx
push str.Path
push esi
mov dword [esp + 0x40], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x6d1c297f
mov eax, dword [esp + 0x30]
cmp eax, 1
je 0x6d1c2971
cmp eax, 2
jne 0x6d1c297f
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x6d1c2993
cmp byte [esp + eax + 0x3f], bl
je 0x6d1c2997
cmp esi, ebx
je 0x6d1c2a4f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x6d1c2a4f
mov byte [esp + 0x40], bl
cmp esi, ebx
je 0x6d1c29a4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov edi, dword [sym.imp.MSVCR100.dll_strcat_s]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x844]
push 0x800
push eax
call edi
push 0x6d1cd240
lea ecx, [esp + 0x850]
push 0x800
push ecx
call edi
add esp, 0x18
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x1c]
push ebx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x54]
push ecx
push ebp
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 0x800
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov edi, eax
cmp esi, ebx
je 0x6d1c2a10
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
mov edi, dword [esp + 0x18]
jmp 0x6d1c28e1
cmp edi, ebx
je 0x6d1c2a2c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov edi, ebx
mov ecx, dword [esp + 0x184c]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x840]
push eax
push 0x6d1ccc48
push ecx
push edx
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x10
cmp edi, ebx
je 0x6d1c2a5a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1840]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.6d1c932c
add esp, 0x1834
ret