Function at 0x43274a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
mov esi, edi
call fcn.00435226
test al, al
je 0x432777
xor eax, eax
push eax
push eax
push eax
push 7
push dword [edi + 0xa0]
push 0xffffffffffffffff
call fcn.004356a4
push 6
pop esi
call fcn.004326e6
and dword [esp + 0xc], 0
cmp dword [0x550334], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
je 0x4327ad
push dword [esp + 0xc]
call ebx
mov ecx, dword [0x550334]
push eax
push str._INFO___d___start_download__retry__d_
call fcn.00427e2f
add esp, 0xc
push 0
push 0
push dword [esp + 0x14]
mov esi, edi
push 9
push dword [edi + 0xa0]
push 0xffffffffffffffff
call fcn.004356a4
mov ecx, edi
call fcn.00433c24
cmp dword [0x550334], 0
mov esi, eax
mov dword [esp + 0x10], esi
je 0x4327f7
push esi
push dword [esp + 0x10]
call ebx
mov ecx, dword [0x550334]
push eax
push str._INFO___d___start_download__retry__d__result__d_
call fcn.00427e2f
add esp, 0x10
test esi, esi
je 0x432833
cmp esi, 1
je 0x43297e
lea edx, [esp + 0x10]
mov ecx, edi
call fcn.004346a9
mov ebx, dword [esp + 0x10]
cmp ebx, 0xd
je 0x4329da
cmp ebx, 0xa
je 0x4329da
test ebx, ebx
jne 0x4328e5
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x550334], 0
je 0x432851
call ebx
mov ecx, dword [0x550334]
push eax
push str._INFO___d___wait_for_download_finished.
call fcn.00427e2f
pop ecx
pop ecx
call fcn.00435272
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4328cd
mov ecx, dword [edi + 0x50]
xor edx, edx
test ecx, ecx
jle 0x43287e
mov eax, dword [edi + 0x58]
add eax, 0x112
cmp byte [eax], 0
je 0x4328a7
inc edx
add eax, 0x118
cmp edx, ecx
jl 0x43286f
cmp dword [0x550334], 0
je 0x43289c
call ebx
mov ecx, dword [0x550334]
push eax
push str._INFO___d___download_finished.
call fcn.00427e2f
pop ecx
pop ecx
push 1
mov esi, edi
call fcn.0043524f
jmp 0x4328cd
cmp dword [0x550334], 0
je 0x4328c5
call ebx
mov ecx, dword [0x550334]
push eax
push str._ERROR___d___download_failed_
call fcn.00427e2f
pop ecx
pop ecx
mov dword [esp + 0x10], 0xe
lea edx, [esp + 0x10]
mov ecx, edi
call fcn.004346a9
mov ebx, dword [esp + 0x10]
cmp ebx, 0xd
je 0x4329da
cmp ebx, 0xc
je 0x4328ef
cmp ebx, 0xb
jne 0x43291e
push dword [edi + 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
mov eax, dword [edi + 0x44]
cmp dword [eax - 0xc], 0
je 0x43291e
lea eax, [esp + 0x14]
push eax
push edi
call fcn.00434122
push dword [eax]
call esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0040442d
mov esi, edi
call fcn.004332b8
cmp dword [esp + 0xc], 9
je 0x4329b2
test ebx, ebx
je 0x4329b2
push 0x64
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43298b
call fcn.00435226
test al, al
je 0x432962
push ebx
push dword [esp + 0x10]
push 0
push 0xa
push dword [edi + 0xa0]
push 0xffffffffffffffff
call fcn.004356a4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0xa
jl 0x432784
jmp 0x4329da
push 1
mov esi, edi
call fcn.0043524f
xor ebx, ebx
jmp 0x4329da
cmp dword [0x550334], 0
je 0x4329ad
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._WARN___d___download_delay_retry__cancel.
call fcn.00427e2f
pop ecx
pop ecx
push 0xd
pop ebx
jmp 0x4329da
cmp dword [0x550334], 0
je 0x4329da
push ebx
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___download_finished__retry__d___result__d_.
call fcn.00427e2f
add esp, 0x10
mov esi, edi
call fcn.00435226
test al, al
je 0x432a0f
push ebx
push dword [esp + 0x10]
push 0
push 0xa
push dword [edi + 0xa0]
push 0xffffffffffffffff
call fcn.004356a4
push 0
push 0
push ebx
push 2
push dword [edi + 0xa0]
push 0xffffffffffffffff
call fcn.004356a4
pop edi
xor eax, eax
test ebx, ebx
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret