Function at 0x1000c882
Capabilities:
Check if file exists

Disassembly:
push 0x40
mov eax, 0x1003a4c2
call fcn.10022028
mov dword [ebp - 0x30], ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.10001630
mov eax, dword [ebp - 0x10]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], ebx
jne 0x1000c8be
lea ecx, [eax - 0x10]
call fcn.10001128
mov eax, 0x80004005
call fcn.10022100
ret 0x18
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x4c], esp
mov ecx, esp
push eax
call fcn.10001320
lea eax, [ebp - 0x3c]
push eax
call fcn.1000c513
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10001e57
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.10001128
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x4c], esp
mov ecx, esp
push eax
call fcn.10001320
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x20]
push eax
call sym.SoftwareUpdateFiles.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSUFileObject::GetFileExtension_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
mov ecx, dword [ebp - 0x20]
sub eax, dword [ecx - 0xc]
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 2
call fcn.10001a3f
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
cmp dword [eax - 0xc], ebx
jne 0x1000c964
mov edi, 0x80004005
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001128
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001128
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001128
mov eax, edi
jmp 0x1000c8b6
xor edi, edi
inc edi
call fcn.100179d6
push eax
lea ecx, [ebp - 0x14]
call fcn.100012fb
mov byte [ebp - 4], 4
call fcn.100179d6
push eax
lea ecx, [ebp - 0x18]
call fcn.100012fb
push edi
lea eax, [ebp - 0x18]
push 0x1003e5a0
push eax
mov byte [ebp - 4], 5
call fcn.1000349f
add esp, 0xc
push 0x1003fcd8
lea ecx, [ebp - 0x2c]
inc edi
call fcn.1000b9f0
push 0x1003fcd4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.1000b9f0
push 0x1003d960
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.1000b9f0
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 8
call sym.SoftwareUpdateFiles.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSUFileObject::GetDistCacheDir_void_
mov eax, dword [eax]
lea ecx, [ebp - 0x24]
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 9
call fcn.1000c2ed
add esp, 0xc
mov eax, dword [eax]
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x1000ca02
mov eax, dword [eax]
jmp 0x1000ca04
xor eax, eax
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10001f5f
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
push ecx
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0xb
call fcn.1000c2ed
add esp, 0x18
mov eax, dword [eax]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x1000ca37
mov eax, dword [eax]
jmp 0x1000ca39
xor eax, eax
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10001f5f
mov eax, dword [eax]
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0xd
call fcn.1000c2ed
add esp, 0x18
mov eax, dword [eax]
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x1000ca6c
mov eax, dword [eax]
jmp 0x1000ca6e
xor eax, eax
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10001f5f
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.10001e57
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.10001128
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x1000caa6
call fcn.1000bbad
mov dword [ebp - 0x34], ebx
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.10001128
mov ecx, dword [ebp - 0x38]
cmp ecx, ebx
je 0x1000cac0
call fcn.1000bbad
mov dword [ebp - 0x38], ebx
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.10001128
mov ecx, dword [ebp - 0x3c]
cmp ecx, ebx
je 0x1000cada
call fcn.1000bbad
mov dword [ebp - 0x3c], ebx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.10001128
mov ecx, dword [ebp - 0x24]
cmp ecx, ebx
je 0x1000caf4
call fcn.1000bbad
mov dword [ebp - 0x24], ebx
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x1000cb03
call fcn.1000bbad
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
cmp ecx, ebx
je 0x1000cb16
call fcn.1000bbad
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000cb4e
push 0x1003da3c
lea ecx, [ebp - 0x14]
call fcn.10001c37
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10001128
cmp edi, 0x64
jl 0x1000c979
mov esi, dword [ebp - 0x14]
jmp 0x1000cb59
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001128
push esi
push dword [ebp + 0xc]
call fcn.1000b81c
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
jne 0x1000cb7c
push dword [esi - 0xc]
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.10024d01
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.10001128
jmp 0x1000c93c