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

Disassembly:
push 0x54
mov eax, 0x46b1cf
call fcn.004508b2
push str.DownloadFileAndWait__
lea ecx, [ebp - 0x24]
call fcn.004012e2
xor ebx, ebx
push ebx
lea eax, [ebp - 0x24]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.00410d56
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
xor eax, eax
cmp dword [0x4b2784], ebx
sete al
xor esi, esi
inc esi
push esi
push esi
mov dword [ebp - 0x38], eax
call fcn.00409590
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x4b282c
lea ecx, [ebp - 0x20]
stosd dword es:[edi], eax
mov dword [ebp - 0x14], ebx
call fcn.00401326
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], ebx
jne 0x4159c3
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x4b27dc
call fcn.00415729
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], ebx
jne 0x4159c3
push str.AdobeArmDownloadJob
lea ecx, [ebp - 0x20]
call fcn.00401356
push 0x40
call fcn.0043caa0
pop ecx
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x4159e6
push dword [ebp - 0x20]
push eax
call fcn.0040e1de
mov esi, eax
mov dword [ebp - 0x18], esi
jmp 0x4159eb
mov dword [ebp - 0x18], ebx
mov esi, ebx
mov byte [ebp - 4], 1
cmp dword [esi], ebx
jne 0x415a48
push str.DownloadFileAndWait__:_queue_is_empty
lea ecx, [ebp - 0x24]
call fcn.004012e2
mov byte [ebp - 4], 3
push dword [esi + 0xc]
lea eax, [ebp - 0x24]
push eax
push 1
call fcn.00410d56
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp + 0x10]
push esi
mov dword [ecx], eax
call fcn.00415fd9
push 4
pop esi
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017ba
mov eax, esi
call fcn.0045098a
ret
push 8
push dword [ebp + 0xc]
push str.https:__
call fcn.0044f5c1
add esp, 0xc
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x60]
push eax
lea ebx, [ebp - 0x14]
mov ecx, esi
call fcn.0040ea30
mov ebx, dword [ebp + 0x10]
push 0
push 1
mov dword [ebx], eax
call fcn.00409590
call fcn.0043ce9a
push eax
lea ecx, [ebp - 0x1c]
call fcn.00413a25
push str.IDS_ACTION_CONNECTING
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.004012e2
lea edi, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
mov esi, 0x4b26d8
mov byte [ebp - 4], 5
call fcn.00409ce0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017ba
mov edx, edi
call fcn.004095b0
mov eax, dword [ebx]
test eax, eax
jl 0x415b74
cmp dword [ebp - 0x14], 2
je 0x415ae1
cmp dword [ebp - 0x14], 1
jne 0x415b69
push str.DownloadFileAndWait:_Last_Bits_job_still_downloading_manifest_or_ARMupdate
lea ecx, [ebp - 0x24]
call fcn.004012e2
push 0
lea eax, [ebp - 0x24]
push eax
push 2
mov byte [ebp - 4], 6
call fcn.00410d56
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
mov edi, dword [ebp - 0x18]
push 1
push edi
call fcn.0040e336
push str.DownloadFileAndWait:_Cancel_Last_BITS_Job
lea ecx, [ebp - 0x24]
call fcn.004012e2
push 0
lea eax, [ebp - 0x24]
push eax
push 2
mov byte [ebp - 4], 7
call fcn.00410d56
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
push edi
call fcn.0040e95c
lea eax, [ebp - 0x60]
push eax
lea ebx, [ebp - 0x14]
mov ecx, edi
call fcn.0040ea30
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov ebx, ecx
jmp 0x415b6c
mov edi, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jge 0x415bcf
jmp 0x415b77
mov edi, dword [ebp - 0x18]
cmp eax, 0x80200001
je 0x415bcf
push str.DownloadFileAndWait_isComplete_returns_error
lea ecx, [ebp - 0x24]
call fcn.004012e2
mov byte [ebp - 4], 8
push dword [ebx]
lea eax, [ebp - 0x24]
push eax
push 1
call fcn.00410d56
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
cmp dword [edi + 0x14], 0
je 0x415bcf
push edi
call fcn.0040e95c
lea eax, [ebp - 0x60]
push eax
lea ebx, [ebp - 0x14]
mov ecx, edi
call fcn.0040ea30
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov ebx, ecx
cmp dword [ebp - 0x14], 6
je 0x415fbd
push dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
call fcn.004012e2
push dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
push edi
mov byte [ebp - 4], 9
call fcn.004157cc
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
mov dword [ebx], eax
call fcn.004017ba
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebx], 0
mov dword [ebp - 0x44], eax
jge 0x415c47
push str.downLoadFileSet___failed
lea ecx, [ebp - 0x24]
call fcn.004012e2
mov byte [ebp - 4], 0xa
push dword [ebx]
lea eax, [ebp - 0x24]
push eax
push 1
call fcn.00410d56
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add esp, 0xc
jmp 0x415fa9
lea eax, [ebp - 0x60]
push eax
lea ebx, [ebp - 0x14]
mov ecx, edi
call fcn.0040ea30
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebx], eax
cmp dword [0x4b2798], esi
jne 0x415fb1
cmp dword [ebp - 0x14], 6
jne 0x415cbd
cmp dword [0x4b2784], esi
je 0x415cbd
push 1
push 0x5a
call fcn.00409590
push 0x475f40
lea ecx, [ebp - 0x28]
call fcn.004012e2
lea edi, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
mov esi, 0x4b26d8
mov byte [ebp - 4], 0xb
call fcn.00409ce0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004017ba
mov edx, edi
call fcn.004095b0
mov edi, dword [ebp - 0x18]
xor esi, esi
jmp 0x415cc5
push esi
push 1
call fcn.00409590
cmp dword [edi + 0x14], esi
je 0x415ea5
mov eax, dword [ebx]
cmp eax, esi
jge 0x415ead
cmp eax, 0x801901f8
ja 0x415ea5
cmp dword [ebp - 0x14], 1
jne 0x415ea5
push str.first_attempt_error
lea ecx, [ebp - 0x2c]
call fcn.004012e2
push esi
lea eax, [ebp - 0x2c]
push eax
push 2
mov byte [ebp - 4], 0xc
call fcn.00410d56
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
mov eax, dword [ebx]
cmp eax, 0x80072efd
je 0x415d2c
cmp eax, 0x80072ee2
jne 0x415d7a
push str.reporting_first_attempt_error
lea ecx, [ebp - 0x30]
call fcn.004012e2
push esi
lea eax, [ebp - 0x30]
push eax
push 2
mov byte [ebp - 4], 0xd
call fcn.00410d56
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
lea eax, [ebp - 0xd]
push eax
push esi
push 0x4731d4
push str.HTTPS_Failed
mov esi, 0x4b26d8
mov byte [ebp - 0xd], 0
call fcn.00406bc3
xor esi, esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
call fcn.004012e2
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
mov edx, 0x4b2924
mov byte [ebp - 4], 0xe
call fcn.004171b2
test eax, eax
je 0x415e6b
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push 1
mov dword [ebp - 0x44], eax
call fcn.00409590
push str.IDS_ACTION_CONNECTING
lea ecx, [ebp - 0x34]
call fcn.004012e2
lea edi, [ebp - 0x1c]
lea ecx, [ebp - 0x34]
mov esi, 0x4b26d8
mov byte [ebp - 4], 0xf
call fcn.00409ce0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.004017ba
mov edx, edi
call fcn.004095b0
push dword [ebp - 0x18]
call fcn.0040e95c
cmp dword [0x4b2798], 0
jne 0x415f2a
push dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x18]
call fcn.004157cc
add esp, 0xc
mov dword [ebx], eax
test eax, eax
jge 0x415e4e
push str.downLoadFileSet_second_attempt_failed
lea ecx, [ebp - 0x3c]
call fcn.004012e2
mov byte [ebp - 4], 0x10
push dword [ebx]
lea eax, [ebp - 0x3c]
push eax
push 1
call fcn.00410d56
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
jmp 0x415e64
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x60]
push eax
lea ebx, [ebp - 0x14]
call fcn.0040ea30
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov ebx, ecx
mov edi, dword [ebp - 0x18]
xor esi, esi
jmp 0x415e96
push str.download_fallback_not_allowed
lea ecx, [ebp - 0x40]
call fcn.004012e2
push esi
lea eax, [ebp - 0x40]
push eax
push 1
mov byte [ebp - 4], 0x11
call fcn.00410d56
mov ecx, dword [ebp - 0x40]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017ba
cmp dword [ebx], esi
jl 0x415f3e
cmp dword [ebp - 0x5c], esi
ja 0x415ed8
cmp dword [ebp - 0x60], 1
ja 0x415ed8
cmp dword [0x4b2784], esi
je 0x415ee0
mov eax, dword [0x4b2788]
neg eax
sbb eax, eax
and eax, 0x384
add eax, 0x64
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 1
call fcn.00409590
cmp dword [0x4b2798], esi
jne 0x415fb1
cmp dword [ebp - 0x14], 6
je 0x415f07
cmp dword [edi + 0x14], esi
jne 0x415f07
call dword [sym.imp.KERNEL32.dll_GetTickCount]
inc eax
sub eax, dword [ebp - 0x44]
dec eax
cmp eax, dword [ebp + 0x14]
ja 0x415f7a
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4b2798], esi
jne 0x415fb1
cmp dword [ebp - 0x14], 6
jne 0x415c47
jmp 0x415fbd
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017ba
mov edi, dword [ebp - 0x18]
jmp 0x415fb7
push str.all_BITs_attempts_failed
lea ecx, [ebp - 0x44]
call fcn.004012e2
mov byte [ebp - 4], 0x12
mov ecx, dword [ebx]
push 0x222e0
lea edx, [ebp - 0x44]
mov ebx, 0x4b2bac
call fcn.0040f2d9
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.004017ba
push edi
call fcn.0040e95c
jmp 0x415fb1
push str.Network_too_slow_or_no_connection
lea ecx, [ebp - 0x44]
call fcn.004012e2
push 0x222e0
mov ecx, 0x80200010
lea edx, [ebp - 0x44]
mov ebx, 0x4b2bac
mov byte [ebp - 4], 0x13
call fcn.0040f2d9
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.004017ba
cmp dword [ebp - 0x14], 6
je 0x415fbd
push edi
call fcn.0040e95c
mov esi, dword [ebp - 0x14]
push edi
mov dword [edi + 0x38], esi
call fcn.00415fd9
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004017ba
jmp 0x415a35