Function at 0x411b8f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x18
mov eax, 0x44faf6
call fcn.00436706
push str.DownloadArmUpdate...
lea ecx, [ebp - 0x1c]
call fcn.00402148
xor ebx, ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.0040e1e3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025ca
mov edi, dword [0x4808e0]
mov dword [ebp - 0x10], ebx
cmp edi, ebx
je 0x411ec0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4809ec], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
mov dword [0x480a10], ebx
call fcn.00401000
mov dword [ebp - 4], 1
mov eax, dword [edi + 4]
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.00401f7d
lea eax, [ebp - 0x14]
lea ecx, [edi + 8]
push eax
call fcn.00408894
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x411c5a
mov ebx, dword [edi + 0x14]
call fcn.00416714
test eax, eax
je 0x411c4d
xor eax, eax
inc eax
mov dword [edi + 0x18], eax
and dword [0x4809f8], 0
mov dword [ebp - 0x10], eax
mov dword [0x480a10], eax
jmp 0x411c58
lea esi, [ebp - 0x14]
call fcn.004112d2
mov esi, dword [ebp - 0x14]
xor ebx, ebx
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040218c
mov byte [ebp - 4], 2
cmp dword [ebp - 0x10], ebx
jne 0x411dbc
mov dword [ebp - 0x24], 1
call fcn.004234c0
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040f910
lea eax, [ebp - 0x1c]
push eax
push str.ARM_Update
mov byte [ebp - 4], 3
push dword [0x480420]
push 0x80000002
call fcn.0041e932
add esp, 0x10
test eax, eax
jne 0x411cf3
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], ebx
je 0x411cf3
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00408894
push str.ARM_update_redirection_found:
lea ecx, [ebp - 0x20]
call fcn.00402148
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 2
mov byte [ebp - 4], 4
call fcn.0040dd5d
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
push 0x927c0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x18]
lea ebx, [edi + 8]
push ebx
call fcn.00410863
add esp, 0x10
cmp eax, 6
jne 0x411da3
push str.AdobeARM_Downloaded:
lea ecx, [ebp - 0x20]
call fcn.00402148
push 0
push ebx
lea eax, [ebp - 0x20]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.0040dd5d
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
mov ebx, dword [edi + 0x14]
call fcn.00416714
test eax, eax
je 0x411d61
xor eax, eax
inc eax
mov dword [edi + 0x18], eax
mov dword [0x480a10], eax
mov dword [ebp - 0x10], eax
jmp 0x411da3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push str.ARM_Update_signiture_validation_failed:
push eax
call fcn.00401e84
add esp, 0xc
mov ebx, eax
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push 0x1fc98
mov ecx, eax
mov edx, 0x480a54
call fcn.0040c5be
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025ca
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov dword [0x4809f8], eax
call fcn.004025ca
xor ebx, ebx
cmp dword [0x4804f8], ebx
jne 0x411e71
cmp dword [ebp - 0x10], ebx
jne 0x411e71
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.00412a5f
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x411e71
push str.BITs_failed__ARM_Update_download_success_using_DownloadFileDirectly.
lea ecx, [ebp + 8]
call fcn.00402148
mov byte [ebp - 4], 7
mov ebx, dword [edi + 0x14]
call fcn.00416714
test eax, eax
je 0x411e32
push dword [ebp + 8]
xor eax, eax
inc eax
mov dword [edi + 0x18], eax
mov ecx, 0x480a00
mov dword [0x480a10], eax
call fcn.0040aed8
push 0
lea eax, [ebp + 8]
push eax
push 2
call fcn.0040e1e3
add esp, 0xc
jmp 0x411e62
and dword [ebp - 0x10], 0
push str.ARM_Update_is_not_valid_after_download
lea ecx, [ebp - 0x24]
call fcn.00402148
push 0
lea eax, [ebp - 0x24]
push eax
push 1
mov byte [ebp - 4], 8
call fcn.0040e1e3
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025ca
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004025ca
mov dword [0x4809f4], 1
mov eax, dword [edi + 0x14]
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
mov dword [0x4809f0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4809ec]
push 2
dec eax
mov dword [0x4809ec], eax
mov eax, 0x4809c0
call fcn.0041483b
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025ca
lea ecx, [esi - 0x10]
call fcn.004025ca
mov eax, dword [ebp - 0x10]
call fcn.004367de
ret 4