Function at 0x6a0b00
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74c060
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x857060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x84]
lea edx, [edi + 0x1c0]
cmp edx, esi
je 0x6a0b6b
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x6a0b5a
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edx
push eax
call fcn.00426d40
lea edx, [edi + 0x1c0]
cmp dword [edx + 0x14], 8
mov dword [ebp - 0x48], edx
jb 0x6a0b79
mov eax, dword [edx]
mov dword [ebp - 0x48], eax
mov eax, dword [edx + 0x10]
test eax, eax
je 0x6a0bb3
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [ebp - 0x48]
cmp word [eax + ecx*2], 0x2f
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x48]
je 0x6a0bad
nop dword [eax]
cmp eax, ecx
je 0x6a0bb3
sub eax, 2
cmp word [eax], 0x2f
jne 0x6a0ba0
sub eax, ecx
sar eax, 1
jmp 0x6a0bb6
or eax, 0xffffffff
xor ecx, ecx
mov dword [ebp - 0x50], 0
cmp dword [edx + 0x10], eax
mov word [ebp - 0x60], cx
mov ecx, edx
cmovb eax, dword [edx + 0x10]
cmp dword [edx + 0x14], 8
mov dword [ebp - 0x4c], 7
jb 0x6a0bdb
mov ecx, dword [edx]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.00426d40
lea eax, [ebp - 0x60]
lea ecx, [edi + 0x1c0]
cmp ecx, eax
je 0x6a0c23
call fcn.00426ce0
movups xmm0, xmmword [ebp - 0x60]
xor eax, eax
mov word [ebp - 0x60], ax
movups xmmword [edi + 0x1c0], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [edi + 0x1d0], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
lea ecx, [ebp - 0x60]
call fcn.00426ce0
mov eax, dword [edi + 0x68]
cmp eax, 3
ja case.default.0x6a0c37
jmp dword [eax*4 + 0x6a1024]
lea ecx, [edi + 0x1f0]
cmp ecx, esi
je 0x6a0c5b
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x6a0c52
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00426d40
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00650c90
test al, al
jne 0x6a0cbd
call fcn.006a6f40
cmp dword [eax], 0
je 0x6a0d9a
call fcn.006a6f40
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 0x6a0d9a
lea ecx, [ebp - 0x44]
call fcn.0054e590
test al, al
jne 0x6a0cf6
call fcn.006a6f40
cmp dword [eax], 0
je 0x6a0d9a
call fcn.006a6f40
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 0x6a0d9a
call fcn.006a6f40
cmp dword [eax], 0
je 0x6a0d21
call fcn.006a6f40
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
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 - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.00651b80
add esp, 4
test al, al
jne 0x6a0d5a
call fcn.006a6f40
cmp dword [eax], 0
je 0x6a0d9a
call fcn.006a6f40
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 0x6a0d9a
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00652e10
add esp, 4
test al, al
jne 0x6a0dae
call fcn.006a6f40
cmp dword [eax], 0
je 0x6a0d9a
call fcn.006a6f40
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
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
lea ecx, [ebp - 0x44]
call fcn.00426ce0
lea ecx, [ebp - 0x2c]
call fcn.00426ce0
xor al, al
jmp 0x6a0dde
lea ecx, [edi + 0x1d8]
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x6a0dcc
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00426d40
lea ecx, [ebp - 0x44]
call fcn.00426ce0
lea ecx, [ebp - 0x2c]
call fcn.00426ce0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006d0965
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [edi + 0xe0], 8
lea esi, [edi + 0xcc]
mov eax, esi
jb 0x6a0e0f
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x6a0ea0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x6a0e28
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
lea ecx, [edi + 0x280]
lea eax, [edi + 0x84]
cmp ecx, eax
je 0x6a0e52
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x6a0e49
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00426d40
lea eax, [edi + 0x9c]
lea ecx, [edi + 0x298]
cmp ecx, eax
je 0x6a0e75
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x6a0e6c
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00426d40
lea eax, [edi + 0x1d8]
cmp eax, esi
je 0x6a0f0a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x6a0e8d
mov eax, dword [esi]
push dword [esi + 0x10]
lea esi, [edi + 0x1d8]
push eax
mov ecx, esi
call fcn.00426d40
jmp 0x6a0f10
call fcn.006a6f40
cmp dword [eax], 0
je 0x6a0ebf
call fcn.006a6f40
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, esi
call fcn.00652e10
add esp, 4
test al, al
jne 0x6a0e2f
call fcn.006a6f40
cmp dword [eax], 0
je 0x6a101d
call fcn.006a6f40
cmp dword [esi + 0x14], 8
mov ecx, dword [eax]
jb 0x6a0eef
mov esi, dword [esi]
mov eax, dword [ecx]
push esi
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 0x6a0dde
lea esi, [edi + 0x1d8]
cmp dword [edi + 0xf4], 0
lea ecx, [edi + 0x2b0]
jne 0x6a0f2e
push ecx
lea eax, [edi + 0x280]
push eax
call fcn.006a4340
jmp 0x6a0f4b
lea eax, [edi + 0xe4]
cmp ecx, eax
je 0x6a0f4b
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x6a0f42
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00426d40
lea eax, [edi + 0x2c8]
cmp eax, esi
je 0x6a0f70
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x6a0f5f
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.00426d40
lea eax, [edi + 0x2c8]
push ecx
lea edx, [edi + 0x2b0]
mov ecx, eax
call fcn.00651b80
add esp, 4
jmp case.default.0x6a0c37
cmp dword [edi + 0xe0], 8
lea esi, [edi + 0xcc]
mov eax, esi
jb 0x6a0f99
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x6a0ffe
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x6a0fae
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
lea eax, [edi + 0xb4]
lea ecx, [edi + 0x238]
cmp ecx, eax
je 0x6a0fd8
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x6a0fcf
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00426d40
lea ecx, [edi + 0x1d8]
cmp ecx, esi
je case.default.0x6a0c37
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x6a0ff0
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00426d40
jmp case.default.0x6a0c37
call fcn.006a6f40
cmp dword [eax], 0
je 0x6a101d
call fcn.006a6f40
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 0x6a0dde