Function at 0x4191b5
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.0041b010
push 0x7f
lea eax, [ebp - 0x97]
push ebx
push eax
mov byte [ebp - 0x98], bl
call fcn.0041b010
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.0041b010
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0x24
push 0x439ef4
push dword [ebp + 0x10]
call esi
push 0x439ef8
push dword [ebp + 0x14]
call esi
push 0x439efc
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 0x419292
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.00417b54
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
cmp dword [ebp - 0x18], 1
jne 0x4192ae
push str.GetUpdatedJreMetrics_____JreMetrics_registry_key_created_n
call fcn.00417b54
mov dword [esp], 0x439f94
push dword [ebp + 0x10]
call esi
push 4
pop edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x439f98
push dword [ebp - 4]
mov dword [ebp - 8], edi
call fcn.004184ea
add esp, 0x10
test eax, eax
jne 0x41930f
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x98]
push eax
push 0x439fa8
push dword [ebp - 4]
mov dword [ebp - 8], 0x80
call fcn.004184ea
add esp, 0x10
test eax, eax
jne 0x41930f
push dword [ebp + 8]
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x41930f
inc dword [ebp - 0x10]
jmp 0x419316
mov dword [ebp - 0x10], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x439fb8
push dword [ebp - 4]
mov dword [ebp - 8], edi
call fcn.004184ea
add esp, 0x10
test eax, eax
je 0x419339
or dword [ebp - 0xc], 0xffffffff
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
cmp dword [ebp + 0xc], ebx
jne 0x419478
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x118]
push eax
push 0x439fc4
push dword [ebp - 4]
mov dword [ebp - 8], 0x80
xor edi, edi
call fcn.004184ea
add esp, 0x10
test eax, eax
je 0x419371
inc edi
push dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
js 0x41938d
cmp edi, ebx
je 0x41941c
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 0x4193de
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.00417b54
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 0x41941c
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.00417b54
add esp, 0x14
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.InstallAttempts
push dword [ebp - 4]
call edi
push 0x43a110
push dword [ebp - 4]
call edi
cmp dword [ebp - 0xc], 0xffffffff
jne 0x41943f
mov dword [ebp - 0xc], ebx
push dword [ebp - 0xc]
push 0x43a04c
push dword [ebp + 0x14]
call esi
push dword [ebp - 0x10]
push 0x43a0b4
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 0x41927e
cmp dword [ebp + 0xc], 0xffffff80
je 0x41941c
push edi
lea eax, [ebp - 0x10]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
push 0x43a03c
push dword [ebp - 4]
call edi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x4194c9
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.00417b54
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 0x419436
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.00417b54
add esp, 0x14
jmp 0x419436