Function at 0x448508
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x4b2b20
call fcn.00469698
push str.RepairInstalledArm...
lea ecx, [ebp - 0x1c]
call fcn.00402829
and dword [ebp - 4], 0
lea edx, [ebp - 0x1c]
push 0
push 2
pop ecx
call fcn.00414cf1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.armsvc.exe
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x44871f
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x104
push eax
push 0x20019
xor edi, edi
xor bl, bl
push edi
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4485f7
push 0x208
call fcn.0048a158
pop ecx
mov edi, eax
mov esi, str.PendingFileRenameOperations
lea eax, [ebp - 0x18]
push eax
push edi
push 0
push 0
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x4485e3
test edi, edi
je 0x4485b5
push edi
call fcn.0048a13d
pop ecx
mov eax, dword [ebp - 0x18]
add eax, eax
push eax
call fcn.0048a158
mov edi, eax
pop ecx
test edi, edi
je 0x4485ee
lea eax, [ebp - 0x18]
push eax
push edi
push 0
push 0
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4485ee
lea ebx, [eax + 1]
jmp 0x4485ee
test eax, eax
movzx ebx, bl
push 1
pop eax
cmove ebx, eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x10], 0
test bl, bl
je 0x4486da
test edi, edi
je 0x44871f
push str.armsvc.exe
lea ecx, [ebp - 0x14]
call fcn.00402829
xor eax, eax
lea ecx, [ebp - 0x14]
inc eax
mov dword [ebp - 4], eax
call fcn.0040b55a
mov ebx, dword [ebp - 0x10]
mov esi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4486c8
push esi
lea ecx, [ebp - 0x10]
call fcn.00402829
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040b55a
push 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.00409b5e
cmp eax, 0xffffffff
movzx ebx, bl
push 1
pop eax
cmovne ebx, eax
test bl, bl
jne 0x4486b2
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
lea esi, [esi + eax*2]
add esi, 2
push esi
call fcn.0040286d
lea ecx, [ebp - 0x10]
call fcn.0040b55a
push 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.00409b5e
push 1
cmp eax, 0xffffffff
movzx ebx, bl
pop eax
push esi
cmovne ebx, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2]
xor eax, eax
add esi, 2
inc eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
test bl, bl
je 0x44862b
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
lea ecx, [ecx - 0x10]
call fcn.00402e64
test edi, edi
je 0x4486e5
push edi
call fcn.0048a13d
pop ecx
cmp byte [ebp - 0x10], 0
je 0x44871f
push str.will_not_repair__found_pending_reboot
lea ecx, [ebp - 0x14]
call fcn.00402829
push 0
push 2
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 3
pop ecx
call fcn.00414dc6
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
jmp 0x448821
call fcn.0044f841
push eax
lea ecx, [ebp - 0x10]
call fcn.00402899
xor bl, bl
mov dword [ebp - 4], 4
xor edi, edi
test bl, bl
jne 0x4487b0
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00402bd2
push eax
push edi
push 0
push str.A6EADE66_0804_0000_1959_000000000000
call dword [sym.imp.msi.dll_MsiSourceListClearAllW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.0040a128
test esi, esi
jne 0x4487a7
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], esi
je 0x4487a7
xor eax, eax
lea ecx, [ebp - 0x14]
push str.found_installed:
lea ebx, [eax + 1]
call fcn.00402829
push esi
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
push 2
lea edx, [ebp - 0x14]
pop ecx
call fcn.004145c0
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
inc edi
test esi, esi
je 0x448738
test bl, bl
je 0x448814
push 0
push 2
call dword [sym.imp.msi.dll_MsiSetPropertyW]
push 4
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiSetComponentStateW]
mov esi, eax
test esi, esi
je 0x4487e6
cmp esi, 0xbc2
je 0x4487e6
push str.failed_to_reinstall:
lea ecx, [ebp - 0x20]
call fcn.00402829
mov byte [ebp - 4], 7
jmp 0x4487f7
push str.successfully_reinstalled:
lea ecx, [ebp - 0x20]
call fcn.00402829
mov byte [ebp - 4], 6
push esi
lea eax, [ebp - 0x10]
push eax
push 2
lea edx, [ebp - 0x20]
pop ecx
call fcn.004145c0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, esi
call fcn.00469661
ret