Function at 0x4114db
Capabilities:
Delete registry value

Disassembly:
push 0x5e8
mov eax, 0x46cce7
call fcn.004510b2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c8], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
push 0x7f
mov dword [ebp - 0x5d0], eax
lea eax, [ebp - 0x8f]
mov esi, ecx
mov edi, edx
push ebx
mov dword [ebp - 0x5b4], ebx
push eax
mov dword [ebp - 0x5d8], esi
mov dword [ebp - 0x5d4], edi
mov byte [ebp - 0x90], bl
call fcn.0044b040
add esp, 0xc
push 0x7f
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.0044b040
add esp, 0xc
push 0x3ff
lea eax, [ebp - 0x50f]
push ebx
push eax
mov dword [ebp - 0x5bc], ebx
mov dword [ebp - 0x5c4], ebx
mov byte [ebp - 0x510], bl
call fcn.0044b040
add esp, 0xc
push 0x4793d0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call esi
push 0x478c3c
push edi
call esi
push 0x480088
push dword [ebp - 0x5d0]
call esi
mov eax, reloc.OLEAUT32.dll_SysReAllocString
push 0x2001f
mov dword [ebp - 0x5f4], eax
mov dword [ebp - 0x5f0], eax
push str.SoftwareJreMetrics
lea eax, [ebp - 0x5f4]
mov dword [ebp - 0x5dc], ebx
mov byte [ebp - 0x5e0], bl
call fcn.0042efdb
mov esi, eax
mov eax, dword [ebp - 0x5ec]
mov dword [ebp - 0x5cc], eax
cmp esi, ebx
je 0x411606
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [ebp - 0x510]
push str.GetUpdatedJreMetrics_____RegCreateKeyEx_failed:__l_Error_Code:__d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebx, esi
lea eax, [ebp - 0x510]
push eax
call fcn.00429029
pop ecx
mov eax, ebx
call fcn.00451135
ret
lea ecx, [ebp - 0x5c0]
push ecx
lea ecx, [ebp - 0x5c4]
push ecx
push str.InstallAttempts
push eax
mov dword [ebp - 0x5c0], 4
call fcn.0040fd07
add esp, 0x10
mov edi, 0x80
test eax, eax
je 0x411644
mov dword [ebp - 0x5c4], 1
jmp 0x4117b2
lea eax, [ebp - 0x5c0]
push eax
lea eax, [ebp - 0x110]
push eax
push str.NewJreVersion
push dword [ebp - 0x5cc]
mov dword [ebp - 0x5c0], edi
call fcn.0040fd07
add esp, 0x10
cmp eax, ebx
jne 0x41171b
push dword [ebp - 0x5c8]
lea ecx, [ebp - 0x548]
call fcn.00402559
lea eax, [ebp - 0x110]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x52c]
mov dword [ebp - 0x5b4], 1
call fcn.00402559
lea esi, [ebp - 0x5b0]
mov dword [ebp - 0x5b4], 3
call fcn.004030a4
lea ebx, [ebp - 0x548]
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00403372
lea esi, [ebp - 0x57c]
mov dword [ebp - 0x5b4], 7
call fcn.004030a4
lea ebx, [ebp - 0x52c]
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.00403372
lea eax, [ebp - 0x5b0]
push eax
mov eax, esi
push eax
mov dword [ebp - 0x5b4], 0xf
call fcn.00402f02
xor ebx, ebx
mov byte [ebp - 0x5b5], 1
test al, al
jne 0x411721
mov byte [ebp - 0x5b5], bl
xor esi, esi
inc esi
test byte [ebp - 0x5b4], 8
je 0x411741
and dword [ebp - 0x5b4], 0xfffffff7
push ebx
push esi
lea ecx, [ebp - 0x564]
call fcn.004031e0
test byte [ebp - 0x5b4], 4
je 0x41175e
and dword [ebp - 0x5b4], 0xfffffffb
push ebx
push esi
lea ecx, [ebp - 0x598]
call fcn.004031e0
test byte [ebp - 0x5b4], 2
je 0x41177b
and dword [ebp - 0x5b4], 0xfffffffd
push ebx
push esi
lea ecx, [ebp - 0x52c]
call fcn.004031e0
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x5b4], 1
je 0x41179c
and dword [ebp - 0x5b4], 0xfffffffe
push ebx
push esi
lea ecx, [ebp - 0x548]
call fcn.004031e0
cmp byte [ebp - 0x5b5], bl
je 0x4117ac
inc dword [ebp - 0x5c4]
jmp 0x4117b2
mov dword [ebp - 0x5c4], esi
lea eax, [ebp - 0x5c0]
push eax
lea eax, [ebp - 0x5bc]
push eax
push str.UpdateCount
push dword [ebp - 0x5cc]
mov dword [ebp - 0x5c0], 4
call fcn.0040fd07
add esp, 0x10
cmp eax, ebx
je 0x4117e8
or dword [ebp - 0x5bc], 0xffffffff
cmp dword [ebp + 0xc], ebx
jne 0x411aa8
lea eax, [ebp - 0x5c0]
push eax
lea eax, [ebp - 0x90]
push eax
push str.JreVersion
push dword [ebp - 0x5cc]
mov dword [ebp - 0x5c0], edi
call fcn.0040fd07
add esp, 0x10
cmp eax, ebx
jne 0x4118bc
push dword [ebp - 0x5c8]
lea ecx, [ebp - 0x548]
call fcn.00402559
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 5
or dword [ebp - 0x5b4], 0x10
push eax
lea ecx, [ebp - 0x52c]
call fcn.00402559
or dword [ebp - 0x5b4], 0x20
lea esi, [ebp - 0x57c]
call fcn.004030a4
lea ebx, [ebp - 0x548]
mov ecx, esi
mov dword [ebp - 4], 7
call fcn.00403372
or dword [ebp - 0x5b4], 0x40
lea esi, [ebp - 0x5b0]
call fcn.004030a4
lea ebx, [ebp - 0x52c]
mov ecx, esi
mov dword [ebp - 4], 9
call fcn.00403372
or dword [ebp - 0x5b4], edi
lea eax, [ebp - 0x57c]
mov ecx, esi
call fcn.00402eb1
xor ebx, ebx
mov byte [ebp - 0x5b5], bl
test al, al
je 0x4118c3
mov byte [ebp - 0x5b5], 1
test byte [ebp - 0x5b4], 0x80
je 0x4118e4
and dword [ebp - 0x5b4], 0xffffff7f
push ebx
push 1
lea ecx, [ebp - 0x598]
call fcn.004031e0
test byte [ebp - 0x5b4], 0x40
je 0x411902
and dword [ebp - 0x5b4], 0xffffffbf
push ebx
push 1
lea ecx, [ebp - 0x564]
call fcn.004031e0
test byte [ebp - 0x5b4], 0x20
je 0x411920
and dword [ebp - 0x5b4], 0xffffffdf
push ebx
push 1
lea ecx, [ebp - 0x52c]
call fcn.004031e0
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x5b4], 0x10
je 0x41193b
push ebx
push 1
lea ecx, [ebp - 0x548]
call fcn.004031e0
cmp byte [ebp - 0x5b5], bl
je 0x411a22
mov eax, dword [ebp - 0x5cc]
inc dword [ebp - 0x5bc]
mov dword [ebp - 0x5f0], eax
mov eax, dword [ebp - 0x5c8]
lea edi, [ebp - 0x524]
call fcn.0040b391
push str.JreVersion
lea eax, [ebp - 0x5f4]
push eax
mov ecx, edi
mov dword [ebp - 4], 0xa
call fcn.0042f0e8
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, ebx
je 0x4119b5
call edi
push eax
push esi
lea eax, [ebp - 0x510]
push str.GetUpdatedJreMetrics_____RegSetValueEx_failed_for_JreVersion:__l_Error_Code:__d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x510]
push eax
call fcn.00429029
add esp, 0x14
push dword [ebp - 0x5bc]
lea esi, [ebp - 0x540]
call fcn.0040b364
push str.UpdateCount
lea eax, [ebp - 0x5f4]
push eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.0042f0e8
mov esi, eax
cmp esi, ebx
je 0x411a08
call edi
push eax
push esi
lea eax, [ebp - 0x510]
push str.GetUpdatedJreMetrics_____RegSetValueEx_failed_for_UpdateCount:__l_Error_Code:__d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x510]
push eax
call fcn.00429029
add esp, 0x14
lea esi, [ebp - 0x53c]
call fcn.0043df69
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x520]
call fcn.0043df69
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.InstallAttempts
push dword [ebp - 0x5f0]
call esi
push str.NewJreVersion
push dword [ebp - 0x5f0]
call esi
cmp dword [ebp - 0x5bc], 0xffffffff
jne 0x411a51
mov dword [ebp - 0x5bc], ebx
push dword [ebp - 0x5bc]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov esi, 0x479358
push esi
push dword [ebp - 0x5d4]
call edi
add esp, 0xc
push dword [ebp - 0x5c4]
push esi
push dword [ebp - 0x5d0]
call edi
add esp, 0xc
push dword [ebp - 0x5d4]
lea eax, [ebp - 0x510]
push dword [ebp - 0x5d0]
push dword [ebp - 0x5d8]
push str.GetUpdatedJreMetrics_____MachineCounted:__s__InstallAttempts:__s__UpdateCount:__s_n
push eax
call edi
add esp, 0x14
jmp 0x4115f1
cmp dword [ebp + 0xc], 0xffffff80
je 0x411a22
push dword [ebp - 0x5c4]
lea esi, [ebp - 0x524]
call fcn.0040b364
push str.InstallAttempts
lea eax, [ebp - 0x5f4]
push eax
mov ecx, esi
mov dword [ebp - 4], 0xc
call fcn.0042f0e8
mov esi, eax
cmp esi, ebx
je 0x411b0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [ebp - 0x510]
push str.GetUpdatedJreMetrics_____RegSetValueEx_failed_for_InstallAttempts:__l_Error_Code:__d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x510]
push eax
call fcn.00429029
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x520]
call fcn.0043df69
mov eax, dword [ebp - 0x5c8]
lea edi, [ebp - 0x524]
call fcn.0040b391
push str.NewJreVersion
lea eax, [ebp - 0x5f4]
push eax
mov ecx, edi
mov dword [ebp - 4], 0xd
call fcn.0042f0e8
mov esi, eax
cmp esi, ebx
je 0x411b75
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [ebp - 0x510]
push str.GetUpdatedJreMetrics_____RegSetValueEx_failed_for_NewJreVersion:__l_Error_Code:__d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x510]
push eax
call fcn.00429029
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x520]
call fcn.0043df69
jmp 0x411a42