Function at 0x1400070b0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x1400070d1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400070fe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140007100
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140007159
test ecx, ecx
jle 0x140007139
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140007159
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140007159
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
mov byte [rcx + 0xbb], 0
je 0x140021b1c
movss xmm6, dword [r10 + 0x3810]
movss dword [r10 + 0x3810], xmm8
test r8b, r8b
je 0x140021ac7
cmp byte [r10 + 0x492a], 0
mov eax, 0x190
je 0x140021acc
mov eax, 0x1a0
movups xmm0, xmmword [r10 + rax + 0x37c8]
lea rcx, [rsp + 0x48]
movups xmmword [rsp + 0x48], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r10 + 0x37c8]
enter 0x37, 0
mov qword [rsp + 0x130], r13
xorps xmm6, xmm6
xor r13d, r13d
mov qword [rsp + 0xe0], r14
test sil, sil
js 0x140021c87
test esi, 0x6000000
je 0x140021b4a
mov eax, 0x120
jmp 0x140021b5b
mov rax, rsi
and eax, 0x1000000
bts rax, 0x1c
shr rax, 0x14
movups xmm0, xmmword [r10 + rax + 0x37c8]
lea rcx, [rsp + 0x48]
movups xmmword [rsp + 0x48], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r10 + 0x37c8]
movss dword [rbp - 0x7d], xmm0
call 0x140018150
test byte [r10 + 0x47c8], 0x40
mov r9d, eax
je 0x140021bd2
movss xmm1, dword [r10 + 0x4828]
comiss xmm6, xmm1
jbe 0x140021ba5
xorps xmm0, xmm0
jmp 0x140021bb1
movss xmm0, dword [0x140126460]
minss xmm0, xmm1
mulss xmm0, dword [0x140126568]
and eax, 0xffffff
addss xmm0, dword [0x140126414]
cvttss2si r9d, xmm0
shl r9d, 0x18
or r9d, eax
movss xmm2, dword [rdi + 0x20]
mov r14d, esi
movss xmm3, dword [rdi + 0x24]
movaps xmm0, xmm2
mov rcx, qword [rdi]
movaps xmm1, xmm3
addss xmm0, dword [rdi + 0x28]
addss xmm1, dword [rdi + 0x2c]
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
and r14d, 1
je 0x140021c09
xorps xmm0, xmm0
jmp 0x140021c3d
mov rax, qword [rdi + 0x390]
movss xmm1, dword [rcx + 0x3c1c]
mulss xmm1, dword [rdi + 0x2b8]
test rax, rax
je 0x140021c2d
mulss xmm1, dword [rax + 0x2b8]
movss xmm0, dword [rcx + 0x3808]
addss xmm0, xmm0
addss xmm0, xmm1
mov rcx, qword [rdi + 0x2c0]
addss xmm2, xmm6
addss xmm0, xmm3
test r14d, r14d
mov eax, 0xc0
lea r8, [rsp + 0x38]
cmovne eax, r13d
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x30], xmm2
movss dword [rsp + 0x34], xmm0
movss dword [rsp + 0x20], xmm13
call 0x140035960
mov r10, qword [0x1401e95f8]
jmp 0x140021c8e
mov r14d, esi
and r14d, 1
test r14d, r14d
jne 0x140021cf1
lea rax, [r12 + 0x18]
add rax, rax
lea rcx, [rsp + 0x48]
movups xmm0, xmmword [r10 + rax*8 + 0x37c8]
movups xmmword [rsp + 0x48], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r10 + 0x37c8]
movss dword [rbp - 0x7d], xmm0
call 0x140018150
mov rcx, qword [rdi + 0x2c0]
lea r8, [r15 + 8]
mov r9d, eax
mov dword [rsp + 0x28], 0x30
mov rdx, r15
movss dword [rsp + 0x20], xmm13
call 0x140035960
mov r10, qword [0x1401e95f8]
movaps xmmword [rsp + 0xc0], xmm7
bt esi, 0xa
jae 0x140021e9b
movaps xmmword [rsp + 0x90], xmm10
lea rdx, [rsp + 0x48]
movaps xmmword [rsp + 0x80], xmm11
mov rcx, rdi
movaps xmmword [rsp + 0x70], xmm12
sub dword [rsp + 0x70], esp
call 0x1400169d0
movss xmm4, dword [rdi + 0x20]
movss xmm0, dword [rdi + 0x24]
movss xmm2, dword [rsp + 0x4c]
movss xmm11, dword [rsp + 0x48]
maxss xmm2, xmm0
movss xmm7, dword [rbp - 0x7d]
maxss xmm11, xmm4
movss xmm12, dword [rsp + 0x50]
addss xmm0, dword [rdi + 0x2c]
addss xmm4, dword [rdi + 0x28]
minss xmm7, xmm0
minss xmm12, xmm4
test r14d, r14d
je 0x140021d72
movaps xmm10, xmm13
jmp 0x140021d76
xorps xmm10, xmm10
movups xmm0, xmmword [r10 + 0x3978]
lea rcx, [rsp + 0x48]
movaps xmm1, xmm7
addss xmm2, xmm6
movups xmmword [rsp + 0x48], xmm0
shufps xmm0, xmm0, 0xff
subss xmm1, xmm6
mulss xmm0, dword [r10 + 0x37c8]
movss dword [rsp + 0x3c], xmm2
movss dword [rbp - 0x7d], xmm0
movaps xmm0, xmm12
subss xmm0, xmm8
movss dword [rsp + 0x34], xmm1
movss dword [rsp + 0x30], xmm0
movaps xmm0, xmm11
addss xmm0, xmm8
movss dword [rsp + 0x38], xmm0
call 0x140018150
mov rcx, qword [rdi + 0x2c0]
lea rdx, [rsp + 0x38]
mov r9d, eax
mov dword [rsp + 0x28], 0x30
lea r8, [rsp + 0x30]
movss dword [rsp + 0x20], xmm10
call 0x140035960
movss xmm10, dword [rbx + 0x3810]
comiss xmm10, xmm6
jbe 0x140021e83
movss xmm0, dword [rdi + 0x2c]
addss xmm0, dword [rdi + 0x24]
comiss xmm0, xmm7
jbe 0x140021e83
mov rax, qword [0x1401e95f8]
lea rcx, [rsp + 0x38]
movss dword [rsp + 0x30], xmm11
movss dword [rsp + 0x34], xmm7
movups xmm0, xmmword [rax + 0x38f8]
movups xmmword [rsp + 0x38], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37c8]
movss dword [rsp + 0x44], xmm0
movaps xmm0, xmm12
unpcklps xmm0, xmm7
movsd qword [rsp + 0x48], xmm0
call 0x140018150
mov rcx, qword [rdi + 0x2c0]
lea rdx, [rsp + 0x30]
mov r9d, eax
movss dword [rsp + 0x20], xmm10
lea r8, [rsp + 0x48]
call 0x1400356f0
movaps xmm11, xmmword [rsp + 0x80]
movaps xmm10, xmmword [rsp + 0x90]
movaps xmm12, xmmword [rsp + 0x70]
sub byte [rsp + 0x70], ah
cmp byte [rdi + 0xb4], r13b
je 0x140021eab
xor ecx, ecx
call 0x140040220
cmp byte [rdi + 0xb5], r13b
je 0x140021ebe
mov ecx, 1
call 0x140040220
test sil, 2
jne 0x1400220ca
mov eax, dword [rbp + 0x6f]
mov r14d, r13d
test eax, eax
jle 0x1400220ca
mov r15, qword [rbp + 0x77]
lea rsi, [0x14011a0a8]
nop dword [rax]
nop word [rax + rax]
mov r13d, dword [r15]
test r13d, 0xff000000
je 0x1400220b6
movss xmm0, dword [rdi + 0x20]
mov r12d, r14d
movss xmm1, dword [rdi + 0x24]
movaps xmm6, xmm0
mov rbx, qword [rdi + 0x2c0]
movaps xmm7, xmm1
addss xmm6, dword [rdi + 0x28]
addss xmm7, dword [rdi + 0x2c]
subss xmm6, xmm0
subss xmm7, xmm1
mulss xmm6, dword [rsi - 8]
mulss xmm7, dword [rsi - 4]
addss xmm6, xmm0
addss xmm7, xmm1
and r12d, 1
je 0x140021f4e
movaps xmm0, xmm8
movaps xmm1, xmm9
jmp 0x140021f56
movaps xmm0, xmm9
movaps xmm1, xmm8
mulss xmm0, dword [rsi]
mov ecx, dword [rbx + 0x78]
mulss xmm1, dword [rsi + 4]
mov r8d, dword [rbx + 0x7c]
addss xmm0, xmm6
addss xmm1, xmm7
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x34], xmm1
cmp ecx, r8d
jne str.HcSxH
inc ecx
test r8d, r8d
je 0x140021f93
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140021f98
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbx + 0x78]
call 0x1400309e0
movsxd rdx, dword [rbx + 0x78]
mov rcx, qword [rbx + 0x80]
mov rax, qword [rsp + 0x30]
mov qword [rcx + rdx*8], rax
inc dword [rbx + 0x78]
mov rbx, qword [rdi + 0x2c0]
test r12d, r12d
je 0x140021fd5
movaps xmm0, xmm9
movaps xmm1, xmm8
jmp 0x140021fdd
movaps xmm0, xmm8
movaps xmm1, xmm9
mulss xmm0, dword [rsi]
mov ecx, dword [rbx + 0x78]
mulss xmm1, dword [rsi + 4]
mov r8d, dword [rbx + 0x7c]
addss xmm0, xmm6
addss xmm1, xmm7
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
cmp ecx, r8d
jne str.HcSxA
inc ecx
test r8d, r8d
je 0x14002201a
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14002201f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbx + 0x78]
call 0x1400309e0
movsxd rdx, dword [rbx + 0x78]
movaps xmm1, xmm8
mov rcx, qword [rbx + 0x80]
addss xmm1, xmm13
mov rax, qword [rsp + 0x38]
movaps xmm2, xmm13
mov qword [rcx + rdx*8], rax
lea rdx, [rsp + 0x48]
inc dword [rbx + 0x78]
movaps xmm0, xmm1
mulss xmm0, dword [rsi]
mov eax, dword [rsi + 0xc]
mulss xmm1, dword [rsi + 4]
mov r9d, dword [rsi + 8]
mov rcx, qword [rdi + 0x2c0]
addss xmm0, xmm6
mov dword [rsp + 0x20], eax
addss xmm1, xmm7
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
call 0x140034d00
mov rbx, qword [rdi + 0x2c0]
mov r9d, r13d
mov rcx, rbx
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
call 0x140034300
mov eax, dword [rbp + 0x6f]
mov dword [rbx + 0x78], 0
inc r14d
add r15, 4
add rsi, 0x18
cmp r14d, eax
jl 0x140021ef0
mov rcx, rdi
call 0x140021650
movaps xmm7, xmmword [rsp + 0xc0]
mov r14, qword [rsp + 0xe0]
mov r13, qword [rsp + 0x130]