Function at 0x447240
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 0x4f0426
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x668
mov eax, dword [0x53e01c]
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
sub esp, 0x18
lea eax, [esi + 0x13c]
mov ecx, esp
xor edi, edi
mov dword [ebp - 0x674], edi
push eax
call fcn.00403e90
lea ecx, [ebp - 0x2c]
call fcn.0042d380
add esp, 0x18
mov dword [ebp - 4], edi
cmp dword [ebp - 0x1c], edi
jne 0x44731b
push edi
push 0xa
lea eax, [ebp - 0x44]
push eax
push ecx
call fcn.00425940
add esp, 4
mov ecx, eax
call fcn.00425a40
lea eax, [ebp - 0x44]
mov edi, 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00417300
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x447311
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447307
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447ae2
push edx
push ecx
call fcn.0045b5e1
add esp, 8
cmp dword [ebp - 0x1c], 0
je 0x447a66
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x447a66
sub esp, 0x18
mov ecx, esp
push 0x16
push str.Clear_Unuse_File_Begin
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.00407890
call fcn.0044ac60
add esp, 0x18
lea eax, [esi + 0x7c]
lea ecx, [ebp - 0x74]
push eax
call fcn.00403e90
mov byte [ebp - 4], 1
cmp dword [esi + 0x14c], 0
je 0x4473e0
sub esp, 0x18
lea eax, [esi + 0x13c]
mov ecx, esp
push eax
call fcn.00403e90
lea ecx, [ebp - 0x8c]
call fcn.0042d4e0
add esp, 0x18
lea ecx, [ebp - 0x74]
push eax
call fcn.00417300
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x4473e0
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4473d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447aba
push edx
push ecx
call fcn.0045b5e1
add esp, 8
cmp dword [ebp - 0x64], 0
je 0x44746a
lea eax, [ebp - 0x668]
push eax
call fcn.00446830
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0x564]
mov ecx, esp
push eax
call fcn.00403e90
lea ecx, [ebp - 0x8c]
call fcn.0042d4e0
add esp, 0x18
lea ecx, [ebp - 0x74]
push eax
call fcn.00417300
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x44745f
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447455
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447abf
push edx
push ecx
call fcn.0045b5e1
add esp, 8
lea ecx, [ebp - 0x668]
call fcn.0040ecc0
mov eax, 0x5c
mov dword [ebp - 0xd4], 0
mov word [ebp - 0xd8], ax
mov dword [ebp - 0xd0], 0
mov byte [ebp - 4], 3
mov eax, 0x7ffffffe
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
cmp eax, 2
jb 0x447ac4
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 2
cmovae eax, dword [ebp - 0x2c]
push 0x52fac0
push ecx
push eax
push ecx
push dword [ebp - 0x670]
lea ecx, [ebp - 0x44]
call fcn.004044f0
or edi, 2
mov dword [ebp - 0x674], edi
mov byte [ebp - 4], 4
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x530]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.0042a520
mov byte [ebp - 4], 3
mov esi, eax
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x447528
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44751e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447ac9
push edx
push ecx
call fcn.0045b5e1
add esp, 8
test esi, esi
je 0x44787b
mov ecx, dword [ebp - 0xd0]
test ecx, ecx
je 0x447576
mov eax, dword [ebp - 0x530]
shr eax, 4
and eax, 1
je 0x447576
cmp word [ebp - 0x504], 0x2e
jne 0x447576
mov ax, word [ebp - 0x502]
test ax, ax
je 0x44784f
cmp ax, 0x2e
jne 0x447576
cmp word [ebp - 0x500], 0
je 0x44784f
mov byte [ebp - 4], 5
call fcn.00407ca0
mov ecx, eax
test ecx, ecx
je 0x447ad3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
or edi, 4
cmp dword [ebp - 0xd0], 0
mov dword [ebp - 0x670], edi
mov dword [ebp - 0x674], edi
lea esi, [eax + 0x10]
mov dword [ebp - 0x678], esi
je 0x4475c9
lea eax, [ebp - 0x504]
push eax
lea ecx, [ebp - 0x678]
call fcn.00418430
mov esi, dword [ebp - 0x678]
cmp dword [esi - 0xc], 0
jl 0x4475eb
push 0x52f374
push esi
call fcn.004be58c
add esp, 8
test eax, eax
je 0x4475eb
sub eax, esi
sar eax, 1
je 0x447824
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4475f0
mov eax, dword [ebp - 0x64]
lea edi, [ebp - 0x74]
sub ecx, edx
sar ecx, 1
cmp dword [ebp - 0x60], 8
cmovae edi, dword [ebp - 0x74]
cmp eax, ecx
jne 0x447635
mov edx, eax
mov ecx, esi
test edx, edx
je 0x447631
sub edi, esi
nop dword [eax + eax]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x447635
add ecx, 2
sub edx, 1
jne 0x447620
mov al, 1
jmp 0x447637
xor al, al
test al, al
jne 0x44781e
mov ecx, dword [ebp - 0x1c]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x447ac4
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 1
cmovae eax, dword [ebp - 0x2c]
push 0x52bac0
push ecx
push eax
push ecx
push dword [ebp - 0x66c]
lea ecx, [ebp - 0x8c]
call fcn.004044f0
mov edi, dword [ebp - 0x670]
or edi, 8
mov dword [ebp - 0x674], edi
mov ecx, esi
mov byte [ebp - 4], 6
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447690
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x8c]
call fcn.00404090
xor ecx, ecx
or edi, 0x10
mov dword [ebp - 0x674], edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x44771a
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447710
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447aba
push edx
push ecx
call fcn.0045b5e1
add esp, 8
xor eax, eax
mov dword [ebp - 0xbc], 0
xorps xmm0, xmm0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
sub esp, 0x18
mov byte [ebp - 4], 9
mov dword [ebp - 0xc4], eax
mov ecx, esp
lea eax, [ebp - 0x44]
push eax
call fcn.00403e90
lea ecx, [ebp - 0xc4]
call fcn.0042ddb0
mov edx, dword [ebp - 0x34]
sub esp, 0x18
mov eax, 0x7ffffffe
mov ecx, esp
sub eax, edx
mov dword [ebp - 0x66c], ecx
cmp eax, 0xc
jb 0x447ac4
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push edx
cmovae eax, dword [ebp - 0x44]
push eax
push 0xc
push str.delete_File:
push ecx
push dword [ebp - 0x66c]
call fcn.004044f0
or edi, 0x20
mov dword [ebp - 0x674], edi
call fcn.0044ac60
add esp, 0x18
lea ecx, [ebp - 0xc4]
call fcn.0042d250
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x447824
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447812
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447aba
push edx
push ecx
call fcn.0045b5e1
add esp, 8
jmp 0x447824
mov edi, dword [ebp - 0x670]
and edi, 0xfffffffb
mov byte [ebp - 4], 3
mov dword [ebp - 0x674], edi
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x447849
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x44787b
test ecx, ecx
je 0x44787b
lea ecx, [ebp - 0x530]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, eax
mov dword [ebp - 0xd0], ecx
test ecx, ecx
jne 0x44753a
mov ecx, dword [ebp - 0x1c]
mov esi, 0x7ffffffe
mov eax, esi
sub eax, ecx
cmp eax, 0xc
jb 0x447ace
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0xc
cmovae eax, dword [ebp - 0x2c]
push str.UpdateFiles
push ecx
push eax
push ecx
push dword [ebp - 0x66c]
lea ecx, [ebp - 0x5c]
call fcn.004044f0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44798b
xor eax, eax
mov dword [ebp - 0xbc], 0
xorps xmm0, xmm0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov dword [ebp - 0xc4], eax
mov ecx, esp
lea eax, [ebp - 0x5c]
push eax
call fcn.00403e90
lea ecx, [ebp - 0xc4]
call fcn.0042ddb0
mov edx, dword [ebp - 0x4c]
sub esp, 0x18
sub esi, edx
mov ecx, esp
mov dword [ebp - 0x66c], ecx
cmp esi, 0xe
jb 0x447add
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push edx
cmovae eax, dword [ebp - 0x5c]
push eax
push 0xe
push str.delete_Folder:
push ecx
push dword [ebp - 0x66c]
call fcn.004044f0
call fcn.0044ac60
add esp, 0x18
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xc4]
call fcn.0042d250
sub esp, 0x18
mov ecx, esp
push 0x14
push str.Clear_Unuse_File_End
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.00407890
call fcn.0044ac60
mov edx, dword [ebp - 0x48]
add esp, 0x18
cmp edx, 8
jb 0x4479f2
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4479e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447ae2
push edx
push ecx
call fcn.0045b5e1
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x48], 7
test eax, eax
je 0x447a2c
cmp eax, 0xffffffff
je 0x447a2c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x447a66
mov edx, dword [ebp - 0x74]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x447a5c
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447ae2
push ecx
push edx
call fcn.0045b5e1
add esp, 8
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x447a9c
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447a92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447ae2
push edx
push ecx
call fcn.0045b5e1
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.0045b5b0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004c1e0f
call fcn.004c1e0f
call fcn.00407690
call fcn.004c1e0f
call fcn.00407690
push 0x80004005
call fcn.00407a00
call fcn.00407690
call fcn.004c1e0f
int3