Function at 0x461da0
Capabilities:
Check if file exists
Check mutex on windows
Delete file
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x483458
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a0fe0]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
xor esi, esi
mov dword [esp + 0x38], esi
xor ebp, ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
push str.mep.exe
lea ecx, [esp + 0x3c]
mov dword [esp + 0x60], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], esi
call fcn.0044c460
mov eax, dword [0x4a5a34]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a5a34
mov byte [esp + 0x5c], 1
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
push str.____InTouchExitNotification___Enter_n
mov byte [esp + 0x60], 2
mov dword [esp + 0x24], esi
call fcn.00401010
push str.InTouchExitNotification___Enter_______________________________________n
push esi
call fcn.00448d80
add esp, 0xc
cmp byte [esp + 0x64], 0
je 0x461e5e
push str.GlobalMyEpson_Portal_Updating
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, esi
mov dword [esp + 0x20], eax
je 0x4620b6
mov ecx, edi
call fcn.0045ca40
push str.UpdateList
add edi, 0x28c
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00457f10
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [esp + 0x24]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461ea5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x462091
push str.UpdateList
lea ecx, [esp + 0x28]
push edi
push ecx
call fcn.00457f10
mov eax, dword [eax]
add esp, 0xc
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x461efb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebp, 0xffffffff
jne 0x461f07
xor ebp, ebp
jmp 0x462091
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x46208f
lea ecx, [esi + 2]
push ecx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x46208f
push 0
lea edx, [esp + 0x2c]
push edx
push esi
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46208f
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x34]
push ecx
push 0x4891f0
push edx
call fcn.0046eea3
add esp, 0xc
test eax, eax
je 0x461ff7
push eax
lea ecx, [esp + 0x30]
call fcn.0044c460
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x60], 3
call fcn.0045ddf0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], 2
call fcn.00448f90
mov bl, 4
jmp 0x461fa0
lea eax, [esp + 0x34]
push eax
push 0x4891f0
push 0
call fcn.0046eea3
add esp, 0xc
test eax, eax
je 0x461ff7
push eax
lea ecx, [esp + 0x30]
call fcn.0044c460
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x60], bl
call fcn.0045ddf0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461fa0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x461fa0
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x48]
call fcn.00457570
mov edx, dword [eax]
mov eax, dword [eax + 4]
push 0x4891e8
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call fcn.00455010
push eax
call fcn.00454fb0
add esp, 8
test al, al
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x48]
push edx
je 0x462047
mov eax, dword [esp + 0x6c]
push eax
call fcn.0045f6c0
jmp 0x46204c
call fcn.0045efe0
push str.ServiceTemp
lea eax, [esp + 0x30]
push edi
push eax
call fcn.00457f10
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462077
cmp byte [esp + 0x64], 0
je 0x462077
mov bl, 1
jmp 0x462079
xor bl, bl
lea ecx, [esp + 0x2c]
call fcn.00448f90
test bl, bl
je 0x46208f
mov ecx, dword [esp + 0x14]
call fcn.00459580
xor esi, esi
cmp dword [esp + 0x20], esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4620ab
mov edi, dword [esp + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call esi
test ebp, ebp
je 0x4620b2
push ebp
call esi
mov edi, dword [esp + 0x14]
push str.UpdateList
lea esi, [edi + 0x28c]
lea ecx, [esp + 0x68]
push esi
push ecx
call fcn.00457f10
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4620fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x4621ac
push str.UpdateList
lea ecx, [esp + 0x68]
push esi
push ecx
call fcn.00457f10
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x462140
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x4621ac
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push eax
push str._ERROR_DeleteFile_____d__n
call fcn.00401010
push str.UpdateList
lea ecx, [esp + 0x70]
push esi
push ecx
call fcn.00457f10
add esp, 0x14
mov ebp, eax
mov byte [esp + 0x5c], 5
call edi
mov edx, dword [ebp]
push eax
push edx
push str.ERROR_DeleteFile___Name_s___d__n
push 2
call fcn.00448d80
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x5c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4621ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalHandle]
jne 0x4621ce
mov edx, dword [esp + 0x14]
mov byte [edx + 0x286], 0
mov ebx, ecx
jmp 0x46225d
push str.UpdateList
lea eax, [esp + 0x68]
push esi
push eax
call fcn.00457f10
add esp, 0xc
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx - 0xc]
lea edi, [eax + eax]
push edi
push 0x42
mov byte [esp + 0x64], 6
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x462238
push edi
push ebx
push edi
push esi
call fcn.0046d018
add esp, 0x10
push 0
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x1c]
push edi
push esi
call fcn.00458d90
push esi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46225d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x462279
push esi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push str.____InTouchExitNotification___Exit_n
call fcn.00401010
push str.InTouchExitNotification___Exit_______________________________________n
push 0
call fcn.00448d80
lea eax, [ebx - 0x10]
add esp, 0xc
mov byte [esp + 0x5c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4622b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4622d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
test eax, eax
mov dword [esp + 0x5c], 0xffffffff
je 0x46230a
mov ecx, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x48]
push edx
push ecx
push eax
call fcn.00459bd0
mov edx, dword [esp + 0x58]
push edx
call fcn.00464923
add esp, 0x14
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 4