Function at 0x10017a20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005edf8
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x100816f8]
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 ebx, ecx
mov dword [ebp - 0x19c], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x198], eax
or edi, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x10017cb8
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10017a81
lock inc dword [ecx + 4]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x48], eax
mov esi, dword [ebx + 0x4c]
mov dword [ebx + 0x4c], ecx
test esi, esi
je 0x10017ab0
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10017ab0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10017ab0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x2c]
call fcn.100445cc
cdq
mov ecx, 0x64
idiv ecx
cmp edx, esi
jl 0x10017b50
lea eax, [ebp - 0x194]
mov dword [ebp - 0x194], 0
push eax
push str.360tray.exe
call fcn.10019610
mov esi, eax
mov dword [ebp - 0x194], 0
lea eax, [ebp - 0x194]
push eax
push str.360sd.exe
call fcn.10019610
add esp, 0x10
test esi, esi
jne 0x10017b0e
test eax, eax
je 0x10017b50
mov ecx, 0x10083550
mov esi, str.LdsLinkPopWndClass
mov edx, 0x104
sub esi, ecx
nop
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x10017b3e
movzx eax, word [esi + ecx]
test ax, ax
je 0x10017b3e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10017b20
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
jmp 0x10017c10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.100445ed
mov ecx, 0x1f
lea edi, [ebp - 0x90]
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
add esp, 4
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea esi, [ebp - 0x90]
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10017b80
push 0x100
lea eax, [ebp - 0x190]
sub esi, ecx
push 0
push eax
sar esi, 1
call fcn.10037240
add esp, 0xc
call fcn.100445cc
xor edx, edx
mov ecx, 6
div ecx
mov ecx, 0x7f
lea eax, [edx + 0xa]
cmp eax, ecx
cmovg eax, ecx
xor edi, edi
mov dword [ebp - 0x194], eax
test eax, eax
jle 0x10017bf4
mov ebx, eax
nop
call fcn.100445cc
xor edx, edx
div esi
mov ax, word [ebp + edx*2 - 0x90]
mov word [ebp + edi*2 - 0x190], ax
inc edi
cmp edi, ebx
jl 0x10017bd0
mov ebx, dword [ebp - 0x19c]
lea eax, [ebp - 0x190]
push eax
push 0x103
push 0x10083550
call fcn.1004435d
add esp, 0xc
or edi, 0xffffffff
mov edx, dword [ebp - 0x198]
lea ecx, [ebx + 0x54]
mov edx, dword [edx]
lea eax, [edx - 0x10]
mov dword [ebp - 0x194], eax
mov eax, dword [ecx]
lea esi, [eax - 0x10]
cmp dword [ebp - 0x194], esi
je 0x10017c82
cmp dword [esi + 0xc], 0
jl 0x10017c76
mov eax, dword [edx - 0x10]
cmp eax, dword [esi]
jne 0x10017c76
push dword [ebp - 0x194]
call fcn.100031d0
mov dword [ebp - 0x198], eax
lea ecx, [esi + 0xc]
add esp, 4
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10017c68
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x198]
add eax, 0x10
mov dword [ebx + 0x54], eax
jmp 0x10017c82
push dword [edx - 0xc]
push edx
call fcn.10003730
mov eax, dword [ebx + 0x54]
cmp dword [eax - 0xc], 0
je 0x10017cb1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10017cb1
push dword [ebx + 0x54]
lea ecx, [ebx + 0x34]
call fcn.10012eb0
lea ecx, [ebx + 0x34]
call fcn.10012e40
test al, al
je 0x10017cb1
mov ebx, 1
jmp 0x10017cba
mov ecx, ebx
call fcn.100188f0
xor ebx, ebx
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x10017cdf
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10017cdf
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10017cdf
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, ebx
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.1002be91
mov esp, ebp
pop ebp
ret 0xc