Function at 0x458c40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fba61
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x55a3d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x48]
push eax
mov edi, ecx
call fcn.00457db0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x48]
mov ebx, 8
cmp dword [ebp - 0x34], ebx
jae 0x458c90
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x458e1d
push 1
lea ecx, [ebp - 0x48]
call fcn.00420830
add esp, 4
test al, al
jne 0x458d64
lea ecx, [ebp - 0x100]
push ecx
call fcn.00403200
lea edx, [ebp - 0x100]
push str.NetworkService::DownloadTask::RemoveDownloadedFile
push edx
mov byte [ebp - 4], 1
call fcn.00404d50
lea eax, [ebp - 0x100]
push str.:_Cannot_remove_the_downloaded_file:
push eax
call fcn.00404d50
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x100]
push edx
call fcn.0041b8e0
add esp, 0x18
lea esi, [ebp - 0x2c]
lea eax, [ebp - 0x100]
call fcn.00402e30
mov eax, esi
push eax
push 2
mov byte [ebp - 4], 2
call fcn.00423a40
add esp, 8
cmp dword [ebp - 0x18], ebx
jb 0x458d2a
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b5907
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
mov byte [ebp - 4], dl
call fcn.00401690
cmp dword [ebp - 0x34], ebx
jb 0x458d5d
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b5907
add esp, 4
xor al, al
jmp 0x458ee4
mov ecx, edi
call fcn.004586e0
test al, al
jne 0x458e1d
lea ecx, [ebp - 0x64]
push ecx
mov ecx, edi
call fcn.00457cb0
mov esi, eax
lea edx, [ebp - 0x100]
push edx
mov byte [ebp - 4], 3
call fcn.00403200
lea eax, [ebp - 0x100]
push str.NetworkService::DownloadTask::RemoveDownloadedFile:_Failed_to_delete_folder
push eax
mov byte [ebp - 4], 4
call fcn.00404d50
lea ecx, [ebp - 0x100]
push esi
push ecx
call fcn.0041b8e0
add esp, 0x10
lea esi, [ebp - 0x2c]
lea eax, [ebp - 0x100]
call fcn.00402e30
mov edx, esi
push edx
push 2
mov byte [ebp - 4], 5
call fcn.00423a40
add esp, 8
cmp dword [ebp - 0x18], ebx
jb 0x458de5
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b5907
add esp, 4
xor ecx, ecx
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 3
call fcn.00401690
mov byte [ebp - 4], 0
cmp dword [ebp - 0x50], ebx
jb 0x458e1d
mov edx, dword [ebp - 0x64]
push edx
call fcn.004b5907
add esp, 4
push edi
lea edi, [ebp - 0x64]
call fcn.00454960
mov esi, eax
lea eax, [ebp - 0x100]
push eax
mov byte [ebp - 4], 6
call fcn.00403200
lea ecx, [ebp - 0x100]
push str.NetworkService::DownloadTask::RemoveDownloadedFile
push ecx
mov byte [ebp - 4], 7
call fcn.00404d50
lea edx, [ebp - 0x100]
push str.:_Successfully_finished_cleaning_up_of_task
push edx
call fcn.00404d50
lea eax, [ebp - 0x100]
push esi
push eax
call fcn.0041b8e0
add esp, 0x18
lea esi, [ebp - 0x2c]
lea eax, [ebp - 0x100]
call fcn.00402e30
mov ecx, esi
push ecx
push 3
mov byte [ebp - 4], bl
call fcn.00423a40
add esp, 8
cmp dword [ebp - 0x18], ebx
jb 0x458e9d
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b5907
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 6
call fcn.00401690
cmp dword [ebp - 0x50], ebx
jb 0x458ed1
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b5907
add esp, 4
cmp dword [ebp - 0x34], ebx
jb 0x458ee2
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b5907
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b58f8
mov esp, ebp
pop ebp
ret