Function at 0x1001a590
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x1028
call fcn.100378e0
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x1024], eax
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0xffe
lea ecx, [esp + 0x3a]
xor eax, eax
push ebp
push ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov word [esp + 0x40], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.kernel32.dll_GetSystemTime]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.kernel32.dll_SystemTimeToFileTime]
test eax, eax
jne 0x1001a5f7
xor edx, edx
jmp 0x1001a617
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push ebp
sub ecx, 0xd53e8000
push 0x2710
sbb eax, 0x19db1de
push eax
push ecx
call fcn.10037940
push edx
push eax
push str._I64d
lea edx, [esp + 0x40]
push 0x800
push edx
call dword [sym.imp.MSVCR100.dll_swprintf_s]
add esp, 0x14
push 0x2001f
push str.SOFTWAREOracleJavaDeploy
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x24]
call fcn.10003190
mov esi, eax
cmp esi, 2
jne 0x1001a65f
push str._setSystemWebJavaEnabled:_OK_regkey_does_not_exists
call fcn.10004ff0
add esp, 4
jmp 0x1001a67d
push ecx
mov ecx, esp
push str._setSystemWebJavaEnabled:_open_JavaDeploy_subkey
call fcn.10002e00
push esi
call fcn.10019c30
add esp, 8
test eax, eax
je 0x1001a7c6
mov eax, dword [esp + 0x18]
push str.WebDeployJava
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
cmp edi, 2
jne 0x1001a696
xor edi, edi
push ecx
mov ebx, esp
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x1001a6ce
push str._setSystemWebJavaEnabled:_delete_WebDeployJava
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
cmp eax, ebp
jne 0x1001a6d0
push 0x8007000e
call fcn.10030c90
xor esi, esi
mov dword [ebx], esi
cmp esi, ebp
jne 0x1001a6e0
push 0x8007000e
call fcn.10030c90
push edi
call fcn.10019c30
add esp, 8
cmp eax, ebp
je 0x1001a7c6
push 0x2001f
lea ecx, [esp + 0x38]
push ecx
push str.deployment.modified.timestamp
push str.SOFTWAREOracleJavaDeploy
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10019ae0
add esp, 0x14
push str.___Create_HKLM_WebDeployJava_last_modified
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.10002e00
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.kernel32.dll_InterlockedIncrement]
push ecx
mov ecx, esp
mov dword [ecx], eax
cmp eax, ebp
je 0x1001a73b
add eax, 8
push eax
call ebx
push esi
call fcn.10019c30
push 0x2001f
push 0x1003f1c0
push str.deployment.webjava.enabled
push str.SOFTWAREOracleJavaDeploy
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10019ae0
add esp, 0x1c
push str.___Create_HKLM_webjavaswitch_status_enabled
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.10006f80
mov esi, dword [esp + 0x10]
push ecx
mov eax, esp
mov dword [eax], esi
cmp esi, ebp
je 0x1001a785
lea edx, [esi + 8]
push edx
call ebx
push edi
call fcn.10019c30
add esp, 8
cmp esi, ebp
je 0x1001a7c6
lea eax, [esi + 8]
push eax
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x1001a7c6
mov eax, dword [esi]
cmp eax, ebp
je 0x1001a7ad
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x1001a7bd
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 eax, dword [esp + 0x18]
cmp eax, ebp
je 0x1001a7d5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1034]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003779c
add esp, 0x1028
ret