Function at 0x409f70
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 0x573310
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x5b3ef4]
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 0x409fd8
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x40a02e
push edi
mov ecx, esi
call fcn.00403190
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40a389
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a01f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3a9
push edx
push ecx
call fcn.0053140c
add esp, 8
jmp 0x40a389
push 0x5b4448
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 0x40a04c
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 0x40a098
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 0x40a120
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a116
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3ae
push edx
push ecx
call fcn.0053140c
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 0x40a171
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a167
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3b3
push edx
push ecx
call fcn.0053140c
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 0x40a1b2
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 0x40a1ec
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a1e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3b8
push edx
push ecx
call fcn.0053140c
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.0040a3d0
test al, al
jne 0x40a36a
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 0x40a36a
push 0x5b4448
lea ecx, [ebp - 0x5c]
call fcn.00403190
push edi
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.0040bf50
mov edi, eax
add esp, 4
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x40a26a
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 0x40a2a4
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a29a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3bd
push edx
push ecx
call fcn.0053140c
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 0x40a2f5
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a2eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3c2
push edx
push ecx
call fcn.0053140c
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 0x40a334
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 0x40a36a
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a360
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3c7
push edx
push ecx
call fcn.0053140c
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.0053287b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0055d660
call fcn.0055d660
call fcn.0055d660
call fcn.0055d660
call fcn.0055d660
call fcn.0055d660
call fcn.0055d660
int3