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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a125
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x580b30]
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]
lea ecx, [ebp - 0x84]
push ecx
push eax
call fcn.0044b8d0
mov ebx, eax
lea edi, [ebp - 0x68]
mov dword [ebp - 4], 0
call fcn.0040e610
push 0x53335c
push eax
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 1
call fcn.00405480
add esp, 0xc
push eax
mov edx, str.NS_DT_
lea esi, [ebp - 0xd8]
mov byte [ebp - 4], 2
call fcn.004053f0
add esp, 4
mov ecx, eax
mov eax, ebx
lea edi, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.00435560
push eax
mov edx, str..xml
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.004053f0
add esp, 4
mov esi, 8
cmp dword [ebp - 0x8c], esi
jb 0x459661
mov eax, dword [ebp - 0xa0]
push eax
call fcn.00469e1a
add esp, 4
mov ebx, 7
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x90], edi
mov word [ebp - 0xa0], cx
cmp dword [ebp - 0xc4], esi
jb 0x459694
mov edx, dword [ebp - 0xd8]
push edx
call fcn.00469e1a
add esp, 4
xor eax, eax
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc8], edi
mov word [ebp - 0xd8], ax
cmp dword [ebp - 0x38], esi
jb 0x4596ba
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00469e1a
add esp, 4
xor edx, edx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], dx
cmp dword [ebp - 0x54], esi
jb 0x4596d7
mov eax, dword [ebp - 0x68]
push eax
call fcn.00469e1a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], edi
mov word [ebp - 0x68], cx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x70], esi
jb 0x4596fb
mov edx, dword [ebp - 0x84]
push edx
call fcn.00469e1a
add esp, 4
xor eax, eax
mov word [ebp - 0x84], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], edi
cmp dword [ebp - 0x1c], esi
jae 0x459715
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45984a
push 1
lea ecx, [ebp - 0x30]
call fcn.00417b70
add esp, 4
test al, al
jne 0x4597ce
lea ecx, [ebp - 0x184]
push ecx
call fcn.00402bd0
lea edx, [ebp - 0x30]
push edx
push ecx
lea eax, [ebp - 0x174]
push str.NetworkService::DownloadTask::RemoveCacheFile:_Cannot_remove_cache_file:
push eax
mov byte [ebp - 4], 0xb
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00413550
add esp, 8
lea ecx, [ebp - 0xbc]
lea eax, [ebp - 0x184]
call fcn.00402c70
push eax
push 2
mov byte [ebp - 4], 0xc
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
cmp dword [ebp - 0xa8], esi
jb 0x4597a7
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.00469e1a
add esp, 4
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 0xa
call fcn.00401820
cmp dword [ebp - 0x1c], esi
jb 0x4597c7
mov edx, dword [ebp - 0x30]
push edx
call fcn.00469e1a
add esp, 4
xor al, al
jmp 0x45985d
lea eax, [ebp - 0x184]
push eax
call fcn.00402bd0
lea ecx, [ebp - 0x30]
push ecx
push ecx
lea edx, [ebp - 0x174]
push str.NetworkService::DownloadTask::RemoveCacheFile:_Successfully_deleted_cache_file:
push edx
mov byte [ebp - 4], 0xd
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00413550
add esp, 8
lea ecx, [ebp - 0xbc]
lea eax, [ebp - 0x184]
call fcn.00402c70
push eax
push 4
mov byte [ebp - 4], 0xe
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
cmp dword [ebp - 0xa8], esi
jb 0x45983b
mov eax, dword [ebp - 0xbc]
push eax
call fcn.00469e1a
add esp, 4
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 0xa
call fcn.00401820
cmp dword [ebp - 0x1c], esi
jb 0x45985b
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00469e1a
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.004d31b7
mov esp, ebp
pop ebp
ret 4