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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c703
mov eax, dword fs:[0]
push eax
mov eax, 0x1a04
call fcn.1004f2f0
mov eax, dword [0x10077060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
mov dword [ebp - 0x19c4], eax
cmp dword [esi + 0x14], eax
jne 0x1001b945
mov dword [ebp - 0x19c4], 1
jmp 0x1001bb32
push 0x198c
push eax
lea eax, [ebp - 0x19c0]
push eax
call fcn.10042870
add esp, 0xc
lea eax, [ebp - 0x19c0]
push eax
push esi
call fcn.1001b6a9
test eax, eax
jne 0x1001b985
push str.install_location_not_find
call fcn.10036ea1
pop ecx
mov dword [ebp - 0x19c4], 5
jmp 0x1001bb32
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x1540]
push eax
lea eax, [ebp - 0x1940]
push eax
push str.UnInstallSilent_name:_ls__location:_ls__regedit:_ls
call fcn.10036ea1
add esp, 0x10
lea eax, [ebp - 0x1540]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea eax, [ebp - 0x1540]
jne 0x1001b9cd
push eax
push str.not_find_location:_ls
call fcn.10036ea1
pop ecx
jmp 0x1001b975
push str.Windows
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1001b9ec
mov dword [ebp - 0x19c4], 6
jmp 0x1001bb32
lea eax, [ebp - 0x1540]
push eax
lea eax, [ebp - 0x19ec]
push eax
mov ebx, 0x10066a10
call fcn.10033f10
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
push 0x1c
pop ecx
cdq
idiv ecx
push 2
pop edi
mov ecx, edi
lea esi, [ebp - 0x19ec]
cmp ecx, eax
sbb bl, bl
inc bl
call fcn.1000c52d
push dword [ebp - 0x19ec]
call fcn.1004062b
pop ecx
test bl, bl
jne 0x1001b9dd
lea eax, [ebp - 0x1540]
push eax
lea esi, [ebp - 0x2c]
call fcn.10002030
xor ebx, ebx
lea eax, [ebp - 0x19f4]
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.1000f7c0
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov dword [ebp - 0x19cc], ecx
lea eax, [ebp - 0x19d4]
lea ecx, [ebp - 0x2c]
call fcn.1000f7a0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x19cc], ecx
xor ecx, ecx
cmp eax, esi
je 0x1001bb04
cmp word [eax], 0x5c
jne 0x1001ba8c
inc ecx
add eax, edi
cmp eax, esi
jne 0x1001ba85
cmp ecx, edi
jb 0x1001bb04
jne 0x1001baaa
mov edi, dword [ebp - 0x18]
dec edi
lea eax, [ebp - 0x2c]
call fcn.1001440c
cmp word [eax], 0x5c
je 0x1001bb04
lea eax, [ebp - 0x1540]
push eax
call fcn.1001b5b3
lea eax, [ebp - 0x1540]
push eax
lea esi, [ebp - 0x1a10]
call fcn.10002030
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.1001a749
push ebx
push 1
mov byte [ebp - 4], 0
call fcn.1000233f
lea ecx, [ebp - 0x1540]
call fcn.1001b1a9
lea ecx, [ebp - 0x1540]
call fcn.1001ae34
lea ebx, [ebp - 0x19c0]
call fcn.1001a9c1
push 0
jmp 0x1001bb28
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1001bb10
lea eax, [ebp - 0x28]
push eax
push str.location_too_short___ls
call fcn.10036ea1
pop ecx
pop ecx
mov dword [ebp - 0x19c4], 6
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.1000233f
mov eax, dword [ebp - 0x19c4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004017c
leave
ret