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

Disassembly:
push 0x18
mov eax, 0x457e8d
call fcn.0043dfc3
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.0040ed4d
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 0x412bfd
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.00408fde
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x412996
mov ebx, dword [edi + 0x14]
call fcn.00418534
test eax, eax
je 0x412989
xor eax, eax
inc eax
mov dword [edi + 0x18], eax
and dword [0x48ea48], 0
mov dword [ebp - 0x10], eax
mov dword [0x48ea7c], eax
jmp 0x412994
lea esi, [ebp - 0x14]
call fcn.0041204a
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 0x412af8
mov dword [ebp - 0x24], 1
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x1c]
call fcn.004104de
lea eax, [ebp - 0x1c]
push eax
push str.ARM_Update
mov byte [ebp - 4], 3
push dword [0x48e438]
push 0x80000002
call fcn.00425091
add esp, 0x10
test eax, eax
jne 0x412a2f
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], ebx
je 0x412a2f
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00408fde
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.0040e8c7
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.004115be
add esp, 0x10
cmp eax, 6
jne 0x412adf
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.0040e8c7
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.00418534
test eax, eax
je 0x412a9d
xor eax, eax
inc eax
mov dword [edi + 0x18], eax
mov dword [0x48ea7c], eax
mov dword [ebp - 0x10], eax
jmp 0x412adf
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.0040d172
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 0x412bae
cmp dword [ebp - 0x10], ebx
jne 0x412bae
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00413e5d
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x412bae
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.00418534
test eax, eax
je 0x412b6f
push dword [ebp + 8]
xor eax, eax
inc eax
mov dword [edi + 0x18], eax
mov ecx, 0x48ea54
mov dword [0x48ea7c], eax
call fcn.0040bb93
push 0
lea eax, [ebp + 8]
push eax
push 2
call fcn.0040ed4d
add esp, 0xc
jmp 0x412b9f
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.0040ed4d
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.0041653f
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.0043e09b
ret 4