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 [0x140022008]
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, 0x10
jae 0x140001306
mov r8, rbx
mov qword [rsp + 0x50], rbx
mov rdx, rbp
mov qword [rsp + 0x58], 0xf
lea rcx, [rsp + 0x40]
call fcn.140003360
mov byte [rsp + rbx + 0x40], r15b
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
jmp 0x14000138f
mov rdi, rbx
or rdi, 0xf
cmp rdi, rcx
jbe 0x14000131b
mov rdi, rcx
lea rax, [rdx + 0x27]
jmp 0x14000133d
cmp rdi, 0x16
cmovb rdi, r8
lea rcx, [rdi + 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 rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000136e
test rcx, rcx
je 0x14000136b
call fcn.140001770
mov rsi, rax
jmp 0x14000136e
mov rsi, r15
mov r8, rbx
mov qword [rsp + 0x40], rsi
mov rdx, rbp
mov qword [rsp + 0x50], rbx
mov rcx, rsi
mov qword [rsp + 0x58], rdi
call fcn.140003360
mov byte [rsi + rbx], r15b
cmp rdi, 0x10
lea rdx, [rsp + 0x40]
setae bpl
cmovae rdx, rsi
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.140005c9c
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
jmp 0x14000144d
test bpl, bpl
lea rcx, [rsp + 0x40]
cmovne rcx, rsi
cmp rbx, 7
jne 0x140001429
mov r8, rbx
lea rdx, str._length
call fcn.140015bb0
test eax, eax
jne 0x140001429
mov rcx, qword [r12 + r14*8 + 8]
inc r14
call fcn.140005c9c
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, [rdi + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000147b
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000162c
mov rcx, rsi
call fcn.1400017ac
inc r14
cmp r14, qword [rsp + 0x38]
jl 0x14000128a
test r13, r13
je 0x1400015e4
test rbx, rbx
je 0x1400015e4
lea rdx, [0x14001f690]
mov rcx, r13
call fcn.140003a8c
lea rdx, [0x14001f694]
mov rcx, rbx
mov rsi, rax
call fcn.140003a8c
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.140006270
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.140005fa0
mov r9, rbp
mov r8d, 1
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.1400055f4
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.140005fa0
mov r9, rbp
mov r8d, 1
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.1400055f4
cmp rbx, 0x400000
jae 0x140001530
mov rcx, rsi
call fcn.140003cc4
mov rcx, rbp
call fcn.140003cc4
lea rcx, [0x14001f698]
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 rdi, 0x10
jb 0x1400015f0
lea rdx, [rdi + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400015da
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000162c
mov rcx, rsi
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.1400064ac
int3