Function at 0x6d5ad010
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x1028
call fcn.6d5ca7f0
mov eax, dword [0x6d5e2a5c]
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 0x6d5ad077
xor edx, edx
jmp 0x6d5ad097
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.6d5ca860
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.6d593190
mov esi, eax
cmp esi, 2
jne 0x6d5ad0df
push str._setSystemWebJavaEnabled:_OK_regkey_does_not_exists
call fcn.6d5951a0
add esp, 4
jmp 0x6d5ad0fd
push ecx
mov ecx, esp
push str._setSystemWebJavaEnabled:_open_JavaDeploy_subkey
call fcn.6d592e00
push esi
call fcn.6d5ac540
add esp, 8
test eax, eax
je 0x6d5ad246
mov eax, dword [esp + 0x18]
push str.WebDeployJava
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
cmp edi, 2
jne 0x6d5ad116
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 0x6d5ad14e
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 0x6d5ad150
push 0x8007000e
call fcn.6d5ca1c9
xor esi, esi
mov dword [ebx], esi
cmp esi, ebp
jne 0x6d5ad160
push 0x8007000e
call fcn.6d5ca1c9
push edi
call fcn.6d5ac540
add esp, 8
cmp eax, ebp
je 0x6d5ad246
push 0x2001f
lea ecx, [esp + 0x38]
push ecx
push str.deployment.modified.timestamp
push str.SOFTWAREOracleJavaDeploy
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.6d5ac020
add esp, 0x14
push str.___Create_HKLM_WebDeployJava_last_modified
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.6d592e00
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 0x6d5ad1bb
add eax, 8
push eax
call ebx
push esi
call fcn.6d5ac540
push 0x2001f
push 0x6d5d2518
push str.deployment.webjava.enabled
push str.SOFTWAREOracleJavaDeploy
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.6d5ac020
add esp, 0x1c
push str.___Create_HKLM_webjavaswitch_status_enabled
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.6d597280
mov esi, dword [esp + 0x10]
push ecx
mov eax, esp
mov dword [eax], esi
cmp esi, ebp
je 0x6d5ad205
lea edx, [esi + 8]
push edx
call ebx
push edi
call fcn.6d5ac540
add esp, 8
cmp esi, ebp
je 0x6d5ad246
lea eax, [esi + 8]
push eax
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x6d5ad246
mov eax, dword [esi]
cmp eax, ebp
je 0x6d5ad22d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x6d5ad23d
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 0x6d5ad255
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.6d5ca6ac
add esp, 0x1028
ret