Function at 0x467ca0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bd16
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x60a070]
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
mov esi, ecx
lea ebx, [esi + 0x78]
lea edi, [esi + 0x178]
cmp edi, ebx
je 0x467ce6
push 0xffffffffffffffff
push 0
push ebx
mov ecx, edi
call fcn.00414130
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x2f
push eax
mov ecx, edi
call fcn.004325e0
push eax
push 0
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call fcn.0041da20
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp edi, ecx
je 0x467d50
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x467d29
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00414580
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x467d41
mov eax, dword [edi]
jmp 0x467d43
mov eax, edi
xor edx, edx
push ecx
mov ecx, edi
mov word [eax], dx
call fcn.00413e10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x467d6c
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00414580
mov eax, dword [esi + 0x5c]
sub eax, 0
je 0x467f37
sub eax, 1
je 0x467e1a
sub eax, 1
jne 0x4680f7
cmp dword [esi + 0xbc], 8
lea edi, [esi + 0xa8]
jb 0x467d9d
mov eax, dword [edi]
jmp 0x467d9f
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x467df4
cmp dword [edi + 0x14], 8
jb 0x467db4
mov eax, dword [edi]
jmp 0x467db6
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
lea eax, [esi + 0x90]
lea ecx, [esi + 0x1f0]
cmp ecx, eax
je 0x467dd7
push 0xffffffffffffffff
push 0
push eax
call fcn.00414130
lea ecx, [esi + 0x190]
cmp ecx, edi
je 0x4680f7
push 0xffffffffffffffff
push 0
push edi
call fcn.00414130
jmp 0x4680f7
call fcn.00467600
cmp dword [eax], 0
je 0x467e13
call fcn.00467600
push str.operation_location_does_not_exist.
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
add esp, 8
xor al, al
jmp 0x4680f9
cmp dword [esi + 0xbc], 8
lea edi, [esi + 0xa8]
jb 0x467e2d
mov eax, dword [edi]
jmp 0x467e2f
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x467e97
cmp dword [edi + 0x14], 8
jb 0x467e44
mov eax, dword [edi]
jmp 0x467e46
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
lea eax, [esi + 0x238]
cmp eax, ebx
je 0x467e63
push 0xffffffffffffffff
push 0
push ebx
mov ecx, eax
call fcn.00414130
lea ebx, [esi + 0x190]
cmp ebx, edi
je 0x467e79
push 0xffffffffffffffff
push 0
push edi
mov ecx, ebx
call fcn.00414130
cmp dword [esi + 0xd0], 0
lea edi, [esi + 0x250]
jne 0x467ef9
push edi
lea eax, [esi + 0x238]
push eax
call fcn.0046bfa0
jmp 0x467f0f
call fcn.00467600
cmp dword [eax], 0
je 0x467eb6
call fcn.00467600
push str.operation_location_does_not_exist_so_making_one.
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
add esp, 8
push ecx
mov ecx, edi
call fcn.00500fb0
add esp, 4
test al, al
jne 0x467e4d
call fcn.00467600
cmp dword [eax], 0
je 0x467ef2
call fcn.00467600
cmp dword [edi + 0x14], 8
mov ecx, dword [eax]
jb 0x467ede
mov edi, dword [edi]
mov eax, dword [ecx]
push edi
push str.Filed_to_create_directory_at_path:__s
push str.PackageDownloadManager
push ecx
call dword [eax + 0x24]
add esp, 0x10
xor al, al
jmp 0x4680f9
lea eax, [esi + 0xc0]
cmp edi, eax
je 0x467f0f
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00414130
add esi, 0x268
cmp esi, ebx
je 0x467f25
push 0xffffffffffffffff
push 0
push ebx
mov ecx, esi
call fcn.00414130
push ecx
mov edx, edi
mov ecx, esi
call fcn.00500ee0
add esp, 4
jmp 0x4680f7
lea ecx, [esi + 0x1a8]
cmp ecx, ebx
je 0x467f4b
push 0xffffffffffffffff
push 0
push ebx
call fcn.00414130
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00500a10
test al, al
jne 0x467fb1
call fcn.00467600
cmp dword [eax], 0
je 0x46808e
call fcn.00467600
push str.Failed_to_get_temp_location_for_download_operations
push str.PackageDownloadManager
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
add esp, 0xc
jmp 0x46808e
lea ecx, [ebp - 0x2c]
call fcn.00413340
test al, al
jne 0x467fea
call fcn.00467600
cmp dword [eax], 0
je 0x46808e
call fcn.00467600
push str.Failed_to_generate_GUIDString_for_download_operations
push str.PackageDownloadManager
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
add esp, 0xc
jmp 0x46808e
call fcn.00467600
cmp dword [eax], 0
je 0x468015
call fcn.00467600
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
mov edx, dword [eax]
push ecx
push str.GUID_String_generated_for_download_operations_is__s
push edx
mov eax, dword [edx]
call dword [eax + 4]
add esp, 0xc
push ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.00500ee0
add esp, 4
test al, al
jne 0x46804e
call fcn.00467600
cmp dword [eax], 0
je 0x46808e
call fcn.00467600
push str.Failed_to_append_GUID_String_to_temp_path
push str.PackageDownloadManager
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
add esp, 0xc
jmp 0x46808e
push ecx
lea ecx, [ebp - 0x44]
call fcn.00500fb0
add esp, 4
test al, al
jne 0x4680d0
call fcn.00467600
cmp dword [eax], 0
je 0x46808e
call fcn.00467600
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
mov edx, dword [eax]
push ecx
push str.Failed_to_create_directory_at__s
push str.PackageDownloadManager
mov eax, dword [edx]
push edx
call dword [eax + 0x24]
add esp, 0x10
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4680a3
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00414580
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
cmp eax, 8
jb 0x4680cc
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00414580
xor al, al
jmp 0x4680f9
lea ecx, [esi + 0x190]
lea eax, [ebp - 0x44]
cmp ecx, eax
je 0x4680e7
push 0xffffffffffffffff
push 0
push eax
call fcn.00414130
lea ecx, [ebp - 0x2c]
call fcn.004137d0
lea ecx, [ebp - 0x44]
call fcn.004137d0
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.0055eeb4
mov esp, ebp
pop ebp
ret