Function at 0x464b00
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 0x57ba69
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd0
mov eax, dword [0x5f5ea4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x464b4d
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46504c
push ecx
push 0x5e0f64
mov ecx, esi
call fcn.00452dc0
mov dword [ebp - 0x4c], eax
cmp eax, 0xffffffff
je 0x46504c
push ecx
push 0x5e05b0
mov ecx, esi
call fcn.00452dc0
mov edi, eax
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
push eax
push 0x5e0c9c
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x2c], ax
call fcn.0044b730
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x5e0c9c
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.0044b730
mov byte [ebp - 4], 1
cmp edi, 0xffffffff
je 0x464c95
cmp edi, dword [ebp - 0x4c]
jl 0x464c95
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call fcn.00452d60
push eax
lea ecx, [ebp - 0x2c]
call fcn.00449980
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x464c3c
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x464c32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46506a
push edx
push ecx
call fcn.00536ae6
add esp, 8
push edi
push 0
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call fcn.00452d60
push eax
lea ecx, [ebp - 0x44]
call fcn.00449980
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x464cb2
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x464c89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46506f
push edx
push ecx
call fcn.00536ae6
add esp, 8
jmp 0x464cb2
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x464cb2
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x464ca6
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x44]
push eax
call fcn.0044b730
xor eax, eax
inc eax
lea ecx, [ebp - 0xe0]
mov edx, eax
mov dword [ebp - 0x70], eax
call fcn.0044e320
mov edi, eax
push 0x5e0ca4
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb8]
call fcn.004544e0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 3
mov ecx, dword [edx + 0x10]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x54], ecx
mov ecx, dword [edx + 0x14]
sub ecx, dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
cmp eax, ecx
jbe 0x464d22
mov eax, dword [edi + 0x14]
sub eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
cmp eax, ecx
jb 0x464d1f
cmp dword [edx + 0x14], 8
jb 0x464d12
mov edx, dword [edx]
push ecx
push edx
push 0
mov ecx, edi
call fcn.00454ab0
jmp 0x464d33
mov eax, dword [ebp - 0x4c]
cmp dword [edi + 0x14], 8
jb 0x464d2a
mov edi, dword [edi]
push eax
push edi
mov ecx, edx
call fcn.00452f50
mov dword [ebp - 0x5c], 0
xor ecx, ecx
mov dword [ebp - 0x58], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x6c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x5c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x5e0ca0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 4
call fcn.00452f50
mov dword [ebp - 0x90], 0
xor ecx, ecx
mov dword [ebp - 0x8c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0xa0]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00452f50
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc8], xmm0
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x88]
movq qword [ebp - 0x50], xmm0
movq qword [ebp - 0x78], xmm0
cmp esi, eax
je 0x464e2e
mov ecx, esi
call fcn.00449920
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [esi + 0x10], xmm0
jmp 0x464e6b
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x464e6b
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x464e61
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46506a
push edx
push ecx
call fcn.00536ae6
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x464eaf
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x464ea5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46506a
push edx
push ecx
call fcn.00536ae6
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
cmp edx, 8
jb 0x464f0a
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x464f00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46506a
push edx
push ecx
call fcn.00536ae6
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
cmp edx, 8
jb 0x464f62
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x464f58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46506a
push edx
push ecx
call fcn.00536ae6
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
cmp edx, 8
jb 0x464fc3
mov ecx, dword [ebp - 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x464fb9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46506a
push edx
push ecx
call fcn.00536ae6
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x464fcd
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x464fe0
mov eax, dword [ebp - 0x70]
jmp 0x464cb4
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x465016
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46500c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465074
push edx
push ecx
call fcn.00536ae6
add esp, 8
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x46504c
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x465042
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465079
push edx
push ecx
call fcn.00536ae6
add esp, 8
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.005368a5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00552581
call fcn.00552581
call fcn.00552581
call fcn.00552581
int3