Function at 0x45af10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5700f9
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x5e8ea4]
xor eax, ebp
mov dword [ebp - 0x10], 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 0x45af49
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45b45e
mov edi, dword [esi + 0x14]
mov ecx, esi
cmp edi, 8
jb 0x45af64
mov ecx, dword [esi]
push dword [ebp - 0x44]
mov edx, dword [esi + 0x10]
push 1
push 0x5d5c80
push ecx
call fcn.00451490
add esp, 0x10
mov dword [ebp - 0x48], eax
cmp eax, 0xffffffff
je 0x45b45e
mov ecx, esi
cmp edi, 8
jb 0x45af8f
mov ecx, dword [esi]
push dword [ebp - 0x44]
mov edx, dword [esi + 0x10]
push 1
push 0x5d54d0
push ecx
call fcn.00451490
add esp, 0x10
mov dword [ebp - 0x18], 0
mov edi, eax
mov dword [ebp - 0x14], 7
xor eax, eax
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
push eax
push 0x5d5a3c
call fcn.0044a890
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x5d5a3c
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.0044a890
mov byte [ebp - 4], 1
cmp edi, 0xffffffff
je 0x45b0ac
cmp edi, dword [ebp - 0x48]
jl 0x45b0ac
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.0044fc30
push eax
lea ecx, [ebp - 0x28]
call fcn.004494d0
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x45b059
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b04f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b479
push edx
push ecx
call fcn.0052cac7
add esp, 8
push edi
push 0
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.0044fc30
push eax
lea ecx, [ebp - 0x40]
call fcn.004494d0
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x45b0c9
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b0a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b47e
push edx
push ecx
call fcn.0052cac7
add esp, 8
jmp 0x45b0c9
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x45b0c9
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45b0bd
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.0044a890
xor eax, eax
nop dword [eax + eax]
inc eax
lea ecx, [ebp - 0xd8]
mov edx, eax
mov dword [ebp - 0x44], eax
call fcn.0044d140
mov edi, eax
push 0x5d5a44
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.00451290
add esp, 4
mov edx, eax
mov byte [ebp - 4], 3
mov ecx, dword [edx + 0x10]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x50], ecx
mov ecx, dword [edx + 0x14]
sub ecx, dword [ebp - 0x50]
mov dword [ebp - 0x48], eax
cmp eax, ecx
jbe 0x45b13d
mov eax, dword [edi + 0x14]
sub eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
cmp eax, ecx
jb 0x45b13a
cmp dword [edx + 0x14], 8
jb 0x45b12e
mov edx, dword [edx]
push ecx
push edx
push ecx
mov ecx, edi
call fcn.00451950
jmp 0x45b14e
mov eax, dword [ebp - 0x48]
cmp dword [edi + 0x14], 8
jb 0x45b145
mov edi, dword [edi]
push eax
push edi
mov ecx, edx
call fcn.0044fc90
mov dword [ebp - 0x58], 0
xor ecx, ecx
mov dword [ebp - 0x54], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x58], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x5d5a40
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.0044fc90
mov dword [ebp - 0x88], 0
xor ecx, ecx
mov dword [ebp - 0x84], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x88], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x98]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0044fc90
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc0], xmm0
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x80]
movq qword [ebp - 0x4c], xmm0
movq qword [ebp - 0x70], xmm0
cmp esi, eax
je 0x45b243
mov ecx, esi
call fcn.00449470
movups xmm0, xmmword [ebp - 0xc0]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x4c]
movq qword [esi + 0x10], xmm0
jmp 0x45b27d
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x45b27d
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b273
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b479
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x45b2c1
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b2b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b479
push edx
push ecx
call fcn.0052cac7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
cmp edx, 8
jb 0x45b31c
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b312
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b479
push edx
push ecx
call fcn.0052cac7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp edx, 8
jb 0x45b374
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b36a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b479
push edx
push ecx
call fcn.0052cac7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
cmp edx, 8
jb 0x45b3d5
mov ecx, dword [ebp - 0xd8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b3cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b479
push edx
push ecx
call fcn.0052cac7
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45b3df
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45b3f2
mov eax, dword [ebp - 0x44]
jmp 0x45b0d0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x45b428
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b41e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b483
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x45b45e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b454
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b488
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c886
mov esp, ebp
pop ebp
ret
call fcn.00548571
call fcn.00548571
call fcn.00548571
call fcn.00548571
int3