Function at 0x41ac69
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
push esi
lea eax, [ebx + 0x18]
push edi
mov dword [esp + 0x18], eax
call fcn.0041bb56
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x41ac99
test ebx, ebx
je 0x41ac94
lea eax, [ebx + 4]
jmp 0x41ac96
xor eax, eax
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x6c], ecx
mov esi, dword [eax + 8]
xor edi, edi
test esi, esi
jle 0x41acdc
push edi
mov eax, ebx
call fcn.0041a9ae
cmp eax, 2
jne 0x41acd7
mov eax, dword [ebx + 0xc]
lea ecx, [eax + 4]
mov eax, edi
call fcn.00409233
lea ecx, [eax + 0x2c]
push ecx
push edi
push dword [eax + 0x28]
add eax, 0xc
push eax
push dword [esp + 0x28]
call fcn.0041bad8
inc edi
cmp edi, esi
jl 0x41aca8
mov eax, dword [0x457fa0]
mov ecx, 0x457fa0
call dword [eax + 0xc]
add eax, 0x10
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x20], eax
je 0x41ad1a
push 0xc7
lea esi, [esp + 0x20]
call fcn.00422027
pop ecx
lea edi, [esp + 0x20]
call fcn.0040896f
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.0040469f
and dword [esp + 0xc], 0
lea ecx, [ebx + 0x1c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x41b000
mov eax, dword [esp + 0xc]
call fcn.0042d5f2
mov ecx, dword [ebp + 0xc]
mov edi, eax
mov dword [esp + 0x24], edi
test ecx, ecx
je 0x41adc2
mov eax, dword [ecx]
call dword [eax + 0x18]
test al, al
jne 0x41afcc
mov eax, dword [0x457fa0]
mov ecx, 0x457fa0
call dword [eax + 0xc]
mov edi, dword [edi + 0x10]
mov ecx, dword [ebx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
add ecx, 4
mov eax, edi
call fcn.00409233
mov esi, eax
call fcn.004020c4
push eax
lea esi, [esp + 0x24]
call fcn.004020c4
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004097ba
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
add esp, 0xc
lea esi, [esp + 0x1c]
add edi, 0x10
call fcn.004020c4
mov ecx, dword [ebp + 0xc]
push eax
call dword [edi]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.0040469f
mov edi, dword [esp + 0x24]
cmp byte [0x458cfc], 0
je 0x41ae10
mov ecx, dword [ebx + 0xc]
mov eax, dword [edi + 0x10]
add ecx, 4
call fcn.00409233
push dword [eax]
lea eax, [esp + 0x2c]
push str.Starting_download_of:
call fcn.0041692e
push eax
call fcn.0041693f
push eax
call fcn.0041693f
push eax
mov esi, 0x458ccc
mov eax, esi
call fcn.00415cee
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.0040469f
jmp 0x41ae15
mov esi, 0x458ccc
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
call fcn.0041bb71
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.0042d5f2
cmp dword [eax + 0xc], 0
jne 0x41af49
cmp byte [0x458cfc], 0
je 0x41ae6a
push str.Download_completed_succesfully.
lea eax, [esp + 0x30]
call fcn.0041692e
push eax
call fcn.0041693f
push eax
mov eax, esi
call fcn.00415cee
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.0040469f
lea eax, [edi + 0x14]
push eax
mov eax, dword [esp + 0x1c]
mov ebx, edi
lea ecx, [esp + 0x14]
call fcn.0041bbfe
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x34]
pop ecx
cmp eax, 2
je 0x41aea0
cmp eax, 5
je 0x41aea0
add esi, 0x3c
lea ebx, [esp + 0x10]
call fcn.004096f9
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 4], ebx
je 0x41aeb9
lea eax, [esp + 0x10]
call fcn.0040f512
cmp dword [edi + 4], eax
jne 0x41b019
mov edi, dword [edi + 0x10]
mov ecx, dword [esi + 0xc]
add ecx, 4
mov eax, edi
call fcn.00409233
mov edi, dword [esp + 0x10]
add eax, 0x24
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
je 0x41aeea
push ebx
push eax
mov ecx, edi
call fcn.00422742
pop ecx
pop ecx
test al, al
je 0x41b019
cmp byte [0x458cfc], bl
je 0x41af1d
push str.Downloaded_file_was_accepted.
lea eax, [esp + 0x34]
call fcn.0041692e
push eax
call fcn.0041693f
push eax
mov eax, 0x458ccc
call fcn.00415cee
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.0040469f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.0042d5f2
mov esi, dword [esi + 0xc]
mov eax, dword [eax + 0x10]
lea ecx, [esi + 4]
call fcn.00409233
mov byte [eax + 0x68], 1
lea eax, [edi - 0x10]
call fcn.0040469f
mov ebx, dword [ebp + 8]
jmp 0x41afb5
cmp byte [0x458cfc], 0
je 0x41af9b
push dword [ebx + 0x38]
lea eax, [esp + 0x3c]
call fcn.00421806
pop ecx
push dword [eax]
lea eax, [esp + 0x38]
push str.Download_failed._Error:
call fcn.0041692e
push eax
call fcn.0041693f
push eax
call fcn.0041693f
push eax
mov eax, esi
call fcn.00415cee
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.0040469f
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.0040469f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
push 0
call fcn.0042d5f2
push dword [eax + 0x10]
mov ecx, dword [ebx + 0xc]
call fcn.00411b41
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x3c]
jge 0x41b000
mov ecx, dword [esp + 0x14]
jmp 0x41ad35
cmp byte [0x458cfc], 0
je 0x41b000
push str.Download_was_canceled.
lea eax, [esp + 0x40]
call fcn.0041692e
push eax
call fcn.0041693f
push eax
mov eax, 0x458ccc
call fcn.00415cee
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.0040469f
xor esi, esi
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.0040469f
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea esi, [esp + 0x10]
call fcn.004020c4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esp + 0x18]
push 0x5c
call fcn.00408ce3
mov ecx, eax
lea edx, [esp + 0x40]
mov eax, esi
call fcn.00408df0
push eax
call fcn.0040a324
mov eax, dword [esp + 0x44]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.0040469f
cmp byte [0x458cfc], bl
je 0x41b088
push str.Downloaded_file_was_rejected._Invalid_size_or_MD5_.
lea eax, [esp + 0x40]
call fcn.0041692e
push eax
call fcn.0041693f
push eax
mov eax, 0x458ccc
call fcn.00415cee
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.0040469f
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0040469f
push 5
pop esi
jmp 0x41b002