Function at 0x401600
Capabilities:
Delete file
Move file
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x1410
call fcn.0040c4f0
mov eax, dword [0x415d90]
xor eax, esp
mov dword [esp + 0x140c], eax
push ebx
mov ebx, ecx
test ebx, ebx
push esi
push edi
je 0x40163b
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401626
sub eax, edx
add eax, 4
cmp eax, 0x400
jb 0x401657
mov eax, dword [str._s:_Error_occurred_in_service__s._Processing_Terminated.]
mov ecx, dword [0x41500c]
push eax
push ecx
xor edi, edi
mov ecx, str.sduEncode
call fcn.00401380
add esp, 8
push ebp
push ebx
lea edx, [esp + 0x20]
push str._s.tmp
push edx
call dword [sym.imp.MSVCR80.dll_sprintf]
mov esi, dword [sym.imp.MSVCR80.dll_fopen]
push 0x40ecf0
push ebx
call esi
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x401699
mov eax, dword [str._s:_Cannot_open_output_file___s_._Processing_terminated.]
mov ecx, dword [0x415034]
push eax
push ecx
xor edi, edi
mov ecx, ebx
call fcn.00401380
add esp, 8
lea edx, [esp + 0x1c]
push 0x40ecec
push edx
call esi
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x18], esi
jne 0x4016d4
push ebp
call dword [sym.imp.MSVCR80.dll_fclose]
mov eax, dword [str._s:_Cannot_open_output_file___s_._Processing_terminated.]
mov ecx, dword [0x415034]
push eax
push ecx
xor edi, edi
lea ecx, [esp + 0x28]
call fcn.00401380
add esp, 0xc
push 1
push str.version__d_encrypted_n_n
push esi
call dword [sym.imp.MSVCR80.dll_fprintf]
add esp, 0xc
call fcn.00408580
lea ebx, [ebx]
push ebp
push 0x1000
lea edx, [esp + 0x424]
push 1
push edx
call dword [sym.imp.MSVCR80.dll_fread]
mov esi, eax
add esp, 0x10
test esi, esi
jle 0x4017ca
lea eax, [esp + 0x41c]
push esi
push eax
call fcn.00408600
mov ecx, dword [esp + 0x20]
push ecx
push esi
lea edx, [esp + 0x42c]
push 1
push edx
call dword [sym.imp.MSVCR80.dll_fwrite]
add esp, 0x18
cmp eax, esi
je 0x4017ca
push ebp
call dword [sym.imp.MSVCR80.dll_fclose]
mov eax, dword [0x41500c]
add esp, 4
cmp eax, dword [0x415e20]
je 0x40178a
mov ecx, dword [0x415e18]
mov dword [esp + 0x10], eax
mov eax, dword [str._s:_Error_occurred_in_service__s._Processing_Terminated.]
mov dword [esp + 0x14], eax
mov edx, dword [ecx + 0x1c3c]
push str.sduEncode
push edx
push 0
lea eax, [esp + 0x1c]
push eax
push 2
call dword [sym.imp.oodb94vc8.dll_int___cdecl_ooSignal_enum_ooErrorLevel__class_ooError_const___class_ooHandleBase_const__]
add esp, 0x14
mov ecx, dword [0x415e1c]
push 8
call fcn.00407f10
mov ecx, dword [0x415e18]
test ecx, ecx
mov edi, ecx
je 0x4017b1
call fcn.00408b50
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
test ebx, ebx
je 0x4017bf
push ebx
call dword [sym.imp.MSVCR80.dll__unlink]
add esp, 4
push 1
call dword [sym.imp.oodb94vc8.dll_void___cdecl_oo_exit_int_]
add esp, 4
cmp esi, 0x1000
je 0x4016f0
mov esi, dword [sym.imp.MSVCR80.dll_fclose]
push ebp
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
pop ebp
jne 0x401865
mov eax, dword [0x41500c]
cmp eax, dword [0x415e20]
je 0x401833
mov edx, dword [str._s:_Error_occurred_in_service__s._Processing_Terminated.]
mov dword [esp + 0xc], eax
mov eax, dword [0x415e18]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 0x1c3c]
push str.sduEncode
push ecx
push 0
lea edx, [esp + 0x18]
push edx
push 2
call dword [sym.imp.oodb94vc8.dll_int___cdecl_ooSignal_enum_ooErrorLevel__class_ooError_const___class_ooHandleBase_const__]
add esp, 0x14
mov ecx, dword [0x415e1c]
push 8
call fcn.00407f10
mov ecx, dword [0x415e18]
test ecx, ecx
mov esi, ecx
je 0x40185a
call fcn.00408b50
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push 1
call dword [sym.imp.oodb94vc8.dll_void___cdecl_oo_exit_int_]
add esp, 4
push ebx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x4018e6
mov eax, dword [0x41500c]
cmp eax, dword [0x415e20]
je 0x4018b4
mov ecx, dword [str._s:_Error_occurred_in_service__s._Processing_Terminated.]
mov edx, dword [0x415e18]
mov dword [esp + 0x10], ecx
push str.sduEncode
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x1c3c]
push eax
push 0
lea ecx, [esp + 0x18]
push ecx
push 2
call dword [sym.imp.oodb94vc8.dll_int___cdecl_ooSignal_enum_ooErrorLevel__class_ooError_const___class_ooHandleBase_const__]
add esp, 0x14
mov ecx, dword [0x415e1c]
push 8
call fcn.00407f10
mov ecx, dword [0x415e18]
test ecx, ecx
mov esi, ecx
je 0x4018db
call fcn.00408b50
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push 1
call dword [sym.imp.oodb94vc8.dll_void___cdecl_oo_exit_int_]
add esp, 4
mov ecx, dword [esp + 0x1418]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0040c4d0
add esp, 0x1410
ret