Function at 0x140006d80
Capabilities:
Set file attributes
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, 0xb0
mov rax, qword [0x140268080]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
mov dword [rbp + 0x17], 0xeb2b9532
mov dword [rbp + 0x1b], 0xef4de95f
mov dword [rbp + 0x1f], 0xe35aed5f
mov dword [rbp + 0x23], 0xe792e146
mov dword [rbp + 0x27], 0xfb58e542
mov dword [rbp + 0x2b], 0xfff8f946
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x2f], xmm0
mov dword [rbp + 0x3f], eax
mov word [rbp + 0x43], ax
mov byte [rbp + 0x45], al
mov qword [rbp + 7], rbx
mov rax, qword [rbp + 7]
movabs r9, 0x75036a140d7e59bd
nop dword [rax + rax]
mov rcx, qword [rbp + 7]
mov rax, qword [rbp + 7]
movzx edx, byte [rbp + rax + 0x17]
add rcx, r9
mov rax, rcx
and rax, rdx
imul r8, rax, 0xfffffffffffffffe
add r8, rcx
add r8, rdx
sub r8b, 0x2b
mov rax, qword [rbp + 7]
mov byte [rbp + rax + 0x17], r8b
mov rax, qword [rbp + 7]
inc rax
mov qword [rbp + 7], rax
mov rax, qword [rbp + 7]
cmp rax, 0x2f
jb 0x140006e00
lea rcx, [rbp - 0x19]
call fcn.140008200
nop
lea rcx, [rbp + 0x17]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rcx + r8*2], 0
jne 0x140006e60
lea rdx, [rbp + 0x17]
mov rcx, rax
call fcn.140008020
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x17], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x27], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x140006ed9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006ed3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006ed3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a3e0
nop
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x19]
call fcn.140003e50
mov rdi, rax
mov dword [rbp + 7], ebx
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x140006ef9
mov rcx, qword [rax]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x140006f7d
cmp rsi, 0xffffffffffffffff
jne 0x140006f37
xor bl, bl
jmp 0x140006f7f
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 7]
mov r8d, 0x257000
lea rdx, [0x140011020]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x140006f7f
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140006f72
mov rcx, qword [rdi]
mov edx, 6
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov bl, 1
mov rcx, rdi
call fcn.140007f80
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x140006fcb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006fc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006fc6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a3e0
movzx eax, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14000a910
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret