Function at 0x1002c170
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x1018
call fcn.1003baf0
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x1014], eax
push ebx
push ebp
push esi
push edi
push 0x1000
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], 0
push 0
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call sub.VCRUNTIME140.dll_memset
call fcn.10029c90
push edx
push eax
push str._I64d
lea eax, [esp + 0x3c]
push 0x800
push eax
call fcn.10005d50
add esp, 0x20
lea ecx, [esp + 0x18]
push 0x2001f
push str.SOFTWAREOracleJavaDeploy
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10003a10
mov ebp, dword [esp + 0x18]
mov edi, eax
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp edi, 2
jne 0x1002c20b
push str._setSystemWebJavaEnabled:_OK_regkey_does_not_exists
call fcn.10003ca0
add esp, 4
jmp 0x1002c261
push ecx
mov ebp, esp
push 0xc
call fcn.1002f9d0
mov esi, eax
add esp, 4
test esi, esi
je 0x1002c23f
push str._setSystemWebJavaEnabled:_open_JavaDeploy_subkey
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call ebx
mov dword [esi], eax
test eax, eax
je 0x1002c435
jmp 0x1002c241
xor esi, esi
mov dword [ebp], esi
test esi, esi
je 0x1002c435
push edi
call fcn.10015220
mov ebp, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x1002c411
push str.WebDeployJava
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
xor eax, eax
push ecx
cmp edi, 2
mov dword [esp + 0x14], esp
push 0xc
cmove edi, eax
call fcn.1002f9d0
mov esi, eax
add esp, 4
test esi, esi
je 0x1002c2ad
push str._setSystemWebJavaEnabled:_delete_WebDeployJava
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call ebx
mov dword [esi], eax
test eax, eax
je 0x1002c435
jmp 0x1002c2af
xor esi, esi
mov eax, dword [esp + 0x14]
mov dword [eax], esi
test esi, esi
je 0x1002c435
push edi
call fcn.10015220
add esp, 8
test eax, eax
je 0x1002c411
push 0x2001f
lea eax, [esp + 0x28]
push eax
push str.deployment.modified.timestamp
push str.SOFTWAREOracleJavaDeploy
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10016530
push 0xc
mov edi, eax
call fcn.1002f9d0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x1002c31f
push str.___Create_HKLM_WebDeployJava_last_modified
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call ebx
mov dword [esi], eax
test eax, eax
je 0x1002c435
jmp 0x1002c321
xor esi, esi
mov dword [esp + 0x10], esi
test esi, esi
je 0x1002c435
push ecx
mov eax, esp
mov dword [eax], esi
lock inc dword [esi + 8]
push edi
call fcn.10015220
push 0x2001f
push str.true
push str.deployment.webjava.enabled
push str.SOFTWAREOracleJavaDeploy
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10016530
add esp, 0x1c
mov ecx, eax
cmp dword [esi], str.___Create_HKLM_webjavaswitch_status_enabled
mov edi, esi
mov dword [esp + 0x14], ecx
je 0x1002c3b7
lea ecx, [esp + 0x10]
call fcn.10002020
push 0xc
call fcn.1002f9d0
mov esi, eax
add esp, 4
test esi, esi
je 0x1002c3a7
push str.___Create_HKLM_webjavaswitch_status_enabled
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call ebx
mov dword [esi], eax
test eax, eax
je 0x1002c435
jmp 0x1002c3a9
xor esi, esi
mov edi, esi
test esi, esi
je 0x1002c435
mov ecx, dword [esp + 0x14]
push ecx
mov eax, esp
mov dword [eax], esi
test edi, edi
je 0x1002c3c4
lock inc dword [edi + 8]
push ecx
call fcn.10015220
add esp, 8
test edi, edi
je 0x1002c411
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x1002c411
mov eax, dword [esi]
test eax, eax
je 0x1002c3ef
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1002c406
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1002f9d0
add esp, 8
test ebp, ebp
je 0x1002c41c
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1024]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0x1018
ret
push 0x8007000e
call fcn.1002f9d0
int3