Function at 0x1010e020
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10185830
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x101e42fc]
xor eax, ebp
mov dword [ebp - 0x10], 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 0x1010e077
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1010e066
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edx
push eax
call fcn.10001c20
lea edx, [edi + 0x1c0]
cmp dword [edx + 0x14], 8
mov dword [ebp - 0x44], edx
jb 0x1010e085
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
mov eax, dword [edx + 0x10]
test eax, eax
je 0x1010e0b8
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [ebp - 0x44]
cmp word [eax + ecx*2], 0x2f
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x44]
je 0x1010e0b2
cmp eax, ecx
je 0x1010e0b8
sub eax, 2
cmp word [eax], 0x2f
jne 0x1010e0a5
sub eax, ecx
sar eax, 1
jmp 0x1010e0bb
or eax, 0xffffffff
xor ecx, ecx
mov dword [ebp - 0x4c], 0
cmp dword [edx + 0x10], eax
mov word [ebp - 0x5c], cx
mov ecx, edx
cmovb eax, dword [edx + 0x10]
cmp dword [edx + 0x14], 8
mov dword [ebp - 0x48], 7
jb 0x1010e0e0
mov ecx, dword [edx]
push eax
push ecx
lea ecx, [ebp - 0x5c]
call fcn.10001c20
lea eax, [ebp - 0x5c]
lea ecx, [edi + 0x1c0]
cmp ecx, eax
je 0x1010e128
call fcn.10001bc0
movups xmm0, xmmword [ebp - 0x5c]
xor eax, eax
mov word [ebp - 0x5c], ax
movups xmmword [edi + 0x1c0], xmm0
movq xmm0, qword [ebp - 0x4c]
movq qword [edi + 0x1d0], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
lea ecx, [ebp - 0x5c]
call fcn.10001bc0
mov eax, dword [edi + 0x68]
cmp eax, 3
ja case.default.0x1010e13c
jmp dword [eax*4 + 0x1010e52c]
lea ecx, [edi + 0x1f0]
cmp ecx, esi
je 0x1010e160
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1010e157
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.10001c20
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 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.100e02a0
test al, al
jne 0x1010e1c2
call fcn.1010dbe0
cmp dword [eax], 0
je 0x1010e2a2
call fcn.1010dbe0
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 0x1010e2a2
lea ecx, [ebp - 0x40]
call fcn.100e5b80
test al, al
jne 0x1010e1fb
call fcn.1010dbe0
cmp dword [eax], 0
je 0x1010e2a2
call fcn.1010dbe0
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 0x1010e2a2
call fcn.1010dbe0
cmp dword [eax], 0
je 0x1010e226
call fcn.1010dbe0
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]
call dword [eax + 4]
add esp, 0xc
push 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100e1150
add esp, 0xc
test al, al
jne 0x1010e262
call fcn.1010dbe0
cmp dword [eax], 0
je 0x1010e2a2
call fcn.1010dbe0
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 0x1010e2a2
push ecx
lea ecx, [ebp - 0x28]
call fcn.100e1a10
add esp, 4
test al, al
jne 0x1010e2b6
call fcn.1010dbe0
cmp dword [eax], 0
je 0x1010e2a2
call fcn.1010dbe0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
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 - 0x40]
call fcn.10001bc0
lea ecx, [ebp - 0x28]
call fcn.10001bc0
xor al, al
jmp 0x1010e2e6
lea ecx, [edi + 0x1d8]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x1010e2d4
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10001c20
lea ecx, [ebp - 0x40]
call fcn.10001bc0
lea ecx, [ebp - 0x28]
call fcn.10001bc0
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.1014d1d5
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0xe0], 8
lea esi, [edi + 0xcc]
mov eax, esi
jb 0x1010e314
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1010e3a5
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1010e32d
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 0x1010e357
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x1010e34e
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10001c20
lea eax, [edi + 0x9c]
lea ecx, [edi + 0x298]
cmp ecx, eax
je 0x1010e37a
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x1010e371
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10001c20
lea eax, [edi + 0x1d8]
cmp eax, esi
je 0x1010e40f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1010e392
mov eax, dword [esi]
push dword [esi + 0x10]
lea esi, [edi + 0x1d8]
push eax
mov ecx, esi
call fcn.10001c20
jmp 0x1010e415
call fcn.1010dbe0
cmp dword [eax], 0
je 0x1010e3c4
call fcn.1010dbe0
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.100e1a10
add esp, 4
test al, al
jne 0x1010e334
call fcn.1010dbe0
cmp dword [eax], 0
je 0x1010e523
call fcn.1010dbe0
cmp dword [esi + 0x14], 8
mov ecx, dword [eax]
jb 0x1010e3f4
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 0x1010e2e6
lea esi, [edi + 0x1d8]
cmp dword [edi + 0xf4], 0
lea ecx, [edi + 0x2b0]
jne 0x1010e433
push ecx
lea eax, [edi + 0x280]
push eax
call fcn.10111be0
jmp 0x1010e450
lea eax, [edi + 0xe4]
cmp ecx, eax
je 0x1010e450
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x1010e447
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10001c20
lea eax, [edi + 0x2c8]
cmp eax, esi
je 0x1010e46f
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x1010e464
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.10001c20
push 0
lea eax, [edi + 0x2b0]
push eax
lea eax, [edi + 0x2c8]
push eax
call fcn.100e1150
add esp, 0xc
jmp case.default.0x1010e13c
cmp dword [edi + 0xe0], 8
lea esi, [edi + 0xcc]
mov eax, esi
jb 0x1010e49f
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1010e504
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1010e4b4
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 0x1010e4de
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x1010e4d5
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10001c20
lea ecx, [edi + 0x1d8]
cmp ecx, esi
je case.default.0x1010e13c
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1010e4f6
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.10001c20
jmp case.default.0x1010e13c
call fcn.1010dbe0
cmp dword [eax], 0
je 0x1010e523
call fcn.1010dbe0
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 0x1010e2e6