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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f93d2
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x55a3d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea edi, [ebp - 0xbc]
call fcn.00454960
mov edi, eax
xor ebx, ebx
lea esi, [ebp - 0x84]
mov dword [ebp - 4], ebx
call fcn.00415e50
push 0x51175c
push eax
lea eax, [ebp - 0xd8]
push eax
mov byte [ebp - 4], 1
call fcn.00405010
add esp, 0xc
push eax
mov edx, str.NS_DT_
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.00405100
add esp, 4
mov ecx, eax
mov eax, edi
lea edi, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.004335a0
push eax
mov edx, str..xml
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00405100
add esp, 4
mov edi, 8
cmp dword [ebp - 0x8c], edi
jb 0x458fc1
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.004b5907
add esp, 4
mov esi, 7
xor edx, edx
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], dx
cmp dword [ebp - 0x54], edi
jb 0x458fec
mov eax, dword [ebp - 0x68]
push eax
call fcn.004b5907
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], cx
cmp dword [ebp - 0xc4], edi
jb 0x45900f
mov edx, dword [ebp - 0xd8]
push edx
call fcn.004b5907
add esp, 4
xor eax, eax
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc8], ebx
mov word [ebp - 0xd8], ax
cmp dword [ebp - 0x70], edi
jb 0x459038
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004b5907
add esp, 4
xor edx, edx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], dx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xa8], edi
jb 0x459062
mov eax, dword [ebp - 0xbc]
push eax
call fcn.004b5907
add esp, 4
mov eax, dword [ebp - 0x4c]
xor ecx, ecx
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov word [ebp - 0xbc], cx
cmp dword [ebp - 0x38], edi
jae 0x459082
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4591c5
push 1
lea ecx, [ebp - 0x4c]
call fcn.00420830
add esp, 4
cmp al, bl
jne 0x459142
lea edx, [ebp - 0x174]
push edx
call fcn.00403200
lea eax, [ebp - 0x174]
push str.NetworkService::DownloadTask::RemoveCacheFile:_Cannot_remove_cache_file:
push eax
mov byte [ebp - 4], 0xb
call fcn.00404d50
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x174]
push edx
call fcn.0041b8e0
add esp, 0x10
lea esi, [ebp - 0x30]
lea eax, [ebp - 0x174]
call fcn.00402e30
mov eax, esi
push eax
push 2
mov byte [ebp - 4], 0xc
call fcn.00423a40
add esp, 8
cmp dword [ebp - 0x1c], edi
jb 0x45910b
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004b5907
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
mov byte [ebp - 4], 0xa
call fcn.00401690
cmp dword [ebp - 0x38], edi
jb 0x45913b
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004b5907
add esp, 4
xor al, al
jmp 0x4591d8
lea ecx, [ebp - 0x174]
push ecx
call fcn.00403200
lea edx, [ebp - 0x174]
push str.NetworkService::DownloadTask::RemoveCacheFile:_Successfully_deleted_cache_file:
push edx
mov byte [ebp - 4], 0xd
call fcn.00404d50
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x174]
push ecx
call fcn.0041b8e0
add esp, 0x10
lea esi, [ebp - 0x30]
lea eax, [ebp - 0x174]
call fcn.00402e30
mov edx, esi
push edx
push 4
mov byte [ebp - 4], 0xe
call fcn.00423a40
add esp, 8
cmp dword [ebp - 0x1c], edi
jb 0x4591a6
mov eax, dword [ebp - 0x30]
push eax
call fcn.004b5907
add esp, 4
xor ecx, ecx
mov word [ebp - 0x30], cx
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 0xa
call fcn.00401690
cmp dword [ebp - 0x38], edi
jb 0x4591d6
mov edx, dword [ebp - 0x4c]
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 - 0x14]
xor ecx, ebp
call fcn.004b58f8
mov esp, ebp
pop ebp
ret 4