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

Disassembly:
push 0x5c
mov eax, 0x508431
call fcn.004da01f
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.00437796
mov ecx, dword [ebx + 0x54]
call fcn.00437d57
test al, al
jne 0x433c7c
cmp dword [0x550334], 0
je 0x433c74
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._ERROR___d___get_remote_site_info_failed_
call fcn.00427e2f
pop ecx
pop ecx
push 5
pop eax
jmp 0x43411c
mov esi, ebx
call fcn.00434dd5
push 0x64
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x433cb7
cmp dword [0x550334], eax
je 0x433cb3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._WARN___d___cancel_download.
call fcn.00427e2f
pop ecx
pop ecx
push 0xd
jmp 0x433c76
cmp byte [ebx + 0x30], 0
mov byte [ebp - 0x55], 1
je 0x433cee
push dword [ebx + 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
lea eax, [ebp - 0x5c]
push eax
push ebx
call fcn.00434122
push dword [eax]
call esi
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
call fcn.0040442d
mov byte [ebx + 0x30], 0
jmp 0x433f52
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
lea edi, [ebx + 0x44]
mov eax, dword [edi]
push 0x80000000
push eax
mov byte [ebp - 0x4d], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x5c], eax
cmp eax, 0xffffffff
je 0x433e69
lea esi, [ebp - 0x54]
mov eax, ebx
call fcn.00435402
xor esi, esi
mov dword [ebp - 4], esi
cmp byte [ebx + 0x9c], 0
je 0x433dd5
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x52e1d4
call fcn.004036fe
test eax, eax
je 0x433dd5
mov eax, dword [ebp - 0x54]
cmp dword [eax - 0xc], esi
jge 0x433d60
push 0x80070057
call fcn.004043ae
cmp word [eax], 0x2c
je 0x433dd5
mov eax, dword [edi]
cmp dword [eax - 4], 1
jle 0x433d77
push dword [eax - 0xc]
push edi
call fcn.0040418c
push dword [edi]
lea ecx, [ebp - 0x60]
call fcn.0043541e
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
cmp dword [eax - 0xc], esi
je 0x433dc8
push 1
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00434a23
test al, al
je 0x433dc6
cmp dword [0x550334], 0
je 0x433dc2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___check_file_md5_ok.
call fcn.00427e2f
pop ecx
pop ecx
mov byte [ebp - 0x4d], 0
xor esi, esi
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
call fcn.0040442d
jmp 0x433e3c
mov eax, dword [ebx + 0xb0]
cmp dword [eax - 0xc], esi
je 0x433e01
mov ecx, ebx
call fcn.004332db
test al, al
je 0x433e3c
cmp dword [0x550334], esi
je 0x433e38
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___check_file_verison_ok.
jmp 0x433e2b
push esi
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov eax, ebx
call fcn.0043350c
test al, al
je 0x433e3c
cmp dword [0x550334], esi
je 0x433e38
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___check_file_size_ok.
mov ecx, dword [0x550334]
call fcn.00427e2f
pop ecx
pop ecx
mov byte [ebp - 0x4d], 0
cmp dword [ebp - 0x5c], esi
je 0x433e4a
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.0040442d
cmp byte [ebp - 0x4d], 0
jne 0x433e67
xor eax, eax
inc eax
jmp 0x43411c
xor esi, esi
mov eax, dword [ebx + 0x54]
cmp byte [eax + 0x70], 0
je 0x433f52
cmp dword [0x550334], esi
je 0x433e97
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___check_file_resume.
call fcn.00427e2f
pop ecx
pop ecx
lea eax, [ebp - 0x5c]
push eax
push ebx
call fcn.00434122
mov eax, dword [eax]
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
call fcn.0040442d
cmp dword [ebp - 0x54], 0xffffffff
je 0x433f52
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x433f3a
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 0x433f3a
cmp dword [ebp - 0x60], edx
jne 0x433f3a
mov ecx, ebx
call fcn.00434377
test al, al
je 0x433f3a
cmp dword [0x550334], esi
je 0x433f36
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___check_file_resume_ok.
call fcn.00427e2f
pop ecx
pop ecx
mov byte [ebp - 0x55], 0
cmp dword [ebp - 0x54], esi
je 0x433f48
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x55], 0
je 0x4340bf
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 0x433f83
jg 0x433f7d
test edx, edx
jb 0x433f83
cmp byte [ecx + 0x70], 0
jne 0x433f87
xor esi, esi
xor edi, edi
lea eax, [ebp - 0x60]
push eax
push ebx
call fcn.00434122
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.004308e4
xor edi, edi
pop ecx
pop ecx
mov esi, eax
cmp dword [0x550334], edi
je 0x434018
push dword [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.00404526
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00428aca
pop ecx
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x433fdf
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.00427e2f
add esp, 0x14
push edi
push 1
lea ecx, [ebp - 0x4c]
call fcn.00402566
push edi
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0040482f
cmp esi, edi
je 0x4340ae
cmp esi, 2
jne 0x434072
cmp dword [0x550334], edi
je 0x434046
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._ERROR___d___disk_space_not_enough_
call fcn.00427e2f
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.004356a4
push 0xa
mov eax, dword [ebp - 0x60]
pop esi
add eax, 0xfffffff0
call fcn.0040442d
mov eax, esi
jmp 0x43411c
cmp dword [0x550334], edi
je 0x434093
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._ERROR___d___create_null_file_failed_
call fcn.00427e2f
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.004356a4
push 9
jmp 0x43405f
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
call fcn.0040442d
xor esi, esi
lea eax, [ebp - 0x68]
push eax
push ebx
call fcn.00434122
push 2
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff0
call fcn.0040442d
mov eax, ebx
call fcn.0043416c
test al, al
jne 0x434111
cmp dword [0x550334], esi
je 0x43410a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._ERROR___d___assign_download_task_failed_
call fcn.00427e2f
pop ecx
pop ecx
push 6
jmp 0x433c76
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x38], eax
xor eax, eax
call fcn.004da0a2
ret