Function at 0x1400038f0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140107040]
xor rax, rsp
mov qword [rbp - 8], rax
xor r12d, r12d
mov r15d, dword [0x140107120]
lea edx, [r12 + 1]
lea rcx, [rsp + 0x70]
call fcn.14001d420
nop
mov r8, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
sub rax, r8
lea r13, [0x1400ecdf0]
lea r14d, [r12 + 8]
lea rdi, str.km.left_
cmp rax, r14
jb 0x1400039dd
lea rax, [r8 + 8]
mov qword [rbp - 0x80], rax
lea rbx, [rsp + 0x70]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x70]
cmp r13, rbx
jbe 0x1400039a0
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x1400039a0
cmp rbx, rdi
ja 0x140003998
mov esi, r12d
jmp 0x1400039a3
mov rsi, rbx
sub rsi, rdi
jmp 0x1400039a3
mov rsi, r14
inc r8
lea rcx, [rbx + 8]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8, r14
sub r8, rsi
lea rdx, [rdi + 8]
add rdx, rsi
lea rcx, [rbx + rsi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x70]
jmp 0x1400039f4
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.1400214f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], sendto
mov byte [rax], 0
mov r8d, 3
lea rdx, [0x1400ecdcc]
lea rcx, [rsp + 0x30]
call fcn.14001c7c0
movups xmm7, xmmword [rax]
movups xmmword [rbp - 0x28], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm6
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], sendto
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140003a9a
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003a95
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cc890
movdqa xmm0, xmmword [0x1400f4ed0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140003aec
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ae7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003ae7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cc890
movdqa xmm0, xmmword [0x1400f4ed0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
lea rdx, [rbp - 0x28]
movq rcx, xmm7
psrldq xmm6, 8
movq rax, xmm6
cmp rax, 0xf
cmova rdx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rdx + r8], 0
jne 0x140003b34
lea rcx, [rsp + 0x50]
call fcn.14001efa0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x50]
mov r8d, dword [rsp + 0x60]
mov rcx, qword [0x140670c60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140003bb4
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003baf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003baf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cc890
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.14001d420
nop
mov r8, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
sub rax, r8
cmp rax, 8
jb 0x140003c4e
lea rax, [r8 + 8]
mov qword [rbp - 0x60], rax
lea rsi, [rbp - 0x70]
cmp rcx, 0xf
cmova rsi, qword [rbp - 0x70]
cmp r13, rsi
jbe 0x140003c12
lea rax, [rsi + r8]
cmp rdi, rax
ja 0x140003c12
cmp rsi, rdi
ja 0x140003c0a
mov r15, r12
jmp 0x140003c15
mov r15, rsi
sub r15, rdi
jmp 0x140003c15
mov r15, r14
inc r8
lea rcx, [rsi + 8]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r15
mov rdx, rdi
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
sub r14, r15
lea rdx, [r15 + 8]
add rdx, rdi
lea rcx, [rsi + r15]
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x70]
jmp 0x140003c64
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov rdx, r14
lea rcx, [rbp - 0x70]
call fcn.1400214f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], sendto
mov byte [rax], 0
mov r8d, 3
lea rdx, [0x1400ecdcc]
lea rcx, [rsp + 0x50]
call fcn.14001c7c0
movups xmm7, xmmword [rax]
movups xmmword [rbp - 0x48], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm6
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], sendto
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140003d0a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d05
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cc890
movdqa xmm0, xmmword [0x1400f4ed0]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140003d5b
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d56
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cc890
movdqa xmm0, xmmword [0x1400f4ed0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
lea rdx, [rbp - 0x48]
movq rcx, xmm7
psrldq xmm6, 8
movq rax, xmm6
cmp rax, 0xf
cmova rdx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
nop dword [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140003da0
mov r8, rbx
lea rcx, [rsp + 0x30]
call fcn.14001efa0
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x50]
mov r8d, dword [rsp + 0x40]
mov rcx, qword [0x140670c60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140003e23
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003e1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cc890
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140003e62
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003e5c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cc890
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140003ea0
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003e9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cc890
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400cc870
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret