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

Disassembly:
sub esp, 0x5c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
mov ebx, dword [esp + 0x64]
lea ecx, [esp + 0x44]
push 0xc
xorps xmm0, xmm0
mov dword [esp + 0x14], ebx
push str.INSTALL_ROOT
movups xmmword [esp + 0x4c], xmm0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call fcn.10001060
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.100012a0
mov ecx, dword [esp + 0x64]
add esp, 0xc
cmp ecx, 7
jbe 0x1000150e
mov edx, dword [esp + 0x44]
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 0x100017be
push ecx
push edx
call fcn.100018fe
add esp, 8
push esi
mov esi, dword [esp + 0x28]
mov eax, 0x7ffffffe
sub eax, esi
cmp eax, 0xe
jb 0x100017c3
push ebp
mov ebp, dword [esp + 0x30]
lea eax, [esp + 0x1c]
cmp ebp, 7
mov dword [esp + 0x44], 0
push edi
mov edi, dword [esp + 0x20]
lea ebx, [esp + 0x38]
cmova eax, edi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x14], eax
mov ecx, 7
lea eax, [esi + 0xe]
xorps xmm0, xmm0
mov dword [esp + 0x18], eax
movups xmmword [esp + 0x38], xmm0
cmp eax, ecx
jbe 0x100015a4
or eax, ecx
cmp eax, 0x7ffffffe
jbe 0x10001577
mov eax, 0x7ffffffe
jmp 0x10001581
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.10001000
mov ecx, dword [esp + 0x18]
mov ebx, eax
add esp, 8
mov dword [esp + 0x38], ebx
lea eax, [esi + 0xe]
add esi, esi
mov dword [esp + 0x48], eax
push esi
push dword [esp + 0x18]
mov dword [esp + 0x54], ecx
push ebx
call fcn.10002b70
movups xmm0, xmmword [str.uninstall.exe]
xor ecx, ecx
add esp, 0xc
movups xmmword [ebx + esi], xmm0
movq xmm0, qword [0x1000e1ec]
movq qword [ebx + esi + 0x10], xmm0
mov eax, dword [0x1000e1f4]
mov dword [ebx + esi + 0x18], eax
mov eax, dword [esp + 0x18]
mov word [ebx + eax*2], cx
lea eax, [esp + 0x38]
cmp dword [esp + 0x4c], 7
cmova eax, dword [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, 0x1000e200
mov dword [esp + 0x60], 0
cmp eax, 0xffffffff
mov dword [esp + 0x64], 0
mov edx, 0x1000e1fc
xorps xmm0, xmm0
cmove edx, ecx
mov ecx, edx
movups xmmword [esp + 0x50], xmm0
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001630
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.10001060
push 0x1d
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
push 0x1000e204
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0
movups xmmword [esp + 0x28], xmm0
call fcn.10001060
cmp dword [esp + 0x64], 7
lea ecx, [esp + 0x50]
lea eax, [esp + 0x20]
cmova ecx, dword [esp + 0x50]
cmp dword [esp + 0x34], 7
push ecx
cmova eax, dword [esp + 0x24]
push eax
push dword [esp + 0x24]
call sub.msi.dll_MsiSummaryInfoGetPropertyCount
mov ecx, dword [esp + 0x34]
cmp ecx, 7
jbe 0x100016d5
mov edx, dword [esp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100016cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100017c8
push ecx
push edx
call fcn.100018fe
add esp, 8
mov ecx, dword [esp + 0x64]
xor eax, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
cmp ecx, 7
jbe 0x10001728
mov edx, dword [esp + 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000171e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100017c8
push ecx
push edx
call fcn.100018fe
add esp, 8
mov ecx, dword [esp + 0x4c]
cmp ecx, 7
jbe 0x10001760
mov edx, dword [esp + 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10001756
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100017cd
push ecx
push edx
call fcn.100018fe
add esp, 8
xor eax, eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 7
mov word [esp + 0x38], ax
cmp ebp, 7
jbe 0x100017a7
lea ecx, [ebp*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x1000179d
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100017cd
push ecx
push edi
call fcn.100018fe
add esp, 8
mov ecx, dword [esp + 0x68]
xor eax, eax
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.1000190c
add esp, 0x5c
ret 4
call fcn.10004ccf
call fcn.10001280
call fcn.10004ccf
call fcn.10004ccf
int3