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

Disassembly:
push 0x5c
mov eax, 0x507c04
call fcn.004d998f
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.004370ea
mov ecx, dword [ebx + 0x54]
call fcn.004376a8
test al, al
jne 0x43367a
cmp dword [0x5500d4], 0
je 0x433672
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._ERROR___d___get_remote_site_info_failed_
call fcn.00427581
pop ecx
pop ecx
push 5
pop eax
jmp 0x433b1a
mov esi, ebx
call fcn.004347d3
push 0x64
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4336b5
cmp dword [0x5500d4], eax
je 0x4336b1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._WARN___d___cancel_download.
call fcn.00427581
pop ecx
pop ecx
push 0xd
jmp 0x433674
cmp byte [ebx + 0x30], 0
mov byte [ebp - 0x55], 1
je 0x4336ec
push dword [ebx + 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
lea eax, [ebp - 0x5c]
push eax
push ebx
call fcn.00433b20
push dword [eax]
call esi
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
call fcn.00403e7d
mov byte [ebx + 0x30], 0
jmp 0x433950
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 0x433867
lea esi, [ebp - 0x54]
mov eax, ebx
call fcn.00434e00
xor esi, esi
mov dword [ebp - 4], esi
cmp byte [ebx + 0x9c], 0
je 0x4337d3
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x52e1e4
call fcn.004030fe
test eax, eax
je 0x4337d3
mov eax, dword [ebp - 0x54]
cmp dword [eax - 0xc], esi
jge 0x43375e
push 0x80070057
call fcn.00403dfe
cmp word [eax], 0x2c
je 0x4337d3
mov eax, dword [edi]
cmp dword [eax - 4], 1
jle 0x433775
push dword [eax - 0xc]
push edi
call fcn.00403b8c
push dword [edi]
lea ecx, [ebp - 0x60]
call fcn.00434e1c
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
cmp dword [eax - 0xc], esi
je 0x4337c6
push 1
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00434421
test al, al
je 0x4337c4
cmp dword [0x5500d4], 0
je 0x4337c0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._INFO___d___check_file_md5_ok.
call fcn.00427581
pop ecx
pop ecx
mov byte [ebp - 0x4d], 0
xor esi, esi
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
call fcn.00403e7d
jmp 0x43383a
mov eax, dword [ebx + 0xb0]
cmp dword [eax - 0xc], esi
je 0x4337ff
mov ecx, ebx
call fcn.00432cb0
test al, al
je 0x43383a
cmp dword [0x5500d4], esi
je 0x433836
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___check_file_verison_ok.
jmp 0x433829
push esi
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov eax, ebx
call fcn.00432ee1
test al, al
je 0x43383a
cmp dword [0x5500d4], esi
je 0x433836
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___check_file_size_ok.
mov ecx, dword [0x5500d4]
call fcn.00427581
pop ecx
pop ecx
mov byte [ebp - 0x4d], 0
cmp dword [ebp - 0x5c], esi
je 0x433848
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.00403e7d
cmp byte [ebp - 0x4d], 0
jne 0x433865
xor eax, eax
inc eax
jmp 0x433b1a
xor esi, esi
mov eax, dword [ebx + 0x54]
cmp byte [eax + 0x70], 0
je 0x433950
cmp dword [0x5500d4], esi
je 0x433895
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._INFO___d___check_file_resume.
call fcn.00427581
pop ecx
pop ecx
lea eax, [ebp - 0x5c]
push eax
push ebx
call fcn.00433b20
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.00403e7d
cmp dword [ebp - 0x54], 0xffffffff
je 0x433950
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x433938
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 0x433938
cmp dword [ebp - 0x60], edx
jne 0x433938
mov ecx, ebx
call fcn.00433d75
test al, al
je 0x433938
cmp dword [0x5500d4], esi
je 0x433934
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._INFO___d___check_file_resume_ok.
call fcn.00427581
pop ecx
pop ecx
mov byte [ebp - 0x55], 0
cmp dword [ebp - 0x54], esi
je 0x433946
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x55], 0
je 0x433abd
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 0x433981
jg 0x43397b
test edx, edx
jb 0x433981
cmp byte [ecx + 0x70], 0
jne 0x433985
xor esi, esi
xor edi, edi
lea eax, [ebp - 0x60]
push eax
push ebx
call fcn.00433b20
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.004302b9
xor edi, edi
pop ecx
pop ecx
mov esi, eax
cmp dword [0x5500d4], edi
je 0x433a16
push dword [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.0040edaa
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00428265
pop ecx
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x4339dd
mov eax, dword [eax]
push dword [ebp - 0x54]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._INFO___d___create_null_file__s___ret__d___d_.
call fcn.00427581
add esp, 0x14
push edi
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040241d
push edi
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00403da4
cmp esi, edi
je 0x433aac
cmp esi, 2
jne 0x433a70
cmp dword [0x5500d4], edi
je 0x433a44
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._ERROR___d___disk_space_not_enough_
call fcn.00427581
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.004350a2
push 0xa
mov eax, dword [ebp - 0x60]
pop esi
add eax, 0xfffffff0
call fcn.00403e7d
mov eax, esi
jmp 0x433b1a
cmp dword [0x5500d4], edi
je 0x433a91
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._ERROR___d___create_null_file_failed_
call fcn.00427581
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.004350a2
push 9
jmp 0x433a5d
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
call fcn.00403e7d
xor esi, esi
lea eax, [ebp - 0x68]
push eax
push ebx
call fcn.00433b20
push 2
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff0
call fcn.00403e7d
mov eax, ebx
call fcn.00433b6a
test al, al
jne 0x433b0f
cmp dword [0x5500d4], esi
je 0x433b08
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._ERROR___d___assign_download_task_failed_
call fcn.00427581
pop ecx
pop ecx
push 6
jmp 0x433674
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x38], eax
xor eax, eax
call fcn.004d9a12
ret