Function at 0x140001230
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor r15d, r15d
movsxd rax, ecx
mov r14d, 1
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], r15
mov r12, rdx
mov qword [rsp + 0x30], r15
mov r13d, r15d
mov qword [rsp + 0x38], rax
cmp r14, rax
jge 0x1400015e4
mov rbp, qword [r12 + r14*8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov r8d, 0x16
movabs rdx, 0x8000000000000000
movabs rcx, 0x7fffffffffffffff
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rbx + rbp], r15b
jne 0x1400012b7
cmp rbx, rcx
ja 0x140001620
cmp rbx, 0xf
ja 0x140001306
mov r8, rbx
mov qword [rsp + 0x50], rbx
mov rdx, rbp
mov qword [rsp + 0x58], 0xf
lea rcx, [rsp + 0x40]
call fcn.140016670
mov byte [rsp + rbx + 0x40], r15b
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x40]
jmp 0x14000138f
mov rsi, rbx
or rsi, 0xf
cmp rsi, rcx
jbe 0x14000131b
mov rsi, rcx
lea rax, [rdx + 0x27]
jmp 0x14000133d
cmp rsi, 0x16
cmovb rsi, r8
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x14000135c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001626
mov rcx, rax
call fcn.140001770
test rax, rax
je 0x14000162c
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000136e
test rcx, rcx
je 0x14000136b
call fcn.140001770
mov rdi, rax
jmp 0x14000136e
mov rdi, r15
mov r8, rbx
mov qword [rsp + 0x40], rdi
mov rdx, rbp
mov qword [rsp + 0x50], rbx
mov rcx, rdi
mov qword [rsp + 0x58], rsi
call fcn.140016670
mov byte [rdi + rbx], r15b
cmp rsi, 0xf
lea rdx, [rsp + 0x40]
seta bpl
cmova rdx, rdi
cmp rbx, 5
jne 0x1400013eb
mov rax, r15
lea r8, str._from
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r8 + rax - 1]
jne 0x1400013c9
cmp rax, 5
jne 0x1400013b0
mov eax, r15d
jmp 0x1400013ce
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400013eb
mov rcx, qword [r12 + r14*8 + 8]
inc r14
call fcn.14000617c
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
jmp 0x14000144d
test bpl, bpl
lea rcx, [rsp + 0x40]
cmovne rcx, rdi
cmp rbx, 7
jne 0x140001429
mov r8, rbx
lea rdx, str._length
call fcn.140016cf0
test eax, eax
jne 0x140001429
mov rcx, qword [r12 + r14*8 + 8]
inc r14
call fcn.14000617c
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
jmp 0x14000144d
test r13, r13
jne 0x140001439
mov r13, qword [r12 + r14*8]
mov rbx, qword [rsp + 0x20]
jmp 0x14000144d
cmp qword [rsp + 0x20], r15
jne 0x1400015a3
mov rbx, qword [r12 + r14*8]
mov qword [rsp + 0x20], rbx
test bpl, bpl
je 0x140001483
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000147b
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000162c
mov rcx, rdi
call fcn.1400017ac
inc r14
cmp r14, qword [rsp + 0x38]
jl 0x14000128a
test r13, r13
je 0x1400015e4
test rbx, rbx
je 0x1400015e4
lea rdx, [0x140020690]
mov rcx, r13
call fcn.140003f6c
lea rdx, [0x140020694]
mov rcx, rbx
mov rsi, rax
call fcn.140003f6c
mov ecx, 0x400000
mov rbp, rax
call fcn.1400017b4
mov rdx, qword [rsp + 0x28]
xor r8d, r8d
mov rcx, rsi
mov rdi, rax
call fcn.140006750
mov r14, qword [rsp + 0x30]
mov r8d, 0x400000
cmp r14, r8
mov r9, rsi
mov edx, 1
mov rcx, rdi
cmovb r8, r14
call fcn.140006480
mov r9, rbp
mov r8d, 1
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.140005ad4
cmp rbx, 0x400000
jb 0x140001576
nop word [rax + rax]
add r15, rbx
mov r8d, 0x400000
mov rax, r14
mov r9, rsi
sub rax, r15
mov edx, 1
cmp rax, r8
mov rcx, rdi
cmovb r8, rax
call fcn.140006480
mov r9, rbp
mov r8d, 1
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.140005ad4
cmp rbx, 0x400000
jae 0x140001530
mov rcx, rsi
call fcn.1400041a4
mov rcx, rbp
call fcn.1400041a4
lea rcx, [0x140020698]
call fcn.140001010
mov edx, 1
mov rcx, rdi
call fcn.1400017ac
xor eax, eax
jmp 0x1400015f5
lea rcx, str.FileCutter.exe__from__from_bytes___length__length_bytes___srcfile___dstfile__n
call fcn.140001010
cmp rsi, 0xf
jbe 0x1400015f0
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400015da
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000162c
mov rcx, rdi
call fcn.1400017ac
jmp 0x1400015f0
lea rcx, str.FileCutter.exe__from__from_bytes___length__length_bytes___srcfile___dstfile__n
call fcn.140001010
mov eax, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140001750
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140001210
int3
call fcn.140001170
int3
call fcn.14000698c
int3