Function at 0x10001480
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x6c
mov eax, dword [0x10014004]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
mov ebx, dword [esp + 0x74]
lea ecx, [esp + 0x24]
push 0xc
xorps xmm0, xmm0
mov dword [esp + 0xc], ebx
push str.INSTALL_ROOT
movups xmmword [esp + 0x2c], xmm0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call fcn.10001000
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x58]
push ebx
push eax
call fcn.100012a0
mov ecx, dword [esp + 0x44]
add esp, 0xc
cmp ecx, 8
jb 0x1000150e
mov edx, dword [esp + 0x24]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10001504
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100017b2
push ecx
push edx
call fcn.100018f2
add esp, 8
mov ebx, dword [esp + 0x64]
mov eax, 0x7ffffffe
sub eax, ebx
cmp eax, 0xe
jb 0x100017b7
cmp dword [esp + 0x68], 8
lea eax, [esp + 0x54]
push ebp
push esi
push edi
mov edi, dword [esp + 0x60]
lea ebp, [esp + 0x18]
cmovae eax, edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], eax
mov esi, 7
lea eax, [ebx + 0xe]
mov dword [esp + 0x2c], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x18], xmm0
cmp eax, esi
jbe 0x10001595
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x10001575
mov esi, 0x7ffffffe
jmp 0x1000157f
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x1c]
call fcn.10001240
mov ebp, eax
lea eax, [ebx + 0xe]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], esi
lea esi, [ebx + ebx]
push esi
push dword [esp + 0x14]
mov dword [esp + 0x30], eax
push ebp
call fcn.10002a00
movups xmm0, xmmword [str.uninstall.exe]
add esp, 0xc
movups xmmword [esi + ebp], xmm0
movq xmm0, qword [0x1000d1ec]
movq qword [esi + ebp + 0x10], xmm0
mov eax, dword [0x1000d1f4]
mov dword [esi + ebp + 0x18], eax
xor eax, eax
mov word [ebp + ebx*2 + 0x1c], ax
lea eax, [esp + 0x18]
cmp dword [esp + 0x2c], 8
cmovae eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, 0x1000d200
mov dword [esp + 0x40], 0
cmp eax, 0xffffffff
mov dword [esp + 0x44], 0
mov edx, 0x1000d1fc
xorps xmm0, xmm0
cmove edx, ecx
mov ecx, edx
movups xmmword [esp + 0x30], xmm0
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001620
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10001000
push 0x1d
xorps xmm0, xmm0
mov dword [esp + 0x5c], 0
push 0x1000d204
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], 0
movups xmmword [esp + 0x50], xmm0
call fcn.10001000
cmp dword [esp + 0x44], 8
lea ecx, [esp + 0x30]
lea eax, [esp + 0x48]
cmovae ecx, dword [esp + 0x30]
cmp dword [esp + 0x5c], 8
push ecx
cmovae eax, dword [esp + 0x4c]
push eax
push dword [esp + 0x1c]
call sub.msi.dll_MsiSummaryInfoGetPropertyCount
mov ecx, dword [esp + 0x5c]
cmp ecx, 8
jb 0x100016c5
mov edx, dword [esp + 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100016bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100017bc
push ecx
push edx
call fcn.100018f2
add esp, 8
mov ecx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 7
mov word [esp + 0x48], ax
cmp ecx, 8
jb 0x10001718
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000170e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100017bc
push ecx
push edx
call fcn.100018f2
add esp, 8
mov ecx, dword [esp + 0x2c]
cmp ecx, 8
jb 0x10001750
mov edx, dword [esp + 0x18]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10001746
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100017c1
push ecx
push edx
call fcn.100018f2
add esp, 8
xor eax, eax
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x2c], 7
cmp eax, 8
jb 0x1000179b
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x10001791
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100017c1
push ecx
push edi
call fcn.100018f2
add esp, 8
mov ecx, dword [esp + 0x78]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10001900
add esp, 0x6c
ret 4
call fcn.10004a0f
call fcn.10001220
call fcn.10004a0f
call fcn.10004a0f
int3