Function at 0x413d22
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x4c
mov eax, 0x463c38
call fcn.00449ec2
push str.DownloadFileAndWait__
lea ecx, [ebp - 0x24]
call fcn.0040130b
xor ebx, ebx
push ebx
lea eax, [ebp - 0x24]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.0040fcf3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
xor eax, eax
cmp dword [0x4a66b4], ebx
sete al
xor esi, esi
inc esi
push esi
push esi
mov dword [ebp - 0x38], eax
call fcn.00408b39
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
xor eax, eax
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x4a6768
lea ecx, [ebp - 0x1c]
stosd dword es:[edi], eax
mov dword [ebp - 0x14], ebx
call fcn.0040134f
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], ebx
jne 0x413dc3
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4a6708
call fcn.00413b29
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], ebx
jne 0x413dc3
push str.AdobeArmDownloadJob
lea ecx, [ebp - 0x1c]
call fcn.0040137f
push 0x3c
call fcn.00436304
pop ecx
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x413de6
push dword [ebp - 0x1c]
push eax
call fcn.0040d29f
mov esi, eax
mov dword [ebp - 0x20], esi
jmp 0x413deb
mov dword [ebp - 0x20], ebx
mov esi, ebx
mov byte [ebp - 4], 1
cmp dword [esi], ebx
jne 0x413e48
push str.DownloadFileAndWait__:_queue_is_empty
lea ecx, [ebp - 0x24]
call fcn.0040130b
mov byte [ebp - 4], 3
push dword [esi + 0xc]
lea eax, [ebp - 0x24]
push eax
push 1
call fcn.0040fcf3
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp + 0x10]
push esi
mov dword [ecx], eax
call fcn.00414395
push 4
pop esi
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, esi
call fcn.00449f9a
ret
push 8
push dword [ebp + 0xc]
push str.https:__
call fcn.00448e41
add esp, 0xc
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x58]
push eax
lea ebx, [ebp - 0x14]
mov ecx, esi
call fcn.0040daf1
mov edi, dword [ebp + 0x10]
push 0
push 1
mov dword [edi], eax
call fcn.00408b39
call fcn.004366fe
push eax
lea ecx, [ebp - 0x18]
call fcn.00411d53
push str.IDS_ACTION_CONNECTING
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.0040130b
push 0x4a6608
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.0040929d
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017c4
lea edx, [ebp - 0x18]
call fcn.00408b59
mov eax, dword [edi]
test eax, eax
jl 0x413f63
cmp dword [ebp - 0x14], 2
je 0x413ede
cmp dword [ebp - 0x14], 1
jne 0x413f5d
push str.DownloadFileAndWait:_Last_Bits_job_still_downloading_manifest_or_ARMupdate
lea ecx, [ebp - 0x24]
call fcn.0040130b
push 0
lea eax, [ebp - 0x24]
push eax
push 2
mov byte [ebp - 4], 6
call fcn.0040fcf3
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
push 1
push esi
call fcn.0040d40c
push str.DownloadFileAndWait:_Cancel_Last_BITS_Job
lea ecx, [ebp - 0x24]
call fcn.0040130b
push 0
lea eax, [ebp - 0x24]
push eax
push 2
mov byte [ebp - 4], 7
call fcn.0040fcf3
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, esi
call fcn.0040dabe
lea eax, [ebp - 0x58]
push eax
lea ebx, [ebp - 0x14]
mov ecx, esi
call fcn.0040daf1
mov dword [edi], eax
mov eax, dword [edi]
test eax, eax
jge 0x413fb7
cmp eax, 0x80200001
je 0x413fb7
push str.DownloadFileAndWait_isComplete_returns_error
lea ecx, [ebp - 0x24]
call fcn.0040130b
mov byte [ebp - 4], 8
push dword [edi]
lea eax, [ebp - 0x24]
push eax
push 1
call fcn.0040fcf3
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
cmp dword [esi + 0x14], 0
je 0x413fb7
mov eax, esi
call fcn.0040dabe
lea eax, [ebp - 0x58]
push eax
lea ebx, [ebp - 0x14]
mov ecx, esi
call fcn.0040daf1
mov dword [edi], eax
cmp dword [ebp - 0x14], 6
je 0x414377
push dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
call fcn.0040130b
push dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
push esi
mov byte [ebp - 4], 9
call fcn.00413bcc
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
mov dword [edi], eax
call fcn.004017c4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [edi], 0
mov dword [ebp - 0x40], eax
jge 0x414037
push str.downLoadFileSet___failed
lea ecx, [ebp - 0x24]
call fcn.0040130b
mov byte [ebp - 4], 0xa
push dword [edi]
lea eax, [ebp - 0x24]
push eax
push 1
call fcn.0040fcf3
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
jmp 0x41436a
lea eax, [ebp - 0x58]
push eax
lea ebx, [ebp - 0x14]
mov ecx, esi
call fcn.0040daf1
xor ebx, ebx
mov dword [edi], eax
cmp dword [0x4a66c8], ebx
jne 0x41436a
cmp dword [ebp - 0x14], 6
jne 0x4140a6
cmp dword [0x4a66b4], ebx
je 0x4140a6
push 1
push 0x5a
call fcn.00408b39
push 0x46e848
lea ecx, [ebp - 0x28]
call fcn.0040130b
push 0x4a6608
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.0040929d
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004017c4
lea edx, [ebp - 0x18]
call fcn.00408b59
jmp 0x4140ae
push ebx
push 1
call fcn.00408b39
cmp dword [esi + 0x14], ebx
je 0x414257
mov eax, dword [edi]
cmp eax, ebx
jge 0x41425f
cmp eax, 0x801901f8
ja 0x414257
cmp dword [ebp - 0x14], 1
jne 0x414257
push str.first_attempt_error
lea ecx, [ebp - 0x2c]
call fcn.0040130b
push ebx
lea eax, [ebp - 0x2c]
push eax
push 2
mov byte [ebp - 4], 0xc
call fcn.0040fcf3
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, dword [edi]
cmp eax, 0x80072efd
je 0x414115
cmp eax, 0x80072ee2
jne 0x414163
push str.reporting_first_attempt_error
lea ecx, [ebp - 0x30]
call fcn.0040130b
push ebx
lea eax, [ebp - 0x30]
push eax
push 2
mov byte [ebp - 4], 0xd
call fcn.0040fcf3
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
lea eax, [ebp - 0xd]
push eax
push ebx
push 0x46bd84
push str.HTTPS_Failed
mov esi, 0x4a6608
mov byte [ebp - 0xd], bl
call fcn.00406400
mov esi, dword [ebp - 0x20]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
call fcn.0040130b
push str.http:__
push str.https:__
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0xe
call fcn.0040601e
test eax, eax
je 0x414248
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
push 1
mov dword [ebp - 0x40], eax
call fcn.00408b39
push str.IDS_ACTION_CONNECTING
lea ecx, [ebp - 0x34]
call fcn.0040130b
push 0x4a6608
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call fcn.0040929d
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.004017c4
lea edx, [ebp - 0x18]
call fcn.00408b59
mov eax, esi
call fcn.0040dabe
cmp dword [0x4a66c8], ebx
jne 0x4142dc
push dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.00413bcc
add esp, 0xc
cmp eax, ebx
mov dword [edi], eax
jge 0x414236
push str.downLoadFileSet_second_attempt_failed
lea ecx, [ebp - 0x3c]
call fcn.0040130b
mov byte [ebp - 4], 0x10
push dword [edi]
lea eax, [ebp - 0x3c]
push eax
push 1
call fcn.0040fcf3
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
jmp 0x414248
lea eax, [ebp - 0x58]
push eax
lea ebx, [ebp - 0x14]
mov ecx, esi
call fcn.0040daf1
mov dword [edi], eax
xor ebx, ebx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017c4
cmp dword [edi], ebx
jl 0x4142f0
cmp dword [ebp - 0x54], ebx
ja 0x41428a
cmp dword [ebp - 0x58], 1
ja 0x41428a
cmp dword [0x4a66b4], ebx
je 0x414292
mov eax, dword [0x4a66b8]
neg eax
sbb eax, eax
and eax, 0x384
add eax, 0x64
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 1
call fcn.00408b39
cmp dword [0x4a66c8], ebx
jne 0x41436a
cmp dword [ebp - 0x14], 6
je 0x4142b9
cmp dword [esi + 0x14], ebx
jne 0x4142b9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
inc eax
sub eax, dword [ebp - 0x40]
dec eax
cmp eax, dword [ebp + 0x14]
ja 0x414330
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4a66c8], ebx
jne 0x41436a
cmp dword [ebp - 0x14], 6
jne 0x414037
jmp 0x414377
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017c4
jmp 0x414370
push str.all_BITs_attempts_failed
lea ecx, [ebp - 0x40]
call fcn.0040130b
mov byte [ebp - 4], 0x11
mov edi, dword [edi]
push 0x222e0
mov ecx, edi
lea edx, [ebp - 0x40]
mov esi, 0x4a6aac
call fcn.0040e316
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, dword [ebp - 0x20]
call fcn.0040dabe
jmp 0x414367
push str.Network_too_slow_or_no_connection
lea ecx, [ebp - 0x40]
call fcn.0040130b
push 0x222e0
mov ecx, 0x80200010
lea edx, [ebp - 0x40]
mov esi, 0x4a6aac
mov byte [ebp - 4], 0x12
call fcn.0040e316
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.004017c4
mov esi, dword [ebp - 0x20]
cmp dword [ebp - 0x14], 6
je 0x414377
mov eax, esi
call fcn.0040dabe
mov edi, dword [ebp - 0x14]
push esi
mov dword [esi + 0x38], edi
call fcn.00414395
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017c4
mov esi, edi
jmp 0x413e35