Function at 0x411c02
Capabilities:
Delete registry value

Disassembly:
push 0x5e8
mov eax, 0x46dbf0
call fcn.004516bd
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.0044b630
add esp, 0xc
push 0x7f
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.0044b630
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.0044b630
add esp, 0xc
push 0x47a434
push esi
mov esi, dword [sym.imp.kernel32.dll_lstrcpyA]
call esi
push 0x479ca4
push edi
call esi
push 0x481248
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.00432c29
mov esi, eax
mov eax, dword [ebp - 0x5ec]
mov dword [ebp - 0x5cc], eax
cmp esi, ebx
je 0x411d2d
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.004295a9
pop ecx
mov eax, ebx
call fcn.00451740
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.0041042c
add esp, 0x10
mov edi, 0x80
test eax, eax
je 0x411d6b
mov dword [ebp - 0x5c4], 1
jmp 0x411ed9
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.0041042c
add esp, 0x10
cmp eax, ebx
jne 0x411e42
push dword [ebp - 0x5c8]
lea ecx, [ebp - 0x548]
call fcn.00402573
lea eax, [ebp - 0x110]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x52c]
mov dword [ebp - 0x5b4], 1
call fcn.00402573
lea esi, [ebp - 0x5b0]
mov dword [ebp - 0x5b4], 3
call fcn.00403143
lea ebx, [ebp - 0x548]
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.0044911c
lea esi, [ebp - 0x57c]
mov dword [ebp - 0x5b4], 7
call fcn.00403143
lea ebx, [ebp - 0x52c]
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.0044911c
lea eax, [ebp - 0x5b0]
push eax
mov eax, esi
push eax
mov dword [ebp - 0x5b4], 0xf
call fcn.00402f84
xor ebx, ebx
mov byte [ebp - 0x5b5], 1
test al, al
jne 0x411e48
mov byte [ebp - 0x5b5], bl
xor esi, esi
inc esi
test byte [ebp - 0x5b4], 8
je 0x411e68
and dword [ebp - 0x5b4], 0xfffffff7
push ebx
push esi
lea ecx, [ebp - 0x564]
call fcn.00403353
test byte [ebp - 0x5b4], 4
je 0x411e85
and dword [ebp - 0x5b4], 0xfffffffb
push ebx
push esi
lea ecx, [ebp - 0x598]
call fcn.00403353
test byte [ebp - 0x5b4], 2
je 0x411ea2
and dword [ebp - 0x5b4], 0xfffffffd
push ebx
push esi
lea ecx, [ebp - 0x52c]
call fcn.00403353
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x5b4], 1
je 0x411ec3
and dword [ebp - 0x5b4], 0xfffffffe
push ebx
push esi
lea ecx, [ebp - 0x548]
call fcn.00403353
cmp byte [ebp - 0x5b5], bl
je 0x411ed3
inc dword [ebp - 0x5c4]
jmp 0x411ed9
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.0041042c
add esp, 0x10
cmp eax, ebx
je 0x411f0f
or dword [ebp - 0x5bc], 0xffffffff
cmp dword [ebp + 0xc], ebx
jne 0x4121cf
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.0041042c
add esp, 0x10
cmp eax, ebx
jne 0x411fe3
push dword [ebp - 0x5c8]
lea ecx, [ebp - 0x548]
call fcn.00402573
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 5
or dword [ebp - 0x5b4], 0x10
push eax
lea ecx, [ebp - 0x52c]
call fcn.00402573
or dword [ebp - 0x5b4], 0x20
lea esi, [ebp - 0x57c]
call fcn.00403143
lea ebx, [ebp - 0x548]
mov ecx, esi
mov dword [ebp - 4], 7
call fcn.0044911c
or dword [ebp - 0x5b4], 0x40
lea esi, [ebp - 0x5b0]
call fcn.00403143
lea ebx, [ebp - 0x52c]
mov ecx, esi
mov dword [ebp - 4], 9
call fcn.0044911c
or dword [ebp - 0x5b4], edi
lea eax, [ebp - 0x57c]
mov ecx, esi
call fcn.00402f33
xor ebx, ebx
mov byte [ebp - 0x5b5], bl
test al, al
je 0x411fea
mov byte [ebp - 0x5b5], 1
test byte [ebp - 0x5b4], 0x80
je 0x41200b
and dword [ebp - 0x5b4], 0xffffff7f
push ebx
push 1
lea ecx, [ebp - 0x598]
call fcn.00403353
test byte [ebp - 0x5b4], 0x40
je 0x412029
and dword [ebp - 0x5b4], 0xffffffbf
push ebx
push 1
lea ecx, [ebp - 0x564]
call fcn.00403353
test byte [ebp - 0x5b4], 0x20
je 0x412047
and dword [ebp - 0x5b4], 0xffffffdf
push ebx
push 1
lea ecx, [ebp - 0x52c]
call fcn.00403353
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x5b4], 0x10
je 0x412062
push ebx
push 1
lea ecx, [ebp - 0x548]
call fcn.00403353
cmp byte [ebp - 0x5b5], bl
je 0x412149
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.0040bb50
push str.JreVersion
lea eax, [ebp - 0x5f4]
push eax
mov ecx, edi
mov dword [ebp - 4], 0xa
call fcn.00432d36
mov edi, dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
cmp esi, ebx
je 0x4120dc
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.004295a9
add esp, 0x14
push dword [ebp - 0x5bc]
lea esi, [ebp - 0x540]
call fcn.0044911c
push str.UpdateCount
lea eax, [ebp - 0x5f4]
push eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.00432d36
mov esi, eax
cmp esi, ebx
je 0x41212f
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.004295a9
add esp, 0x14
lea esi, [ebp - 0x53c]
call fcn.0040aac1
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x520]
call fcn.0040aac1
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 0x412178
mov dword [ebp - 0x5bc], ebx
push dword [ebp - 0x5bc]
mov edi, dword [sym.imp.user32.dll_wsprintfA]
mov esi, 0x47a3bc
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 0x411d18
cmp dword [ebp + 0xc], 0xffffff80
je 0x412149
push dword [ebp - 0x5c4]
lea esi, [ebp - 0x524]
call fcn.0044911c
push str.InstallAttempts
lea eax, [ebp - 0x5f4]
push eax
mov ecx, esi
mov dword [ebp - 4], 0xc
call fcn.00432d36
mov esi, eax
cmp esi, ebx
je 0x412233
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.004295a9
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x520]
call fcn.0040aac1
mov eax, dword [ebp - 0x5c8]
lea edi, [ebp - 0x524]
call fcn.0040bb50
push str.NewJreVersion
lea eax, [ebp - 0x5f4]
push eax
mov ecx, edi
mov dword [ebp - 4], 0xd
call fcn.00432d36
mov esi, eax
cmp esi, ebx
je 0x41229c
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.004295a9
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x520]
call fcn.0040aac1
jmp 0x412169