Function at 0x10a21d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1138f90
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x115f604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov dword [ebp - 4], 2
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 3
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 4
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov esi, dword [ebp + 0x18]
mov eax, dword [esi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
mov byte [ebp - 4], 5
jge 0x10a226a
push 0
mov ecx, esi
call fcn.010745e0
mov eax, dword [esi]
cmp dword [eax - 8], 0
jge 0x10a227c
push 0x80070057
call fcn.01071710
mov dword [eax - 0xc], 0
mov eax, dword [esi]
mov word [eax], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x10a236f
cmp word [eax], 0
je 0x10a236f
push eax
lea ecx, [ebp - 0x14]
call fcn.0107f660
push 0x100e2bc
lea ecx, [ebp - 0x14]
call fcn.0109f810
mov ecx, dword [0x11608ec]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0109f810
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push 0
push eax
push ebx
push VariantInit
call fcn.010c8840
test eax, eax
mov dword [ebp + 0x18], eax
jl 0x10a2376
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], 0
je 0x10a2376
lea ecx, [ebp - 0x10]
call fcn.0109d5e0
mov edx, dword [ebp + 0x14]
push edx
push 0x100e2a0
lea ecx, [ebp - 0x10]
call fcn.0109d3b0
mov eax, dword [ebp - 0x10]
push esi
push eax
call fcn.010c7ff0
test eax, eax
mov dword [ebp + 0x18], eax
jl 0x10a2376
push 0x100e2bc
mov ecx, esi
call fcn.0109f810
lea ecx, [ebp + 0x10]
push ecx
mov ecx, esi
call fcn.0109f7f0
mov edx, dword [0x115f550]
mov eax, dword [esi]
push edx
push eax
lea eax, [ebp - 0x18]
push 0x100e294
push eax
call fcn.0109dc70
mov edi, dword [ebp - 0x18]
add esp, 0x10
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10a2376
push eax
mov ecx, esi
call fcn.0109bff0
mov dword [ebp + 0x18], 1
jmp 0x10a2376
mov dword [ebp + 0x18], 0x80070057
lea eax, [edi - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10a2396
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10a23b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10a23d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10a23fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10a241f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10a2445
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14