Function at 0x6d5a8910
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1018
call fcn.6d5ca7f0
mov eax, dword [0x6d5e2a5c]
xor eax, esp
mov dword [esp + 0x1014], eax
push esi
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SOFTWAREOracleJavaDeploy
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x6d5a8a48
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x6d5a89e9
push str._Cannot_open_registry_key
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.6d5ca1c9
push ebx
push edi
push str.SOFTWAREJavaSoftJava_Runtime_Environment
lea ecx, [esp + 0x10]
mov dword [esi], eax
mov dword [esp + 0x14], esi
call fcn.6d592e00
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.6d594760
mov esi, dword [esp + 0xc]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, dword [sym.imp.kernel32.dll_InterlockedDecrement]
test esi, esi
je 0x6d5a89dd
lea edx, [esi + 8]
push edx
call edi
test eax, eax
jne 0x6d5a89dd
mov eax, dword [esi]
test eax, eax
je 0x6d5a89c4
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5a89d4
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x6d5a89f3
mov eax, dword [esi]
jmp 0x6d5a89f5
push 0x8007000e
call fcn.6d5ca1c9
xor eax, eax
push eax
call fcn.6d5951a0
add esp, 4
test esi, esi
je 0x6d5a8a2e
lea eax, [esi + 8]
push eax
call edi
test eax, eax
jne 0x6d5a8a2e
mov eax, dword [esi]
test eax, eax
je 0x6d5a8a15
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5a8a25
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1014]
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x1018
ret
xor ecx, ecx
push 0xffe
push ecx
lea edx, [esp + 0x22]
push edx
mov dword [esp + 0x18], 0x800
mov word [esp + 0x24], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push str.WebDeployJava
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x6d5a8b79
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x6d5a89e9
push str._WebJava_value:
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.6d5ca1c9
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xc]
mov dword [esi], eax
mov dword [esp + 8], esi
call fcn.6d592e00
lea edx, [esp + 8]
push edx
lea ecx, [esp + 8]
call fcn.6d594760
lea ecx, [esp + 8]
call fcn.6d592330
mov eax, dword [esp + 4]
test eax, eax
je 0x6d5a8af6
mov eax, dword [eax]
jmp 0x6d5a8af8
xor eax, eax
push eax
call fcn.6d5951a0
add esp, 4
lea ecx, [esp + 0x18]
mov eax, str.disabled
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x6d5a8b36
test dx, dx
je 0x6d5a8b32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x6d5a8b36
add eax, 4
add ecx, 4
test dx, dx
jne 0x6d5a8b10
xor eax, eax
jmp 0x6d5a8b3b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x6d5a8b70
push str._System_WebJava_DISABLED
call fcn.6d5951a0
add esp, 4
lea ecx, [esp + 4]
call fcn.6d592330
mov eax, 1
pop esi
mov ecx, dword [esp + 0x1014]
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x1018
ret
lea ecx, [esp + 4]
call fcn.6d592330
push str._System_WebJava_ENABLED
call fcn.6d5951a0
mov ecx, dword [esp + 0x101c]
add esp, 4
pop esi
xor ecx, esp
xor eax, eax
call fcn.6d5ca6ac
add esp, 0x1018
ret