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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x1400f1080]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rdx
xor esi, esi
lea r9, [rbp + 0x3c]
movabs rdi, 0xcccccccccccccccd
mov r8d, 4
nop dword [rax]
nop word [rax + rax]
dec r9
mov rax, rdi
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8, rdx
test rdx, rdx
jne 0x140008820
lea r8, [rbp + 0x3c]
mov rdx, r9
lea rcx, [rbp - 0x29]
call fcn.14000b130
nop
lea r9, [rbp + 0x3c]
nop
dec r9
mov rax, rdi
mul rbx
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r9], bl
mov rbx, rdx
test rdx, rdx
jne 0x140008860
lea r8, [rbp + 0x3c]
mov rdx, r9
lea rcx, [rbp - 0x49]
call fcn.14000b130
nop
mov r9d, 5
lea r8, str.READ
xor edx, edx
lea rcx, [rbp - 0x49]
call fcn.14000afc0
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x69], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x59], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], rsi
mov byte [rax], bl
mov r8d, 1
lea rdx, [0x1400d1b50]
lea rcx, [rbp - 0x69]
call fcn.140006a70
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x27], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x37], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
lea r9, [rbp - 0x29]
lea r8, [rbp + 0x27]
lea rcx, [rbp + 7]
call fcn.14000ab70
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x14000895e
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008958
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008ae0
call fcn.140076520
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x140008999
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008994
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008ae6
call fcn.140076520
movdqa xmm0, xmmword [0x1400dd3b0]
movdqu xmmword [rbp - 0x59], xmm0
mov byte [rbp - 0x69], 0
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x1400089ed
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400089e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008aec
call fcn.140076520
movdqa xmm0, xmmword [0x1400dd3b0]
movdqu xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x49], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140008a31
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008a2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008af2
call fcn.140076520
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova rdx, qword [rbp + 7]
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 5]
mov r8d, dword [rbp + 0x17]
mov rcx, qword [0x1400f4348]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 1]
mov r8d, 4
lea rdx, [rbp - 9]
mov rcx, qword [0x1400f4348]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [rbp - 9]
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140008ab3
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008aae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008ada
call fcn.140076520
mov eax, ebx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140076500
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400801f4
nop
call fcn.1400801f4
nop
call fcn.1400801f4
nop
call fcn.1400801f4
nop
call fcn.1400801f4
int3