Function at 0x101a47e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10240425
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x102e91c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4c], esi
lea edi, [esi + 0x84]
lea edx, [esi + 0x1c0]
cmp edx, edi
je 0x101a483a
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x101a4829
mov eax, dword [edi]
push dword [edi + 0x10]
mov ecx, edx
push eax
call fcn.10010360
lea edx, [esi + 0x1c0]
cmp dword [edx + 0x14], 8
mov dword [ebp - 0x48], edx
jb 0x101a4848
mov eax, dword [edx]
mov dword [ebp - 0x48], eax
mov eax, dword [edx + 0x10]
test eax, eax
je 0x101a487b
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 0x101a4875
cmp eax, ecx
je 0x101a487b
sub eax, 2
cmp word [eax], 0x2f
jne 0x101a4868
sub eax, ecx
sar eax, 1
jmp 0x101a487e
or eax, 0xffffffff
cmp dword [edx + 0x10], eax
mov ecx, edx
mov dword [ebp - 0x64], 0
cmovb eax, dword [edx + 0x10]
cmp dword [edx + 0x14], 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
jb 0x101a48a4
mov ecx, dword [edx]
push eax
push ecx
lea ecx, [ebp - 0x64]
call fcn.1000aef0
lea eax, [ebp - 0x64]
lea ecx, [esi + 0x1c0]
cmp ecx, eax
je 0x101a48ec
call fcn.1000ae90
movups xmm0, xmmword [ebp - 0x64]
xor eax, eax
mov word [ebp - 0x64], ax
movups xmmword [esi + 0x1c0], xmm0
movq xmm0, qword [ebp - 0x54]
movq qword [esi + 0x1d0], xmm0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
lea ecx, [ebp - 0x64]
call fcn.1000ae90
mov eax, dword [esi + 0x68]
cmp eax, 3
ja case.default.0x101a4900
jmp dword [eax*4 + 0x101a4db8]
lea ecx, [esi + 0x1f0]
cmp ecx, edi
je 0x101a4924
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x101a491b
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
call fcn.10010360
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1014d3c0
test al, al
jne 0x101a4980
call fcn.101ab7d0
cmp dword [eax], 0
je 0x101a4b55
call fcn.101ab7d0
push str.Failed_to_get_temp_location_for_download_operations
jmp 0x101a4b3b
lea ecx, [ebp - 0x40]
call fcn.1016d110
test al, al
jne 0x101a49a9
call fcn.101ab7d0
cmp dword [eax], 0
je 0x101a4b55
call fcn.101ab7d0
push str.Failed_to_generate_GUIDString_for_download_operations
jmp 0x101a4b3b
call fcn.101ab7d0
cmp dword [eax], 0
je 0x101a49e1
call fcn.101ab7d0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
mov edx, dword [eax]
push ecx
push str.GUID_String_generated_for_download_operations_is__s
push edx
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1024852c]
call esi
mov esi, dword [ebp - 0x4c]
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x101a4b27
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x101a4b27
add ecx, 0xb
mov edx, 2
add eax, ecx
xor ecx, ecx
mov dword [ebp - 0x4c], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101dc6a1
mov edi, eax
add esp, 4
test edi, edi
je 0x101a4b27
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
push dword [ebp - 0x4c]
push edi
call fcn.101dc63d
add esp, 0xc
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, edi
cmp eax, 1
sete byte [ebp - 0x41]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x101a4a60
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.10010360
push edi
call fcn.101dbd83
add esp, 4
cmp byte [ebp - 0x41], 0
je 0x101a4b27
push ecx
lea ecx, [ebp - 0x28]
call fcn.1014e6f0
add esp, 4
test al, al
jne 0x101a4adc
call fcn.101ab7d0
cmp dword [eax], 0
je 0x101a4b55
call fcn.101ab7d0
cmp dword [ebp - 0x14], 8
mov ecx, dword [eax]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Failed_to_create_directory_at__s
mov esi, dword [ecx]
push str.PackageDownloadManager
push ecx
mov esi, dword [esi + 0x24]
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x10
jmp 0x101a4b55
lea ecx, [esi + 0x1d8]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x101a4afa
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10010360
lea ecx, [ebp - 0x40]
call fcn.1000ae90
lea ecx, [ebp - 0x28]
call fcn.1000ae90
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101cff65
mov esp, ebp
pop ebp
ret
call fcn.101ab7d0
cmp dword [eax], 0
je 0x101a4b55
call fcn.101ab7d0
push str.Failed_to_append_GUID_String_to_temp_path
mov eax, dword [eax]
push str.PackageDownloadManager
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x24]
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.1000ae90
lea ecx, [ebp - 0x28]
call fcn.1000ae90
xor al, al
jmp 0x101a4b0c
cmp dword [esi + 0xe0], 8
lea edi, [esi + 0xcc]
mov eax, edi
jb 0x101a4b7c
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x101a4c10
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x101a4b95
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
lea ecx, [esi + 0x280]
lea eax, [esi + 0x84]
cmp ecx, eax
je 0x101a4bbf
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x101a4bb6
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10010360
lea eax, [esi + 0x9c]
lea ecx, [esi + 0x298]
cmp ecx, eax
je 0x101a4be2
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x101a4bd9
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10010360
lea eax, [esi + 0x1d8]
cmp eax, edi
je 0x101a4c91
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x101a4bfa
mov eax, dword [edi]
push dword [edi + 0x10]
lea edi, [esi + 0x1d8]
push eax
mov ecx, edi
call fcn.10010360
jmp 0x101a4c97
call fcn.101ab7d0
cmp dword [eax], 0
je 0x101a4c3c
call fcn.101ab7d0
push str.operation_location_does_not_exist_so_making_one.
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x1024852c]
call esi
mov esi, dword [ebp - 0x4c]
add esp, 8
push ecx
mov ecx, edi
call fcn.1014e6f0
add esp, 4
test al, al
jne 0x101a4b9c
call fcn.101ab7d0
cmp dword [eax], 0
je 0x101a4dae
call fcn.101ab7d0
cmp dword [edi + 0x14], 8
mov eax, dword [eax]
jb 0x101a4c6c
mov edi, dword [edi]
mov esi, dword [eax]
push edi
push str.Filed_to_create_directory_at_path:__s
push str.PackageDownloadManager
mov esi, dword [esi + 0x24]
mov ecx, esi
push eax
call dword [0x1024852c]
call esi
add esp, 0x10
xor al, al
jmp 0x101a4b0c
lea edi, [esi + 0x1d8]
cmp dword [esi + 0xf4], 0
lea ecx, [esi + 0x2b0]
jne 0x101a4cb5
push ecx
lea eax, [esi + 0x280]
push eax
call fcn.101a87a0
jmp 0x101a4cd2
lea eax, [esi + 0xe4]
cmp ecx, eax
je 0x101a4cd2
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x101a4cc9
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10010360
lea eax, [esi + 0x2c8]
cmp eax, edi
je 0x101a4cf7
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x101a4ce6
mov ecx, dword [edi]
push dword [edi + 0x10]
push ecx
mov ecx, eax
call fcn.10010360
lea eax, [esi + 0x2c8]
push ecx
lea edx, [esi + 0x2b0]
mov ecx, eax
call fcn.1014e1f0
add esp, 4
jmp case.default.0x101a4900
cmp dword [esi + 0xe0], 8
lea edi, [esi + 0xcc]
mov eax, edi
jb 0x101a4d20
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x101a4d85
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x101a4d35
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
lea eax, [esi + 0xb4]
lea ecx, [esi + 0x238]
cmp ecx, eax
je 0x101a4d5f
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x101a4d56
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10010360
lea ecx, [esi + 0x1d8]
cmp ecx, edi
je case.default.0x101a4900
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x101a4d77
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
call fcn.10010360
jmp case.default.0x101a4900
call fcn.101ab7d0
cmp dword [eax], 0
je 0x101a4dae
call fcn.101ab7d0
push str.operation_location_does_not_exist.
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 8
xor al, al
jmp 0x101a4b0c