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

Disassembly:
push 0x428
mov eax, 0x478d52
call fcn.0045bedd
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3f8], eax
mov eax, dword [ebp + 0xc]
mov ebx, ecx
push str.DownloadFileAndWait__
lea ecx, [ebp - 0x3d4]
mov dword [ebp - 0x3f4], eax
call fcn.004020a6
xor esi, esi
push esi
lea eax, [ebp - 0x3d4]
push eax
push 2
mov dword [ebp - 4], esi
call fcn.004152d1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3d4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
xor eax, eax
cmp dword [0x4c4794], esi
push 1
sete al
mov dword [ebp - 0x430], eax
call fcn.0040db48
mov dword [ebp - 0x410], esi
mov dword [ebp - 0x40c], esi
xor eax, eax
lea edi, [ebp - 0x408]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x4c483c
lea ecx, [ebp - 0x3e8]
stosd dword es:[edi], eax
mov dword [ebp - 0x3d8], esi
call fcn.004020ea
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x3e8]
cmp dword [eax - 0xc], esi
jne 0x41ad3f
lea eax, [ebp - 0x3e8]
push eax
mov ecx, 0x4c47ec
call fcn.0041aa66
mov eax, dword [ebp - 0x3e8]
cmp dword [eax - 0xc], esi
jne 0x41ad3f
push str.AdobeArmDownloadJob
lea ecx, [ebp - 0x3e8]
call fcn.0040211a
push 0x40
call fcn.00447e62
pop ecx
mov dword [ebp - 0x3e0], eax
mov byte [ebp - 4], 2
cmp eax, esi
je 0x41ad6b
push dword [ebp - 0x3e8]
push eax
call fcn.004126e1
mov edi, eax
mov dword [ebp - 0x3dc], edi
jmp 0x41ad73
mov dword [ebp - 0x3dc], esi
mov edi, esi
mov byte [ebp - 4], 1
cmp dword [edi], esi
jne 0x41add9
push str.DownloadFileAndWait__:_queue_is_empty
lea ecx, [ebp - 0x3d4]
call fcn.004020a6
mov byte [ebp - 4], 3
push dword [edi + 0xc]
lea eax, [ebp - 0x3d4]
push eax
push 1
call fcn.004152d1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3d4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, dword [edi + 0xc]
push edi
mov dword [ebx], eax
call fcn.0041b556
push 4
pop esi
mov ecx, dword [ebp - 0x3e8]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, esi
call fcn.0045bf60
ret
push 8
push dword [ebp - 0x3f4]
push str.https:__
call fcn.0045aaf1
add esp, 0xc
neg eax
sbb eax, eax
inc eax
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x3d8]
push eax
lea eax, [ebp - 0x410]
push eax
mov ecx, edi
call fcn.00412f33
push esi
mov dword [ebx], eax
call fcn.0040db48
call fcn.0044825c
push eax
lea ecx, [ebp - 0x3ec]
call fcn.0041872d
push str.IDS_ACTION_CONNECTING
lea ecx, [ebp - 0x3d4]
mov byte [ebp - 4], 4
call fcn.004020a6
lea edi, [ebp - 0x3ec]
lea ecx, [ebp - 0x3d4]
mov esi, 0x4c46e8
mov byte [ebp - 4], 5
call fcn.0040e2a6
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3d4]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, edi
push eax
mov eax, esi
call fcn.0040db68
mov eax, dword [ebx]
test eax, eax
jl 0x41af3b
cmp dword [ebp - 0x3d8], 2
je 0x41ae8e
cmp dword [ebp - 0x3d8], 1
jne 0x41af2d
push str.DownloadFileAndWait:_Last_Bits_job_still_downloading_manifest_or_ARMupdate
lea ecx, [ebp - 0x3d4]
call fcn.004020a6
push 0
lea eax, [ebp - 0x3d4]
push eax
push 2
mov byte [ebp - 4], 6
call fcn.004152d1
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3d4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov edi, dword [ebp - 0x3dc]
push 1
push edi
call fcn.00412839
push str.DownloadFileAndWait:_Cancel_Last_BITS_Job
lea ecx, [ebp - 0x3d4]
call fcn.004020a6
push 0
lea eax, [ebp - 0x3d4]
push eax
push 2
mov byte [ebp - 4], 7
call fcn.004152d1
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3d4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
push edi
call fcn.00412e5f
lea eax, [ebp - 0x3d8]
push eax
lea eax, [ebp - 0x410]
push eax
mov ecx, edi
call fcn.00412f33
mov dword [ebx], eax
jmp 0x41af33
mov edi, dword [ebp - 0x3dc]
mov eax, dword [ebx]
test eax, eax
jge 0x41afa4
jmp 0x41af41
mov edi, dword [ebp - 0x3dc]
cmp eax, 0x80200001
je 0x41afa4
push str.DownloadFileAndWait_isComplete_returns_error
lea ecx, [ebp - 0x3d4]
call fcn.004020a6
mov byte [ebp - 4], 8
push dword [ebx]
lea eax, [ebp - 0x3d4]
push eax
push 1
call fcn.004152d1
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3d4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
cmp dword [edi + 0x14], 0
je 0x41afa4
push edi
call fcn.00412e5f
lea eax, [ebp - 0x3d8]
push eax
lea eax, [ebp - 0x410]
push eax
mov ecx, edi
call fcn.00412f33
mov dword [ebx], eax
cmp dword [ebp - 0x3d8], 6
je 0x41b52e
push dword [ebp - 0x3f4]
lea ecx, [ebp - 0x3d4]
call fcn.004020a6
push dword [ebp - 0x430]
mov ecx, dword [ebp - 0x3f8]
lea eax, [ebp - 0x3d4]
push eax
push edi
mov byte [ebp - 4], 9
call fcn.0041ab09
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3d4]
add esp, 0xc
add ecx, 0xfffffff0
mov dword [ebx], eax
call fcn.004025d2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebx], 0
mov dword [ebp - 0x3e0], eax
jge 0x41b045
push str.downLoadFileSet___failed
lea ecx, [ebp - 0x3d4]
call fcn.004020a6
mov byte [ebp - 4], 0xa
push dword [ebx]
lea eax, [ebp - 0x3d4]
push eax
push 1
call fcn.004152d1
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3d4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
jmp 0x41b51f
lea eax, [ebp - 0x3d8]
push eax
lea eax, [ebp - 0x410]
push eax
mov ecx, edi
call fcn.00412f33
mov dword [ebx], eax
cmp dword [0x4c47a8], 0
jne 0x41b51f
cmp dword [ebp - 0x3d8], 2
je 0x41b07f
cmp dword [ebp - 0x3d8], 1
jne 0x41b209
mov eax, dword [0x4c4798]
neg eax
sbb eax, eax
and eax, 0x3b6
add eax, 0x32
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
cmp dword [ebp - 0x40c], ecx
ja 0x41b0ad
cmp dword [ebp - 0x410], ecx
jbe 0x41b209
cmp dword [ebp - 0x404], ecx
ja 0x41b0c1
cmp dword [ebp - 0x408], ecx
jbe 0x41b209
mov eax, dword [0x4c4c30]
mov dword [ebp - 0x414], eax
cmp eax, ecx
je 0x41b209
cmp dword [0x4c47a8], ecx
jne 0x41b209
mov edi, dword [eax]
push ecx
push 0x64
push dword [ebp - 0x404]
push dword [ebp - 0x408]
call fcn.0045f860
push dword [ebp - 0x40c]
push dword [ebp - 0x410]
push edx
push eax
call fcn.00462aa0
mov ecx, dword [ebp - 0x414]
push eax
call dword [edi + 0x188]
and dword [ebp - 0x3d0], 0
push 0x3b8
lea eax, [ebp - 0x3cc]
push 0
push eax
call fcn.00459cf0
add esp, 0xc
call fcn.0044825c
push eax
lea ecx, [ebp - 0x3f0]
call fcn.0041872d
push str.IDS_BAL_DOWNLOADPROGRESS
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 0xb
call fcn.004020a6
lea edi, [ebp - 0x3f0]
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 0xc
call fcn.0040e2a6
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x424]
add ecx, 0xfffffff0
call fcn.004025d2
push 0
push 0x64
push dword [ebp - 0x404]
push dword [ebp - 0x408]
call fcn.0045f860
push dword [ebp - 0x40c]
push dword [ebp - 0x410]
push edx
push eax
call fcn.00462aa0
push eax
push dword [ebp - 0x3f0]
mov eax, 0x100
lea edi, [ebp - 0x3b8]
call fcn.00422807
pop ecx
pop ecx
mov eax, edi
push eax
lea ecx, [ebp - 0x42c]
call fcn.004020a6
mov ecx, dword [ebp - 0x414]
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0xd
call fcn.00431afd
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
call fcn.004025d2
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3f0]
add ecx, 0xfffffff0
call fcn.004025d2
mov edi, dword [ebp - 0x3dc]
cmp dword [edi + 0x14], 0
je 0x41b432
mov eax, dword [ebx]
test eax, eax
jge 0x41b437
cmp eax, 0x801901f8
ja 0x41b432
cmp dword [ebp - 0x3d8], 1
jne 0x41b432
push str.first_attempt_error
lea ecx, [ebp - 0x434]
call fcn.004020a6
push 0
lea eax, [ebp - 0x434]
push eax
push 2
mov byte [ebp - 4], 0xe
call fcn.004152d1
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x434]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, dword [ebx]
cmp eax, 0x80072efd
je 0x41b27e
cmp eax, 0x80072ee2
jne 0x41b2d6
push str.reporting_first_attempt_error
lea ecx, [ebp - 0x428]
call fcn.004020a6
push 0
lea eax, [ebp - 0x428]
push eax
push 2
mov byte [ebp - 4], 0xf
call fcn.004152d1
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x428]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
lea eax, [ebp - 0x3e1]
push eax
push 0
push 0x48173c
push str.HTTPS_Failed
mov byte [ebp - 0x3e1], 0
call fcn.0040b111
push dword [ebp - 0x3f4]
lea ecx, [ebp - 0x3d4]
call fcn.004020a6
mov ecx, dword [ebp - 0x3f8]
lea eax, [ebp - 0x3d4]
push eax
mov edx, 0x4c4964
mov byte [ebp - 4], 0x10
call fcn.0041d4b5
test eax, eax
je 0x41b3eb
and dword [edi + 0x14], 0
and dword [edi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push str.IDS_ACTION_CONNECTING
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x3e0], eax
call fcn.004020a6
lea edi, [ebp - 0x3ec]
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 0x11
call fcn.0040e2a6
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x420]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, edi
push eax
mov eax, esi
call fcn.0040db68
push dword [ebp - 0x3dc]
call fcn.00412e5f
push dword [ebp - 0x430]
mov ecx, dword [ebp - 0x3f8]
lea eax, [ebp - 0x3d4]
push eax
push dword [ebp - 0x3dc]
call fcn.0041ab09
add esp, 0xc
mov dword [ebx], eax
test eax, eax
jge 0x41b3c8
push str.downLoadFileSet_second_attempt_failed
lea ecx, [ebp - 0x418]
call fcn.004020a6
mov byte [ebp - 4], 0x12
push dword [ebx]
lea eax, [ebp - 0x418]
push eax
push 1
call fcn.004152d1
mov ecx, dword [ebp - 0x418]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
jmp 0x41b3e3
mov ecx, dword [ebp - 0x3dc]
lea eax, [ebp - 0x3d8]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00412f33
mov dword [ebx], eax
mov edi, dword [ebp - 0x3dc]
jmp 0x41b420
push str.download_fallback_not_allowed
lea ecx, [ebp - 0x41c]
call fcn.004020a6
push 0
lea eax, [ebp - 0x41c]
push eax
push 1
mov byte [ebp - 4], 0x13
call fcn.004152d1
mov ecx, dword [ebp - 0x41c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3d4]
add ecx, 0xfffffff0
call fcn.004025d2
cmp dword [ebx], 0
jl 0x41b48d
cmp dword [0x4c47a8], 0
jne 0x41b51f
cmp dword [ebp - 0x3d8], 6
je 0x41b466
cmp dword [edi + 0x14], 0
jne 0x41b466
call dword [sym.imp.KERNEL32.dll_GetTickCount]
inc eax
sub eax, dword [ebp - 0x3e0]
dec eax
cmp eax, dword [ebp + 0x10]
ja 0x41b4d9
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4c47a8], 0
jne 0x41b51f
cmp dword [ebp - 0x3d8], 6
jne 0x41b045
jmp 0x41b52e
push str.all_BITs_attempts_failed
lea ecx, [ebp - 0x3e0]
call fcn.004020a6
mov byte [ebp - 4], 0x14
mov ebx, dword [ebx]
mov ecx, ebx
push 0x222e0
lea edx, [ebp - 0x3e0]
mov ebx, 0x4c4bf0
call fcn.0041384f
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3e0]
add ecx, 0xfffffff0
call fcn.004025d2
push dword [ebp - 0x3dc]
call fcn.00412e5f
jmp 0x41b519
push str.Network_too_slow_or_no_connection
lea ecx, [ebp - 0x3e0]
call fcn.004020a6
push 0x222e0
mov ecx, 0x80200010
lea edx, [ebp - 0x3e0]
mov ebx, 0x4c4bf0
mov byte [ebp - 4], 0x15
call fcn.0041384f
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3e0]
add ecx, 0xfffffff0
call fcn.004025d2
mov edi, dword [ebp - 0x3dc]
cmp dword [ebp - 0x3d8], 6
je 0x41b52e
push edi
call fcn.00412e5f
mov eax, dword [ebp - 0x3d8]
push edi
mov dword [edi + 0x38], eax
call fcn.0041b556
mov ecx, dword [ebp - 0x3ec]
add ecx, 0xfffffff0
call fcn.004025d2
mov esi, dword [ebp - 0x3d8]
jmp 0x41adc3