Function at 0x45d5d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572f09
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x5ebea4]
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 0x45d609
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45db1e
mov edi, dword [esi + 0x14]
mov ecx, esi
cmp edi, 8
jb 0x45d624
mov ecx, dword [esi]
push dword [ebp - 0x44]
mov edx, dword [esi + 0x10]
push 1
push 0x5d8ea4
push ecx
call fcn.00453460
add esp, 0x10
mov dword [ebp - 0x48], eax
cmp eax, 0xffffffff
je 0x45db1e
mov ecx, esi
cmp edi, 8
jb 0x45d64f
mov ecx, dword [esi]
push dword [ebp - 0x44]
mov edx, dword [esi + 0x10]
push 1
push 0x5d84f0
push ecx
call fcn.00453460
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 0x5d8bdc
call fcn.0044a910
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x5d8bdc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.0044a910
mov byte [ebp - 4], 1
cmp edi, 0xffffffff
je 0x45d76c
cmp edi, dword [ebp - 0x48]
jl 0x45d76c
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.00451c00
push eax
lea ecx, [ebp - 0x28]
call fcn.00449550
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x45d719
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d70f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45db39
push edx
push ecx
call fcn.0052f5d6
add esp, 8
push edi
push 0
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.00451c00
push eax
lea ecx, [ebp - 0x40]
call fcn.00449550
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x45d789
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d760
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45db3e
push edx
push ecx
call fcn.0052f5d6
add esp, 8
jmp 0x45d789
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x45d789
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45d77d
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.0044a910
xor eax, eax
nop dword [eax + eax]
inc eax
lea ecx, [ebp - 0xd8]
mov edx, eax
mov dword [ebp - 0x44], eax
call fcn.0044d360
mov edi, eax
push 0x5d8be4
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.004531f0
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 0x45d7fd
mov eax, dword [edi + 0x14]
sub eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
cmp eax, ecx
jb 0x45d7fa
cmp dword [edx + 0x14], 8
jb 0x45d7ee
mov edx, dword [edx]
push ecx
push edx
push ecx
mov ecx, edi
call fcn.00453920
jmp 0x45d80e
mov eax, dword [ebp - 0x48]
cmp dword [edi + 0x14], 8
jb 0x45d805
mov edi, dword [edi]
push eax
push edi
mov ecx, edx
call fcn.00451c60
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 0x5d8be0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00451c60
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.00451c60
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 0x45d903
mov ecx, esi
call fcn.004494f0
movups xmm0, xmmword [ebp - 0xc0]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x4c]
movq qword [esi + 0x10], xmm0
jmp 0x45d93d
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x45d93d
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d933
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45db39
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x45d981
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d977
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45db39
push edx
push ecx
call fcn.0052f5d6
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 0x45d9dc
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d9d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45db39
push edx
push ecx
call fcn.0052f5d6
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 0x45da34
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45da2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45db39
push edx
push ecx
call fcn.0052f5d6
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 0x45da95
mov ecx, dword [ebp - 0xd8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45da8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45db39
push edx
push ecx
call fcn.0052f5d6
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45da9f
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45dab2
mov eax, dword [ebp - 0x44]
jmp 0x45d790
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x45dae8
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45dade
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45db43
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x45db1e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45db14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45db48
push edx
push ecx
call fcn.0052f5d6
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.0052f395
mov esp, ebp
pop ebp
ret
call fcn.0054b071
call fcn.0054b071
call fcn.0054b071
call fcn.0054b071
int3