Function at 0x10091b50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1d0
mov esi, esp
mov dword [esi + 0xc], ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x102b0014]
xor eax, ebp
mov dword [esi + 0x1c8], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x1b0], xmm0
movdqa xmmword [esi + 0x1a0], xmm0
movdqa xmmword [esi + 0x190], xmm0
movdqa xmmword [esi + 0x180], xmm0
movdqa xmmword [esi + 0x170], xmm0
movdqa xmmword [esi + 0x160], xmm0
movdqa xmmword [esi + 0x150], xmm0
movdqa xmmword [esi + 0x140], xmm0
movdqa xmmword [esi + 0x130], xmm0
movdqa xmmword [esi + 0x120], xmm0
movdqa xmmword [esi + 0x110], xmm0
movdqa xmmword [esi + 0x100], xmm0
movdqa xmmword [esi + 0xf0], xmm0
mov dword [esi + 0x1c4], 0xffffffff
mov dword [esi + 0x1c0], 0xffffffff
lea ecx, [esi + 0xf0]
push 0
call fcn.100a87c0
test edi, edi
je 0x10091c13
mov ebx, 3
cmp dword [edi], 0x10
jb 0x100921c4
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0xe0], xmm0
mov dword [esi + 0xe0], 0x10
test edi, edi
je 0x10091c4e
mov eax, dword [edi + 4]
mov dword [esi + 0xe4], eax
mov eax, dword [edi + 8]
mov dword [esi + 0xe8], eax
mov edx, dword [edi + 0xc]
test edx, edx
mov ecx, 0x10000
cmovne ecx, edx
jmp 0x10091c6c
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe8], 1
mov ecx, 0x10000
mov eax, 1
mov edi, dword [esi + 0xc]
mov dword [esi + 0xec], ecx
mov ebx, 3
test eax, eax
je 0x100921c4
cmp ecx, eax
jb 0x100921c4
mov dword [esi + 0x18], esp
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0xd0], xmm0
movdqa xmmword [esi + 0xc0], xmm0
push eax
sub esp, 0x20
mov dword [esi + 8], esp
lea ebx, [edi + 4]
push ebx
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x10092279
mov dword [esi + 0x10], ebx
mov ebx, dword [esi + 8]
add ebx, 4
mov edi, dword [edi + 8]
test edi, edi
jne 0x10091d03
push 0x108
call fcn.1020d865
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.1009ec30
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 8]
mov dword [eax + 8], edi
test ecx, ecx
je 0x10091d03
mov edi, ecx
call fcn.1009e930
push edi
call fcn.10205096
add esp, 4
mov eax, dword [esi + 0xc]
mov edi, dword [eax + 8]
push dword [esi + 0x10]
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov ecx, edi
push dword [esi + 0xec]
push ebx
call fcn.100a0d10
lea edi, [esi + 0xc0]
mov eax, dword [esi + 8]
mov dword [eax], edi
call fcn.10151bb0
add esp, 0x24
mov esp, dword [esi + 0x18]
mov dword [esi + 0xbc], 0xffffffff
lea ecx, [esi + 0xbc]
push edi
call fcn.1007f268
mov dword [esi + 0x18], esp
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0xa0], xmm0
movdqa xmmword [esi + 0x90], xmm0
sub esp, 0x24
mov ebx, esp
mov dword [esi + 0x1c], esp
sub esp, 0x14
mov edi, esp
mov ecx, dword [esi + 0xec]
mov dword [edi + 4], 0
mov edx, dword [esi + 0xbc]
mov dword [esi + 0xbc], 0
mov dword [esi + 8], 0
lea eax, [edx + 1]
mov dword [esi + 0x28], eax
cmp eax, 2
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], edx
jb 0x10091db0
call fcn.1014e410
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov eax, dword [edi + 4]
mov dword [esi + 8], eax
mov dword [esi + 0x14], ebx
add ebx, 4
lea eax, [esi + 0xd0]
cmp dword [esi + 8], edx
je 0x10091e16
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [edi + 4]
add ecx, 1
cmp ecx, 2
jb 0x10091def
mov dword [esi + 8], eax
call fcn.1014e410
push dword [edi + 4]
call fcn.1016f280
mov eax, dword [esi + 8]
add esp, 4
mov dword [edi + 4], 0
cmp dword [esi + 0x28], 2
mov ecx, dword [esi + 0x20]
jb 0x10091e06
mov dword [edi + 4], ecx
mov dword [esi + 8], eax
call fcn.1014e410
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.kernel32.dll_SetLastError]
mov ecx, dword [esi + 0x24]
lea eax, [esi + 0xd0]
mov dword [edi], ebx
mov dword [edi + 8], 2
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], eax
call fcn.10171850
add esp, 0x14
mov esp, dword [esi + 0x1c]
lea edi, [esi + 0x90]
mov eax, dword [esi + 0x14]
mov dword [eax], edi
call fcn.10151e00
add esp, 0x24
mov esp, dword [esi + 0x18]
mov ecx, edi
call fcn.10171a80
mov ebx, 8
test al, al
je 0x1009218d
mov dword [esi + 0x84], 0xffffffff
pxor xmm0, xmm0
movdqa xmmword [esi + 0x70], xmm0
mov dword [esi + 0x80], 0
mov dword [esi + 0x64], 0xffffffff
movdqa xmmword [esi + 0x50], xmm0
mov dword [esi + 0x60], 0
mov edi, dword [esi + 0x10]
push edi
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x10092285
mov edi, dword [esi + 0xc]
mov ebx, dword [edi + 8]
test ebx, ebx
jne 0x10091edb
push 0x108
call fcn.1020d865
add esp, 4
mov ebx, eax
mov ecx, eax
call fcn.1009ec30
mov eax, dword [edi + 8]
mov dword [edi + 8], ebx
test eax, eax
je 0x10091edb
mov ebx, eax
mov ecx, eax
call fcn.1009e930
push ebx
call fcn.10205096
add esp, 4
mov ebx, dword [edi + 8]
mov edi, dword [esi + 0x10]
push edi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [ebx + 0x18]
lea eax, [esi + 0x50]
lea edx, [esi + 0x70]
push eax
push edx
call fcn.10191880
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x40], xmm0
movdqa xmmword [esi + 0x30], xmm0
lea edx, [esi + 0x30]
lea ecx, [esi + 0x90]
push edx
call fcn.10151e70
call fcn.1015a000
mov dword [esi + 8], eax
mov dword [esi + 0x18], edx
mov dword [esi + 0x14], esp
sub esp, 0x38
mov ebx, esp
lea ecx, [ebx + 0xc]
lea eax, [esi + 0x90]
push eax
call fcn.101519a0
push edi
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x10092291
mov eax, dword [esi + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x10091f86
push 0x108
call fcn.1020d865
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.1009ec30
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 8]
mov dword [eax + 8], edi
test ecx, ecx
je 0x10091f86
mov edi, ecx
call fcn.1009e930
push edi
call fcn.10205096
add esp, 4
mov eax, dword [esi + 0xc]
mov edi, dword [eax + 8]
push dword [esi + 0x10]
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
lea eax, [esi + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], edi
lea eax, [esi + 0x70]
mov dword [ebx + 8], eax
lea eax, [esi + 0xe0]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 8]
mov dword [ebx + 0x30], eax
call fcn.10097350
add esp, 0x38
mov esp, dword [esi + 0x14]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x1009214f
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], esp
push eax
sub esp, 0x34
mov ebx, esp
lea ecx, [ebx + 0xc]
lea eax, [esi + 0x30]
push eax
call fcn.101519a0
push dword [esi + 0x10]
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1009229e
mov eax, dword [esi + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x10092034
push 0x108
call fcn.1020d865
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.1009ec30
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 8]
mov dword [eax + 8], edi
test ecx, ecx
je 0x10092034
mov edi, ecx
call fcn.1009e930
push edi
call fcn.10205096
add esp, 4
mov eax, dword [esi + 0xc]
mov edi, dword [eax + 8]
push dword [esi + 0x10]
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
lea eax, [esi + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], edi
lea eax, [esi + 0x50]
mov dword [ebx + 8], eax
lea eax, [esi + 0xe0]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 8]
mov dword [ebx + 0x30], eax
call fcn.10095bf0
add esp, 0x38
mov esp, dword [esi + 0x1c]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x10092156
mov dword [esi + 0x10], eax
mov ebx, dword [esi + 0x14]
lock add dword [ebx + 4], 1
mov eax, dword [esi + 0xc]
mov edi, dword [eax + 0x10]
add edi, 0x18
push edi
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x100922ab
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x10]
lock add dword [ebx + 4], 1
push ebx
call fcn.10099030
mov dword [esi + 8], eax
push edi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
lock sub dword [ebx + 4], 1
jne 0x100920c4
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 0x70]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 8]
mov dword [eax], ecx
mov edi, dword [esi + 0x10]
lock add dword [edi + 4], 1
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 0x10]
add ebx, 0x18
push ebx
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x100922b7
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x10]
lock add dword [edi + 4], 1
push edi
call fcn.10099030
mov dword [esi + 8], eax
push ebx
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
lock sub dword [edi + 4], 1
jne 0x10092117
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x70]
lea ecx, [edi + 4]
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 8]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
mov edi, dword [esi + 0x14]
je 0x100921e8
xor ebx, ebx
test edx, edx
je 0x100921e8
lock sub dword [ecx], 1
je 0x1009225f
lock sub dword [edi + 4], 1
je 0x1009216c
jmp 0x10092175
mov ebx, 8
jmp 0x10092175
mov edi, dword [esi + 0x14]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ebx, 8
lock sub dword [edi + 4], 1
jne 0x10092175
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x70]
lea ecx, [esi + 0x30]
call fcn.10151a70
lea ecx, [esi + 0x50]
call fcn.10197290
lea ecx, [esi + 0x70]
call fcn.10197290
lea ecx, [esi + 0x90]
call fcn.10151a70
mov eax, dword [esi + 0xbc]
add eax, 1
cmp eax, 2
jb 0x100921b9
call fcn.1014e410
push dword [esi + 0xbc]
call fcn.1016f280
add esp, 4
lea ecx, [esi + 0xc0]
call fcn.10151a70
lea ecx, [esi + 0xf0]
call fcn.100a88e0
mov ecx, dword [esi + 0x1c8]
xor ecx, ebp
call fcn.10205d16
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov dword [esi + 8], ecx
test eax, eax
je 0x1009223e
mov dword [esi + 0x2c], 0
mov ebx, dword [esi + 0xc]
mov edi, dword [ebx + 0x10]
add edi, 0x18
push edi
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x100922c3
mov ecx, dword [ebx + 0x10]
lea eax, [esi + 0x2c]
push eax
mov eax, dword [ebp + 0xc]
push dword [eax]
call fcn.100992e0
push edi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x1009223b
lock sub dword [ecx + 4], 1
jne 0x1009223b
mov eax, dword [ecx]
push 1
call dword [eax + 0x70]
mov edi, dword [esi + 0x14]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, 8
mov ecx, dword [esi + 8]
lock sub dword [ecx], 1
jne 0x10092146
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push 1
call dword [eax + 0x70]
lock sub dword [edi + 4], 1
je 0x1009216c
jmp 0x10092175
mov ecx, ebx
call fcn.1016d1b0
jmp 0x10091cba
mov ecx, edi
call fcn.1016d1b0
jmp 0x10091e9c
mov ecx, dword [esi + 0x10]
call fcn.1016d1b0
jmp 0x10091f43
mov ecx, dword [esi + 0x10]
call fcn.1016d1b0
jmp 0x10091ff1
mov ecx, edi
call fcn.1016d1b0
jmp 0x10092099
mov ecx, ebx
call fcn.1016d1b0
jmp 0x100920ec
mov ecx, edi
call fcn.1016d1b0
jmp 0x1009220e