Function at 0x41f885
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push 0x50
mov eax, 0x4548d0
call fcn.0043cf0a
lea eax, [ebp - 0x28]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREAdobeAdobe_ARM1.0ARMCollectData
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x41f8d8
push str.Unable_to_open_registry_to_collect_files
lea ecx, [ebp - 0x24]
call fcn.0040215a
mov dword [ebp - 4], ebx
push ebx
lea eax, [ebp - 0x24]
push eax
push 2
call fcn.0040e50d
mov ecx, dword [ebp - 0x24]
add esp, 0xc
jmp 0x41fc02
push ebx
push ebx
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
je 0x41f90c
push str.Unable_to_query_registry_to_collect_files
lea ecx, [ebp - 0x24]
call fcn.0040215a
mov dword [ebp - 4], 1
jmp 0x41f8c1
call fcn.00429b48
push eax
lea ecx, [ebp - 0x10]
call fcn.0040fc71
mov dword [ebp - 4], 2
call fcn.00429b48
push eax
lea ecx, [ebp - 0x14]
call fcn.0040fc71
mov byte [ebp - 4], 3
call fcn.00429b48
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040fc71
mov edi, 0x104
mov byte [ebp - 4], 4
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
call fcn.00402467
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.00402467
lea ecx, [ebp - 0x20]
push ecx
push esi
lea ecx, [ebp - 0x48]
push ecx
push ebx
lea ecx, [ebp - 0x18]
push ecx
push eax
push ebx
jmp 0x41fbd8
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00408a9c
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00408a9c
push dword [0x48b3f4]
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.0040884e
cmp eax, 0xffffffff
jne 0x41f9ee
push dword [0x48b40c]
xor ecx, ecx
call fcn.0040884e
cmp eax, 0xffffffff
jne 0x41f9ee
push dword [0x48b410]
xor ecx, ecx
call fcn.0040884e
cmp eax, 0xffffffff
jne 0x41f9ee
push dword [0x48b414]
xor ecx, ecx
call fcn.0040884e
cmp eax, 0xffffffff
jne 0x41f9ee
push str.armsvc.exe
xor ecx, ecx
call fcn.0040884e
cmp eax, 0xffffffff
je 0x41fa25
push str.Skipping_ARM_file:
lea ecx, [ebp - 0x2c]
call fcn.0040215a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 5
call fcn.0040e5b0
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004025e7
lea ecx, [ebp - 0x10]
call fcn.0040234f
push str.logsession.dll
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.0040884e
cmp eax, 0xffffffff
je 0x41fa61
push str.Skipping_file:
lea ecx, [ebp - 0x30]
call fcn.0040215a
mov eax, esi
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 6
call fcn.0040e5b0
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
jmp 0x41fa94
lea ecx, [ebp - 0x10]
call fcn.00424134
test eax, eax
jne 0x41faa4
push str.Skipping_file_based_on_the_extension:
lea ecx, [ebp - 0x34]
call fcn.0040215a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 7
call fcn.0040e5b0
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.004025e7
lea ecx, [ebp - 0x10]
call fcn.0040234f
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], edi
cmp dword [esi - 0xc], ebx
je 0x41fbab
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41fbab
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
jne 0x41fb02
push str.No_registered_version___will_not_wait_for:
lea ecx, [ebp - 0x38]
call fcn.0040215a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 8
call fcn.0040e5b0
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004025e7
jmp 0x41fbab
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x44], edi
call fcn.00402467
push ebx
push ebx
lea ecx, [ebp - 0x44]
push ecx
push eax
push esi
call sub.msi.dll_MsiMessageBoxW
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00408a9c
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], ebx
jne 0x41fb56
push str.Unable_to_get_installed_file_version___will_not_wait_for:
lea ecx, [ebp - 0x3c]
call fcn.0040215a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 9
call fcn.0040e5b0
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3c]
jmp 0x41faf5
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004258b0
pop ecx
pop ecx
test eax, eax
jne 0x41fb95
push str.Update_file_version_is_not_newer___will_not_wait_for:
lea ecx, [ebp - 0x40]
call fcn.0040215a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040e5b0
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x40]
jmp 0x41faf5
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
lea edi, [ebp - 0x5c]
call fcn.00420507
mov edi, 0x104
xor ebx, ebx
push dword [ebp - 0x20]
inc dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
call fcn.00402467
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.00402467
lea ecx, [ebp - 0x20]
push ecx
push esi
lea ecx, [ebp - 0x48]
push ecx
push ebx
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x41f97e
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025e7
call fcn.0043cfe2
ret