Function at 0x10013110
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x303c
call fcn.100378e0
mov eax, dword [0x1004f860]
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 0x100133a6
push edi
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.10031220
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 0x100133b0
mov ecx, dword [esp + 0x10]
mov esi, 1
push ecx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], esi
call fcn.10031220
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 0x100133b0
mov eax, dword [esp + 0x14]
push eax
mov dword [edi + 4], ebx
mov dword [edi + 8], esi
call fcn.10031220
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 0x100133b0
mov edx, dword [esp + 0x44]
mov dword [esi + 4], ebx
lea ebx, [esi + 8]
push edx
mov dword [ebx], 1
call fcn.10031220
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.10010da0
add esp, 0x28
push ebx
mov ebx, dword [sym.imp.kernel32.dll_InterlockedDecrement]
call ebx
test eax, eax
jne 0x1001326f
mov eax, dword [esi]
test eax, eax
je 0x10013256
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x10013266
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 0x100132a1
mov eax, dword [edi]
cmp eax, esi
je 0x10013288
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, esi
je 0x10013298
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 0x100132d2
mov eax, dword [ebp]
cmp eax, esi
je 0x100132b9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 4]
cmp eax, esi
je 0x100132c9
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 0x1001330c
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
test eax, eax
je 0x100132f1
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x10013301
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 0x100133ba
push eax
lea edx, [esp + 0x4c]
xor ecx, ecx
push edx
mov word [esp + 0x50], cx
call fcn.10011410
add esp, 8
test eax, eax
je 0x100134fa
lea eax, [esp + 0x48]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x10013340
mov esi, dword [sym.imp.MSVCR100.dll_wcscat_s]
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x46], 0x5c
je 0x10013371
push 0x1003b0cc
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.10011eb0
add esp, 0x1c
jmp 0x1001352d
push 0x8007000e
call fcn.10031220
push 0x8007000e
call fcn.10031220
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.10003190
test eax, eax
je 0x10013418
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x10013411
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1001352d
mov ebx, dword [esp + 0x2c]
push 0xf003f
push str.JavaSoft
push ebx
lea ecx, [esp + 0x44]
call fcn.10003190
test eax, eax
je 0x10013453
mov eax, dword [esp + 0x38]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10013445
push eax
call esi
test ebx, ebx
je 0x1001348e
push ebx
call esi
xor eax, eax
jmp 0x1001352d
mov ebp, dword [esp + 0x38]
push 0xf003f
push str.Java_Runtime_Environment
push ebp
lea ecx, [esp + 0x2c]
call fcn.10003190
test eax, eax
je 0x10013495
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10013480
push eax
call esi
test ebp, ebp
je 0x10013487
push ebp
call esi
test ebx, ebx
je 0x1001348e
push ebx
call esi
xor eax, eax
jmp 0x1001352d
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x4c]
push eax
push str.BrowserJavaVersion
lea ecx, [esp + 0x2c]
call fcn.10003250
mov esi, dword [esp + 0x20]
test eax, eax
jne 0x100134fe
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 0x100134fe
push str.BrowserJavaVersion
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x100134fe
lea ecx, [esp + 0x20]
call fcn.10003ce0
lea ecx, [esp + 0x38]
call fcn.10003ce0
lea ecx, [esp + 0x2c]
call fcn.10003ce0
xor eax, eax
jmp 0x1001352d
cmp dword [esp + 0x3064], 0
je 0x1001350d
call sym.deploy.dll_UnregJavaConsole
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x1001351a
push esi
call edi
test ebp, ebp
je 0x10013521
push ebp
call edi
test ebx, ebx
je 0x10013528
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.1003779c
add esp, 0x303c
ret