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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x131f625b
push eax
mov dword fs:[0], esp
sub esp, 0x430
push ebx
push ebp
push esi
mov esi, dword [esp + 0x44c]
test esi, esi
push edi
je 0x1312e308
mov edi, dword [esp + 0x454]
test edi, edi
je 0x1312e308
push 0
push esi
call fcn.13196a80
add esp, 8
test eax, eax
je 0x1312e308
push 0
push 0
push 3
push 0
push 2
push 0x10000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x1312e308
inc edi
push edi
mov dword [esp + 0x30], edi
call fcn.131e7f70
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1312e308
push edi
call fcn.131e7f70
mov esi, eax
add esp, 4
test esi, esi
je 0x1312e2f2
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
mov dword [esp + 0x28], 0
push 0
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x458]
lea eax, [esp + 0x2c]
push eax
push ecx
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1312e2f2
mov ecx, dword [0x1321b6a8]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
jle 0x1312e2f2
mov dword [esp + 0x10], str.all_in_one_window_typetrue
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push eax
push ebx
call fcn.1314d560
mov ecx, dword [esp + 0x34]
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 8
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test ebp, ebp
rep stosb byte es:[edi], al
je 0x1312e159
mov edx, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x1c], 1
mov edi, dword [edx]
repne scasb al, byte es:[edi]
mov edi, dword [edx + 4]
not ecx
dec ecx
mov dword [esp + 0x14], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebp
mov dword [esp + 0x18], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub ecx, edx
push ecx
push ebx
push esi
call fcn.1314d410
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push eax
mov edx, dword [ecx + 4]
push edx
push esi
call fcn.1314d950
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x2c]
not ecx
dec ecx
sub ecx, eax
add eax, ebp
push ecx
push eax
push esi
call fcn.1314d950
mov ecx, dword [esp + 0x50]
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push ebx
call fcn.1314d410
add esp, 0x30
jmp 0x1312e1af
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x24]
call fcn.13165290
mov eax, dword [0x13234310]
mov dword [esp + 0x448], 0
test eax, eax
je 0x1312e19b
mov edx, dword [esp + 0x20]
push edx
push str.LINEConfigModify_Cannot_Found___s_
push str.LINE
push 0xffffffffffffffff
push 0x132342a4
call fcn.131403d0
add esp, 0x14
lea ecx, [esp + 0x20]
mov dword [esp + 0x448], 0xffffffff
call fcn.13165c10
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov ecx, dword [0x1321b6a8]
inc eax
add edx, 8
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], edx
jl 0x1312e080
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1312e2f2
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x32]
mov word [esp + 0x30], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [esp + 0x450]
push eax
push ebp
lea eax, [esp + 0x38]
push str._s_Bak_08x
push eax
call fcn.1314d81b
add esp, 0x10
lea ecx, [esp + 0x30]
push 0
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1312e2f2
push 0
push 0
push 3
push 0
push 2
push 0x10000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1312e2f2
push 0
push 0
push 0
push edi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x14]
push 0
push edx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1312e295
lea ecx, [esp + 0x30]
push ecx
jmp 0x1312e2ec
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x23a]
mov word [esp + 0x238], 0
rep stosd dword es:[edi], eax
push ebp
lea edx, [esp + 0x23c]
push str._s_WriteFileError
push edx
stosw word es:[edi], ax
call fcn.1314d81b
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
add esp, 0xc
lea eax, [esp + 0x238]
push eax
push ebp
call edi
test eax, eax
je 0x1312e2f2
lea ecx, [esp + 0x30]
push ebp
push ecx
call edi
lea edx, [esp + 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call fcn.131e7f99
add esp, 4
test esi, esi
je 0x1312e308
push esi
call fcn.131e7f99
add esp, 4
mov ecx, dword [esp + 0x440]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x43c
ret