Function at 0x7ff8c39db780
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0xa0
mov rbx, qword [0x7ff8c3abb7a0]
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax - 0x10], rdi
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
movaps xmmword [rsp + 0x20], xmm12
test rbx, rbx
jne 0x7ff8c39db7e6
mov r8d, 0xfb9
lea rdx, [0x7ff8c3a98470]
lea rcx, [0x7ff8c3a984e0]
call qword [sym.imp.ucrtbase.dll__wassert]
mov rbx, qword [0x7ff8c3abb7a0]
mov esi, dword [rbx + 0x3278]
sub esi, 1
mov qword [rsp + 0x90], r14
js 0x7ff8c39db8e7
movsxd rbp, esi
shl rbp, 5
mov r14, rbp
cmp esi, dword [rbx + 0x3278]
jl 0x7ff8c39db829
mov r8d, 0x6c7
lea rdx, [0x7ff8c3a982a0]
lea rcx, [0x7ff8c3a9e628]
call qword [sym.imp.ucrtbase.dll__wassert]
mov rax, qword [rbx + 0x3280]
cmp dword [rax + rbp + 4], 7
jne 0x7ff8c39db8d6
mov eax, dword [rbx + 0x3278]
cmp esi, eax
jl 0x7ff8c39db865
mov r8d, 0x6c7
lea rdx, [0x7ff8c3a982a0]
lea rcx, [0x7ff8c3a9e628]
call qword [sym.imp.ucrtbase.dll__wassert]
mov eax, dword [rbx + 0x3278]
mov rcx, qword [rbx + 0x3280]
lea rdi, [r14 + rcx]
cmp rdi, rcx
jb 0x7ff8c39db883
cdqe
shl rax, 5
add rax, rcx
cmp rdi, rax
jb 0x7ff8c39db89d
mov r8d, 0x6df
lea rdx, [0x7ff8c3a982a0]
lea rcx, [0x7ff8c3a9e688]
call qword [sym.imp.ucrtbase.dll__wassert]
mov rcx, qword [rbx + 0x3280]
movsxd r8, dword [rbx + 0x3278]
sub rdi, rcx
sar rdi, 5
sub r8, rdi
mov rax, rdi
shl rax, 5
add rcx, rax
shl r8, 5
sub r8, 0x20
lea rdx, [rcx + 0x20]
call sub.VCRUNTIME140.dll_memcpy_1
dec dword [rbx + 0x3278]
sub r14, 0x20
sub rbp, 0x20
sub esi, 1
jns 0x7ff8c39db807
xor edx, edx
mov rcx, rbx
call fcn.7ff8c39d9ed0
mov eax, dword [rbx + 0x1a6c]
mov dword [rbx + 0x1a70], eax
call fcn.7ff8c39e6530
mov rdi, qword [0x7ff8c3abb7a0]
xor esi, esi
mov eax, dword [rbx + 8]
mov dword [rbx + 0x1a6c], eax
cmp byte [rdi + 0x3230], sil
jne 0x7ff8c39db997
cmp dword [rdi + 0x3258], esi
je 0x7ff8c39db93f
mov r8d, 0x2b26
lea rdx, [0x7ff8c3a98470]
lea rcx, [0x7ff8c3a9c790]
call qword [sym.imp.ucrtbase.dll__wassert]
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x7ff8c39db990
lea r8, [rsp + 0xb0]
mov qword [rsp + 0xb0], rsi
call fcn.7ff8c39d6c50
mov rbp, rax
test rax, rax
je 0x7ff8c39db990
mov rdx, qword [rsp + 0xb0]
mov rcx, rax
call fcn.7ff8c39edc70
mov rcx, qword [0x7ff8c3abb7a0]
test rcx, rcx
je 0x7ff8c39db987
dec dword [rcx + 0x3b0]
mov rcx, rbp
call qword [sym.imp.ucrtbase.dll_free]
mov byte [rdi + 0x3230], 1
movss xmm0, dword [rdi + 0x3234]
xorps xmm9, xmm9
comiss xmm0, xmm9
jbe 0x7ff8c39dba36
subss xmm0, dword [rdi + 0x18]
comiss xmm9, xmm0
movss dword [rdi + 0x3234], xmm0
jb 0x7ff8c39dba36
mov rbp, qword [rdi + 0x20]
test rbp, rbp
je 0x7ff8c39dba29
mov rax, qword [0x7ff8c3abb7a0]
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0xb0], rsi
mov dword [rax + 0x3234], esi
call fcn.7ff8c39ee170
lea rdx, [0x7ff8c3a9c7cc]
mov rcx, rbp
mov r14, rax
call fcn.7ff8c39d6aa0
mov rbp, rax
test rax, rax
je 0x7ff8c39dba30
mov r8, qword [rsp + 0xb0]
mov r9, rax
mov edx, 1
mov rcx, r14
call qword [sym.imp.ucrtbase.dll_fwrite]
mov rcx, rbp
call qword [sym.imp.ucrtbase.dll_fclose]
jmp 0x7ff8c39dba30
mov byte [rdi + 0x398], 1
mov dword [rdi + 0x3234], esi
inc dword [rbx + 0x1c90]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1ca0], 1
mov dword [rbx + 0x31b0], esi
mov dword [rbx + 0x1d08], esi
addsd xmm0, qword [rbx + 0x1c88]
movsd qword [rbx + 0x1c88], xmm0
mov ecx, dword [rbx + 0x31cc]
test ecx, ecx
jns 0x7ff8c39dba8d
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x31c8]
test eax, eax
cmovg edx, eax
call fcn.7ff8c39fce80
movss xmm12, dword [0x7ff8c3aa6ccc]
movss xmm11, dword [0x7ff8c3aa6bb4]
mov dword [rbx + 0x31c8], esi
movsxd rax, dword [rbx + 0x34cc]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x32ec]
addss xmm0, dword [rbx + 0x34d0]
movss dword [rbx + 0x34d0], xmm0
movss dword [rbx + rax*4 + 0x32ec], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x34cc]
movss xmm1, dword [rbx + 0x34d0]
inc ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x78
sub ecx, eax
comiss xmm1, xmm9
mov dword [rbx + 0x34cc], ecx
jbe 0x7ff8c39dbb1c
divss xmm1, dword [0x7ff8c3aa6c78]
movaps xmm0, xmm11
divss xmm0, xmm1
jmp 0x7ff8c39dbb20
movaps xmm0, xmm12
movss dword [rbx + 0x39c], xmm0
call fcn.7ff8c39ef460
mov rax, qword [rbx + 0xa8]
mov rdi, qword [0x7ff8c3abb7a0]
mov byte [rax + 0x18], 1
mov rcx, qword [rdi + 0xb8]
test rcx, rcx
jne 0x7ff8c39dbb78
mov rdi, qword [rdi + 0xa8]
cmp dword [rdi + 0x48], esi
jg 0x7ff8c39dbb71
mov r8d, 0x6c7
lea rdx, [0x7ff8c3a982a0]
lea rcx, [0x7ff8c3a9e628]
call qword [sym.imp.ucrtbase.dll__wassert]
mov rax, qword [rdi + 0x50]
mov rcx, qword [rax]
call fcn.7ff8c39e5d20
mov rax, qword [rbx + 0x1a78]
cmp qword [rax + 0x40], rsi
jne 0x7ff8c39dbba4
mov r8d, 0xfdf
lea rdx, [0x7ff8c3a98470]
lea rcx, [0x7ff8c3a98a98]
call qword [sym.imp.ucrtbase.dll__wassert]
movss xmm6, dword [0x7ff8c3aa6cf0]
movaps xmm10, xmm12
mov eax, dword [rbx + 0x1f28]
movaps xmm7, xmm6
movaps xmm8, xmm12
mov edi, esi
test eax, eax
jle 0x7ff8c39dbc4f
mov rbp, rsi
nop word [rax + rax]
test rbp, rbp
js 0x7ff8c39dbbdb
mov edx, eax
cmp edi, eax
jl 0x7ff8c39dbbfb
mov r8d, 0x6c7
lea rdx, [0x7ff8c3a982a0]
lea rcx, [0x7ff8c3a9e628]
call qword [sym.imp.ucrtbase.dll__wassert]
mov edx, dword [rbx + 0x1f28]
mov rax, qword [rbx + 0x1f30]
mov rcx, qword [rax + rbp*8]
movss xmm3, dword [rcx + 8]
comiss xmm10, xmm3
movss xmm2, dword [rcx + 0xc]
movaps xmm0, xmm3
addss xmm0, dword [rcx + 0x10]
movaps xmm1, xmm2
addss xmm1, dword [rcx + 0x14]
jbe 0x7ff8c39dbc2a
movaps xmm10, xmm3
comiss xmm8, xmm2
jbe 0x7ff8c39dbc34
movaps xmm8, xmm2
comiss xmm0, xmm6
jbe 0x7ff8c39dbc3c
movaps xmm6, xmm0
comiss xmm1, xmm7
jbe 0x7ff8c39dbc44
movaps xmm7, xmm1
inc edi
inc rbp
mov eax, edx
cmp edi, edx
jl 0x7ff8c39dbbd0
movss dword [rbx + 0x1aa4], xmm10
movss dword [rbx + 0x1aa8], xmm8
movss dword [rbx + 0x1aac], xmm6
movss dword [rbx + 0x1ab0], xmm7
mov eax, dword [rbx + 0x16f4]
movss xmm6, dword [rbx + 0x16f8]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
mov dword [rbx + 0x1a9c], eax
movss xmm0, dword [rbx + 0x1aa0]
ucomiss xmm0, xmm6
jp 0x7ff8c39dbca9
je 0x7ff8c39dbd7f
comiss xmm6, xmm9
ja 0x7ff8c39dbcc9
mov r8d, 0x18d
lea rdx, [0x7ff8c3aa3050]
lea rcx, [0x7ff8c3aa30a0]
call qword [sym.imp.ucrtbase.dll__wassert]
movss dword [rbx + 0x1aa0], xmm6
lea r14, [rbx + 0x1c3c]
movss xmm6, dword [0x7ff8c3aa6c04]
mov edi, esi
mov ebp, 0x200
nop word [rax + rax]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
test edi, edi
je 0x7ff8c39dbd47
movss xmm1, dword [rbx + 0x1aa0]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm11
subss xmm0, xmm1
call sub.ucrtbase.dll_acosf
movaps xmm1, xmm6
divss xmm1, xmm0
movaps xmm0, xmm1
call sub.ucrtbase.dll_ceilf
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
sar eax, 1
add eax, eax
cmp eax, 4
jge 0x7ff8c39dbd40
mov eax, 4
jmp 0x7ff8c39dbd49
cmp eax, ebp
cmovg eax, ebp
jmp 0x7ff8c39dbd49
mov eax, esi
mov byte [r14], al
inc edi
inc r14
cmp edi, 0x40
jl 0x7ff8c39dbcf0
movss xmm0, dword [0x7ff8c3aa6b3c]
call sub.ucrtbase.dll_cosf
movss xmm1, dword [rbx + 0x1aa0]
movaps xmm2, xmm11
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x1c38], xmm1
mov r8d, esi
movaps xmm6, xmmword [rsp + 0x80]
mov dword [rbx + 0x1ab4], esi
cmp byte [rbx + 0x16f0], sil
je 0x7ff8c39dbda9
mov dword [rbx + 0x1ab4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x16f1], sil
je 0x7ff8c39dbdce
mov rax, qword [rbx + 0x1a78]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x7ff8c39dbdce
or edx, 2
mov dword [rbx + 0x1ab4], edx
cmp byte [rbx + 0x16f2], sil
je 0x7ff8c39dbde0
or edx, 4
mov dword [rbx + 0x1ab4], edx
test byte [rbx + 0xc], 8
je 0x7ff8c39dbdef
or edx, 8
mov dword [rbx + 0x1ab4], edx
mov eax, dword [rbx + 0x1f28]
mov edi, esi
test eax, eax
jle 0x7ff8c39dbe62
mov rbp, rsi
nop
test rbp, rbp
js 0x7ff8c39dbe09
cmp edi, eax
jl 0x7ff8c39dbe23
mov r8d, 0x6c7
lea rdx, [0x7ff8c3a982a0]
lea rcx, [0x7ff8c3a9e628]
call qword [sym.imp.ucrtbase.dll__wassert]
mov rax, qword [rbx + 0x1f30]
xorps xmm0, xmm0
inc edi
mov rcx, qword [rax + rbp*8]
xor eax, eax
inc rbp
mov qword [rcx + 0x30], rsi
movups xmmword [rcx + 0xa8], xmm0
movups xmmword [rcx + 0xb8], xmm0
movups xmmword [rcx + 0xc8], xmm0
mov qword [rcx + 0xd8], rax
mov eax, dword [rbx + 0x1f28]
cmp edi, eax
jl 0x7ff8c39dbe00
mov r8, qword [0x7ff8c3abb7a0]
cmp byte [rbx + 0x210c], sil
je 0x7ff8c39dbea1
mov eax, dword [rbx + 0x212c]
cmp eax, dword [rbx + 0x1d6c]
jne 0x7ff8c39dbea1
cmp dword [r8 + 0x1d6c], eax
jne 0x7ff8c39dbe90
mov dword [r8 + 0x1d70], eax
cmp dword [r8 + 0x1da8], eax
jne 0x7ff8c39dbea1
mov byte [r8 + 0x1dac], 1
lea rax, [rbx + 0x1d58]
mov ecx, dword [rax]
cmp dword [rbx + 0x1d5c], esi
jne 0x7ff8c39dbeba
mov dword [rbx + 0x1d64], esi
jmp 0x7ff8c39dbecb
mov edx, ecx
mov r9, rax
test ecx, ecx
je 0x7ff8c39dbed6
cmp dword [rbx + 0x1d6c], ecx
jne 0x7ff8c39dbed6
mov dword [rbx + 0x1d68], esi
mov edx, ecx
mov r9, rax
movss xmm1, dword [rbx + 0x18]
test edx, edx
je 0x7ff8c39dbf0d
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1d64]
movss dword [rbx + 0x1d64], xmm0
cmp dword [rbx + 0x1d6c], edx
je 0x7ff8c39dbf0d
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1d68]
movss dword [rbx + 0x1d68], xmm0
movzx eax, byte [rbx + 0x1d61]
movaps xmm2, xmm1
mov byte [rbx + 0x1d62], al
mov eax, dword [rbx + 0x1d6c]
mov dword [rbx + 0x1d5c], edx
mov dword [r9], esi
mov word [rbx + 0x1d60], si
mov byte [rbx + 0x1d63], sil
cmp dword [rbx + 0x1d70], eax
je 0x7ff8c39dbfb0
cmp dword [rbx + 0x1da8], eax
jne 0x7ff8c39dbfb0
test eax, eax
je 0x7ff8c39dbfb0
mov ecx, dword [r8 + 0x1d6c]
test ecx, ecx
setne al
mov byte [r8 + 0x1d78], al
test ecx, ecx
je 0x7ff8c39dbf7f
mov dword [r8 + 0x1d74], esi
mov word [r8 + 0x1d7b], si
mov dword [r8 + 0x1da4], 0xffffffff
mov dword [r8 + 0x1d6c], esi
mov word [r8 + 0x1d79], si
mov qword [r8 + 0x1d98], rsi
mov word [r8 + 0x1d7d], si
mov qword [r8 + 0x1d80], rsi
mov qword [r8 + 0x1d88], rsi
movss xmm2, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x1d6c]
test ecx, ecx
je 0x7ff8c39dbfcd
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1d74]
movss dword [rbx + 0x1d74], xmm0
mov rax, qword [rbx + 0x1d98]
addss xmm2, dword [rbx + 0x1dbc]
mov qword [rbx + 0x1db0], rax
movzx eax, byte [rbx + 0x1d7c]
mov byte [rbx + 0x1dad], al
mov eax, dword [rbx + 0x3170]
movss dword [rbx + 0x1dbc], xmm2
mov dword [rbx + 0x1da8], ecx
mov dword [rbx + 0x1d70], esi
mov byte [rbx + 0x1d7d], sil
mov byte [rbx + 0x1dac], sil
mov byte [rbx + 0x1d78], sil
test eax, eax
je 0x7ff8c39dc02d
cmp ecx, eax
je 0x7ff8c39dc02d
mov dword [rbx + 0x3170], esi
test ecx, ecx
jne 0x7ff8c39dc03f
mov qword [rbx + 0x1d80], rsi
mov qword [rbx + 0x1d88], rsi
mov eax, dword [rbx + 0x217c]
mov dword [rbx + 0x2180], eax
mov eax, esi
mov qword [rbx + 0x2178], 0x7f7fffff
mov word [rbx + 0x210d], si
mov dword [rbx + 0x2188], esi
cmp byte [r8 + 0x13c], sil
setne al
mov ecx, eax
or ecx, 2
cmp byte [r8 + 0x13d], sil
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [r8 + 0x13e], sil
cmove edx, ecx
lea rcx, [rbx + 0xc98]
mov eax, edx
or eax, 8
cmp byte [r8 + 0x13f], sil
mov r8d, 0x800
cmove eax, edx
lea rdx, [rbx + 0x498]
mov dword [rbx + 0x3bc], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x7ff8c3aa6cdc]
lea rdx, [rbx + 0x141]
lea rax, [rbx + 0x49c]
mov r8d, 0x80
cmp byte [rdx - 1], sil
je 0x7ff8c39dc0f5
movss xmm0, dword [rax - 4]
comiss xmm9, xmm0
jbe 0x7ff8c39dc0ee
movaps xmm0, xmm9
jmp 0x7ff8c39dc0f8
addss xmm0, dword [rbx + 0x18]
jmp 0x7ff8c39dc0f8
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rdx], sil
je 0x7ff8c39dc119
movss xmm0, dword [rax]
comiss xmm9, xmm0
jbe 0x7ff8c39dc112
movaps xmm0, xmm9
jmp 0x7ff8c39dc11c
addss xmm0, dword [rbx + 0x18]
jmp 0x7ff8c39dc11c
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rdx + 1], sil
je 0x7ff8c39dc13e
movss xmm0, dword [rax + 4]
comiss xmm9, xmm0
jbe 0x7ff8c39dc137
movaps xmm0, xmm9
jmp 0x7ff8c39dc141
addss xmm0, dword [rbx + 0x18]
jmp 0x7ff8c39dc141
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rdx + 2], sil
je 0x7ff8c39dc164
movss xmm0, dword [rax + 8]
comiss xmm9, xmm0
jbe 0x7ff8c39dc15d
movaps xmm0, xmm9
jmp 0x7ff8c39dc167
addss xmm0, dword [rbx + 0x18]
jmp 0x7ff8c39dc167
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rdx, 4
add rax, 0x10
sub r8, 1
jne 0x7ff8c39dc0d7
call fcn.7ff8c39ea220
call fcn.7ff8c39daa50
mov rcx, rbx
call fcn.7ff8c39f1400
call fcn.7ff8c39db3d0
call fcn.7ff8c39da3b0
mov r8, qword [0x7ff8c3abb7a0]
mov eax, dword [r8 + 0x1f08]
sub eax, 1
js 0x7ff8c39dc1e1
mov r8, qword [r8 + 0x1f10]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x7ff8c39dc1d7
test dword [rax + 0xc], 0x8000000
jne 0x7ff8c39dc1f8
sub r8, 0x30
sub rdx, 1
jns 0x7ff8c39dc1c6
cmp qword [rbx + 0x20b8], rsi
je 0x7ff8c39dc214
movss xmm0, dword [rbx + 0x20d4]
comiss xmm0, xmm9
jbe 0x7ff8c39dc214
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x7ff8c3aa6c10]
addss xmm1, dword [rbx + 0x2104]
minss xmm1, xmm11
jmp 0x7ff8c39dc232
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x7ff8c3aa6c20]
movss xmm1, dword [rbx + 0x2104]
subss xmm1, xmm0
maxss xmm1, xmm9
movss dword [rbx + 0x2104], xmm1
mov dword [rbx + 0x2108], esi
mov qword [rbx + 0x34d8], 0xffffffffffffffff
mov dword [rbx + 0x34d4], 0xffffffff
mov dword [rbx + 0x31d8], 0x3f800000
mov dword [rbx + 0x31dc], 0x3f800000
mov qword [rbx + 0x31e8], rsi
call fcn.7ff8c39daf20
mov rdi, qword [0x7ff8c3abb7a0]
movaps xmm11, xmmword [rsp + 0x30]
mov rax, qword [rdi + 0x1f88]
test rax, rax
je 0x7ff8c39dc2bd
cmp byte [rax + 0xcf], sil
je 0x7ff8c39dc2bd
test dword [rax + 0xc], 0x40000
jne 0x7ff8c39dc2bd
cmp byte [rdi + 0x13c], sil
jne 0x7ff8c39dc2bd
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
js 0x7ff8c39dc2bd
call fcn.7ff8c39defb0
test al, al
je 0x7ff8c39dc2bd
mov al, 1
jmp 0x7ff8c39dc2bf
xor al, al
mov byte [rdi + 0x2100], al
cmp dword [rdi + 0x1d6c], esi
jne 0x7ff8c39dc31f
test al, al
je 0x7ff8c39dc31f
mov rax, qword [rdi + 0x1f88]
mov qword [rdi + 0x20e8], rax
mov dword [rdi + 0x20f8], 0x7fffffff
cmp dword [rdi + 0x1f90], esi
je 0x7ff8c39dc30e
mov edx, dword [rdi + 0x1fdc]
cmp edx, 0x7fffffff
je 0x7ff8c39dc30e
movzx eax, byte [rdi + 0x13d]
neg al
sbb ecx, ecx
add ecx, edx
jmp 0x7ff8c39dc319
movzx eax, byte [rdi + 0x13d]
neg al
sbb ecx, ecx
mov dword [rdi + 0x20fc], ecx
mov r8, qword [rdi + 0x20e8]
mov qword [rdi + 0x20e0], rsi
mov dword [rdi + 0x20f4], 0x7fffffff
mov dword [rdi + 0x20f0], 0x7fffffff
test r8, r8
je 0x7ff8c39dc3b4
mov eax, dword [rdi + 0x20f8]
mov qword [rdi + 0x20e0], r8
cmp eax, 0x7fffffff
je 0x7ff8c39dc373
mov ecx, dword [r8 + 0x1fc]
cmp ecx, 0xffffffff
je 0x7ff8c39dc373
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x20f0], edx
mov eax, dword [rdi + 0x20fc]
cmp eax, 0x7fffffff
je 0x7ff8c39dc399
mov ecx, dword [r8 + 0x200]
cmp ecx, 0xffffffff
je 0x7ff8c39dc399
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x20f4], edx
mov qword [rdi + 0x20e8], rsi
mov dword [rdi + 0x20fc], 0x7fffffff
mov dword [rdi + 0x20f8], 0x7fffffff
mov dword [rdi + 0x1fdc], 0x7fffffff
mov eax, dword [rbx + 0x1cb8]
cmp dword [rbx + 0x1cc8], eax
jle 0x7ff8c39dc3ec
mov r8d, 0x1054
lea rdx, [0x7ff8c3a98470]
lea rcx, [0x7ff8c3a98ac0]
call qword [sym.imp.ucrtbase.dll__wassert]
mov eax, dword [rbx + 0x1cb8]
cmp byte [rbx + 0x1ca3], sil
jne 0x7ff8c39dc416
movss xmm0, dword [rbx + 0xd8]
comiss xmm9, xmm0
ja 0x7ff8c39dc416
movsd xmm12, qword [rbx + 0x1c88]
cvtpd2ps xmm12, xmm12
subss xmm12, xmm0
mov ebp, esi
test eax, eax
je 0x7ff8c39dc59d
mov r14, rsi
test r14, r14
js 0x7ff8c39dc42c
cmp ebp, eax
jl 0x7ff8c39dc446
mov r8d, 0x6c7
lea rdx, [0x7ff8c3a982a0]
lea rcx, [0x7ff8c3a9e628]
call qword [sym.imp.ucrtbase.dll__wassert]
mov rax, qword [rbx + 0x1cc0]
mov rdi, qword [rax + r14*8]
movzx eax, byte [rdi + 0xcf]
mov byte [rdi + 0xd0], al
mov word [rdi + 0xda], si
mov byte [rdi + 0xcf], sil
mov byte [rdi + 0xd1], sil
test al, al
jne 0x7ff8c39dc58a
cmp byte [rdi + 0x430], sil
jne 0x7ff8c39dc58a
comiss xmm12, dword [rdi + 0x2c8]
jbe 0x7ff8c39dc58a
mov rcx, qword [rdi + 0x300]
mov byte [rdi + 0x430], 1
mov eax, dword [rcx + 0x14]
mov dword [rdi + 0x428], eax
mov eax, dword [rcx + 0x24]
mov dword [rdi + 0x42c], eax
mov rcx, qword [rdi + 0x110]
test rcx, rcx
je 0x7ff8c39dc4e8
mov rax, qword [0x7ff8c3abb7a0]
mov qword [rdi + 0x108], rsi
test rax, rax
je 0x7ff8c39dc4db
dec dword [rax + 0x3b0]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x110], rsi
mov rcx, qword [rdi + 0x300]
call fcn.7ff8c3a05a70
mov rcx, qword [rdi + 0x1d8]
test rcx, rcx
je 0x7ff8c39dc526
mov rax, qword [0x7ff8c3abb7a0]
mov qword [rdi + 0x1d0], rsi
test rax, rax
je 0x7ff8c39dc519
dec dword [rax + 0x3b0]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x1d8], rsi
mov rcx, qword [rdi + 0x218]
test rcx, rcx
je 0x7ff8c39dc558
mov rax, qword [0x7ff8c3abb7a0]
mov qword [rdi + 0x210], rsi
test rax, rax
je 0x7ff8c39dc54b
dec dword [rax + 0x3b0]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x218], rsi
mov rcx, qword [rdi + 0x228]
test rcx, rcx
je 0x7ff8c39dc58a
mov rax, qword [0x7ff8c3abb7a0]
mov qword [rdi + 0x220], rsi
test rax, rax
je 0x7ff8c39dc57d
dec dword [rax + 0x3b0]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x228], rsi
mov eax, dword [rbx + 0x1cb8]
inc ebp
inc r14
cmp ebp, eax
jne 0x7ff8c39dc423
mov ecx, dword [rbx + 0x21f0]
mov edi, esi
mov r14, qword [rsp + 0x90]
test ecx, ecx
jle 0x7ff8c39dc672
mov rbp, rsi
test edi, edi
js 0x7ff8c39dc5c0
cmp edi, ecx
jl 0x7ff8c39dc5e0
mov r8d, 0x6c7
lea rdx, [0x7ff8c3a982a0]
lea rcx, [0x7ff8c3a9e628]
call qword [sym.imp.ucrtbase.dll__wassert]
mov ecx, dword [rbx + 0x21f0]
mov rax, qword [rbx + 0x21f8]
movss xmm0, dword [rax + rbp]
comiss xmm0, xmm9
jb 0x7ff8c39dc65e
test edi, edi
js 0x7ff8c39dc5fa
cmp edi, ecx
jl 0x7ff8c39dc614
mov r8d, 0x6c7
lea rdx, [0x7ff8c3a982a0]
lea rcx, [0x7ff8c3a9e628]
call qword [sym.imp.ucrtbase.dll__wassert]
mov rax, qword [rbx + 0x21f8]
comiss xmm12, dword [rax + rbp]
jbe 0x7ff8c39dc65e
test edi, edi
js 0x7ff8c39dc62e
cmp edi, dword [rbx + 0x21b8]
jl 0x7ff8c39dc648
mov r8d, 0x6c7
lea rdx, [0x7ff8c3a982a0]
lea rcx, [0x7ff8c3a9e628]
call qword [sym.imp.ucrtbase.dll__wassert]
movsxd rax, edi
imul rcx, rax, 0x258
add rcx, qword [rbx + 0x21c0]
call fcn.7ff8c3a142d0
mov ecx, dword [rbx + 0x21f0]
inc edi
add rbp, 4
cmp edi, ecx
jl 0x7ff8c39dc5b8
movaps xmm12, xmmword [rsp + 0x20]
cmp byte [rbx + 0x1ca3], sil
je 0x7ff8c39dc6ea
mov rdi, qword [0x7ff8c3abb7a0]
mov rcx, qword [rdi + 0x1ef0]
test rcx, rcx
je 0x7ff8c39dc6b3
mov qword [rdi + 0x1ee8], rsi
test rdi, rdi
je 0x7ff8c39dc6a6
dec dword [rdi + 0x3b0]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x1ef0], rsi
mov rcx, qword [rdi + 0x1f00]
test rcx, rcx
je 0x7ff8c39dc6e5
mov rax, qword [0x7ff8c3abb7a0]
mov qword [rdi + 0x1ef8], rsi
test rax, rax
je 0x7ff8c39dc6d8
dec dword [rax + 0x3b0]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x1f00], rsi
call fcn.7ff8c3a144b0
mov rax, qword [rbx + 0x1f88]
mov byte [rbx + 0x1ca3], sil
test rax, rax
je 0x7ff8c39dc70d
cmp byte [rax + 0xd0], sil
jne 0x7ff8c39dc70d
xor ecx, ecx
call fcn.7ff8c39e5c00
mov ecx, dword [rbx + 0x1cec]
test ecx, ecx
jns 0x7ff8c39dc733
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1ce8]
test eax, eax
cmovg edx, eax
call fcn.7ff8c39d2ca0
mov dword [rbx + 0x1ce8], esi
mov ecx, dword [rbx + 0x1f1c]
test ecx, ecx
jns 0x7ff8c39dc75f
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1f18]
test eax, eax
cmovg edx, eax
call fcn.7ff8c39fcde0
lea rdi, [rbx + 0x1ee8]
mov dword [rbx + 0x1f18], esi
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x7ff8c39dc78b
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.7ff8c39fce80
mov dword [rdi], esi
cmp dword [rdi + 4], esi
jne 0x7ff8c39dc79f
mov edx, 8
mov rcx, rdi
call fcn.7ff8c39fce80
movsxd rcx, dword [rdi]
xor edx, edx
mov rax, qword [rdi + 8]
mov dword [rax + rcx*4], esi
lea rcx, [rbx + 0x1ef8]
inc dword [rdi]
call fcn.7ff8c39fc3f0
mov rcx, qword [rbx + 0x1f88]
xor edx, edx
call fcn.7ff8c39e82d0
mov rcx, rbx
call fcn.7ff8c39f15f0
mov rdi, qword [0x7ff8c3abb7a0]
mov dword [rdi + 0x32d8], esi
cmp byte [rdi + 0x32d4], sil
je 0x7ff8c39dc8c8
mov ebp, dword [rdi + 0x1d5c]
mov dword [rdi + 0x2108], 7
mov ecx, dword [rdi + 0x74]
test ecx, ecx
js 0x7ff8c39dc810
call fcn.7ff8c39defb0
test al, al
je 0x7ff8c39dc810
mov byte [rdi + 0x32d4], sil
mov rax, qword [0x7ff8c3abb7a0]
movss xmm0, dword [rax + 0x434]
ucomiss xmm0, xmm9
jp 0x7ff8c39dc838
jne 0x7ff8c39dc838
test ebp, ebp
je 0x7ff8c39dc838
mov dword [rdi + 0x32d8], ebp
mov byte [rdi + 0x32d4], sil
or dword [rax + 0x1dc0], 0x40
xor edx, edx
mov dword [rax + 0x1e20], 0x3f19999a
call fcn.7ff8c39e7c60
mov edx, ebp
lea rcx, [0x7ff8c3a98b88]
call fcn.7ff8c3a157d0
lea rcx, [0x7ff8c3a98ba0]
call fcn.7ff8c3a157d0
mov rcx, qword [0x7ff8c3abb7a0]
lea rdx, [0x7ff8c3a98bc0]
mov eax, 0x10
test ebp, ebp
cmove rsi, rax
add rcx, 0x16fc
add rcx, rsi
call fcn.7ff8c3a158d0
mov rax, qword [0x7ff8c3abb7a0]
mov rcx, qword [rax + 0x1d18]
test dword [rcx + 0xc], 0x2000000
jne 0x7ff8c39dc8c3
mov r8d, 0x2223
lea rdx, [0x7ff8c3a98470]
lea rcx, [0x7ff8c3a9bdd0]
call qword [sym.imp.ucrtbase.dll__wassert]
call fcn.7ff8c39e52a0
mov rax, qword [0x7ff8c3abb7a0]
lea rcx, [0x7ff8c3a98b18]
movss xmm1, dword [0x7ff8c3aa6ca8]
xor r8d, r8d
mov byte [rbx + 0x1ca1], 1
movaps xmm0, xmm1
unpcklps xmm0, xmm1
xor edx, edx
or dword [rax + 0x1dc0], 2
movsd qword [rax + 0x1de4], xmm0
mov dword [rax + 0x1dc8], 4
call fcn.7ff8c39e1fc0
mov rax, qword [rbx + 0x1d18]
movaps xmm9, xmmword [rsp + 0x50]
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xc0]
cmp byte [rax + 0xd7], 1
mov rbp, qword [rsp + 0xb8]
je 0x7ff8c39dc956
mov r8d, 0x1084
lea rdx, [0x7ff8c3a98470]
lea rcx, [0x7ff8c3a98b30]
call qword [sym.imp.ucrtbase.dll__wassert]
mov edx, 1
mov rcx, rbx
add rsp, 0xa0
pop rbx
jmp fcn.7ff8c39d9ed0