Function at 0x6d5a3410
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x303c
call fcn.6d5ca7f0
mov eax, dword [0x6d5e2a5c]
xor eax, esp
mov dword [esp + 0x3038], eax
mov eax, dword [esp + 0x3040]
mov ecx, dword [esp + 0x3044]
mov edx, dword [esp + 0x3048]
push ebx
push esi
push edi
mov edi, dword [esp + 0x3058]
push 0xc
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
xor ebx, ebx
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, ebx
je 0x6d5a36a6
push edi
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.6d5ca1c9
push ebp
push 0xc
mov dword [esi], eax
mov dword [esp + 0x1c], eax
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x6d5a36b0
mov ecx, dword [esp + 0x10]
mov esi, 1
push ecx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], esi
call fcn.6d5ca1c9
push 0xc
mov dword [ebp], eax
mov dword [esp + 0x14], eax
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x6d5a36b0
mov eax, dword [esp + 0x14]
push eax
mov dword [edi + 4], ebx
mov dword [edi + 8], esi
call fcn.6d5ca1c9
push 0xc
mov dword [edi], eax
mov dword [esp + 0x18], eax
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x6d5a36b0
mov edx, dword [esp + 0x44]
mov dword [esi + 4], ebx
lea ebx, [esi + 8]
push edx
mov dword [ebx], 1
call fcn.6d5ca1c9
mov edx, dword [esp + 0x18]
push 0
mov dword [esi], eax
lea eax, [esp + 0x104c]
push eax
mov eax, dword [esp + 0x18]
push 0
push 0
push 0
lea ecx, [esp + 0x205c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
call fcn.6d5a10a0
add esp, 0x28
push ebx
mov ebx, dword [sym.imp.kernel32.dll_InterlockedDecrement]
call ebx
test eax, eax
jne 0x6d5a356f
mov eax, dword [esi]
test eax, eax
je 0x6d5a3556
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5a3566
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
lea eax, [edi + 8]
push eax
call ebx
xor esi, esi
test eax, eax
jne 0x6d5a35a1
mov eax, dword [edi]
cmp eax, esi
je 0x6d5a3588
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, esi
je 0x6d5a3598
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [ebp + 8]
push eax
call ebx
test eax, eax
jne 0x6d5a35d2
mov eax, dword [ebp]
cmp eax, esi
je 0x6d5a35b9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 4]
cmp eax, esi
je 0x6d5a35c9
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push ebp
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x1c]
add eax, 8
push eax
call ebx
test eax, eax
jne 0x6d5a360c
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
test eax, eax
je 0x6d5a35f1
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5a3601
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
xor esi, esi
mov eax, dword [esp + 0x3060]
cmp eax, 2
je 0x6d5a36ba
push eax
lea edx, [esp + 0x4c]
xor ecx, ecx
push edx
mov word [esp + 0x50], cx
call fcn.6d5a1710
add esp, 8
test eax, eax
je 0x6d5a37fa
lea eax, [esp + 0x48]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x6d5a3640
mov esi, dword [sym.imp.MSVCR100.dll_wcscat_s]
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x46], 0x5c
je 0x6d5a3671
push 0x6d5ce20c
lea eax, [esp + 0x4c]
push 0x800
push eax
call esi
add esp, 0xc
push str.plugins_
lea ecx, [esp + 0x4c]
push 0x800
push ecx
call esi
mov edx, dword [esp + 0x3070]
push 1
push edx
lea eax, [esp + 0x105c]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.6d5a21b0
add esp, 0x1c
jmp 0x6d5a382d
push 0x8007000e
call fcn.6d5ca1c9
push 0x8007000e
call fcn.6d5ca1c9
push 0xf003f
push str.SOFTWARE
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], 0x1000
call fcn.6d593190
test eax, eax
je 0x6d5a3718
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x6d5a3711
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x6d5a382d
mov ebx, dword [esp + 0x2c]
push 0xf003f
push str.JavaSoft
push ebx
lea ecx, [esp + 0x44]
call fcn.6d593190
test eax, eax
je 0x6d5a3753
mov eax, dword [esp + 0x38]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x6d5a3745
push eax
call esi
test ebx, ebx
je 0x6d5a378e
push ebx
call esi
xor eax, eax
jmp 0x6d5a382d
mov ebp, dword [esp + 0x38]
push 0xf003f
push str.Java_Runtime_Environment
push ebp
lea ecx, [esp + 0x2c]
call fcn.6d593190
test eax, eax
je 0x6d5a3795
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x6d5a3780
push eax
call esi
test ebp, ebp
je 0x6d5a3787
push ebp
call esi
test ebx, ebx
je 0x6d5a378e
push ebx
call esi
xor eax, eax
jmp 0x6d5a382d
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x4c]
push eax
push str.BrowserJavaVersion
lea ecx, [esp + 0x2c]
call fcn.6d593250
mov esi, dword [esp + 0x20]
test eax, eax
jne 0x6d5a37fe
lea ecx, [esp + 0x2048]
push ecx
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x6d5a37fe
push str.BrowserJavaVersion
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x6d5a37fe
lea ecx, [esp + 0x20]
call fcn.6d593ce0
lea ecx, [esp + 0x38]
call fcn.6d593ce0
lea ecx, [esp + 0x2c]
call fcn.6d593ce0
xor eax, eax
jmp 0x6d5a382d
cmp dword [esp + 0x3064], 0
je 0x6d5a380d
call sym.deploy.dll_UnregJavaConsole
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x6d5a381a
push esi
call edi
test ebp, ebp
je 0x6d5a3821
push ebp
call edi
test ebx, ebx
je 0x6d5a3828
push ebx
call edi
mov eax, 1
mov ecx, dword [esp + 0x3048]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x303c
ret