Function at 0x48ee4c
Capabilities:
Delete file
Get file size
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5343a1
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [edi + 0x48]
mov ecx, dword [edi + 0x54]
mov dword [edi + 0x38], eax
call fcn.0049315f
mov ecx, dword [edi + 0x54]
call fcn.0049374f
test al, al
jne 0x48eecd
cmp dword [0x59535c], 0
je 0x48eec5
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._ERROR___d___get_remote_site_info_failed_
push 1
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x10
push 5
pop eax
jmp 0x48f3e0
mov eax, dword [edi + 0x54]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov al, byte [eax + 0xfb]
test al, al
je 0x48ef0a
cmp dword [0x59535c], 0
je 0x48ef01
call ebp
push eax
push str._INFO___d___adjust_thread_count1.
push 3
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x10
push 1
mov ecx, edi
call fcn.0048d793
mov ecx, edi
call fcn.0049025f
push 0x64
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x48ef44
cmp dword [0x59535c], eax
je 0x48ef40
call ebp
push eax
push str._WARN___d___cancel_download.
push 2
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x10
push 0xd
jmp 0x48eec7
cmp byte [edi + 0x30], 0
mov byte [esp + 0x1b], 1
je 0x48ef80
push dword [edi + 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.0048f3ff
push dword [eax]
call esi
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00450c64
xor ebx, ebx
mov byte [edi + 0x30], bl
jmp 0x48f1ea
xor ebx, ebx
mov byte [esp + 0x1a], 1
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [edi + 0x44]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x48f0fb
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.0049093e
mov dword [esp + 0x70], ebx
mov al, byte [edi + 0x9c]
mov esi, dword [esp + 0x24]
test al, al
je 0x48f06a
push 0x56fd18
lea ecx, [esp + 0x28]
call fcn.0044fbc9
test eax, eax
je 0x48f06a
cmp dword [esi - 0xc], ebx
jge 0x48eff4
push 0x80070057
call fcn.00450be1
cmp word [esi], 0x2c
je 0x48f06a
lea ecx, [edi + 0x44]
call fcn.00453aaf
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00490962
mov byte [esp + 0x70], 1
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
je 0x48f05c
push 1
lea eax, [esp + 0x28]
mov ecx, edi
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0048fe00
test al, al
je 0x48f058
cmp dword [0x59535c], 0
je 0x48f054
call ebp
push eax
push str._INFO___d___check_file_md5_ok.
push 3
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x10
mov byte [esp + 0x1a], bl
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.00450c64
jmp 0x48f0d0
mov eax, dword [edi + 0xb0]
cmp dword [eax - 0xc], 0
je 0x48f094
mov ecx, edi
call fcn.0048e503
test al, al
je 0x48f0d0
cmp dword [0x59535c], 0
je 0x48f0cc
call ebp
push eax
push str._INFO___d___check_file_verison_ok.
jmp 0x48f0bc
push ebx
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov ecx, edi
call fcn.0048e708
test al, al
je 0x48f0d0
cmp dword [0x59535c], 0
je 0x48f0cc
call ebp
push eax
push str._INFO___d___check_file_size_ok.
push 3
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x10
mov byte [esp + 0x1a], bl
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x48f0df
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esp + 0x70], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00450c64
cmp byte [esp + 0x1a], 0
jne 0x48f0fb
xor eax, eax
inc eax
jmp 0x48f3e0
mov eax, dword [edi + 0x54]
mov al, byte [eax + 0x6c]
test al, al
je 0x48f1ea
cmp dword [0x59535c], 0
je 0x48f12a
call ebp
push eax
push str._INFO___d___check_file_resume.
push 3
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x10
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.0048f3ff
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [esp + 0x1c]
mov esi, eax
add ecx, 0xfffffff0
mov dword [esp + 0x20], esi
call fcn.00450c64
cmp esi, 0xffffffff
je 0x48f1ea
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x48f1d0
mov eax, dword [edi + 0x54]
mov ecx, dword [eax + 0x84]
mov esi, dword [eax + 0x80]
imul eax, dword [edi + 0x50], 0x18
add eax, 4
cdq
add eax, esi
adc edx, ecx
cmp dword [esp + 0x24], eax
jne 0x48f1d0
cmp dword [esp + 0x28], edx
jne 0x48f1d0
mov ecx, edi
call fcn.0048f6b3
test al, al
je 0x48f1d0
cmp dword [0x59535c], 0
je 0x48f1cc
call ebp
push eax
push str._INFO___d___check_file_resume_ok.
push 3
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x10
mov byte [esp + 0x1b], bl
mov eax, dword [esp + 0x20]
test eax, eax
je 0x48f1df
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x1b], 0
je 0x48f380
mov eax, dword [edi + 0x54]
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x84]
imul eax, dword [edi + 0x50], 0x18
add eax, 4
cdq
mov esi, eax
mov eax, edx
mov edx, dword [esp + 0x1c]
add esi, edx
adc eax, ecx
mov dword [esp + 0x1c], eax
cmp ecx, ebx
jl 0x48f229
jg 0x48f21f
cmp edx, ebx
jb 0x48f229
mov eax, dword [edi + 0x54]
mov al, byte [eax + 0x6c]
test al, al
jne 0x48f23e
xorps xmm0, xmm0
movlpd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.0048f3ff
mov dword [esp + 0x70], 2
lea edx, [esp + 0x24]
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push esi
mov dword [esp + 0x2c], ebx
call fcn.0048b62c
pop ecx
pop ecx
mov ecx, dword [0x59535c]
mov esi, eax
test ecx, ecx
je 0x48f2e3
push dword [esp + 0x20]
lea ecx, [esp + 0x38]
call fcn.00450d66
lea edx, [esp + 0x34]
mov byte [esp + 0x70], 3
lea ecx, [esp + 0x4c]
call fcn.00480835
mov byte [esp + 0x70], 4
cmp dword [eax + 0x14], 0x10
jb 0x48f2a2
mov eax, dword [eax]
push dword [esp + 0x24]
push esi
push eax
call ebp
push eax
push str._INFO___d___create_null_file__s___ret__d___d_.
push 3
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x1c
lea ecx, [esp + 0x4c]
push ebx
push 1
call fcn.0044ea00
push ebx
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 2
call fcn.004510a8
mov ecx, dword [0x59535c]
test esi, esi
je 0x48f36f
cmp esi, 2
jne 0x48f328
test ecx, ecx
je 0x48f30c
call ebp
push eax
push str._ERROR___d___disk_space_not_enough_
push 1
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x10
push dword [esp + 0x24]
mov ecx, edi
push 3
push ebx
push 0xd
push dword [edi + 0xa0]
push 0xffffffffffffffff
call fcn.00490c22
push 0xa
jmp 0x48f35e
test ecx, ecx
je 0x48f344
call ebp
push eax
push str._ERROR___d___create_null_file_failed_
push 1
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x10
push dword [esp + 0x24]
mov ecx, edi
push 1
push ebx
push 0xd
push dword [edi + 0xa0]
push 0xffffffffffffffff
call fcn.00490c22
push 9
mov ecx, dword [esp + 0x24]
pop esi
add ecx, 0xfffffff0
call fcn.00450c64
mov eax, esi
jmp 0x48f3e0
or dword [esp + 0x70], 0xffffffff
mov ecx, dword [esp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.00450c64
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
call fcn.0048f3ff
push 2
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [esp + 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00450c64
mov ecx, edi
call fcn.0048f44c
test al, al
jne 0x48f3d5
cmp dword [0x59535c], 0
je 0x48f3ce
call ebp
push eax
push str._ERROR___d___assign_download_task_failed_
push 1
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x10
push 6
jmp 0x48eec7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x38], eax
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00501f3e
add esp, 0x60
ret