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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x1400f1080]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, r8
mov rbx, rdx
xor r14d, r14d
lea r9, [rbp + 0x2c]
movabs rsi, 0xcccccccccccccccd
mov r8d, 0xc
nop word [rax + rax]
dec r9
mov rax, rsi
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 0x140008410
lea r8, [rbp + 0x2c]
mov rdx, r9
lea rcx, [rbp - 0x39]
call fcn.14000b130
nop
lea r9, [rbp + 0x2c]
nop
dec r9
mov rax, rsi
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 0x140008450
lea r8, [rbp + 0x2c]
mov rdx, r9
lea rcx, [rbp - 0x59]
call fcn.14000b130
nop
mov r9d, 6
lea r8, str.WRITE
xor edx, edx
lea rcx, [rbp - 0x59]
call fcn.14000afc0
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x69], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x79], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x69], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r14
mov byte [rax], bl
mov r8d, 1
lea rdx, [0x1400d1b50]
lea rcx, [rbp - 0x79]
call fcn.140006a70
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x17], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x27], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
lea r9, [rbp - 0x39]
lea r8, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.14000ab70
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x14000854e
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008548
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008790
call fcn.140076520
nop
mov rdx, qword [rbp - 0x61]
cmp rdx, 0xf
jbe 0x140008589
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008584
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008796
call fcn.140076520
movdqa xmm0, xmmword [0x1400dd3b0]
movdqu xmmword [rbp - 0x69], xmm0
mov byte [rbp - 0x79], 0
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x1400085dd
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400085d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000879c
call fcn.140076520
movdqa xmm0, xmmword [0x1400dd3b0]
movdqu xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x59], 0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x140008621
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000861c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400087a2
call fcn.140076520
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rdx, qword [rbp - 9]
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x15]
mov r8d, dword [rbp + 7]
mov rcx, qword [0x1400f4348]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x15]
mov r8d, 0xc
mov rdx, rdi
mov rcx, qword [0x1400f4348]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x11]
mov r8d, 2
lea rdx, [rbp - 0x19]
mov rcx, qword [0x1400f4348]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov byte [rbp - 0x17], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x27], xmm1
lea rax, [rbp - 0x19]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400086a6
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x17]
call fcn.140003410
lea rcx, [rbp + 0x17]
mov rbx, qword [rbp + 0x17]
mov rdi, qword [rbp + 0x2f]
cmp rdi, 0xf
cmova rcx, rbx
mov r8, qword [rbp + 0x27]
cmp r8, 2
jne 0x1400086f0
lea rdx, [0x1400d1df8]
call fcn.1400a4ad0
test eax, eax
jne 0x1400086f0
xor sil, sil
jmp 0x1400086f3
mov sil, 1
cmp rdi, 0xf
jbe 0x14000872a
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140008722
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400087a8
mov rcx, rbx
call fcn.140076520
test sil, sil
jne 0x1400087ae
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x140008766
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008761
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000878a
call fcn.140076520
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140076500
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
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 + 0x17]
call fcn.140002910
lea rdx, [0x1400ef070]
lea rcx, [rbp + 0x17]
call fcn.1400786e4
int3