Function at 0x419d72
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
push ebx
push esi
push edi
xor ebx, ebx
push 0x7f
lea eax, [ebp - 0x117]
push ebx
push eax
mov byte [ebp - 0x118], bl
call fcn.0041bdb0
push 0x7f
lea eax, [ebp - 0x97]
push ebx
push eax
mov byte [ebp - 0x98], bl
call fcn.0041bdb0
push 0x3ff
lea eax, [ebp - 0x517]
push ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov byte [ebp - 0x518], bl
call fcn.0041bdb0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0x24
push 0x43b5cc
push dword [ebp + 0x10]
call esi
push 0x43b5d0
push dword [ebp + 0x14]
call esi
push 0x43b5d4
push dword [ebp + 0x18]
call esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SoftwareJreMetrics
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, eax
cmp edi, ebx
je 0x419e4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [ebp - 0x518]
push str.GetUpdatedJreMetrics_____RegCreateKeyEx_failed:__l_Error_Code:__d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebx, edi
lea eax, [ebp - 0x518]
push eax
call fcn.0041866b
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
cmp dword [ebp - 0x18], 1
jne 0x419e6b
push str.GetUpdatedJreMetrics_____JreMetrics_registry_key_created_n
call fcn.0041866b
mov dword [esp], 0x43b66c
push dword [ebp + 0x10]
call esi
push 4
pop edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x43b670
push dword [ebp - 4]
mov dword [ebp - 8], edi
call fcn.00419001
add esp, 0x10
test eax, eax
jne 0x419ecc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x98]
push eax
push 0x43b680
push dword [ebp - 4]
mov dword [ebp - 8], 0x80
call fcn.00419001
add esp, 0x10
test eax, eax
jne 0x419ecc
push dword [ebp + 8]
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x419ecc
inc dword [ebp - 0x10]
jmp 0x419ed3
mov dword [ebp - 0x10], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x43b690
push dword [ebp - 4]
mov dword [ebp - 8], edi
call fcn.00419001
add esp, 0x10
test eax, eax
je 0x419ef6
or dword [ebp - 0xc], 0xffffffff
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
cmp dword [ebp + 0xc], ebx
jne 0x41a035
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x118]
push eax
push 0x43b69c
push dword [ebp - 4]
mov dword [ebp - 8], 0x80
xor edi, edi
call fcn.00419001
add esp, 0x10
test eax, eax
je 0x419f2e
inc edi
push dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
js 0x419f4a
cmp edi, ebx
je 0x419fd9
push dword [ebp + 8]
inc dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
push dword [ebp + 8]
push 1
push ebx
push str.JreVersion
push dword [ebp - 4]
call edi
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x419f9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x518]
push str.GetUpdatedJreMetrics_____RegSetValueEx_failed_for_JreVersion:__l_Error_Code:__d_n
push eax
call esi
lea eax, [ebp - 0x518]
push eax
call fcn.0041866b
add esp, 0x14
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push ebx
push str.UpdateCount
push dword [ebp - 4]
call edi
mov edi, eax
cmp edi, ebx
je 0x419fd9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [ebp - 0x518]
push str.GetUpdatedJreMetrics_____RegSetValueEx_failed_for_UpdateCount:__l_Error_Code:__d_n
push eax
call esi
lea eax, [ebp - 0x518]
push eax
call fcn.0041866b
add esp, 0x14
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.InstallAttempts
push dword [ebp - 4]
call edi
push 0x43b7e8
push dword [ebp - 4]
call edi
cmp dword [ebp - 0xc], 0xffffffff
jne 0x419ffc
mov dword [ebp - 0xc], ebx
push dword [ebp - 0xc]
push 0x43b724
push dword [ebp + 0x14]
call esi
push dword [ebp - 0x10]
push 0x43b78c
push dword [ebp + 0x18]
call esi
push dword [ebp + 0x14]
lea eax, [ebp - 0x518]
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push str.GetUpdatedJreMetrics_____MachineCounted:__s__InstallAttempts:__s__UpdateCount:__s_n
push eax
call esi
add esp, 0x2c
jmp 0x419e3b
cmp dword [ebp + 0xc], 0xffffff80
je 0x419fd9
push edi
lea eax, [ebp - 0x10]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
push 0x43b714
push dword [ebp - 4]
call edi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x41a086
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x518]
push str.GetUpdatedJreMetrics_____RegSetValueEx_failed_for_InstallAttempts:__l_Error_Code:__d_n
push eax
call esi
lea eax, [ebp - 0x518]
push eax
call fcn.0041866b
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp + 8]
push 1
push ebx
push str.NewJreVersion
push dword [ebp - 4]
call edi
mov edi, eax
cmp edi, ebx
je 0x419ff3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [ebp - 0x518]
push str.GetUpdatedJreMetrics_____RegSetValueEx_failed_for_NewJreVersion:__l_Error_Code:__d_n
push eax
call esi
lea eax, [ebp - 0x518]
push eax
call fcn.0041866b
add esp, 0x14
jmp 0x419ff3