Function at 0x42c620
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f744
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
push ebx
push esi
push edi
mov eax, dword [0x5eb6e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x28], esi
call fcn.00453e50
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x42c66d
push 0x80004005
call fcn.004038e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp + 0xc]
add eax, 0x10
mov dword [ecx], eax
push 0xd
lea edx, [ebp - 0x30]
mov dword [ebp - 4], esi
mov edi, 1
push edx
mov ecx, 0x5f38c8
mov dword [ebp - 0x28], edi
call fcn.00432310
push str.ShareFile.dat
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], edi
call fcn.004024e0
add esp, 0xc
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c6d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
je 0x42c719
push ecx
call ebx
cmp eax, 0xffffffff
je 0x42c719
test al, 0x10
jne 0x42c719
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
je 0x42c70f
push eax
call ebx
cmp eax, 0xffffffff
je 0x42c70f
test al, 1
je 0x42c70f
mov ecx, dword [ebp - 0x10]
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xd
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x5f38c8
call fcn.00432310
push 0x5b9f10
push eax
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 4
call fcn.004024e0
add esp, 0xc
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c762
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0x5b1fe0
lea edi, [ebp - 0x14]
call fcn.0040b090
mov eax, dword [ebp - 0x14]
add esp, 8
cmp dword [eax - 0xc], esi
je 0x42c7b8
push eax
call ebx
cmp eax, 0xffffffff
je 0x42c7b8
test al, 0x10
je 0x42c7b8
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], esi
je 0x42c7ac
push eax
call ebx
cmp eax, 0xffffffff
je 0x42c7ac
test al, 1
je 0x42c7ac
mov edx, dword [ebp - 0x14]
and eax, 0xfffffffe
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x14]
push eax
call fcn.004140a0
add esp, 4
lea edi, [ebp - 0xe8]
call fcn.00401eb0
push 0x5f399c
mov ebx, edi
mov byte [ebp - 4], 7
call fcn.00401000
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov ebx, 1
mov dword [ebp - 0x34], esi
mov ecx, dword [edx - 8]
mov eax, ebx
sub eax, dword [edx - 4]
or ecx, eax
jge 0x42c81a
push 0
lea ecx, [ebp - 0x14]
call fcn.00403620
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx - 8]
mov eax, ebx
sub eax, dword [edx - 4]
or ecx, eax
jge 0x42c839
push 0
lea ecx, [ebp - 0x10]
call fcn.00403620
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x50], edx
mov edx, dword [ebp - 0xbc]
mov ecx, dword [edx - 8]
mov eax, ebx
sub eax, dword [edx - 4]
or ecx, eax
jge 0x42c861
push 0
lea ecx, [ebp - 0xbc]
call fcn.00403620
mov edx, dword [ebp - 0xbc]
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], ebx
call fcn.00436c60
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx - 8]
mov eax, ebx
sub eax, dword [edx - 4]
or ecx, eax
jge 0x42c890
push 0
lea ecx, [ebp - 0x18]
call fcn.00403620
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x48], edx
lea edx, [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + 0xb0]
mov dword [ebp - 0x3c], ebx
lea edx, [ebp - 0x5c]
mov dword [eax + 0x54], 0xb
mov dword [eax + 0x58], edx
mov edi, dword [ecx + 0xb0]
test edi, edi
je 0x42cace
mov eax, dword [edi + 0x60]
test eax, eax
je 0x42cace
push str.Download
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42cace
mov ecx, dword [edi + 0x58]
mov edx, dword [edi + 0x54]
push ecx
push edx
call eax
mov dword [edi + 0x5c], eax
test eax, eax
jne 0x42cace
call fcn.00453e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42c914
push 0x80004005
call fcn.004038e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 0x14], eax
cmp esi, 0xbc3
mov byte [ebp - 4], 9
jg 0x42c950
je 0x42c949
mov eax, esi
sub eax, ebx
je 0x42c942
sub eax, ebx
jne 0x42c965
push str.ScannerDriver
jmp 0x42c95d
push str.PrinterDriver
jmp 0x42c95d
push str.EpsonNetPrint
jmp 0x42c95d
cmp esi, 0xbc5
jne 0x42c965
push str.EpsonNetSetup
lea ecx, [ebp + 0x14]
call fcn.004032d0
mov edi, dword [ebp + 0x14]
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x20], esp
mov ebx, esp
push edi
call fcn.00403760
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.DownDLLLog
call fcn.00403320
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov ebx, esp
push eax
call fcn.00403760
add eax, 0x10
lea ecx, [ebp + 8]
add esp, 4
mov dword [ebx], eax
push ecx
mov byte [ebp - 4], 9
call fcn.00413730
add esp, 0x10
mov byte [ebp - 4], 0xc
mov esi, dword [ebp + 0xc]
push eax
mov ecx, esi
call fcn.004037d0
mov byte [ebp - 4], 9
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c9ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
jne 0x42ca96
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp + 0x14]
push 0x5b1fe0
push eax
call fcn.00404130
mov edi, dword [ebp + 0x14]
add esp, 8
add edi, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov ebx, esp
push edi
call fcn.00403760
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.DownDLLLog
call fcn.00403320
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
mov ebx, esp
push eax
call fcn.00403760
add eax, 0x10
lea ecx, [ebp + 8]
add esp, 4
mov dword [ebx], eax
push ecx
mov byte [ebp - 4], 9
call fcn.00413730
add esp, 0x10
push eax
mov ecx, esi
mov byte [ebp - 4], 0xf
call fcn.004037d0
mov byte [ebp - 4], 9
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ca96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi]
mov edx, dword [ebp + 0x10]
push ecx
push edx
push str.Download_Success_SoftID__d__Path__s__r_n
mov eax, 0x5f38b8
call fcn.004053d0
add esp, 0xc
mov byte [ebp - 4], 8
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42cad1
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
jmp 0x42cad1
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42caf4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cb17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cb36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0xc4]
call fcn.00401fa0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cb64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cb87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10