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

Disassembly:
push 0x60
mov eax, 0x48b5c0
call fcn.00464e48
mov dword [ebp - 0x58], ecx
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
push 0x20019
push edi
push str.SOFTWAREAdobeAdobe_ARM1.0ARMCollectData
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4371ad
push str.Unable_to_open_registry_to_collect_files
lea ecx, [ebp - 0x28]
call fcn.0040279b
mov dword [ebp - 4], edi
push edi
push 2
lea edx, [ebp - 0x28]
pop ecx
call fcn.00413e51
pop ecx
mov ecx, dword [ebp - 0x28]
jmp 0x4375e0
push edi
push edi
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x64]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x4371e1
push str.Unable_to_query_registry_to_collect_files
lea ecx, [ebp - 0x28]
call fcn.0040279b
mov dword [ebp - 4], 1
jmp 0x437198
mov bl, 1
mov esi, edi
cmp esi, dword [0x4e20cc]
jge 0x43721c
push esi
mov ecx, 0x4e20c4
call fcn.0040979f
mov eax, dword [eax]
cmp dword [eax + 0x18], edi
je 0x437217
cmp dword [eax + 0x1c], 2
je 0x437217
cmp dword [eax + 0x1c], 1
je 0x437217
xor ecx, ecx
movzx ebx, bl
cmp dword [eax + 0x1c], 4
cmovne ebx, ecx
inc esi
test bl, bl
jne 0x4371e5
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x10]
call fcn.00402824
mov dword [ebp - 4], 2
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x14]
call fcn.00402824
mov byte [ebp - 4], 3
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402824
mov eax, 0x104
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edi
call fcn.00402b5d
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.00402b5d
lea ecx, [ebp - 0x20]
push ecx
push esi
lea ecx, [ebp - 0x5c]
xor esi, esi
push ecx
push esi
lea ecx, [ebp - 0x18]
push ecx
push eax
push esi
jmp 0x4375b6
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004097d8
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004097d8
push esi
push dword [0x4e1f1c]
lea ecx, [ebp - 0x10]
call fcn.0040920e
cmp eax, 0xffffffff
jne 0x4372df
push esi
push dword [0x4e1f34]
lea ecx, [ebp - 0x10]
call fcn.0040920e
cmp eax, 0xffffffff
jne 0x4372df
push esi
push str.armsvc.exe
lea ecx, [ebp - 0x10]
call fcn.0040920e
cmp eax, 0xffffffff
je 0x437316
push str.Skipping_ARM_file:
lea ecx, [ebp - 0x30]
call fcn.0040279b
push ecx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x30]
call fcn.00413ede
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea ecx, [ebp - 0x10]
call fcn.004029f6
push esi
push str.logsession.dll
lea ecx, [ebp - 0x10]
call fcn.0040920e
cmp eax, 0xffffffff
je 0x437352
push str.Skipping_file:
lea ecx, [ebp - 0x34]
call fcn.0040279b
push ecx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x34]
call fcn.00413ede
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x34]
jmp 0x43738a
mov edx, str..exe_.dll_.api_.x3d
lea ecx, [ebp - 0x10]
call fcn.0043f971
test eax, eax
jne 0x43739a
push str.Skipping_file_based_on_the_extension:
lea ecx, [ebp - 0x38]
call fcn.0040279b
push ecx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x38]
call fcn.00413ede
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea ecx, [ebp - 0x10]
call fcn.004029f6
test bl, bl
je 0x4374db
mov eax, esi
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
cmp dword [esi - 0xc], 0
je 0x437479
cmp eax, dword [0x4e2204]
jge 0x437476
push eax
mov ecx, 0x4e21fc
call fcn.0040979f
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00402d2a
add eax, 0x10
pop ecx
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
call fcn.0040ac0a
lea eax, [esi - 0x10]
push eax
call fcn.00402d2a
add eax, 0x10
pop ecx
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.0040ac0a
mov edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x24]
push 0
push edi
call fcn.0040920e
cmp eax, 0xffffffff
je 0x43744e
push str.Skipping_reboot_dismiss_file:
lea ecx, [ebp - 0x40]
call fcn.0040279b
push ecx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xa
push eax
lea edx, [ebp - 0x40]
call fcn.00413ede
pop ecx
pop ecx
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea ecx, [ebp - 0x10]
call fcn.004029f6
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 4
call fcn.00402def
mov eax, dword [ebp - 0x44]
inc eax
cmp dword [esi - 0xc], 0
mov dword [ebp - 0x44], eax
jne 0x4373b4
mov edi, dword [ebp - 0x28]
mov eax, 0x104
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
cmp dword [esi - 0xc], 0
je 0x437588
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x437588
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x4374e0
push str.No_registered_version___will_not_wait_for:
lea ecx, [ebp - 0x48]
call fcn.0040279b
push ecx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xb
push eax
lea edx, [ebp - 0x48]
call fcn.00413ede
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.00402def
jmp 0x437588
mov esi, dword [ebp - 0x10]
jmp 0x437479
mov eax, 0x104
lea ecx, [ebp - 0x1c]
push eax
mov dword [ebp - 0x54], eax
call fcn.00402b5d
push 0
push 0
lea ecx, [ebp - 0x54]
push ecx
push eax
push esi
call dword [sym.imp.msi.dll_MsiMessageBoxW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.004097d8
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
jne 0x43753d
push str.Unable_to_get_installed_file_version___will_not_wait_for:
lea ecx, [ebp - 0x4c]
call fcn.0040279b
push ecx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xc
push eax
lea edx, [ebp - 0x4c]
call fcn.00413ede
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x4c]
jmp 0x4374ce
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x14]
call fcn.004413e2
test eax, eax
jne 0x437578
push str.Update_file_version_is_not_newer___will_not_wait_for:
lea ecx, [ebp - 0x50]
call fcn.0040279b
push ecx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xd
push eax
lea edx, [ebp - 0x50]
call fcn.00413ede
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
jmp 0x4374ce
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004343da
push dword [ebp - 0x20]
inc edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], edi
call fcn.00402b5d
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.00402b5d
lea ecx, [ebp - 0x20]
push ecx
push esi
lea ecx, [ebp - 0x5c]
xor esi, esi
push ecx
push esi
lea ecx, [ebp - 0x18]
push ecx
push eax
push edi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x437290
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402def
call fcn.00464e11
ret