Function at 0x468ba4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea edi, [ebx + 0x18]
lea esi, [edi + 4]
mov dword [esp + 0x1c], edi
call fcn.0045b2a5
xor esi, esi
mov dword [edi + 0x1c], esi
mov edi, dword [ebp + 0xc]
cmp edi, esi
je 0x468bdc
cmp ebx, esi
je 0x468bd7
lea eax, [ebx + 4]
jmp 0x468bd9
xor eax, eax
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x60], edi
mov eax, dword [eax + 8]
cmp eax, esi
mov dword [esp + 0x24], eax
jle 0x468c23
push esi
mov eax, ebx
call fcn.004688e6
cmp eax, 2
jne 0x468c1c
mov eax, dword [ebx + 0xc]
lea ecx, [eax + 4]
mov eax, esi
call fcn.0045bfad
lea ecx, [eax + 0x2c]
push ecx
push esi
push dword [eax + 0x28]
add eax, 0xc
push eax
push dword [esp + 0x2c]
call fcn.00469917
inc esi
cmp esi, dword [esp + 0x24]
jl 0x468bed
lea ecx, [esp + 0x28]
call fcn.0040932c
test edi, edi
je 0x468c52
push 0xc7
lea esi, [esp + 0x28]
call fcn.0046ddc0
pop ecx
lea edi, [esp + 0x28]
call fcn.00438ebc
mov ecx, esi
call fcn.004058a3
mov edi, dword [ebp + 0xc]
and dword [esp + 0xc], 0
lea ecx, [ebx + 0x1c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
test eax, eax
jle 0x468efd
mov eax, dword [esp + 0xc]
call fcn.004698b8
mov esi, eax
mov dword [esp + 0x20], esi
test edi, edi
je 0x468ce4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
test al, al
jne 0x468ecb
lea ecx, [esp + 0x18]
call fcn.0040932c
mov ecx, dword [ebx + 0xc]
mov eax, dword [esi + 0x10]
add ecx, 4
call fcn.0045bfad
mov esi, eax
call fcn.0040d2f8
push eax
lea esi, [esp + 0x2c]
call fcn.0040d2f8
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0043e898
mov edi, dword [edi]
add esp, 0xc
lea esi, [esp + 0x18]
add edi, 0xc
call fcn.0040d2f8
mov ecx, dword [ebp + 0xc]
push eax
call dword [edi]
mov ecx, esi
call fcn.004058a3
mov esi, dword [esp + 0x20]
cmp byte [0x505028], 0
je 0x468d30
mov ecx, dword [ebx + 0xc]
mov eax, dword [esi + 0x10]
add ecx, 4
call fcn.0045bfad
push dword [eax]
lea eax, [esp + 0x30]
push str.Starting_download_of:
push eax
call fcn.00465a6a
push eax
call fcn.00465a7a
push eax
call fcn.00465a7a
push eax
mov esi, 0x504ff8
mov eax, esi
call fcn.00464e5b
lea ecx, [esp + 0x2c]
call fcn.004058a3
jmp 0x468d35
mov esi, 0x504ff8
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
call fcn.0046997f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.004698b8
cmp dword [eax + 0xc], 0
jne 0x468e46
cmp byte [0x505028], 0
je 0x468d88
push str.Download_completed_succesfully.
lea eax, [esp + 0x34]
push eax
call fcn.00465a6a
push eax
call fcn.00465a7a
push eax
mov eax, esi
call fcn.00464e5b
lea ecx, [esp + 0x30]
call fcn.004058a3
mov eax, dword [esp + 0x20]
lea ecx, [eax + 0x14]
push ecx
push eax
push edi
lea ebx, [esp + 0x1c]
call fcn.00469a33
mov edi, dword [esp + 0x2c]
xor ebx, ebx
add esp, 0xc
cmp dword [edi + 4], ebx
je 0x468dbb
lea eax, [esp + 0x10]
call fcn.0045f3fd
cmp dword [edi + 4], eax
jne 0x468f13
mov eax, dword [edi + 0x10]
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
add ecx, 4
call fcn.0045bfad
add eax, 0x24
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
je 0x468deb
mov ecx, dword [esp + 0x10]
push ebx
push eax
call fcn.0046e448
pop ecx
pop ecx
test al, al
je 0x468f16
cmp byte [0x505028], bl
je 0x468e19
push str.Downloaded_file_was_accepted.
lea eax, [esp + 0x38]
push eax
call fcn.00465a6a
push eax
call fcn.00465a7a
push eax
mov eax, esi
call fcn.00464e5b
lea ecx, [esp + 0x34]
call fcn.004058a3
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.004698b8
mov edi, dword [edi + 0xc]
mov eax, dword [eax + 0x10]
lea ecx, [edi + 4]
call fcn.0045bfad
lea ecx, [esp + 0x10]
mov byte [eax + 0x68], 1
call fcn.004058a3
mov ebx, dword [ebp + 8]
jmp 0x468eb1
cmp byte [0x505028], 0
je 0x468e97
mov ebx, dword [ebx + 0x38]
lea eax, [esp + 0x3c]
push eax
call fcn.0045f4d4
pop ecx
push dword [eax]
lea eax, [esp + 0x3c]
push str.Download_failed._Error:
push eax
call fcn.00465a6a
push eax
call fcn.00465a7a
push eax
call fcn.00465a7a
push eax
mov eax, esi
call fcn.00464e5b
lea ecx, [esp + 0x38]
call fcn.004058a3
lea ecx, [esp + 0x3c]
call fcn.004058a3
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
push 0
call fcn.004698b8
push dword [eax + 0x10]
mov ecx, dword [ebx + 0xc]
call fcn.0045b64b
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x24]
jge 0x468efd
mov ecx, dword [esp + 0x14]
mov edi, dword [ebp + 0xc]
jmp 0x468c6d
cmp byte [0x505028], 0
je 0x468efd
push str.Download_was_canceled.
lea eax, [esp + 0x40]
push eax
call fcn.00465a6a
push eax
call fcn.00465a7a
push eax
mov eax, 0x504ff8
call fcn.00464e5b
lea ecx, [esp + 0x3c]
call fcn.004058a3
xor esi, esi
lea ecx, [esp + 0x28]
call fcn.004058a3
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 8]
lea esi, [esp + 0x10]
call fcn.0040d2f8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [edi + 0x10]
mov eax, dword [edi + 0x44]
test al, 1
je 0x468f3a
shr eax, 6
test al, 1
lea eax, [edi + 0x58]
je 0x468f3d
lea eax, [edi + 0x5c]
push eax
push 0x5c
lea esi, [esp + 0x18]
call fcn.00438f27
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
push ecx
mov ecx, eax
call fcn.0042e143
push eax
call fcn.0044ffc0
pop ecx
pop ecx
lea ecx, [esp + 0x3c]
call fcn.004058a3
cmp byte [0x505028], bl
je 0x468f9a
push str.Downloaded_file_was_rejected._Invalid_size_or_MD5_.
lea eax, [esp + 0x40]
push eax
call fcn.00465a6a
push eax
call fcn.00465a7a
push eax
mov eax, 0x504ff8
call fcn.00464e5b
lea ecx, [esp + 0x3c]
call fcn.004058a3
lea ecx, [esp + 0x10]
call fcn.004058a3
push 5
pop esi
jmp 0x468eff