Function at 0x45d100
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5186e0
mov eax, dword fs:[0]
push eax
sub esp, 0x65c
mov eax, dword [0x56d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
sub esp, 0x18
lea edi, [ebx + 0x13c]
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x45d153
mov eax, dword [ecx]
jmp 0x45d155
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
push edx
push edi
mov word [eax], dx
call fcn.0041d980
lea ecx, [ebp - 0x28]
call fcn.00441000
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
jne 0x45d1ea
push ecx
mov edx, 0xa
lea ecx, [ebp - 0x58]
call fcn.0043b100
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x45d1c7
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x45d1aa
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0041e1c0
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0041de40
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x45d1e0
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0041e1c0
cmp dword [ebp - 0x18], 0
je 0x45d6d6
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45d6d6
sub esp, 0x18
mov ecx, esp
push str.Clear_Unuse_File_Begin
call fcn.00419a80
call fcn.0045fb50
add esp, 0x18
mov dword [ebp - 0x2c], 7
xor ecx, ecx
mov dword [ebp - 0x30], 0
lea eax, [ebx + 0x7c]
mov word [ebp - 0x40], cx
push 0xffffffffffffffff
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.0041d980
mov byte [ebp - 4], 2
cmp dword [edi + 0x10], 0
je 0x45d297
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x45d265
mov eax, dword [ecx]
jmp 0x45d267
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
push edx
push edi
mov word [eax], dx
call fcn.0041d980
lea ecx, [ebp - 0xc0]
call fcn.00441120
add esp, 0x18
lea ecx, [ebp - 0x40]
push eax
call fcn.0042adf0
lea ecx, [ebp - 0xc0]
call fcn.0041e2c0
cmp dword [ebp - 0x30], 0
je 0x45d30d
lea eax, [ebp - 0x660]
push eax
call fcn.0045c980
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x45d2ca
mov eax, dword [ecx]
jmp 0x45d2cc
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x55c]
push edx
push eax
call fcn.0041d980
lea ecx, [ebp - 0xc0]
call fcn.00441120
add esp, 0x18
lea ecx, [ebp - 0x40]
push eax
call fcn.0042adf0
lea ecx, [ebp - 0xc0]
call fcn.0041e2c0
lea ecx, [ebp - 0x660]
call fcn.00423da0
mov eax, 0x5c
mov dword [ebp - 0xcc], 0
mov word [ebp - 0xd0], ax
mov dword [ebp - 0xc8], 0
push 0x55b680
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00439f74
add esp, 4
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x45d350
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x528]
call fcn.00440db0
mov byte [ebp - 4], 4
mov esi, eax
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x45d377
inc ecx
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.0041e1c0
test esi, esi
je 0x45d571
mov ecx, dword [ebp - 0xc8]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
test ecx, ecx
je 0x45d3cb
mov eax, dword [ebp - 0x528]
shr eax, 4
and eax, 1
je 0x45d3cb
cmp word [ebp - 0x4fc], 0x2e
jne 0x45d3cb
mov ax, word [ebp - 0x4fa]
test ax, ax
je 0x45d549
cmp ax, 0x2e
jne 0x45d3cb
cmp word [ebp - 0x4f8], 0
je 0x45d549
lea eax, [ebp - 0x664]
push eax
lea ecx, [ebp - 0x528]
call fcn.00440d00
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x664]
cmp dword [esi - 0xc], 0
jl 0x45d40f
push 0x55c6d0
push esi
call fcn.004e91d4
mov esi, dword [ebp - 0x664]
add esp, 8
test eax, eax
je 0x45d40f
sub eax, esi
sar eax, 1
je 0x45d527
push esi
lea ecx, [ebp - 0x40]
call fcn.004198d0
test eax, eax
je 0x45d527
push 0x557874
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0xc0]
call fcn.00439f74
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
push dword [ebp - 0x664]
mov edx, eax
call fcn.0043a808
add esp, 4
mov eax, dword [ebp - 0xac]
cmp eax, 8
jb 0x45d46b
inc eax
lea ecx, [ebp - 0xc0]
push eax
push dword [ebp - 0xc0]
call fcn.0041e1c0
xor eax, eax
mov dword [ebp - 0xa4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0xa8], eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], eax
cmp dword [ecx + 0x14], 8
jb 0x45d4c5
mov eax, dword [ecx]
jmp 0x45d4c7
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x58]
push edx
push eax
call fcn.0041d980
lea ecx, [ebp - 0xa8]
call fcn.004417c0
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
mov edx, str.delete_File:
push eax
call fcn.00419fa0
add esp, 4
call fcn.0045fb50
add esp, 0x18
lea ecx, [ebp - 0xa8]
call fcn.00440ee0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x45d521
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0041e1c0
mov esi, dword [ebp - 0x664]
mov byte [ebp - 4], 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45d543
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x45d571
test ecx, ecx
je 0x45d571
lea ecx, [ebp - 0x528]
push ecx
push eax
call edi
mov ecx, eax
mov dword [ebp - 0xc8], ecx
test ecx, ecx
jne 0x45d38f
push str.UpdateFiles
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.00439f74
add esp, 4
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45d647
xor eax, eax
mov dword [ebp - 0xa4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0xa8], eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], eax
cmp dword [ecx + 0x14], 8
jb 0x45d5fc
mov eax, dword [ecx]
jmp 0x45d5fe
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x70]
push edx
push eax
call fcn.0041d980
lea ecx, [ebp - 0xa8]
call fcn.004417c0
sub esp, 0x18
lea eax, [ebp - 0x70]
mov ecx, esp
mov edx, str.delete_Folder:
push eax
call fcn.00419fa0
add esp, 4
call fcn.0045fb50
add esp, 0x18
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa8]
call fcn.00440ee0
sub esp, 0x18
mov ecx, esp
push str.Clear_Unuse_File_End
call fcn.00419a80
call fcn.0045fb50
mov eax, dword [ebp - 0x5c]
add esp, 0x18
cmp eax, 8
jb 0x45d673
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.0041e1c0
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x60], 0
test eax, eax
je 0x45d6ad
cmp eax, 0xffffffff
je 0x45d6ad
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x45d6c2
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0041e1c0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x45d6eb
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0041e1c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00471876
mov esp, ebp
pop ebp
ret