Function at 0x6a567f10
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x138
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0xa0], xmm7
movaps xmmword [rsp + 0xb0], xmm8
movaps xmmword [rsp + 0xc0], xmm9
movaps xmmword [rsp + 0xd0], xmm10
movaps xmmword [rsp + 0xe0], xmm11
movaps xmmword [rsp + 0xf0], xmm12
movaps xmmword [rsp + 0x100], xmm13
movaps xmmword [rsp + 0x110], xmm14
movaps xmmword [rsp + 0x120], xmm15
cmp qword [0x6a5a2710], 0
mov qword [rsp + 0x180], rcx
mov qword [rsp + 0x188], rdx
mov byte [rsp + 0x4f], 1
je 0x6a568269
mov rax, qword [0x6a5a27c0]
lea rdi, [rsp + 0x90]
test rcx, rcx
mov qword [rsp + 0x70], rsp
mov qword [rsp + 0x60], rdi
lea rdi, [0x6a5682f0]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x50]
mov qword [0x6a5a27c0], rax
je 0x6a568370
cmp byte [rcx], 0
je 0x6a5683c0
mov qword [rsp + 0x30], 0
lea rdx, [rcx + 1]
nop dword [rax]
mov rbx, qword [rsp + 0x30]
lea rax, [rdx + rbx]
add rbx, 1
cmp byte [rax], 0
mov qword [rsp + 0x30], rbx
jne 0x6a568000
cmp rbx, 7
mov eax, 7
cmovge rax, rbx
mov qword [rsp + 0x38], rax
lea rdx, [rax + 0x21]
mov rcx, qword [0x6a59e7c0]
call fcn.6a55f100
mov rbx, qword [rsp + 0x180]
lea rdx, [rax + 0x20]
mov qword [rax + 8], 1
mov rdi, qword [rsp + 0x30]
lea rcx, [rax + 0x10]
lea r8, [rbx + 0x10]
cmp rdx, r8
movq xmm0, rdi
lea r8, [rax + 0x30]
setae r9b
movhps xmm0, qword [rsp + 0x38]
cmp rbx, r8
movups xmmword [rax + 0x10], xmm0
setae r8b
or r9b, r8b
je 0x6a568380
cmp rdi, 0xe
jbe 0x6a568380
lea r8, [rdi + 1]
mov r9, r8
and r9, 0xfffffffffffffff0
lea r10, [rax + r9 + 0x20]
mov r9, rbx
sub r9, rax
nop dword [rax]
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rdx + r9 - 0x20]
add rdx, 0x10
movups xmmword [rdx - 0x10], xmm1
cmp rdx, r10
jne 0x6a5680b0
mov rdx, r8
and rdx, 0xfffffffffffffff0
cmp r8, rdx
je 0x6a568230
mov rdi, qword [rsp + 0x180]
mov rsi, qword [rsp + 0x30]
movzx r8d, byte [rdi + rdx]
mov byte [rax + rdx + 0x20], r8b
lea r8, [rdx + 1]
cmp rsi, r8
jl 0x6a568230
movzx r9d, byte [rdi + rdx + 1]
lea r8, [rdx + 2]
cmp rsi, r8
mov byte [rax + rdx + 0x21], r9b
jl 0x6a568230
movzx r9d, byte [rdi + rdx + 2]
lea r8, [rdx + 3]
cmp rsi, r8
mov byte [rax + rdx + 0x22], r9b
jl 0x6a568230
movzx r9d, byte [rdi + rdx + 3]
lea r8, [rdx + 4]
cmp rsi, r8
mov byte [rax + rdx + 0x23], r9b
jl 0x6a568230
movzx r9d, byte [rdi + rdx + 4]
lea r8, [rdx + 5]
cmp rsi, r8
mov byte [rax + rdx + 0x24], r9b
jl 0x6a568230
movzx r9d, byte [rdi + rdx + 5]
lea r8, [rdx + 6]
cmp rsi, r8
mov byte [rax + rdx + 0x25], r9b
jl 0x6a568230
movzx r9d, byte [rdi + rdx + 6]
lea r8, [rdx + 7]
cmp rsi, r8
mov byte [rax + rdx + 0x26], r9b
jl 0x6a568230
movzx r9d, byte [rdi + rdx + 7]
lea r8, [rdx + 8]
cmp rsi, r8
mov byte [rax + rdx + 0x27], r9b
jl 0x6a568230
movzx r9d, byte [rdi + rdx + 8]
lea r8, [rdx + 9]
cmp rsi, r8
mov byte [rax + rdx + 0x28], r9b
jl 0x6a568230
movzx r9d, byte [rdi + rdx + 9]
lea r8, [rdx + 0xa]
cmp rsi, r8
mov byte [rax + rdx + 0x29], r9b
jl 0x6a568230
movzx r9d, byte [rdi + rdx + 0xa]
lea r8, [rdx + 0xb]
cmp rsi, r8
mov byte [rax + rdx + 0x2a], r9b
jl 0x6a568230
movzx r9d, byte [rdi + rdx + 0xb]
lea r8, [rdx + 0xc]
cmp rsi, r8
mov byte [rax + rdx + 0x2b], r9b
jl 0x6a568230
movzx r9d, byte [rdi + rdx + 0xc]
lea r8, [rdx + 0xd]
cmp rsi, r8
mov byte [rax + rdx + 0x2c], r9b
jl 0x6a568230
movzx r9d, byte [rdi + rdx + 0xd]
lea r8, [rdx + 0xe]
cmp rsi, r8
mov byte [rax + rdx + 0x2d], r9b
jl 0x6a568230
movzx edx, byte [rdi + rdx + 0xe]
mov byte [rax + r8 + 0x20], dl
nop dword [rax]
nop word cs:[rax + rax]
call qword [0x6a5a2710]
mov rax, qword [0x6a5a27c0]
mov byte [rsp + 0x4f], 0
cmp qword [rsp + 0x58], 0
mov rax, qword [rax]
mov qword [0x6a5a27c0], rax
je 0x6a568269
mov rcx, qword [0x6a5a2700]
test rcx, rcx
je 0x6a5683dc
call fcn.6a565710
movzx eax, byte [rsp + 0x4f]
test al, al
jne 0x6a568329
movaps xmm6, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm10, xmmword [rsp + 0xd0]
movaps xmm11, xmmword [rsp + 0xe0]
movaps xmm12, xmmword [rsp + 0xf0]
movaps xmm13, xmmword [rsp + 0x100]
movaps xmm14, xmmword [rsp + 0x110]
movaps xmm15, xmmword [rsp + 0x120]
add rsp, 0x138
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 2
call qword [fcn.6a56fb60]
mov r8, qword [rsp + 0x188]
mov r9, rax
mov edx, 1
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x180]
call sub.msvcrt.dll_fwrite
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_fflush
jmp 0x6a568276
xor ecx, ecx
jmp 0x6a568230
mov rbx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x180]
lea r9, [rax + rbx + 0x21]
sub r8, rax
nop
nop word cs:[rax + rax]
movzx eax, byte [r8 + rdx - 0x20]
add rdx, 1
mov byte [rdx - 1], al
cmp rdx, r9
jne 0x6a5683a0
jmp 0x6a568230
mov qword [rsp + 0x38], 7
mov edx, 0x28
mov qword [rsp + 0x30], 0
jmp 0x6a56802d
mov ecx, 0x30
call fcn.6a56b700
lea rcx, [0x6a5a2720]
mov qword [rsp + 0x30], rax
lea rbx, str.ReraiseDefect
mov qword [rax], rcx
mov qword [rax + 0x10], rbx
lea rcx, [0x6a59c840]
call fcn.6a5608d0
mov rcx, qword [rsp + 0x30]
lea r9, str.fatal.nim
mov rdx, rbx
lea r8, str.sysFatal
mov qword [rcx + 0x18], rax
mov qword [rsp + 0x20], 0x35
call fcn.6a5657a0
nop
nop
nop word cs:[rax + rax]