Function at 0x4172c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1c0
mov esi, esp
mov dword [esi + 0x10], ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [esi + 0x1b8], eax
pcmpeqd xmm0, 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
movdqa xmmword [esi + 0xe0], xmm0
mov dword [esi + 0x1b4], 0xffffffff
mov dword [esi + 0x1b0], 0xffffffff
lea ecx, [esi + 0xe0]
call fcn.0042fa80
test edi, edi
je 0x4173b1
mov ebx, 3
cmp dword [edi], 0x10
jb 0x417a33
mov dword [esi + 0x7c], 0xffffffff
mov dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x70], 0x10
mov eax, dword [edi + 4]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x78], eax
mov edx, dword [edi + 0xc]
test edx, edx
mov ecx, 0x10000
cmovne ecx, edx
jmp 0x4173cf
movdqa xmm0, xmmword [0x6fc460]
movdqu xmmword [esi + 0x70], xmm0
mov dword [esi + 0x78], 1
mov ecx, 0x10000
mov eax, 1
mov dword [esi + 0x7c], ecx
mov ebx, 3
test eax, eax
mov edi, dword [esi + 0x10]
je 0x417a33
cmp ecx, eax
jb 0x417a33
mov dword [esi + 0x18], esp
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0xd0], xmm0
movdqa xmmword [esi + 0xc0], xmm0
sub esp, 0x24
mov dword [esi + 0xc], esp
lea ebx, [edi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x417a57
mov dword [esi + 8], ebx
mov ebx, dword [esi + 0xc]
add ebx, 4
mov edi, dword [edi + 8]
test edi, edi
jne 0x417468
push 0x130
call fcn.006c90b6
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.00425060
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 8]
mov dword [eax + 8], edi
test ecx, ecx
je 0x417468
mov eax, dword [ecx]
mov edi, dword [eax]
mov dword [esi + 0x14], ecx
mov ecx, edi
call dword [section..00cfg]
mov ecx, dword [esi + 0x14]
push 1
call edi
mov eax, dword [esi + 0x10]
mov edi, dword [eax + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, edi
push dword [esi + 0x7c]
push ebx
call fcn.00426ce0
lea edi, [esi + 0xc0]
mov eax, dword [esi + 0xc]
mov dword [eax], edi
call fcn.004643a0
add esp, 0x24
mov esp, dword [esi + 0x18]
mov dword [esi + 0x6c], 0xffffffff
lea eax, [esi + 0x6c]
mov ecx, edi
push eax
call fcn.00463d60
mov dword [esi + 0x18], esp
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0xb0], xmm0
movdqa xmmword [esi + 0xa0], xmm0
sub esp, 0x24
mov ebx, esp
mov dword [esi + 0x1c], esp
sub esp, 0x14
mov edi, esp
mov ecx, dword [esi + 0x7c]
mov dword [edi + 4], 0
mov edx, dword [esi + 0x6c]
mov dword [esi + 0x6c], 0
mov dword [esi + 0xc], 0
lea eax, [edx + 1]
mov dword [esi + 0x28], eax
cmp eax, 2
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
jb 0x417505
call fcn.0045f9d0
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
mov eax, dword [edi + 4]
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ebx
add ebx, 4
lea eax, [esi + 0xd0]
cmp dword [esi + 0xc], edx
je 0x41756b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 4]
add ecx, 1
cmp ecx, 2
jb 0x417544
mov dword [esi + 0xc], eax
call fcn.0045f9d0
push dword [edi + 4]
call fcn.00474ca0
mov eax, dword [esi + 0xc]
add esp, 4
mov dword [edi + 4], 0
cmp dword [esi + 0x28], 2
mov ecx, dword [esi + 0x24]
jb 0x41755b
mov dword [edi + 4], ecx
mov dword [esi + 0xc], eax
call fcn.0045f9d0
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esi + 0x20]
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.00474f40
add esp, 0x14
mov esp, dword [esi + 0x1c]
lea edi, [esi + 0xa0]
mov eax, dword [esi + 0x14]
mov dword [eax], edi
call fcn.004646a0
add esp, 0x24
mov esp, dword [esi + 0x18]
mov ecx, edi
call fcn.004647d0
mov ebx, 8
test al, al
je 0x417a02
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x50], xmm0
mov dword [esi + 0x64], 0xffffffff
mov dword [esi + 0x60], 0xffffffff
lea ecx, [esi + 0x50]
call fcn.00473130
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x30], xmm0
mov dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
lea ecx, [esi + 0x30]
call fcn.00473130
mov edi, dword [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x417a63
mov edi, dword [esi + 0x10]
mov ebx, dword [edi + 8]
test ebx, ebx
jne 0x417642
push 0x130
call fcn.006c90b6
add esp, 4
mov ebx, eax
mov ecx, eax
call fcn.00425060
mov ecx, dword [edi + 8]
mov dword [edi + 8], ebx
test ecx, ecx
je 0x417642
mov eax, dword [ecx]
mov ebx, dword [eax]
mov dword [esi + 0xc], ecx
mov ecx, ebx
call dword [section..00cfg]
mov ecx, dword [esi + 0xc]
push 1
call ebx
mov ebx, dword [edi + 8]
mov edi, dword [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [ebx + 0x18]
lea eax, [esi + 0x30]
push eax
lea eax, [esi + 0x50]
push eax
call fcn.00489fc0
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0x80], xmm0
lea edx, [esi + 0x80]
lea ecx, [esi + 0xa0]
push edx
call fcn.00464710
call fcn.00464bd0
mov dword [esi + 0xc], eax
mov dword [esi + 0x18], edx
mov dword [esi + 0x14], esp
sub esp, 0x38
mov ebx, esp
lea ecx, [ebx + 0xc]
lea eax, [esi + 0xa0]
push eax
call fcn.00464330
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x417a6f
mov eax, dword [esi + 0x10]
mov edi, dword [eax + 8]
test edi, edi
jne 0x4176fc
push 0x130
call fcn.006c90b6
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.00425060
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 8]
mov dword [eax + 8], edi
test ecx, ecx
je 0x4176fc
mov eax, dword [ecx]
mov edi, dword [eax]
mov dword [esi + 0x1c], ecx
mov ecx, edi
call dword [section..00cfg]
mov ecx, dword [esi + 0x1c]
push 1
call edi
mov eax, dword [esi + 0x10]
mov edi, dword [eax + 8]
push dword [esi + 8]
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 + 0x70]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x30], eax
call fcn.0041ce20
add esp, 0x38
mov esp, dword [esi + 0x14]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4179a4
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 + 0x80]
push eax
call fcn.00464330
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x417a7c
mov eax, dword [esi + 0x10]
mov edi, dword [eax + 8]
test edi, edi
jne 0x4177b0
push 0x130
call fcn.006c90b6
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.00425060
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 8]
mov dword [eax + 8], edi
test ecx, ecx
je 0x4177b0
mov eax, dword [ecx]
mov edi, dword [eax]
mov dword [esi + 0x20], ecx
mov ecx, edi
call dword [section..00cfg]
mov ecx, dword [esi + 0x20]
push 1
call edi
mov eax, dword [esi + 0x10]
mov edi, dword [eax + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea eax, [esi + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], edi
lea eax, [esi + 0x30]
mov dword [ebx + 8], eax
lea eax, [esi + 0x70]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x30], eax
call fcn.0041b3a0
add esp, 0x38
mov esp, dword [esi + 0x1c]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4179ab
mov dword [esi + 0xc], eax
mov edi, dword [esi + 0x14]
lock add dword [edi + 4], 1
mov ebx, dword [esi + 0x10]
mov ecx, dword [ebx + 0x10]
call fcn.0041ed90
mov dword [esi + 8], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x417a89
mov ecx, dword [ebx + 0x10]
lock add dword [edi + 4], 1
push edi
call fcn.0041eda0
mov ebx, eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lock sub dword [edi + 4], 1
jne 0x41785a
mov eax, dword [esi + 0x14]
lea edi, [eax + 4]
mov eax, dword [edi - 4]
add edi, 0xfffffffc
mov dword [esi + 8], ebx
mov ebx, dword [eax + 0x70]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 1
call ebx
mov ebx, dword [esi + 8]
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
mov ebx, dword [esi + 0xc]
lock add dword [ebx + 4], 1
mov edi, dword [esi + 0x10]
mov ecx, dword [edi + 0x10]
call fcn.0041ed90
mov dword [esi + 0x18], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x417a96
mov ecx, dword [edi + 0x10]
lea eax, [ebx + 4]
mov dword [esi + 8], eax
lock add dword [ebx + 4], 1
push ebx
call fcn.0041eda0
mov edi, eax
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lock sub dword [ebx + 4], 1
jne 0x4178c8
mov eax, dword [esi + 8]
lea ecx, [eax - 4]
mov dword [esi + 0x18], ecx
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x70]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, dword [esi + 0x18]
push 1
call ebx
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x4178e0
xor ebx, ebx
test edi, edi
jne 0x417974
test eax, eax
je 0x417947
mov dword [esi + 0x2c], 0
mov ebx, dword [esi + 0x10]
mov ecx, dword [ebx + 0x10]
call fcn.0041ed90
mov edi, eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x417aa3
mov ecx, dword [ebx + 0x10]
lea eax, [esi + 0x2c]
push eax
mov eax, dword [ebp + 0xc]
push dword [eax]
call fcn.0041f0b0
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov edi, dword [esi + 0x2c]
test edi, edi
je 0x417947
lock sub dword [edi + 4], 1
jne 0x417947
add edi, 4
mov eax, dword [edi - 4]
add edi, 0xfffffffc
mov ebx, dword [eax + 0x70]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 1
call ebx
mov ebx, dword [esi + 0x14]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
mov ebx, 8
mov ecx, dword [esi + 8]
lock sub dword [ecx], 1
jne 0x417998
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
mov dword [esi + 8], ecx
mov edi, dword [eax + 0x70]
mov ecx, edi
call dword [section..00cfg]
mov ecx, dword [esi + 8]
push 1
call edi
mov edi, dword [esi + 0x14]
lock sub dword [edi + 4], 1
je 0x4179cb
jmp 0x4179e7
mov ebx, 8
jmp 0x4179e7
mov edi, dword [esi + 0x14]
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov ebx, 8
lock sub dword [edi + 4], 1
jne 0x4179e7
add edi, 4
mov eax, dword [edi - 4]
add edi, 0xfffffffc
mov ecx, dword [eax + 0x70]
mov dword [esi + 0x10], ecx
call dword [section..00cfg]
mov ecx, edi
push 1
call dword [esi + 0x10]
lea ecx, [esi + 0x80]
call fcn.00464340
lea ecx, [esi + 0x30]
call fcn.0048f890
lea ecx, [esi + 0x50]
call fcn.0048f890
lea ecx, [esi + 0xa0]
call fcn.00464340
mov eax, dword [esi + 0x6c]
add eax, 1
cmp eax, 2
jb 0x417a28
call fcn.0045f9d0
push dword [esi + 0x6c]
call fcn.00474ca0
add esp, 4
lea ecx, [esi + 0xc0]
call fcn.0041ccb0
lea ecx, [esi + 0xe0]
call fcn.0042fbc0
mov ecx, dword [esi + 0x1b8]
xor ecx, ebp
call fcn.006c9121
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov ecx, ebx
call fcn.00474260
jmp 0x417419
mov ecx, edi
call fcn.00474260
jmp 0x4175ff
mov ecx, dword [esi + 8]
call fcn.00474260
jmp 0x4176b3
mov ecx, dword [esi + 8]
call fcn.00474260
jmp 0x417767
mov ecx, dword [esi + 8]
call fcn.00474260
jmp 0x417817
mov ecx, dword [esi + 0x18]
call fcn.00474260
jmp 0x417884
mov ecx, edi
call fcn.00474260
jmp 0x417907