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

Disassembly:
push 0x58
mov eax, 0x46f619
call fcn.00452eb4
mov ebx, ecx
push str.DownloadFileAndWait__
lea ecx, [ebp - 0x28]
call fcn.004012e2
xor esi, esi
push esi
lea eax, [ebp - 0x28]
push eax
push 2
mov dword [ebp - 4], esi
call fcn.00411806
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
xor eax, eax
cmp dword [0x4b7784], esi
push 1
sete al
push 1
mov dword [ebp - 0x3c], eax
call fcn.0040a0e1
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
xor eax, eax
lea edi, [ebp - 0x5c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x4b782c
lea ecx, [ebp - 0x24]
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], esi
call fcn.00401326
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], esi
jne 0x416407
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x4b77dc
call fcn.00416168
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], esi
jne 0x416407
push str.AdobeArmDownloadJob
lea ecx, [ebp - 0x24]
call fcn.00401356
push 0x40
call fcn.0043efe8
pop ecx
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
cmp eax, esi
je 0x41642a
push dword [ebp - 0x24]
push eax
call fcn.0040ec56
mov edi, eax
mov dword [ebp - 0x18], edi
jmp 0x41642f
mov dword [ebp - 0x18], esi
mov edi, esi
mov byte [ebp - 4], 1
cmp dword [edi], esi
jne 0x416489
push str.DownloadFileAndWait__:_queue_is_empty
lea ecx, [ebp - 0x28]
call fcn.004012e2
mov byte [ebp - 4], 3
push dword [edi + 0xc]
lea eax, [ebp - 0x28]
push eax
push 1
call fcn.00411806
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [edi + 0xc]
push edi
mov dword [ebx], eax
call fcn.00416a08
push 4
pop esi
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, esi
call fcn.00452f8c
ret
push 8
push dword [ebp + 0xc]
push str.https:__
call fcn.00451b31
add esp, 0xc
neg eax
sbb eax, eax
inc eax
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
call fcn.0040f4a8
push esi
push 1
mov dword [ebx], eax
call fcn.0040a0e1
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x20]
call fcn.004013a1
push str.IDS_ACTION_CONNECTING
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.004012e2
lea edi, [ebp - 0x20]
lea ecx, [ebp - 0x28]
mov esi, 0x4b76d8
mov byte [ebp - 4], 5
call fcn.0040a83c
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, edi
push eax
mov eax, esi
call fcn.0040a101
mov eax, dword [ebx]
xor edi, edi
cmp eax, edi
jl 0x4165ac
cmp dword [ebp - 0x1c], 2
je 0x416524
cmp dword [ebp - 0x1c], 1
jne 0x4165a6
push str.DownloadFileAndWait:_Last_Bits_job_still_downloading_manifest_or_ARMupdate
lea ecx, [ebp - 0x28]
call fcn.004012e2
push edi
lea eax, [ebp - 0x28]
push eax
push 2
mov byte [ebp - 4], 6
call fcn.00411806
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push 1
push dword [ebp - 0x18]
call fcn.0040edae
push str.DownloadFileAndWait:_Cancel_Last_BITS_Job
lea ecx, [ebp - 0x28]
call fcn.004012e2
push edi
lea eax, [ebp - 0x28]
push eax
push 2
mov byte [ebp - 4], 7
call fcn.00411806
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push dword [ebp - 0x18]
call fcn.0040f3d4
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040f4a8
mov dword [ebx], eax
mov eax, dword [ebx]
cmp eax, edi
jge 0x416603
cmp eax, 0x80200001
je 0x416603
push str.DownloadFileAndWait_isComplete_returns_error
lea ecx, [ebp - 0x28]
call fcn.004012e2
mov byte [ebp - 4], 8
push dword [ebx]
lea eax, [ebp - 0x28]
push eax
push 1
call fcn.00411806
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x14], edi
je 0x416603
push eax
call fcn.0040f3d4
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040f4a8
mov dword [ebx], eax
cmp dword [ebp - 0x1c], 6
je 0x4169e6
push dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
call fcn.004012e2
push dword [ebp - 0x3c]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0041620b
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add esp, 0xc
add ecx, 0xfffffff0
mov dword [ebx], eax
call fcn.004017df
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebx], edi
mov dword [ebp - 0x48], eax
jge 0x41667c
push str.downLoadFileSet___failed
lea ecx, [ebp - 0x28]
call fcn.004012e2
mov byte [ebp - 4], 0xa
push dword [ebx]
lea eax, [ebp - 0x28]
push eax
push 1
call fcn.00411806
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add esp, 0xc
jmp 0x4169d0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040f4a8
mov dword [ebx], eax
cmp dword [0x4b7798], edi
jne 0x4169d8
cmp dword [ebp - 0x1c], 6
jne 0x4166ea
cmp dword [0x4b7784], edi
je 0x4166ea
push 1
push 0x5a
call fcn.0040a0e1
push 0x47a370
lea ecx, [ebp - 0x2c]
call fcn.004012e2
lea edi, [ebp - 0x20]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call fcn.0040a83c
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, edi
push eax
mov eax, esi
call fcn.0040a101
xor edi, edi
jmp 0x4166f2
push edi
push 1
call fcn.0040a0e1
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x14], edi
je 0x4168c8
mov eax, dword [ebx]
cmp eax, edi
jge 0x4168d0
cmp eax, 0x801901f8
ja 0x4168c8
cmp dword [ebp - 0x1c], 1
jne 0x4168c8
push str.first_attempt_error
lea ecx, [ebp - 0x30]
call fcn.004012e2
push edi
lea eax, [ebp - 0x30]
push eax
push 2
mov byte [ebp - 4], 0xc
call fcn.00411806
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [ebx]
cmp eax, 0x80072efd
je 0x41675c
cmp eax, 0x80072ee2
jne 0x4167a3
push str.reporting_first_attempt_error
lea ecx, [ebp - 0x34]
call fcn.004012e2
push edi
lea eax, [ebp - 0x34]
push eax
push 2
mov byte [ebp - 4], 0xd
call fcn.00411806
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x34]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
lea eax, [ebp - 0x11]
push eax
push edi
push 0x4771e4
push str.HTTPS_Failed
mov byte [ebp - 0x11], 0
call fcn.00407812
push dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
call fcn.004012e2
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov edx, 0x4b7950
mov byte [ebp - 4], 0xe
call fcn.004181e5
test eax, eax
je 0x41688e
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x14], edi
mov dword [eax + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
push 1
mov dword [ebp - 0x48], eax
call fcn.0040a0e1
push str.IDS_ACTION_CONNECTING
lea ecx, [ebp - 0x38]
call fcn.004012e2
lea edi, [ebp - 0x20]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xf
call fcn.0040a83c
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, edi
push eax
mov eax, esi
call fcn.0040a101
push dword [ebp - 0x18]
call fcn.0040f3d4
cmp dword [0x4b7798], 0
jne 0x416950
push dword [ebp - 0x3c]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x18]
call fcn.0041620b
add esp, 0xc
mov dword [ebx], eax
test eax, eax
jge 0x416878
push str.downLoadFileSet_second_attempt_failed
lea ecx, [ebp - 0x40]
call fcn.004012e2
mov byte [ebp - 4], 0x10
push dword [ebx]
lea eax, [ebp - 0x40]
push eax
push 1
call fcn.00411806
mov ecx, dword [ebp - 0x40]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
jmp 0x41688a
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040f4a8
mov dword [ebx], eax
xor edi, edi
jmp 0x4168b9
push str.download_fallback_not_allowed
lea ecx, [ebp - 0x44]
call fcn.004012e2
push edi
lea eax, [ebp - 0x44]
push eax
push 1
mov byte [ebp - 4], 0x11
call fcn.00411806
mov ecx, dword [ebp - 0x44]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebx], edi
jl 0x416961
cmp dword [ebp - 0x60], edi
ja 0x4168fb
cmp dword [ebp - 0x64], 1
ja 0x4168fb
cmp dword [0x4b7784], edi
je 0x416903
mov eax, dword [0x4b7788]
neg eax
sbb eax, eax
and eax, 0x384
add eax, 0x64
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push 1
call fcn.0040a0e1
cmp dword [0x4b7798], edi
jne 0x4169d8
cmp dword [ebp - 0x1c], 6
je 0x41692d
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x14], edi
jne 0x41692d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
inc eax
sub eax, dword [ebp - 0x48]
dec eax
cmp eax, dword [ebp + 0x10]
ja 0x4169a1
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4b7798], edi
jne 0x4169d8
cmp dword [ebp - 0x1c], 6
jne 0x41667c
jmp 0x4169e6
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004017df
jmp 0x4169de
push str.all_BITs_attempts_failed
lea ecx, [ebp - 0x48]
call fcn.004012e2
mov byte [ebp - 4], 0x12
mov ebx, dword [ebx]
mov ecx, ebx
push 0x222e0
lea edx, [ebp - 0x48]
mov ebx, 0x4b7bd8
call fcn.0040fd89
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.004017df
push dword [ebp - 0x18]
call fcn.0040f3d4
jmp 0x4169d8
push str.Network_too_slow_or_no_connection
lea ecx, [ebp - 0x48]
call fcn.004012e2
push 0x222e0
mov ecx, 0x80200010
lea edx, [ebp - 0x48]
mov ebx, 0x4b7bd8
mov byte [ebp - 4], 0x13
call fcn.0040fd89
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x1c], 6
je 0x4169e6
push dword [ebp - 0x18]
call fcn.0040f3d4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push eax
mov dword [eax + 0x38], ecx
call fcn.00416a08
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017df
mov esi, dword [ebp - 0x1c]
jmp 0x416476