Function at 0x70b996c0
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 [0x70bca6e0], 0
mov qword [rsp + 0x180], rcx
mov qword [rsp + 0x188], rdx
mov byte [rsp + 0x4f], 1
je 0x70b99a36
lea rcx, [0x70ba12e0]
call fcn.70b9bdf0
mov qword [rsp + 0x28], rax
mov rdi, rax
mov rax, qword [rax]
cmp qword [rsp + 0x180], 0
lea rbx, [0x70b99ab0]
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x50]
mov qword [rdi], rax
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsp
je 0x70b99b30
mov rax, qword [rsp + 0x180]
cmp byte [rax], 0
je 0x70b99b80
mov qword [rsp + 0x20], 0
lea rdx, [rax + 1]
nop word cs:[rax + rax]
mov rbx, qword [rsp + 0x20]
lea rax, [rdx + rbx]
add rbx, 1
cmp byte [rax], 0
mov qword [rsp + 0x20], rbx
jne 0x70b997d0
cmp rbx, 7
mov eax, 7
cmovge rax, rbx
mov qword [rsp + 0x38], rax
add rax, 0x21
mov qword [rsp + 0x30], rax
lea rcx, [0x70ba1360]
call fcn.70b9bdf0
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call fcn.70b87900
mov rbx, qword [rsp + 0x180]
lea rdx, [rax + 0x20]
mov qword [rax + 8], 1
mov rdi, qword [rsp + 0x20]
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 0x70b99b40
cmp rdi, 0xe
jbe 0x70b99b40
lea r8, [rdi + 1]
mov r9, r8
and r9, 0xfffffffffffffff0
lea r10, [rax + r9 + 0x20]
mov r9, rbx
sub r9, rax
nop
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rdx + r9 - 0x20]
add rdx, 0x10
movups xmmword [rdx - 0x10], xmm1
cmp rdx, r10
jne 0x70b99890
mov rdx, r8
and rdx, 0xfffffffffffffff0
cmp r8, rdx
je 0x70b99a10
mov rbx, qword [rsp + 0x180]
mov rsi, qword [rsp + 0x20]
movzx r8d, byte [rbx + rdx]
mov byte [rax + rdx + 0x20], r8b
lea r8, [rdx + 1]
cmp rsi, r8
jl 0x70b99a10
movzx r9d, byte [rbx + rdx + 1]
lea r8, [rdx + 2]
cmp rsi, r8
mov byte [rax + rdx + 0x21], r9b
jl 0x70b99a10
movzx r9d, byte [rbx + rdx + 2]
lea r8, [rdx + 3]
cmp rsi, r8
mov byte [rax + rdx + 0x22], r9b
jl 0x70b99a10
movzx r9d, byte [rbx + rdx + 3]
lea r8, [rdx + 4]
cmp rsi, r8
mov byte [rax + rdx + 0x23], r9b
jl 0x70b99a10
movzx r9d, byte [rbx + rdx + 4]
lea r8, [rdx + 5]
cmp rsi, r8
mov byte [rax + rdx + 0x24], r9b
jl 0x70b99a10
movzx r9d, byte [rbx + rdx + 5]
lea r8, [rdx + 6]
cmp rsi, r8
mov byte [rax + rdx + 0x25], r9b
jl 0x70b99a10
movzx r9d, byte [rbx + rdx + 6]
lea r8, [rdx + 7]
cmp rsi, r8
mov byte [rax + rdx + 0x26], r9b
jl 0x70b99a10
movzx r9d, byte [rbx + rdx + 7]
lea r8, [rdx + 8]
cmp rsi, r8
mov byte [rax + rdx + 0x27], r9b
jl 0x70b99a10
movzx r9d, byte [rbx + rdx + 8]
lea r8, [rdx + 9]
cmp rsi, r8
mov byte [rax + rdx + 0x28], r9b
jl 0x70b99a10
movzx r9d, byte [rbx + rdx + 9]
lea r8, [rdx + 0xa]
cmp rsi, r8
mov byte [rax + rdx + 0x29], r9b
jl 0x70b99a10
movzx r9d, byte [rbx + rdx + 0xa]
lea r8, [rdx + 0xb]
cmp rsi, r8
mov byte [rax + rdx + 0x2a], r9b
jl 0x70b99a10
movzx r9d, byte [rbx + rdx + 0xb]
lea r8, [rdx + 0xc]
cmp rsi, r8
mov byte [rax + rdx + 0x2b], r9b
jl 0x70b99a10
movzx r9d, byte [rbx + rdx + 0xc]
lea r8, [rdx + 0xd]
cmp rsi, r8
mov byte [rax + rdx + 0x2c], r9b
jl 0x70b99a10
movzx r9d, byte [rbx + rdx + 0xd]
lea r8, [rdx + 0xe]
cmp rsi, r8
mov byte [rax + rdx + 0x2d], r9b
jl 0x70b99a10
movzx edx, byte [rbx + rdx + 0xe]
mov byte [rax + r8 + 0x20], dl
nop dword [rax]
nop word cs:[rax + rax]
call qword [0x70bca6e0]
mov rdi, qword [rsp + 0x28]
mov byte [rsp + 0x4f], 0
cmp qword [rsp + 0x58], 0
mov rax, qword [rdi]
mov rax, qword [rax]
mov qword [rdi], rax
je 0x70b99a36
call fcn.70b968c0
movzx eax, byte [rsp + 0x4f]
test al, al
jne 0x70b99af1
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.70b9bc60]
mov r8, qword [rsp + 0x188]
mov r9, rax
mov edx, 1
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x180]
call sub.msvcrt.dll_fwrite
mov rcx, qword [rsp + 0x20]
call fcn.70b9bab0
jmp 0x70b99a43
xor ecx, ecx
jmp 0x70b99a10
mov rdi, qword [rsp + 0x20]
mov r8, qword [rsp + 0x180]
lea r9, [rax + rdi + 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 0x70b99b60
jmp 0x70b99a10
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], 0x28
mov qword [rsp + 0x20], 0
jmp 0x70b99802