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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x1400f1080]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rdx
mov dword [rbp - 1], r8d
xor esi, esi
lea r9, [rbp + 0x44]
movabs rdi, 0xcccccccccccccccd
mov r8d, 4
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 0x14001eba0
lea r8, [rbp + 0x44]
mov rdx, r9
lea rcx, [rbp - 0x29]
call fcn.14000b130
nop
lea r9, [rbp + 0x44]
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 0x14001ebe0
lea r8, [rbp + 0x44]
mov rdx, r9
lea rcx, [rbp - 0x49]
call fcn.14000b130
nop
mov r9d, 6
lea r8, str.WRITE
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 + 0x2f], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x3f], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
lea r9, [rbp - 0x29]
lea r8, [rbp + 0x2f]
lea rcx, [rbp + 0xf]
call fcn.14000ab70
nop
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x14001ecde
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ecd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ef2f
call fcn.140076520
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x14001ed19
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ed14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ef35
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 0x14001ed6d
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ed60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ef3b
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 0x14001edb1
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001edac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ef41
call fcn.140076520
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova rdx, qword [rbp + 0xf]
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 5]
mov r8d, dword [rbp + 0x1f]
mov rcx, qword [0x1400f4348]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 5]
mov r8d, 4
lea rdx, [rbp - 1]
mov rcx, qword [0x1400f4348]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 7]
mov r8d, 2
lea rdx, [rbp - 9]
mov rcx, qword [0x1400f4348]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov byte [rbp - 7], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x3f], xmm1
lea rax, [rbp - 9]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14001ee40
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x2f]
call fcn.140003410
lea rcx, [rbp + 0x2f]
mov rbx, qword [rbp + 0x2f]
mov rdi, qword [rbp + 0x47]
cmp rdi, 0xf
cmova rcx, rbx
mov r8, qword [rbp + 0x3f]
cmp r8, 2
jne 0x14001ee8a
lea rdx, [0x1400d1df8]
call fcn.1400a4ad0
test eax, eax
jne 0x14001ee8a
xor sil, sil
jmp 0x14001ee8d
mov sil, 1
cmp rdi, 0xf
jbe 0x14001eec4
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001eebc
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ef47
mov rcx, rbx
call fcn.140076520
test sil, sil
jne 0x14001ef4d
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x14001ef04
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001eeff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ef29
call fcn.140076520
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140076500
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
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
call fcn.1400801f4
int3
lea rdx, str.Failed_to_write_memory
lea rcx, [rbp + 0x2f]
call fcn.140002910
lea rdx, [0x1400ef070]
lea rcx, [rbp + 0x2f]
call fcn.1400786e4
int3