Function at 0x40d86d
Capabilities:
Delete registry value

Disassembly:
push 0x1d0
mov eax, 0x46f24c
call fcn.004510b2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0xc]
mov edi, ecx
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x118], eax
cmp edi, ebx
je 0x40db9f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40db9f
push 0xf003f
push str.Software
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x1a0], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x188], ebx
mov byte [ebp - 0x18c], bl
call fcn.0042efdb
test eax, eax
je 0x40d8eb
mov eax, 0x80004005
jmp 0x40dba6
mov eax, dword [ebp - 0x198]
push str.JavaSoft
lea esi, [ebp - 0x138]
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x124], bl
mov dword [ebp - 0x134], eax
call fcn.0042f02b
test eax, eax
jne 0x40d8e1
mov eax, dword [ebp - 0x130]
push 0x478c94
lea esi, [ebp - 0x15c]
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x144], ebx
mov byte [ebp - 0x148], bl
mov dword [ebp - 0x158], eax
call fcn.0042f02b
test eax, eax
jne 0x40d8e1
mov eax, dword [ebp - 0x154]
push str.Policy
lea esi, [ebp - 0x138]
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x124], bl
mov dword [ebp - 0x134], eax
call fcn.0042f02b
test eax, eax
jne 0x40d8e1
mov eax, edi
lea edi, [ebp - 0x154]
call fcn.0040b391
push str.PostStatusUrl
mov eax, esi
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0042f0e8
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, 0x474e64
push edi
lea eax, [ebp - 0x114]
push eax
call esi
push edi
lea eax, [ebp - 0x94]
push eax
call esi
lea eax, [ebp - 0x114]
lea edi, [ebp - 0x170]
call fcn.0040b391
mov ebx, str.InstalledJREVersion
push ebx
lea eax, [ebp - 0x138]
push eax
mov byte [ebp - 4], 1
call fcn.0042f05e
mov eax, dword [ebp - 0x168]
sub eax, dword [ebp - 0x16c]
push eax
push dword [ebp - 0x16c]
lea eax, [ebp - 0x114]
push eax
call fcn.00448fb0
add esp, 0xc
lea eax, [ebp - 0x94]
lea edi, [ebp - 0x184]
call fcn.0040b391
push str.NewJREVersion
lea eax, [ebp - 0x138]
push eax
mov byte [ebp - 4], 2
call fcn.0042f05e
mov eax, dword [ebp - 0x17c]
sub eax, dword [ebp - 0x180]
push eax
push dword [ebp - 0x180]
lea eax, [ebp - 0x94]
push eax
call fcn.00448fb0
add esp, 0xc
push dword [ebp - 0x140]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 0x13c], 0
call fcn.0041453f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
pop ecx
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x11c]
call esi
test eax, eax
jne 0x40da9d
lea eax, [ebp - 0x94]
push eax
push dword [ebp - 0x118]
call esi
test eax, eax
je 0x40db7c
push 1
lea esi, [ebp - 0x1c8]
call fcn.0040b364
push str.UpdateDetected
lea eax, [ebp - 0x138]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0042f0e8
mov eax, dword [ebp - 0x11c]
lea edi, [ebp - 0x1dc]
call fcn.0040b391
cmp dword [ebp - 0x11c], 0
mov byte [ebp - 4], 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push ebx
je 0x40daf6
lea eax, [ebp - 0x138]
push eax
mov ecx, edi
call fcn.0042f0e8
jmp 0x40dafe
push dword [ebp - 0x134]
call esi
mov eax, dword [ebp - 0x118]
lea edi, [ebp - 0x1b4]
call fcn.0040b391
cmp dword [ebp - 0x118], 0
mov byte [ebp - 4], 5
push str.NewJREVersion
je 0x40db31
lea eax, [ebp - 0x138]
push eax
mov ecx, edi
call fcn.0042f0e8
jmp 0x40db39
push dword [ebp - 0x134]
call esi
push str.UpdAvailNotifyCnt
push dword [ebp - 0x134]
call esi
push str.UpdAvailNotifyTime
push dword [ebp - 0x134]
call esi
push 0
call fcn.0040d674
pop ecx
lea esi, [ebp - 0x1b0]
call fcn.0043df69
lea esi, [ebp - 0x1d8]
call fcn.0043df69
lea esi, [ebp - 0x1c4]
call fcn.0043df69
lea esi, [ebp - 0x180]
call fcn.0043df69
lea esi, [ebp - 0x16c]
call fcn.0043df69
lea esi, [ebp - 0x150]
call fcn.0043df69
jmp 0x40dba4
call fcn.0041054c
xor eax, eax
call fcn.00451135
ret