Function at 0x40dfcd
Capabilities:
Delete registry value

Disassembly:
push 0x1d0
mov eax, 0x46f84d
call fcn.004516bd
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 0x40e2ff
push edi
call dword [sym.imp.kernel32.dll_lstrlenA]
test eax, eax
je 0x40e2ff
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.00432c29
test eax, eax
je 0x40e04b
mov eax, 0x80004005
jmp 0x40e306
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.00461382
test eax, eax
jne 0x40e041
mov eax, dword [ebp - 0x130]
push 0x479cfc
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.00461382
test eax, eax
jne 0x40e041
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.00461382
test eax, eax
jne 0x40e041
mov eax, edi
lea edi, [ebp - 0x154]
call fcn.0040bb50
push str.PostStatusUrl
mov eax, esi
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00432d36
mov esi, dword [sym.imp.kernel32.dll_lstrcpyA]
mov edi, 0x475e44
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.0040bb50
mov ebx, str.InstalledJREVersion
push ebx
lea eax, [ebp - 0x138]
push eax
mov byte [ebp - 4], 1
call fcn.00432cac
mov eax, dword [ebp - 0x168]
sub eax, dword [ebp - 0x16c]
push eax
push dword [ebp - 0x16c]
lea eax, [ebp - 0x114]
push eax
call fcn.00461382
add esp, 0xc
lea eax, [ebp - 0x94]
lea edi, [ebp - 0x184]
call fcn.0040bb50
push str.NewJREVersion
lea eax, [ebp - 0x138]
push eax
mov byte [ebp - 4], 2
call fcn.00432cac
mov eax, dword [ebp - 0x17c]
sub eax, dword [ebp - 0x180]
push eax
push dword [ebp - 0x180]
lea eax, [ebp - 0x94]
push eax
call fcn.00461382
add esp, 0xc
push dword [ebp - 0x140]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 0x13c], 0
call fcn.00414c63
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 0x40e1fd
lea eax, [ebp - 0x94]
push eax
push dword [ebp - 0x118]
call esi
test eax, eax
je 0x40e2dc
push 1
lea esi, [ebp - 0x1c8]
call fcn.00461382
push str.UpdateDetected
lea eax, [ebp - 0x138]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00432d36
mov eax, dword [ebp - 0x11c]
lea edi, [ebp - 0x1dc]
call fcn.0040bb50
cmp dword [ebp - 0x11c], 0
mov byte [ebp - 4], 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push ebx
je 0x40e256
lea eax, [ebp - 0x138]
push eax
mov ecx, edi
call fcn.00432d36
jmp 0x40e25e
push dword [ebp - 0x134]
call esi
mov eax, dword [ebp - 0x118]
lea edi, [ebp - 0x1b4]
call fcn.0040bb50
cmp dword [ebp - 0x118], 0
mov byte [ebp - 4], 5
push str.NewJREVersion
je 0x40e291
lea eax, [ebp - 0x138]
push eax
mov ecx, edi
call fcn.00432d36
jmp 0x40e299
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.0040ddd4
pop ecx
lea esi, [ebp - 0x1b0]
call fcn.0040aac1
lea esi, [ebp - 0x1d8]
call fcn.0040aac1
lea esi, [ebp - 0x1c4]
call fcn.0040aac1
lea esi, [ebp - 0x180]
call fcn.0040aac1
lea esi, [ebp - 0x16c]
call fcn.0040aac1
lea esi, [ebp - 0x150]
call fcn.0040aac1
jmp 0x40e304
call fcn.00461382
xor eax, eax
call fcn.00451740
ret