Function at 0x48f91d
Capabilities:
Delete file

Disassembly:
push 0x34
mov eax, 0x50a469
call fcn.004d2c19
mov ebx, ecx
lea edi, [ebx + 0x18]
lea ecx, [edi + 4]
mov dword [ebp - 0x40], edi
call fcn.00490baa
xor esi, esi
lea ecx, [edi + 0x24]
mov dword [edi + 0x1c], esi
call fcn.00451f33
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x48f959
lea eax, [ebx + 4]
test ebx, ebx
jne 0x48f956
mov eax, esi
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0xc]
mov edi, esi
mov dword [ebx + 0x6c], ecx
mov eax, dword [eax + 8]
test eax, eax
jle 0x48f99f
mov esi, eax
push edi
mov ecx, ebx
call fcn.0048f636
cmp eax, 2
jne 0x48f998
mov ecx, dword [ebx + 0xc]
push edi
add ecx, 4
call fcn.0047f2f2
lea ecx, [eax + 0x2c]
push ecx
push ecx
push edi
push dword [eax + 0x28]
add eax, 0xc
lea ecx, [ebx + 0x18]
push eax
call fcn.0049091a
inc edi
cmp edi, esi
jl 0x48f96a
xor esi, esi
call fcn.00406d01
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406b29
or dword [ebp - 4], 0xffffffff
cmp dword [ebp + 8], 0
je 0x48f9dc
mov edx, 0xc7
lea ecx, [ebp - 0x30]
call fcn.004945c5
push eax
lea ecx, [ebp - 0x1c]
call fcn.004434b9
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00406df6
mov edi, dword [ebp - 0x1c]
lea ecx, [ebx + 0x1c]
mov edx, dword [ecx + 4]
mov eax, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x18], eax
test edx, edx
jle 0x48fdfb
push eax
call fcn.004907fd
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], edx
test eax, eax
je 0x48fa99
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
test al, al
jne 0x48fcf8
call fcn.00406d01
push eax
lea ecx, [ebp - 0x20]
call fcn.00406b29
or dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0xc]
add ecx, 4
push dword [edx + 0x10]
call fcn.0047f2f2
cmp dword [edi - 4], 1
mov esi, eax
jle 0x48fa53
push dword [edi - 0xc]
lea ecx, [ebp - 0x1c]
call fcn.00406951
mov edi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.0041e683
push eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00457385
mov esi, dword [ebp - 0x20]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x48fa7f
push dword [esi - 0xc]
lea ecx, [ebp - 0x20]
call fcn.00406951
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
push esi
mov eax, dword [ecx]
call dword [eax + 0x18]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00406df6
mov edx, dword [ebp - 0x14]
xor esi, esi
cmp byte [0x56b83c], 0
je 0x48fb01
mov ecx, dword [ebx + 0xc]
push dword [edx + 0x10]
add ecx, 4
call fcn.0047f2f2
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
call fcn.00406d01
push eax
lea ecx, [ebp - 0x24]
call fcn.00406b29
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
push str.Starting_download_of:
call fcn.004072c4
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x48fae4
push eax
lea ecx, [ebp - 0x24]
call fcn.004072c4
lea eax, [ebp - 0x24]
mov ecx, 0x56b80c
push eax
call fcn.00489943
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00406df6
push dword [ebp - 0x18]
lea ecx, [ebx + 0x18]
call fcn.004909b4
push dword [ebp - 0x18]
lea ecx, [ebx + 0x1c]
call fcn.004907fd
cmp dword [eax + 0xc], esi
jne 0x48fc53
cmp byte [0x56b83c], 0
je 0x48fb65
call fcn.00406d01
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406b29
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
push str.Download_completed_succesfully.
call fcn.004072c4
lea eax, [ebp - 0x2c]
mov ecx, 0x56b80c
push eax
call fcn.00489943
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00406df6
mov ecx, dword [ebp - 0x14]
lea edx, [ebx + 0x18]
lea eax, [ecx + 0x14]
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00490a43
mov eax, dword [ebx + 0xc]
pop ecx
pop ecx
cmp dword [eax + 0x34], 2
je 0x48fb95
cmp dword [eax + 0x34], 5
je 0x48fb95
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x3c]
call fcn.0046daf0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], esi
je 0x48fbb3
lea ecx, [ebp - 0x10]
call fcn.00485485
mov edx, dword [ebp - 0x14]
cmp dword [edx + 4], eax
jne 0x48fd46
mov eax, edx
mov ecx, dword [ebx + 0xc]
push dword [eax + 0x10]
add ecx, 4
call fcn.0047f2f2
mov edx, dword [eax + 0x24]
cmp dword [edx - 0xc], 0
je 0x48fbdc
mov ecx, dword [ebp - 0x10]
push esi
call fcn.004948c1
pop ecx
test al, al
je 0x48fd46
cmp byte [0x56b83c], 0
je 0x48fc21
call fcn.00406d01
push eax
lea ecx, [ebp - 0x30]
call fcn.00406b29
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
push str.Downloaded_file_was_accepted.
call fcn.004072c4
lea eax, [ebp - 0x30]
mov ecx, 0x56b80c
push eax
call fcn.00489943
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00406df6
push dword [ebp - 0x18]
lea ecx, [ebx + 0x1c]
call fcn.004907fd
mov ecx, dword [ebx + 0xc]
add ecx, 4
mov eax, dword [eax + 0x10]
push eax
call fcn.0047f2f2
mov byte [eax + 0x6c], 1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00406df6
jmp 0x48fce0
cmp byte [0x56b83c], 0
je 0x48fcc9
mov edx, dword [ebx + 0x38]
push ecx
lea ecx, [ebp - 0x38]
call fcn.0046d610
pop ecx
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
call fcn.00406d01
push eax
lea ecx, [ebp - 0x28]
call fcn.00406b29
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push str.Download_failed._Error:
call fcn.004072c4
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x48fc9d
push eax
lea ecx, [ebp - 0x28]
call fcn.004072c4
lea eax, [ebp - 0x28]
mov ecx, 0x56b80c
push eax
call fcn.00489943
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00406df6
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00406df6
push esi
push dword [ebp - 0x18]
lea ecx, [ebx + 0x1c]
call fcn.004907fd
mov ecx, dword [ebx + 0xc]
push dword [eax + 0x10]
call fcn.0047fc1b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x3c]
jge 0x48fdfb
lea ecx, [ebx + 0x1c]
jmp 0x48f9f5
cmp byte [0x56b83c], 0
je 0x48fdfb
call fcn.00406d01
push eax
lea ecx, [ebp + 8]
call fcn.00406b29
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
push str.Download_was_canceled.
call fcn.004072c4
lea eax, [ebp + 8]
mov ecx, 0x56b80c
push eax
call fcn.00489943
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00406df6
jmp 0x48fdfb
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 1
jle 0x48fd5d
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00406951
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x5c
push dword [ebp - 0x10]
call fcn.004d5852
pop ecx
pop ecx
test eax, eax
jne 0x48fd79
or eax, 0xffffffff
jmp 0x48fd7e
sub eax, dword [ebp - 0x10]
sar eax, 1
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00444ed9
mov edx, dword [ebp - 0x40]
mov ecx, eax
call fcn.00470320
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00406df6
cmp byte [0x56b83c], 0
je 0x48fde9
call fcn.00406d01
push eax
lea ecx, [ebp + 8]
call fcn.00406b29
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
push str.Downloaded_file_was_rejected._Invalid_size_or_MD5_.
call fcn.004072c4
lea eax, [ebp + 8]
mov ecx, 0x56b80c
push eax
call fcn.00489943
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00406df6
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00406df6
push 5
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [edi - 0x10]
call fcn.00406df6
mov eax, esi
call fcn.004d2be2
ret 4