Function at 0x1001d7c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017ecec
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x101e42fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], edx
mov ebx, ecx
mov eax, dword [ebx + 0x58]
cmp dword [eax + 0xb4], 0
je 0x1001d810
call fcn.1002dbf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax + 0xc8], 0
xorps xmm0, xmm0
mov dword [eax + 0xcc], 0
mov eax, dword [ebx + 0x58]
movlpd qword [ebp - 0x18], xmm0
mov edx, dword [ebp - 0x14]
movlpd qword [ebp - 0x38], xmm0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov eax, dword [ebx + 0x58]
movlpd qword [ebp - 0x30], xmm0
mov esi, dword [eax + 0x7c]
cmp esi, dword [eax + 0x80]
je 0x1001db6b
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ecx
cmp dword [eax + 0xb4], 0
xorps xmm0, xmm0
mov ecx, dword [esi]
mov dword [ebp - 0x34], ecx
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
mov dword [ebp - 0x48], 0xffffffff
lea edi, [ecx + 0x8c]
jne 0x1001d8b5
cmp dword [edi + 0x10], 0
je 0x1001daa1
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1001d8bf
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001db2f
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x58]
push eax
mov edx, edi
mov ecx, ebx
call fcn.1001d380
add esp, 4
test al, al
je 0x1001daf0
cmp dword [ebx], ebx
jne 0x1001daa9
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x1001da3c
mov edx, dword [ebp - 0x58]
add dword [ebp - 0x20], edx
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebp - 0x54]
adc dword [ebp - 0x24], ecx
add dword [eax + 0xc8], edx
adc dword [eax + 0xcc], ecx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x58]
add esi, 4
cmp esi, dword [eax + 0x80]
jne 0x1001d883
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
add ecx, eax
adc edx, edi
add ecx, dword [ebp - 0x20]
adc edx, dword [ebp - 0x24]
call fcn.1014e100
movaps xmm1, xmm0
mulsd xmm0, qword [0x101cf558]
addsd xmm0, xmm1
call fcn.1014dfa9
mov edi, eax
mov esi, edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], esi
test eax, eax
je 0x1001d96b
mov dword [eax], edi
mov dword [eax + 4], esi
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101e96e4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101eac80]
cmp eax, dword [ecx + 4]
jle 0x1001d9ca
push 0x101eac80
call fcn.1014d6ba
add esp, 4
cmp dword [0x101eac80], 0xffffffff
jne 0x1001d9ca
mov dword [ebp - 4], 0
call fcn.10002a40
push 0x101893b0
call fcn.1014d520
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x101eac80
call fcn.1014d670
add esp, 4
mov eax, dword [0x101eabc0]
push esi
push edi
push str.pim_haveEnoughDiskSpaceToInstallPackages_reqSize_...__llu
mov esi, dword [eax + 0x50]
mov ecx, esi
push 0x101a55a8
push 0x101eabc0
call dword [0x1018a4d4]
call esi
mov esi, dword [ebp - 0x34]
add esp, 0x14
mov ecx, dword [ebx + 0x58]
add ecx, 0x20
push esi
push edi
call fcn.10038840
add esp, 8
test al, al
jne 0x1001db85
push esi
push edi
push str.Error_do_not_have_enough_disk_space_...__llu
push 0x101a55a8
call fcn.10002de0
push eax
call fcn.10003970
add esp, 0x14
mov eax, 0x17
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 2
je 0x1001da4a
cmp eax, 1
jne 0x1001d917
mov edi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
cmp edi, dword [ebp - 0x4c]
jb 0x1001da6d
mov eax, dword [ebp - 0x50]
ja 0x1001da5e
cmp edx, eax
jbe 0x1001da6d
mov ecx, edx
sub ecx, eax
mov eax, edi
sbb eax, dword [ebp - 0x4c]
add dword [ebp - 0x2c], ecx
adc dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x58]
add dword [eax + 0xc8], edx
adc dword [eax + 0xcc], edi
cmp dword [ebp - 0x1c], edi
ja 0x1001d917
jb 0x1001da92
mov ecx, dword [ebp - 0x14]
cmp ecx, edx
jae 0x1001d91a
mov ecx, edx
mov edx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], edx
jmp 0x1001d91d
mov ecx, dword [ebp - 0x14]
jmp 0x1001d91d
push str.PIM_library_reference_is_invalid
push 0x101a55a8
call fcn.10002de0
push eax
call fcn.100037f0
add esp, 0xc
push str.Error_Invalid_Library_reference._PIM_STATUS_INVALID_LIBRARY_REF_
push 0x101a55a8
call fcn.10002de0
push eax
call fcn.10003970
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x1001dafb
mov eax, dword [eax]
push eax
push str.Error_Failed_to_estimate_Package_Size_of_package__s.
push 0x101a55a8
push ecx
call fcn.10002de0
add esp, 4
push eax
call fcn.10003970
add esp, 0x10
mov eax, 0x31
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x14], 8
jb 0x1001db37
mov edi, dword [edi]
push edi
push str.Cant_estimate_the_size_for_this_package_as_pimx_file__s_is_missing
push 0x101a53f8
push ecx
call fcn.10002de0
add esp, 4
push eax
call fcn.10003e20
add esp, 0x10
mov eax, 0x29
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x30]
jmp 0x1001d935
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret