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

Disassembly:
push 0x18
mov eax, 0x457c0f
call fcn.0043dd63
push str.DownloadArmUpdate...
lea ecx, [ebp - 0x1c]
call fcn.0040215a
xor ebx, ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.0040ece1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov edi, dword [0x48e910]
mov dword [ebp - 0x10], ebx
cmp edi, ebx
je 0x412b91
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x48ea3c], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
mov dword [0x48ea7c], ebx
call fcn.00401013
mov dword [ebp - 4], 1
mov eax, dword [edi + 4]
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.00401f90
lea eax, [ebp - 0x14]
lea ecx, [edi + 8]
push eax
call fcn.00408fd2
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41292a
mov ebx, dword [edi + 0x14]
call fcn.004184aa
test eax, eax
je 0x41291d
xor eax, eax
inc eax
mov dword [edi + 0x18], eax
and dword [0x48ea48], 0
mov dword [ebp - 0x10], eax
mov dword [0x48ea7c], eax
jmp 0x412928
lea esi, [ebp - 0x14]
call fcn.00411fde
mov esi, dword [ebp - 0x14]
xor ebx, ebx
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040219e
mov byte [ebp - 4], 2
cmp dword [ebp - 0x10], ebx
jne 0x412a8c
mov dword [ebp - 0x24], 1
call fcn.0042a9e0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00410472
lea eax, [ebp - 0x1c]
push eax
push str.ARM_Update
mov byte [ebp - 4], 3
push dword [0x48e438]
push 0x80000002
call fcn.00424f39
add esp, 0x10
test eax, eax
jne 0x4129c3
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], ebx
je 0x4129c3
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00408fd2
push str.ARM_update_redirection_found:
lea ecx, [ebp - 0x20]
call fcn.0040215a
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 2
mov byte [ebp - 4], 4
call fcn.0040e85b
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
push 0x927c0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x18]
lea ebx, [edi + 8]
push ebx
call fcn.00411552
add esp, 0x10
cmp eax, 6
jne 0x412a73
push str.AdobeARM_Downloaded:
lea ecx, [ebp - 0x20]
call fcn.0040215a
push 0
push ebx
lea eax, [ebp - 0x20]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.0040e85b
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
mov ebx, dword [edi + 0x14]
call fcn.004184aa
test eax, eax
je 0x412a31
xor eax, eax
inc eax
mov dword [edi + 0x18], eax
mov dword [0x48ea7c], eax
mov dword [ebp - 0x10], eax
jmp 0x412a73
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push str.ARM_Update_signiture_validation_failed:
push eax
call fcn.00401e97
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, 0x48eabc
call fcn.0040d106
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025dc
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 [0x48ea48], eax
call fcn.004025dc
xor ebx, ebx
cmp dword [0x48e520], ebx
jne 0x412b42
cmp dword [ebp - 0x10], ebx
jne 0x412b42
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00413df1
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x412b42
push str.BITs_failed__ARM_Update_download_success_using_DownloadFileDirectly.
lea ecx, [ebp + 8]
call fcn.0040215a
mov byte [ebp - 4], 7
mov ebx, dword [edi + 0x14]
call fcn.004184aa
test eax, eax
je 0x412b03
push dword [ebp + 8]
xor eax, eax
inc eax
mov dword [edi + 0x18], eax
mov ecx, 0x48ea54
mov dword [0x48ea7c], eax
call fcn.0040bb27
push 0
lea eax, [ebp + 8]
push eax
push 2
call fcn.0040ece1
add esp, 0xc
jmp 0x412b33
and dword [ebp - 0x10], 0
push str.ARM_Update_is_not_valid_after_download
lea ecx, [ebp - 0x24]
call fcn.0040215a
push 0
lea eax, [ebp - 0x24]
push eax
push 1
mov byte [ebp - 4], 8
call fcn.0040ece1
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004025dc
mov dword [0x48ea44], 1
mov eax, dword [edi + 0x14]
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
mov dword [0x48ea40], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x48ea3c]
push 2
dec eax
mov dword [0x48ea3c], eax
mov eax, 0x48ea10
call fcn.004164d2
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [esi - 0x10]
call fcn.004025dc
mov eax, dword [ebp - 0x10]
call fcn.0043de3b
ret 4