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

Disassembly:
push 0x5c
mov eax, 0x508461
call fcn.004da051
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebx + 0x54]
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x48]
call fcn.00437703
mov ecx, dword [ebx + 0x54]
call fcn.00437cc1
test al, al
jne 0x433d38
cmp dword [0x550334], 0
je 0x433d30
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._ERROR___d___get_remote_site_info_failed_
call fcn.00427dfb
pop ecx
pop ecx
push 5
pop eax
jmp 0x4341d8
mov esi, ebx
call fcn.00434e91
push 0x64
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x433d73
cmp dword [0x550334], eax
je 0x433d6f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._WARN___d___cancel_download.
call fcn.00427dfb
pop ecx
pop ecx
push 0xd
jmp 0x433d32
cmp byte [ebx + 0x30], 0
mov byte [ebp - 0x55], 1
je 0x433daa
push dword [ebx + 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
lea eax, [ebp - 0x5c]
push eax
push ebx
call fcn.004341de
push dword [eax]
call esi
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
call fcn.0040436d
mov byte [ebx + 0x30], 0
jmp 0x43400e
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
lea edi, [ebx + 0x44]
mov eax, dword [edi]
push SysReAllocString
push eax
mov byte [ebp - 0x4d], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x5c], eax
cmp eax, 0xffffffff
je 0x433f25
lea esi, [ebp - 0x54]
mov eax, ebx
call fcn.004354be
xor esi, esi
mov dword [ebp - 4], esi
cmp byte [ebx + 0x9c], 0
je 0x433e91
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x52e1a4
call fcn.00403604
test eax, eax
je 0x433e91
mov eax, dword [ebp - 0x54]
cmp dword [eax - 0xc], esi
jge 0x433e1c
push 0x80070057
call fcn.004042ee
cmp word [eax], 0x2c
je 0x433e91
mov eax, dword [edi]
cmp dword [eax - 4], 1
jle 0x433e33
push dword [eax - 0xc]
push edi
call fcn.004040cc
push dword [edi]
lea ecx, [ebp - 0x60]
call fcn.004354da
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
cmp dword [eax - 0xc], esi
je 0x433e84
push 1
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00434adf
test al, al
je 0x433e82
cmp dword [0x550334], 0
je 0x433e7e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___check_file_md5_ok.
call fcn.00427dfb
pop ecx
pop ecx
mov byte [ebp - 0x4d], 0
xor esi, esi
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
call fcn.0040436d
jmp 0x433ef8
mov eax, dword [ebx + 0xb0]
cmp dword [eax - 0xc], esi
je 0x433ebd
mov ecx, ebx
call fcn.0043336e
test al, al
je 0x433ef8
cmp dword [0x550334], esi
je 0x433ef4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___check_file_verison_ok.
jmp 0x433ee7
push esi
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov eax, ebx
call fcn.0043359f
test al, al
je 0x433ef8
cmp dword [0x550334], esi
je 0x433ef4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___check_file_size_ok.
mov ecx, dword [0x550334]
call fcn.00427dfb
pop ecx
pop ecx
mov byte [ebp - 0x4d], 0
cmp dword [ebp - 0x5c], esi
je 0x433f06
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
call fcn.0040436d
cmp byte [ebp - 0x4d], 0
jne 0x433f23
xor eax, eax
inc eax
jmp 0x4341d8
xor esi, esi
mov eax, dword [ebx + 0x54]
cmp byte [eax + 0x70], 0
je 0x43400e
cmp dword [0x550334], esi
je 0x433f53
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___check_file_resume.
call fcn.00427dfb
pop ecx
pop ecx
lea eax, [ebp - 0x5c]
push eax
push ebx
call fcn.004341de
mov eax, dword [eax]
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
call fcn.0040436d
cmp dword [ebp - 0x54], 0xffffffff
je 0x43400e
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x433ff6
mov eax, dword [ebx + 0x54]
mov edi, dword [eax + 0x84]
mov ecx, dword [eax + 0x80]
mov eax, dword [ebx + 0x50]
imul eax, eax, 0x18
add eax, 4
cdq
add eax, ecx
adc edx, edi
cmp dword [ebp - 0x64], eax
jne 0x433ff6
cmp dword [ebp - 0x60], edx
jne 0x433ff6
mov ecx, ebx
call fcn.00434433
test al, al
je 0x433ff6
cmp dword [0x550334], esi
je 0x433ff2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___check_file_resume_ok.
call fcn.00427dfb
pop ecx
pop ecx
mov byte [ebp - 0x55], 0
cmp dword [ebp - 0x54], esi
je 0x434004
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x55], 0
je 0x43417b
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x54]
imul eax, eax, 0x18
add eax, 4
cdq
mov edi, edx
mov edx, dword [ecx + 0x80]
mov esi, eax
mov eax, dword [ecx + 0x84]
add esi, edx
adc edi, eax
test eax, eax
jl 0x43403f
jg 0x434039
test edx, edx
jb 0x43403f
cmp byte [ecx + 0x70], 0
jne 0x434043
xor esi, esi
xor edi, edi
lea eax, [ebp - 0x60]
push eax
push ebx
call fcn.004341de
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x60]
and dword [ebp - 0x54], 0
push edi
push esi
lea edi, [ebp - 0x54]
call fcn.00430977
xor edi, edi
pop ecx
pop ecx
mov esi, eax
cmp dword [0x550334], edi
je 0x4340d4
push dword [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.00404466
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00428a57
pop ecx
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x43409b
mov eax, dword [eax]
push dword [ebp - 0x54]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___create_null_file__s___ret__d___d_.
call fcn.00427dfb
add esp, 0x14
push edi
push 1
lea ecx, [ebp - 0x4c]
call fcn.00402476
push edi
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0040476f
cmp esi, edi
je 0x43416a
cmp esi, 2
jne 0x43412e
cmp dword [0x550334], edi
je 0x434102
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._ERROR___d___disk_space_not_enough_
call fcn.00427dfb
pop ecx
pop ecx
push dword [ebp - 0x54]
mov esi, ebx
push 3
push edi
push 0xd
push dword [ebx + 0xa0]
push 0xffffffffffffffff
call fcn.00435760
push 0xa
mov eax, dword [ebp - 0x60]
pop esi
add eax, 0xfffffff0
call fcn.0040436d
mov eax, esi
jmp 0x4341d8
cmp dword [0x550334], edi
je 0x43414f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._ERROR___d___create_null_file_failed_
call fcn.00427dfb
pop ecx
pop ecx
push dword [ebp - 0x54]
mov esi, ebx
push 1
push edi
push 0xd
push dword [ebx + 0xa0]
push 0xffffffffffffffff
call fcn.00435760
push 9
jmp 0x43411b
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
call fcn.0040436d
xor esi, esi
lea eax, [ebp - 0x68]
push eax
push ebx
call fcn.004341de
push 2
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff0
call fcn.0040436d
mov eax, ebx
call fcn.00434228
test al, al
jne 0x4341cd
cmp dword [0x550334], esi
je 0x4341c6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._ERROR___d___assign_download_task_failed_
call fcn.00427dfb
pop ecx
pop ecx
push 6
jmp 0x433d32
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x38], eax
xor eax, eax
call fcn.004da0d4
ret