Function at 0x100163e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1018
call fcn.100378e0
mov eax, dword [0x1004f860]
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 0x10016518
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x100164b9
push str._Cannot_open_registry_key
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.10030fd0
push ebx
push edi
push str.SOFTWAREJavaSoftJava_Runtime_Environment
lea ecx, [esp + 0x10]
mov dword [esi], eax
mov dword [esp + 0x14], esi
call fcn.10002e00
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.10004760
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 0x100164ad
lea edx, [esi + 8]
push edx
call edi
test eax, eax
jne 0x100164ad
mov eax, dword [esi]
test eax, eax
je 0x10016494
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x100164a4
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 0x100164c3
mov eax, dword [esi]
jmp 0x100164c5
push 0x8007000e
call fcn.10030fd0
xor eax, eax
push eax
call fcn.10004ff0
add esp, 4
test esi, esi
je 0x100164fe
lea eax, [esi + 8]
push eax
call edi
test eax, eax
jne 0x100164fe
mov eax, dword [esi]
test eax, eax
je 0x100164e5
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x100164f5
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.1003779c
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 0x10016649
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x100164b9
push str._WebJava_value:
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.10030fd0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xc]
mov dword [esi], eax
mov dword [esp + 8], esi
call fcn.10002e00
lea edx, [esp + 8]
push edx
lea ecx, [esp + 8]
call fcn.10004760
lea ecx, [esp + 8]
call fcn.10002330
mov eax, dword [esp + 4]
test eax, eax
je 0x100165c6
mov eax, dword [eax]
jmp 0x100165c8
xor eax, eax
push eax
call fcn.10004ff0
add esp, 4
lea ecx, [esp + 0x18]
mov eax, str.disabled
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10016606
test dx, dx
je 0x10016602
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10016606
add eax, 4
add ecx, 4
test dx, dx
jne 0x100165e0
xor eax, eax
jmp 0x1001660b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10016640
push str._System_WebJava_DISABLED
call fcn.10004ff0
add esp, 4
lea ecx, [esp + 4]
call fcn.10002330
mov eax, 1
pop esi
mov ecx, dword [esp + 0x1014]
xor ecx, esp
call fcn.1003779c
add esp, 0x1018
ret
lea ecx, [esp + 4]
call fcn.10002330
push str._System_WebJava_ENABLED
call fcn.10004ff0
mov ecx, dword [esp + 0x101c]
add esp, 4
pop esi
xor ecx, esp
xor eax, eax
call fcn.1003779c
add esp, 0x1018
ret