Function at 0x10029b20
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xa30
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0xa2c], eax
mov eax, dword [esp + 0xa34]
push ebx
mov ebx, dword [esp + 0xa44]
push ebp
mov ebp, dword [esp + 0xa4c]
push esi
mov esi, dword [esp + 0xa48]
push edi
push 0xfe
xor edi, edi
lea edx, [esp + 0x142]
xor ecx, ecx
push edi
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ebp
mov word [esp + 0x148], cx
call sub.MSVCR100.dll_memset
push 0xfe
lea ecx, [esp + 0x4e]
xor eax, eax
push edi
push ecx
mov word [esp + 0x54], ax
call sub.MSVCR100.dll_memset
push 0x7fe
lea eax, [esp + 0x25a]
xor edx, edx
push edi
push eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], edi
mov word [esp + 0x260], dx
call sub.MSVCR100.dll_memset
mov eax, 0x10045088
mov edx, esi
add esp, 0x24
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x10029bd3
mov eax, 0x10045088
mov edx, ebx
sub edx, eax
jmp 0x10029bf0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x10029bf0
mov eax, 0x10045088
mov edx, ebp
sub edx, eax
jmp 0x10029c10
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x10029c10
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
push 0x2021f
push edi
push edi
push edi
push str.SoftwareJreMetrics
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
cmp esi, edi
je 0x10029c7a
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push esi
lea eax, [esp + 0x244]
push str.GetUpdatedJreMetrics_____RegCreateKeyEx_failed:__l_Error_Code:__d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [esp + 0x24c]
push ecx
call fcn.10027a40
add esp, 0x14
mov eax, esi
jmp 0x10029fe7
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
push edi
push str.MachineCount
push edx
mov dword [esp + 0x2c], 4
mov dword [esp + 0x50], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebp, dword [sym.imp.USER32.dll_wsprintfW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp esi, 2
jne 0x10029d2f
mov ecx, dword [esp + 0x10]
push 4
lea eax, [esp + 0x2c]
push eax
push 4
push edi
push str.MachineCount
push ecx
mov dword [esp + 0x40], 1
mov dword [esp + 0x2c], 4
call ebx
mov esi, eax
cmp esi, edi
jne 0x10029d0e
mov edx, dword [esp + 0x24]
mov eax, 0x1003f404
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x10029cf0
push str.GetUpdatedJreMetrics_____MachineCount_registry_value_created_n
call fcn.10027a40
add esp, 4
jmp 0x10029d85
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push esi
lea edx, [esp + 0x244]
push str.GetUpdatedJreMetrics_____RegSetValue_for_MachineCount_failed:__l_Error_Code:__d_n
push edx
call ebp
lea eax, [esp + 0x24c]
push eax
jmp 0x10029d7d
cmp esi, edi
jne 0x10029d5e
mov edx, dword [esp + 0x24]
mov eax, 0x1003f1c0
sub edx, eax
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x10029d40
push str.GetUpdatedJreMetrics_____MachineCount_registry_value_exists_n
call fcn.10027a40
add esp, 4
jmp 0x10029d85
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push esi
lea ecx, [esp + 0x244]
push str.GetUpdatedJreMetrics_____RegQueryValueEx_for_MachineCount_failed:__l_Error_Code:__d_n
push ecx
call ebp
lea edx, [esp + 0x24c]
push edx
call fcn.10027a40
add esp, 0x14
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.InstallAttempts
push edx
mov dword [esp + 0x24], 4
call fcn.10028af0
add esp, 0x10
mov esi, pe_nt_image_headers32
test eax, eax
jne 0x10029e15
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
push ecx
push str.NewJreVersion
push edx
mov dword [esp + 0x24], esi
call fcn.10028af0
add esp, 0x10
test eax, eax
jne 0x10029e15
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x3c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10029e06
cmp dx, di
je 0x10029e02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10029e06
add eax, 4
add ecx, 4
cmp dx, di
jne 0x10029de0
xor eax, eax
jmp 0x10029e0b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x10029e15
inc dword [esp + 0x1c]
jmp 0x10029e1d
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push str.UpdateCount
push edx
mov dword [esp + 0x24], 4
call fcn.10028af0
add esp, 0x10
test eax, eax
je 0x10029e4d
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xa48]
cmp eax, edi
jne 0x1002a000
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x140]
push ecx
push str.JreVersion
mov dword [esp + 0x20], esi
push edx
xor esi, esi
call fcn.10028af0
add esp, 0x10
test eax, eax
je 0x10029e8a
mov esi, 1
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x13c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10029ebb
cmp dx, di
je 0x10029eb7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10029ebb
add eax, 4
add ecx, 4
cmp dx, di
jne 0x10029e95
xor eax, eax
jmp 0x10029ec0
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jl 0x10029ecc
cmp esi, edi
je 0x10029f74
mov esi, dword [esp + 0x20]
inc dword [esp + 0x18]
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10029ee0
mov ecx, dword [esp + 0x10]
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push edi
push str.JreVersion
push ecx
call ebx
mov esi, eax
cmp esi, edi
je 0x10029f31
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push esi
lea edx, [esp + 0x244]
push str.GetUpdatedJreMetrics_____RegSetValueEx_failed_for_JreVersion:__l_Error_Code:__d_n
push edx
call ebp
lea eax, [esp + 0x24c]
push eax
call fcn.10027a40
add esp, 0x14
mov edx, dword [esp + 0x10]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push edi
push str.UpdateCount
push edx
call ebx
mov esi, eax
cmp esi, edi
je 0x10029f74
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push esi
lea eax, [esp + 0x244]
push str.GetUpdatedJreMetrics_____RegSetValueEx_failed_for_UpdateCount:__l_Error_Code:__d_n
push eax
call ebp
lea ecx, [esp + 0x24c]
push ecx
call fcn.10027a40
add esp, 0x14
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.InstallAttempts
push ecx
call esi
mov edx, dword [esp + 0x10]
push str.NewJreVersion
push edx
call esi
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
jne 0x10029fa1
xor eax, eax
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x34]
push eax
push 0x10044388
push esi
call ebp
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
push eax
push 0x10044388
push edi
call ebp
mov ecx, dword [esp + 0x3c]
push esi
push edi
push ecx
lea edx, [esp + 0x260]
push str.GetUpdatedJreMetrics_____MachineCounted:__s__InstallAttempts:__s__UpdateCount:__s_n
push edx
call ebp
lea eax, [esp + 0x268]
push eax
call fcn.10027a40
add esp, 0x30
xor eax, eax
mov ecx, dword [esp + 0xa3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003779c
add esp, 0xa30
ret
cmp eax, 0xffffff80
je 0x10029f74
mov eax, dword [esp + 0x10]
push 4
lea edx, [esp + 0x20]
push edx
push 4
push edi
push str.InstallAttempts
push eax
call ebx
mov esi, eax
cmp esi, edi
je 0x1002a04c
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push esi
lea ecx, [esp + 0x244]
push str.GetUpdatedJreMetrics_____RegSetValueEx_failed_for_InstallAttempts:__l_Error_Code:__d_n
push ecx
call ebp
lea edx, [esp + 0x24c]
push edx
call fcn.10027a40
add esp, 0x14
mov esi, dword [esp + 0x20]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1002a055
mov ecx, dword [esp + 0x10]
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push edi
push str.NewJreVersion
push ecx
call ebx
mov esi, eax
cmp esi, edi
je 0x10029f92
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push esi
lea edx, [esp + 0x244]
push str.GetUpdatedJreMetrics_____RegSetValueEx_failed_for_NewJreVersion:__l_Error_Code:__d_n
push edx
call ebp
lea eax, [esp + 0x24c]
push eax
call fcn.10027a40
add esp, 0x14
jmp 0x10029f92