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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d113
mov eax, dword fs:[0]
push eax
mov eax, 0x1a04
call fcn.1004fd10
mov eax, dword [0x10078060]
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 0x1001b91c
mov dword [ebp - 0x19c4], 1
jmp 0x1001bb09
push 0x198c
push eax
lea eax, [ebp - 0x19c0]
push eax
call fcn.10043280
add esp, 0xc
lea eax, [ebp - 0x19c0]
push eax
push esi
call fcn.1001b680
test eax, eax
jne 0x1001b95c
push str.install_location_not_find
call fcn.10037607
pop ecx
mov dword [ebp - 0x19c4], 5
jmp 0x1001bb09
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.10037607
add esp, 0x10
lea eax, [ebp - 0x1540]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea eax, [ebp - 0x1540]
jne 0x1001b9a4
push eax
push str.not_find_location:_ls
call fcn.10037607
pop ecx
jmp 0x1001b94c
push str.Windows
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1001b9c3
mov dword [ebp - 0x19c4], 6
jmp 0x1001bb09
lea eax, [ebp - 0x1540]
push eax
lea eax, [ebp - 0x19ec]
push eax
mov ebx, 0x10067a78
call fcn.10034552
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.1000c552
push dword [ebp - 0x19ec]
call fcn.10041033
pop ecx
test bl, bl
jne 0x1001b9b4
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.1000f809
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov dword [ebp - 0x19cc], ecx
lea eax, [ebp - 0x19d4]
lea ecx, [ebp - 0x2c]
call fcn.1000f7e9
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x19cc], ecx
xor ecx, ecx
cmp eax, esi
je 0x1001badb
cmp word [eax], 0x5c
jne 0x1001ba63
inc ecx
add eax, edi
cmp eax, esi
jne 0x1001ba5c
cmp ecx, edi
jb 0x1001badb
jne 0x1001ba81
mov edi, dword [ebp - 0x18]
dec edi
lea eax, [ebp - 0x2c]
call fcn.100143e3
cmp word [eax], 0x5c
je 0x1001badb
lea eax, [ebp - 0x1540]
push eax
call fcn.1001b58a
lea eax, [ebp - 0x1540]
push eax
lea esi, [ebp - 0x1a10]
call fcn.10002030
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.1001a720
push ebx
push 1
mov byte [ebp - 4], 0
call fcn.10002370
lea ecx, [ebp - 0x1540]
call fcn.1001b180
lea ecx, [ebp - 0x1540]
call fcn.1001ae0b
lea ebx, [ebp - 0x19c0]
call fcn.1001a998
push 0
jmp 0x1001baff
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1001bae7
lea eax, [ebp - 0x28]
push eax
push str.location_too_short___ls
call fcn.10037607
pop ecx
pop ecx
mov dword [ebp - 0x19c4], 6
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.10002370
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.10040b84
leave
ret