Function at 0x40a0c0
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573d60
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x5b4ef4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x64], esi
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x2c]
push edi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], eax
call fcn.00403190
mov dword [ebp - 4], 0
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x40a128
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x40a17e
push edi
mov ecx, esi
call fcn.00403190
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40a4d9
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a16f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a4f9
push edx
push ecx
call fcn.00531d2c
add esp, 8
jmp 0x40a4d9
push 0x5b5448
lea ecx, [ebp - 0x5c]
call fcn.00403190
mov eax, dword [ebp - 0x60]
mov ecx, eax
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x40a19c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00402350
mov dword [ebp - 0x34], 0
xor ecx, ecx
mov dword [ebp - 0x30], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 2
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x40a1e8
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x44]
push eax
call fcn.00402350
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x78], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x68], xmm0
call fcn.00403070
movups xmm0, xmmword [ebp - 0x78]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x68]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x30]
movq qword [ebp - 0x1c], xmm0
cmp edx, 8
jb 0x40a270
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a266
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a4fe
push edx
push ecx
call fcn.00531d2c
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x40a2c1
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a2b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a503
push edx
push ecx
call fcn.00531d2c
add esp, 8
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
call fcn.00401290
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x60], eax
cmp ecx, eax
je 0x40a302
call fcn.00403070
mov eax, dword [ebp - 0x60]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x40a33c
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a332
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a508
push edx
push ecx
call fcn.00531d2c
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.0040a520
test al, al
jne 0x40a4ba
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40a4ba
push 0x5b5448
lea ecx, [ebp - 0x5c]
call fcn.00403190
push edi
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.0040c1d0
mov edi, eax
add esp, 4
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x40a3ba
mov ecx, eax
call fcn.00403070
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x40a3f4
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a3ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a50d
push edx
push ecx
call fcn.00531d2c
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x40a445
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a43b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a512
push edx
push ecx
call fcn.00531d2c
add esp, 8
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
call fcn.00401290
mov edi, eax
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x40a484
mov ecx, eax
call fcn.00403070
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x40a4ba
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a4b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a517
push edx
push ecx
call fcn.00531d2c
add esp, 8
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053325b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0055e070
call fcn.0055e070
call fcn.0055e070
call fcn.0055e070
call fcn.0055e070
call fcn.0055e070
call fcn.0055e070
int3