Function at 0x451a10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f40e0
mov eax, dword fs:[0]
push eax
sub esp, 0x65c
mov eax, dword [0x54006c]
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 0x451a63
mov eax, dword [ecx]
jmp 0x451a65
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
push edx
push edi
mov word [eax], dx
call fcn.004159f0
lea ecx, [ebp - 0x28]
call fcn.00434f80
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
jne 0x451afa
push ecx
mov edx, 0xa
lea ecx, [ebp - 0x58]
call fcn.0042eb00
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x451ad7
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x451aba
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00418d80
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.00415130
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x451af0
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00418d80
cmp dword [ebp - 0x18], 0
je 0x451fe7
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 0x451fe7
sub esp, 0x18
mov ecx, esp
push str.Clear_Unuse_File_Begin
call fcn.004146c0
call fcn.00454550
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.004159f0
mov byte [ebp - 4], 2
cmp dword [edi + 0x10], 0
je 0x451ba7
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x451b75
mov eax, dword [ecx]
jmp 0x451b77
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
push edx
push edi
mov word [eax], dx
call fcn.004159f0
lea ecx, [ebp - 0xc0]
call fcn.004350a0
add esp, 0x18
lea ecx, [ebp - 0x40]
push eax
call fcn.00420890
lea ecx, [ebp - 0xc0]
call fcn.00418e80
cmp dword [ebp - 0x30], 0
je 0x451c1d
lea eax, [ebp - 0x660]
push eax
call fcn.00451290
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 0x451bda
mov eax, dword [ecx]
jmp 0x451bdc
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x55c]
push edx
push eax
call fcn.004159f0
lea ecx, [ebp - 0xc0]
call fcn.004350a0
add esp, 0x18
lea ecx, [ebp - 0x40]
push eax
call fcn.00420890
lea ecx, [ebp - 0xc0]
call fcn.00418e80
lea ecx, [ebp - 0x660]
call fcn.0041bf00
mov eax, 0x5c
mov dword [ebp - 0xcc], 0
mov word [ebp - 0xd0], ax
mov dword [ebp - 0xc8], 0
push 0x532024
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00433cd0
add esp, 4
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x451c60
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x528]
call fcn.00434cc0
mov byte [ebp - 4], 4
mov esi, eax
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x451c87
inc ecx
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.00418d80
test esi, esi
je 0x451e82
mov ecx, dword [ebp - 0xc8]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
test ecx, ecx
je 0x451cdb
mov eax, dword [ebp - 0x528]
shr eax, 4
and eax, 1
je 0x451cdb
cmp word [ebp - 0x4fc], 0x2e
jne 0x451cdb
mov ax, word [ebp - 0x4fa]
test ax, ax
je 0x451e5a
cmp ax, 0x2e
jne 0x451cdb
cmp word [ebp - 0x4f8], 0
je 0x451e5a
lea eax, [ebp - 0x664]
push eax
lea ecx, [ebp - 0x528]
call fcn.00434c10
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x664]
cmp dword [esi - 0xc], 0
jl 0x451d1f
push 0x53321c
push esi
call fcn.004c6c48
mov esi, dword [ebp - 0x664]
add esp, 8
test eax, eax
je 0x451d1f
sub eax, esi
sar eax, 1
je 0x451e38
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.00455710
test al, al
jne 0x451e38
push 0x52e704
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0xc0]
call fcn.00433cd0
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
push dword [ebp - 0x664]
mov edx, eax
call fcn.00434ac0
add esp, 4
mov eax, dword [ebp - 0xac]
cmp eax, 8
jb 0x451d7c
inc eax
lea ecx, [ebp - 0xc0]
push eax
push dword [ebp - 0xc0]
call fcn.00418d80
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 0x451dd6
mov eax, dword [ecx]
jmp 0x451dd8
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x58]
push edx
push eax
call fcn.004159f0
lea ecx, [ebp - 0xa8]
call fcn.004356e0
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
mov edx, str.delete_File:
push eax
call fcn.00414b80
add esp, 4
call fcn.00454550
add esp, 0x18
lea ecx, [ebp - 0xa8]
call fcn.00434df0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x451e32
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00418d80
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 0x451e54
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 0x451e82
test ecx, ecx
je 0x451e82
lea ecx, [ebp - 0x528]
push ecx
push eax
call edi
mov ecx, eax
mov dword [ebp - 0xc8], ecx
test ecx, ecx
jne 0x451c9f
push str.UpdateFiles
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.00433cd0
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 0x451f58
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 0x451f0d
mov eax, dword [ecx]
jmp 0x451f0f
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x70]
push edx
push eax
call fcn.004159f0
lea ecx, [ebp - 0xa8]
call fcn.004356e0
sub esp, 0x18
lea eax, [ebp - 0x70]
mov ecx, esp
mov edx, str.delete_Folder:
push eax
call fcn.00414b80
add esp, 4
call fcn.00454550
add esp, 0x18
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa8]
call fcn.00434df0
sub esp, 0x18
mov ecx, esp
push str.Clear_Unuse_File_End
call fcn.004146c0
call fcn.00454550
mov eax, dword [ebp - 0x5c]
add esp, 0x18
cmp eax, 8
jb 0x451f84
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00418d80
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 0x451fbe
cmp eax, 0xffffffff
je 0x451fbe
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x451fd3
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00418d80
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 0x451ffc
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00418d80
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.00465694
mov esp, ebp
pop ebp
ret