Function at 0x1000a770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10244986
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x102de06c]
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
mov bl, byte [ebp + 8]
test bl, bl
je 0x1000a872
lea eax, [ebp - 0x28]
push eax
call fcn.10002580
mov ecx, eax
call fcn.1003ae27
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.1003e358
add esp, 4
test eax, eax
jne 0x1000a7dd
push 0x102c45d8
lea ecx, [ebp - 0x28]
call fcn.10004090
push str.WinAssist.exe
lea ecx, [ebp - 0x28]
call fcn.10004090
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000a831
lea ecx, [ebp - 0x161]
call fcn.10003e10
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x161]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1004a6dc
lea ecx, [ebp - 0x161]
call fcn.100018f0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1000a872
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a868
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a9fb
push edx
push ecx
call fcn.10039277
add esp, 8
call fcn.10042b8d
test al, al
je 0x1000a9dd
test bl, bl
jne 0x1000a894
push str.1022
call fcn.10042717
add esp, 4
mov edx, eax
jmp 0x1000a899
mov edx, 0x102c46e8
mov ecx, edx
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a8b2
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.100088f0
push str.1021
mov dword [ebp - 4], 2
call fcn.10042717
add esp, 4
lea ecx, [ebp - 0x40]
push eax
call fcn.10004090
push str.1152
call fcn.10042717
add esp, 4
lea ecx, [ebp - 0x40]
push eax
call fcn.10004090
call fcn.10042b8d
test al, al
je 0x1000a9a7
mov eax, dword [0x102ee634]
test eax, eax
je 0x1000a9a7
cmp dword [eax + 4], 4
jl 0x1000a9a7
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push str.1150
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x168], eax
call fcn.10042717
sub esp, 8
lea ecx, [ebp - 0x160]
mov ebx, eax
push 0x33
push str.CDOInstallBase::CreateTaskBarShortcut
push 4
call fcn.100084a0
mov dword [ebp - 0x16c], eax
mov esi, 0x102c45c0
mov byte [ebp - 4], 3
test ebx, ebx
lea edi, [eax + 0x30]
mov ecx, esi
cmovne ecx, ebx
push ecx
push edi
call fcn.10002850
mov eax, dword [ebp - 0x168]
test eax, eax
cmovne esi, eax
push esi
push edi
call fcn.10002850
mov ecx, dword [0x102ee634]
add esp, 0x10
push dword [ebp - 0x16c]
call fcn.100086e0
lea ecx, [ebp - 0x160]
call fcn.10004230
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x1000a9dd
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a9d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000aa00
push edx
push ecx
call fcn.10039277
add esp, 8
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.10039266
mov esp, ebp
pop ebp
ret 4
call fcn.100b535e
call fcn.100b535e
int3