Function at 0x18001fbb0
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
push rbp
push rdi
push r12
push r13
push r14
push r15
lea rbp, [r11 - 0x118]
sub rsp, 0x1e8
movaps xmmword [r11 - 0xc8], xmm14
mov rax, qword [0x180157b00]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r14, qword [0x1801596f8]
mov r10d, 0xffffffff
mov qword [r11 + 0x20], rbx
mov r13d, r8d
mov rbx, rcx
mov qword [rbp - 0x70], rcx
mov qword [r11 - 0x38], rsi
mov ecx, r10d
mov qword [rbp - 0x78], rdx
movzx r9d, byte [rbx]
lea r8, [rbx + 1]
test r9b, r9b
je 0x18001fc50
lea r11, [0x180113fa0]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x18001fc33
cmp byte [r8], r9b
jne 0x18001fc33
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18001fc20
not ecx
call fcn.180026b40
test rax, rax
mov qword [rsp + 0x68], rax
mov rdi, rax
sete dl
mov byte [rsp + 0x42], dl
test rax, rax
jne 0x18001fc81
mov edx, r13d
mov rcx, rbx
call fcn.180024580
movzx edx, byte [rsp + 0x42]
mov rdi, rax
mov ecx, r13d
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x18001fc96
or r13d, 6
mov ebx, dword [r14 + 0x3e20]
lea rsi, [r14 + 0x3e70]
cmp dword [rsi], 0
mov r9d, dword [rdi + 0x258]
mov dword [rsp + 0x5c], ebx
mov dword [rsp + 0x58], r9d
jne 0x18001fcc7
cmp byte [r14 + 0x3e2d], 0
je 0x18001fcc7
mov al, 1
jmp 0x18001fcc9
xor al, al
mov byte [rdi + 0xb6], al
lea eax, [rbx - 1]
cmp r9d, eax
setl r8b
mov byte [rsp + 0x40], r8b
bt r13d, 0x1a
jae 0x18001fd13
movsxd rax, dword [r14 + 0x4858]
imul rax, rax, 0x38
add rax, qword [r14 + 0x4850]
cmp rdi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rdi + 0xc4], eax
setne al
or cl, al
or r8b, cl
mov byte [rsp + 0x40], r8b
mov byte [rdi + 0xb4], r8b
test r8b, r8b
je 0x18001fd34
or byte [rdi + 0xd4], 8
or byte [rdi + 0xd5], 8
or byte [rdi + 0xd6], 8
xor r12d, r12d
cmp r9d, ebx
je 0x18001fd8b
mov r8d, r13d
mov rcx, rdi
call fcn.180037d10
mov r9d, dword [rsp + 0x58]
mov dword [rdi + 0xc], r13d
mov dword [rdi + 0x258], ebx
movsd xmm0, qword [r14 + 0x3e18]
mov word [rdi + 0xbe], r12w
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x25c], xmm0
movzx eax, word [r14 + 0x3e90]
inc dword [r14 + 0x3e90]
mov word [rdi + 0xc0], ax
jmp 0x18001fd8f
mov r13d, dword [rdi + 0xc]
movsxd rax, dword [rsi]
test eax, eax
jne 0x18001fd9b
mov r15, r12
jmp 0x18001fdab
imul rcx, rax, 0x58
mov rax, qword [r14 + 0x3e78]
mov r15, qword [rcx + rax - 0x58]
cmp r9d, ebx
je 0x18001fdbd
test r13d, 0x5000000
cmovne r12, r15
jmp 0x18001fdc4
mov r12, qword [rdi + 0x360]
lea rbx, [rdi + 0xe8]
mov qword [rsp + 0x70], r12
cmp dword [rbx], 0
mov r9d, 8
jne 0x18001fe01
cmp dword [rbx + 4], 0
jne 0x18001fdf2
mov edx, r9d
mov rcx, rbx
call fcn.1800396b0
mov r9d, 8
movsxd rdx, dword [rbx]
mov eax, dword [rdi + 8]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
inc dword [rbx]
mov eax, dword [r14 + 0x4774]
xorps xmm0, xmm0
movups xmm1, xmmword [r14 + 0x474c]
mov qword [r14 + 0x3ea0], rdi
mov rdx, qword [0x1801596f8]
mov r8d, dword [rsi + 4]
movups xmmword [rbp - 0xc], xmm0
mov dword [rbp - 0x10], eax
mov rax, qword [rdx + 0x3ea0]
movups xmm0, xmmword [r14 + 0x473c]
mov qword [rbp - 0x50], rdi
movups xmmword [rbp - 0x38], xmm1
movzx ecx, word [rax + 0xe8]
movzx eax, word [rdx + 0x47e8]
movsd xmm1, qword [r14 + 0x476c]
mov word [rbp - 0xa], ax
movzx eax, word [rdx + 0x47f8]
mov word [rbp - 8], ax
movzx eax, word [rdx + 0x4808]
mov word [rbp - 6], ax
movzx eax, word [rdx + 0x4818]
mov word [rbp - 4], ax
movzx eax, word [rdx + 0x4838]
mov word [rbp - 2], ax
movzx eax, word [rdx + 0x4828]
mov word [rbp], ax
movzx eax, word [rdx + 0x4858]
movups xmmword [rbp - 0x48], xmm0
mov word [rbp + 2], ax
movups xmm0, xmmword [r14 + 0x475c]
movzx eax, word [rdx + 0x5b30]
mov word [rbp - 0xc], cx
mov ecx, dword [rsi]
mov word [rbp + 4], ax
movsd qword [rbp - 0x18], xmm1
movups xmmword [rbp - 0x28], xmm0
cmp ecx, r8d
jne 0x18001fef1
inc ecx
test r8d, r8d
je 0x18001fedf
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18001fee2
mov eax, r9d
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rsi
call fcn.180039a70
movsxd rax, dword [rsi]
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x40]
imul rcx, rax, 0x58
mov rax, qword [rsi + 8]
movups xmmword [rcx + rax], xmm0
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [rcx + rax + 0x10], xmm1
movaps xmm1, xmmword [rbp - 0x20]
movups xmmword [rcx + rax + 0x20], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [rcx + rax + 0x30], xmm1
movsd xmm1, qword [rbp]
movups xmmword [rcx + rax + 0x40], xmm0
movsd qword [rcx + rax + 0x50], xmm1
inc dword [rsi]
bt r13d, 0x1c
jae 0x18001ff43
inc dword [r14 + 0x4868]
mov eax, dword [rsp + 0x58]
cmp eax, dword [rsp + 0x5c]
je 0x180020001
mov qword [rdi + 0x360], r12
mov qword [rdi + 0x388], rdi
mov qword [rdi + 0x380], rdi
mov qword [rdi + 0x378], rdi
mov qword [rdi + 0x370], rdi
test r12, r12
je 0x18001ffcc
mov eax, r13d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x18001ff97
mov rax, qword [r12 + 0x370]
mov qword [rdi + 0x370], rax
bt r13d, 0x1a
jae 0x18001ffad
mov rax, qword [r12 + 0x378]
mov qword [rdi + 0x378], rax
bt r13d, 0x1b
jb 0x18001ffcc
test r13d, 0x5000000
je 0x18001ffcc
mov rax, qword [r12 + 0x380]
mov qword [rdi + 0x380], rax
test dword [rdi + 0xc], 0x800000
je 0x18001fffa
mov rcx, rdi
nop dword [rax + rax]
mov rax, qword [rcx + 0x360]
mov qword [rdi + 0x388], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x18001ffe0
mov qword [rdi + 0x368], r15
mov rsi, qword [0x1801596f8]
mov r12d, dword [rdi + 8]
lea rbx, [rsi + 0x4818]
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x180020047
inc r8d
test ecx, ecx
je 0x180020030
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180020035
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.1800396b0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], r12d
inc dword [rbx]
xor ebx, ebx
mov dword [rsi + 0x471c], r12d
mov eax, dword [r14 + 0x471c]
mov dword [rdi + 0x3c0], eax
mov qword [r14 + 0x3ea0], rbx
bt r13d, 0x1a
jae 0x1800200ad
lea rcx, [r14 + 0x4858]
movsxd rax, dword [rcx]
imul rbx, rax, 0x38
add rbx, qword [r14 + 0x4850]
mov rdx, rbx
mov qword [rbx + 8], rdi
mov eax, dword [r15 + 0x150]
mov dword [rbx + 0x18], eax
call fcn.1800393f0
mov eax, dword [rbx]
xor ebx, ebx
mov dword [rdi + 0xc4], eax
xor dl, dl
xor r12b, r12b
test byte [r14 + 0x4778], 1
mov byte [rsp + 0x43], dl
mov byte [rsp + 0x41], dl
je 0x180020158
movsx ecx, byte [rdi + 0xd4]
mov r8d, dword [r14 + 0x477c]
test r8d, ecx
setne dl
mov byte [rsp + 0x43], dl
test r8d, ecx
je 0x180020149
movss xmm0, dword [r14 + 0x4794]
movss xmm1, dword [r14 + 0x4790]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x180115930]
jbe 0x180020149
movsd xmm0, qword [r14 + 0x4788]
and ecx, 0xf1
mov eax, dword [rdi + 0xd4]
and eax, 0xffffff00
movsd qword [rdi + 0xd8], xmm0
movsd xmm1, qword [r14 + 0x4790]
or ecx, eax
mov dword [rdi + 0xd4], ecx
movsd qword [rdi + 0xe0], xmm1
jmp 0x180020158
lea rdx, [r14 + 0x4788]
mov rcx, rdi
call fcn.180034a80
test byte [r14 + 0x4778], 2
xorps xmm14, xmm14
je 0x1800201b9
movsx eax, byte [rdi + 0xd5]
mov r8d, dword [r14 + 0x4780]
and eax, r8d
je 0x18002018d
movss xmm0, dword [r14 + 0x4798]
comiss xmm0, xmm14
jbe 0x18002018d
mov r12b, 1
jmp 0x180020191
test eax, eax
je 0x1800201a5
movss xmm0, dword [r14 + 0x479c]
comiss xmm0, xmm14
mov byte [rsp + 0x41], 1
ja 0x1800201aa
mov byte [rsp + 0x41], 0
lea rdx, [r14 + 0x4798]
mov rcx, rdi
call fcn.180034bf0
test byte [r14 + 0x4778], 0x80
je 0x1800201fd
movss xmm0, dword [r14 + 0x47a8]
comiss xmm0, xmm14
jb 0x1800201e0
movss dword [rdi + 0x8c], xmm0
mov dword [rdi + 0x94], ebx
movss xmm0, dword [r14 + 0x47ac]
comiss xmm0, xmm14
jb 0x1800201fd
movss dword [rdi + 0x90], xmm0
mov dword [rdi + 0x98], ebx
test byte [r14 + 0x4778], 4
mov ebx, dword [rsp + 0x5c]
mov esi, dword [rsp + 0x58]
je 0x18002021f
movsd xmm0, qword [r14 + 0x47a0]
movsd qword [rdi + 0x40], xmm0
jmp 0x18002022b
cmp esi, ebx
je 0x18002022b
mov qword [rdi + 0x40], 0
test byte [r14 + 0x4778], 8
je 0x18002027c
mov ecx, dword [r14 + 0x4784]
movzx edx, byte [r14 + 0x47b0]
test ecx, ecx
je 0x180020253
movsx eax, byte [rdi + 0xd6]
test ecx, eax
je 0x18002027c
movzx ecx, byte [rdi + 0xd6]
mov eax, dword [rdi + 0xd4]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [rdi + 0xb1], dl
mov dword [rdi + 0xd4], ecx
test byte [r14 + 0x4778], 0x20
je 0x18002028e
mov rcx, rdi
call fcn.180026d70
cmp byte [rdi + 0xb4], 0
je 0x1800202ac
and byte [rdi + 0xd4], 0xf7
and byte [rdi + 0xd5], 0xf7
and byte [rdi + 0xd6], 0xf7
mov r15d, 1
cmp esi, ebx
je 0x180021dca
movaps xmmword [rsp + 0x1d0], xmm6
mov eax, r13d
movaps xmmword [rsp + 0x1c0], xmm7
and eax, 0x3000000
cmp qword [rbp - 0x78], 0
movaps xmmword [rsp + 0x1b0], xmm8
movaps xmmword [rsp + 0x1a0], xmm9
movaps xmmword [rsp + 0x190], xmm10
movaps xmmword [rsp + 0x180], xmm11
movaps xmmword [rsp + 0x170], xmm12
mov byte [rdi + 0xae], r15b
movaps xmmword [rsp + 0x160], xmm13
mov dword [rsp + 0x50], eax
movzx eax, byte [rdi + 0xd1]
mov byte [rsp + 0x44], al
setne al
mov byte [rdi + 0xb8], al
mov dword [rdi + 0x230], 0xff7fffff
mov dword [rdi + 0x234], 0xff7fffff
mov dword [rdi + 0x238], 0x7f7fffff
mov dword [rdi + 0x23c], 0x7f7fffff
mov ecx, dword [rdi + 0xec]
cmp ecx, r15d
jge 0x180020388
test ecx, ecx
je 0x18002036e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180020373
mov eax, 8
cmp eax, r15d
lea rcx, [rdi + 0xe8]
mov edx, r15d
cmovg edx, eax
call fcn.1800396b0
mov dword [rdi + 0xe8], r15d
mov rcx, qword [rdi + 0x290]
call fcn.180043170
cmp byte [rdi + 0x3cc], 0
mov dword [rdi + 0x1a8], 0xffffffff
je 0x180020461
mov rcx, qword [rdi + 0x290]
mov edx, dword [rdi + 0x3c4]
add rcx, 0x10
mov byte [rdi + 0x3cc], 0
call fcn.180039610
mov rbx, qword [rdi + 0x290]
movsxd rsi, dword [rdi + 0x3c8]
cmp esi, dword [rbx + 0x24]
jle 0x180020458
mov rax, qword [0x1801596f8]
test rax, rax
je 0x1800203f4
inc dword [rax + 0xf4]
mov rdx, qword [0x180159708]
lea rcx, [rsi + rsi*4]
shl rcx, 2
call qword [0x180157030]
mov rdx, qword [rbx + 0x28]
mov r15, rax
test rdx, rdx
je 0x180020451
movsxd rcx, dword [rbx + 0x20]
lea r8, [rcx + rcx*4]
mov rcx, rax
shl r8, 2
call fcn.18010d9c0
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x180020444
mov rax, qword [0x1801596f8]
test rax, rax
je 0x180020444
dec dword [rax + 0xf4]
mov rdx, qword [0x180159708]
call qword [0x180157038]
mov qword [rbx + 0x28], r15
mov dword [rbx + 0x24], esi
xor eax, eax
mov qword [rdi + 0x3c4], rax
cmp qword [r14 + 0x4a00], 0
mov r9, qword [rsp + 0x68]
je 0x180020540
test dword [rdi + 0xc], 0x80000
jne 0x180020540
test r9, r9
je 0x180020540
mov r15, qword [rbp - 0x70]
mov r9, qword [rdi]
mov rax, r15
mov r8, r9
sub r8, r15
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800204b3
inc rax
test ecx, ecx
jne 0x1800204a0
test edx, edx
je 0x18002053b
movsxd rsi, dword [rdi + 0x70]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r15 + rbx], 0
jne 0x1800204c6
inc rbx
cmp rsi, rbx
jae 0x180020527
test r9, r9
je 0x1800204ef
mov rax, qword [0x1801596f8]
test rax, rax
je 0x1800204ef
dec dword [rax + 0xf4]
mov rdx, qword [0x180159708]
mov rcx, r9
call qword [0x180157038]
mov rax, qword [0x1801596f8]
test rax, rax
je 0x180020511
inc dword [rax + 0xf4]
mov rdx, qword [0x180159708]
mov rcx, rbx
call qword [0x180157030]
mov r9, rax
mov rsi, rbx
mov r8, rbx
mov rdx, r15
mov rcx, r9
call fcn.18010d9c0
mov qword [rdi], rax
mov dword [rdi + 0x70], esi
mov r9, qword [rsp + 0x68]
lea r8, [rdi + 0x38]
mov rcx, rdi
lea rdx, [rdi + 0x30]
call fcn.1800233b0
movzx eax, byte [rdi + 0xd0]
test al, al
jle 0x180020563
dec al
mov byte [rdi + 0xd0], al
movzx eax, byte [rdi + 0xd1]
test al, al
jle 0x180020576
dec al
mov byte [rdi + 0xd1], al
movzx eax, byte [rdi + 0xd2]
test al, al
jle 0x180020589
dec al
mov byte [rdi + 0xd2], al
test r9, r9
jne 0x1800205a1
test r12b, r12b
je 0x18002059a
cmp byte [rsp + 0x41], r9b
jne 0x1800205a1
mov byte [rdi + 0xd1], 1
xor r8d, r8d
cmp byte [rsp + 0x40], r8b
je 0x1800205f1
test r13d, 0x6000000
je 0x1800205f1
mov byte [rdi + 0xd1], 1
test r13b, 0x40
je 0x1800205f1
test r12b, r12b
jne 0x1800205ce
mov dword [rdi + 0x28], r8d
mov dword [rdi + 0x20], r8d
movzx ebx, byte [rsp + 0x41]
test bl, bl
jne 0x1800205df
mov dword [rdi + 0x2c], r8d
mov dword [rdi + 0x24], r8d
mov qword [rdi + 0x38], 0
mov qword [rdi + 0x30], 0
jmp 0x1800205f6
movzx ebx, byte [rsp + 0x41]
mov rax, qword [0x1801596f8]
mov rcx, qword [rax + 0x4878]
mov rsi, qword [rcx]
mov qword [rdi + 0x10], rsi
mov rcx, qword [0x1801596f8]
mov qword [rcx + 0x3ea0], rdi
movsxd rax, dword [rdi + 0x1a8]
cmp eax, 0xffffffff
je 0x180020635
imul rdx, rax, 0x238
add rdx, qword [rcx + 0x4b10]
jmp 0x180020638
mov rdx, r8
mov qword [rcx + 0x4ae8], rdx
mov rax, qword [0x1801596f8]
movss xmm0, dword [rax + 0x3c04]
mov rax, qword [rdi + 0x360]
mulss xmm0, dword [rdi + 0x288]
test rax, rax
je 0x18002066a
mulss xmm0, dword [rax + 0x288]
movss dword [rcx + 0x3c18], xmm0
movss dword [rcx + 0x3c00], xmm0
bt r13d, 0x18
jae 0x18002068c
movss xmm1, dword [r14 + 0x3810]
jmp 0x1800206b0
test r13d, 0x6000000
je 0x1800206a7
bt r13d, 0x1b
jb 0x1800206a7
movss xmm1, dword [r14 + 0x3818]
jmp 0x1800206b0
movss xmm1, dword [r14 + 0x37f4]
movss dword [rdi + 0x54], xmm1
mov eax, r13d
movsd xmm0, qword [r14 + 0x37e8]
and eax, 0x5010000
movsd qword [rdi + 0x48], xmm0
cmp eax, 0x1000000
jne 0x1800206f9
ucomiss xmm1, xmm14
jp 0x1800206f9
jne 0x1800206f9
bt r13d, 0xa
jae 0x1800206ec
movss xmm0, dword [r14 + 0x37ec]
jmp 0x1800206f0
movaps xmm0, xmm14
movss dword [rdi + 0x4c], xmm0
mov dword [rdi + 0x48], r8d
movss xmm0, dword [rdi + 0x48]
movzx r15d, byte [rsp + 0x42]
mov dword [rsp + 0x54], r15d
maxss xmm0, dword [r14 + 0x382c]
maxss xmm0, dword [r14 + 0x47dc]
movss dword [rdi + 0x15c], xmm0
mov eax, dword [r14 + 0x47e0]
mov dword [rdi + 0x160], eax
test r13b, 0x21
jne 0x18002088e
test byte [rdi + 0xc], 1
mov rcx, qword [0x1801596f8]
je 0x18002074d
movaps xmm2, xmm14
jmp 0x180020781
mov rax, qword [rdi + 0x360]
movss xmm0, dword [rcx + 0x3c04]
mulss xmm0, dword [rdi + 0x288]
test rax, rax
je 0x180020771
mulss xmm0, dword [rax + 0x288]
movss xmm2, dword [rcx + 0x3820]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm4, dword [rdi + 0x18]
movaps xmm3, xmm4
movss xmm5, dword [rdi + 0x1c]
addss xmm3, dword [rdi + 0x28]
addss xmm2, dword [rdi + 0x1c]
cmp qword [r14 + 0x3ea8], rdi
jne 0x18002083a
cmp dword [r14 + 0x3eec], 0
jne 0x18002083a
cmp dword [r14 + 0x3ef0], 0
jne 0x18002083a
mov rax, qword [rcx + 0x3ea0]
movss xmm1, dword [rcx + 0x3844]
movss xmm0, dword [rcx + 0x3848]
maxss xmm4, dword [rax + 0x230]
minss xmm3, dword [rax + 0x238]
maxss xmm5, dword [rax + 0x234]
minss xmm2, dword [rax + 0x23c]
subss xmm4, xmm1
addss xmm3, xmm1
movss xmm1, dword [rcx + 0xdfc]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x18002083a
movss xmm0, dword [rcx + 0xe00]
comiss xmm0, xmm5
jb 0x18002083a
comiss xmm3, xmm1
jbe 0x18002083a
comiss xmm2, xmm0
jbe 0x18002083a
cmp word [r14 + 0x3742], 2
jne 0x18002083a
mov byte [rdi + 0xb2], 1
cmp byte [rdi + 0xb2], 0
je 0x180020895
movzx ecx, byte [rdi + 0xb1]
test cl, cl
movzx r15d, r15b
sete al
test cl, cl
mov byte [rdi + 0xb1], al
mov eax, 1
mov rcx, qword [0x1801596f8]
cmovne r15d, eax
test dword [rdi + 0xc], 0x100
mov dword [rsp + 0x54], r15d
jne 0x180020895
comiss xmm14, dword [rcx + 0x5b7c]
jb 0x180020895
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x5b7c], eax
jmp 0x180020895
mov byte [rdi + 0xb1], 0
mov edx, dword [rdi + 0xc]
movss xmm10, dword [rdi + 0xa4]
movss xmm11, dword [rdi + 0xa8]
mov byte [rdi + 0xb2], 0
mov dword [rdi + 0x58], r8d
mov dword [rdi + 0x60], r8d
mov rax, qword [0x1801596f8]
test dl, 1
je 0x1800208cb
movaps xmm2, xmm14
jmp 0x1800208ff
mov rcx, qword [rdi + 0x360]
movss xmm0, dword [rax + 0x3c04]
mulss xmm0, dword [rdi + 0x288]
test rcx, rcx
je 0x1800208ef
mulss xmm0, dword [rcx + 0x288]
movss xmm2, dword [rax + 0x3820]
addss xmm2, xmm2
addss xmm2, xmm0
bt edx, 0xa
jae 0x180020943
mov rcx, qword [rdi + 0x360]
movss xmm1, dword [rax + 0x3c04]
mulss xmm1, dword [rdi + 0x288]
test rcx, rcx
je 0x180020929
mulss xmm1, dword [rcx + 0x288]
movss xmm0, dword [rax + 0x3820]
addss xmm1, dword [rdi + 0x160]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x180020947
movaps xmm1, xmm14
addss xmm1, xmm2
mov dword [rdi + 0x64], r8d
lea r8, [rdi + 0x38]
mov qword [rdi + 0xa4], 0
mov rdx, rdi
lea rcx, [rsp + 0x60]
movss dword [rdi + 0x5c], xmm1
call fcn.180023160
test r13b, 0x40
je 0x1800209b5
cmp byte [rdi + 0xb1], 0
jne 0x1800209b5
test r12b, r12b
jne 0x180020997
movss xmm0, dword [rsp + 0x60]
mov r15b, 1
movss dword [rdi + 0x28], xmm0
mov byte [rsp + 0x42], r15b
test bl, bl
jne 0x180020a5d
movss xmm0, dword [rsp + 0x64]
mov al, 1
movss dword [rdi + 0x2c], xmm0
mov dword [rsp + 0x54], eax
jmp 0x180020a5d
movzx eax, byte [rdi + 0xc8]
test al, al
jg 0x1800209cd
cmp byte [rdi + 0xc9], 0
jle 0x180020a5d
test r12b, r12b
jne 0x1800209ff
test al, al
jle 0x1800209ff
cmp byte [rdi + 0xcb], r12b
je 0x1800209ec
movss xmm0, dword [rdi + 0x28]
maxss xmm0, dword [rsp + 0x60]
jmp 0x1800209f2
movss xmm0, dword [rsp + 0x60]
mov r15b, 1
movss dword [rdi + 0x28], xmm0
mov byte [rsp + 0x42], r15b
test bl, bl
jne 0x180020a31
cmp byte [rdi + 0xc9], bl
jle 0x180020a31
cmp byte [rdi + 0xcb], bl
je 0x180020a20
movss xmm0, dword [rdi + 0x2c]
maxss xmm0, dword [rsp + 0x64]
jmp 0x180020a26
movss xmm0, dword [rsp + 0x64]
mov al, 1
movss dword [rdi + 0x2c], xmm0
mov dword [rsp + 0x54], eax
cmp byte [rdi + 0xb1], 0
jne 0x180020a5d
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x1801596f8]
jne 0x180020a5d
comiss xmm14, dword [rcx + 0x5b7c]
jb 0x180020a5d
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x5b7c], eax
lea r8, [rdi + 0x28]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.180023520
cmp byte [rdi + 0xb1], 0
movss xmm2, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x28], xmm2
movss dword [rdi + 0x2c], xmm1
je 0x180020aee
bt r13d, 0x18
jb 0x180020aee
test byte [rdi + 0xc], 1
mov rcx, qword [0x1801596f8]
je 0x180020aa4
movaps xmm1, xmm14
jmp 0x180020ad8
mov rax, qword [rdi + 0x360]
movss xmm0, dword [rcx + 0x3c04]
mulss xmm0, dword [rdi + 0x288]
test rax, rax
je 0x180020ac8
mulss xmm0, dword [rax + 0x288]
movss xmm1, dword [rcx + 0x3820]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [rdi + 0x18]
addss xmm1, dword [rdi + 0x1c]
subss xmm2, dword [rdi + 0x18]
subss xmm1, dword [rdi + 0x1c]
jmp 0x180020b07
movaps xmm0, xmm2
unpcklps xmm0, xmm1
movaps xmm1, xmm0
movsd qword [rsp + 0x48], xmm0
movss xmm2, dword [rsp + 0x48]
shufps xmm1, xmm1, 0x55
movzx ebx, byte [rsp + 0x40]
movzx r15d, byte [rsp + 0x43]
movss dword [rdi + 0x20], xmm2
movss dword [rdi + 0x24], xmm1
test bl, bl
je 0x180020b66
mov eax, r13d
mov dword [rdi + 0xcc], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180020b66
test r15b, r15b
jne 0x180020b66
movsxd rax, dword [r14 + 0x4858]
imul rcx, rax, 0x38
mov rax, qword [r14 + 0x4860]
movss xmm0, dword [rcx + rax - 0x14]
movss xmm1, dword [rcx + rax - 0x10]
movss dword [rdi + 0x18], xmm0
movss dword [rdi + 0x1c], xmm1
bt r13d, 0x18
jae 0x180020bf6
mov r12, qword [rsp + 0x70]
lea rbx, [r12 + 0x188]
movzx eax, word [rbx]
mov word [rdi + 0xbe], ax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x180020bbc
inc r8d
test ecx, ecx
je 0x180020ba5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180020baa
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180039750
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov eax, dword [rsp + 0x50]
movzx ebx, byte [rsp + 0x40]
bt r13d, 0x1a
jb 0x180020bfa
test r15b, r15b
jne 0x180020bfa
cmp eax, 0x3000000
je 0x180020bfa
movsd xmm0, qword [r12 + 0xf8]
movsd qword [rdi + 0x18], xmm0
jmp 0x180020bfa
mov eax, dword [rsp + 0x50]
movss xmm1, dword [rdi + 0xd8]
ucomiss xmm1, dword [0x1801159e0]
jp 0x180020c0d
je 0x180020c5e
cmp byte [rdi + 0xd1], 0
jne 0x180020c5e
movss xmm0, dword [rdi + 0x20]
lea rdx, [rsp + 0x48]
mulss xmm0, dword [rdi + 0xe0]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xdc]
movss dword [rsp + 0x48], xmm1
movss xmm1, dword [rdi + 0x24]
mulss xmm1, dword [rdi + 0xe4]
subss xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
call fcn.180034a80
jmp 0x180020cab
bt r13d, 0x1c
jb 0x180020c8b
bt r13d, 0x1a
jae 0x180020c78
test r15b, r15b
jne 0x180020c78
cmp byte [rsp + 0x44], r15b
jg 0x180020c8b
bt r13d, 0x19
jae 0x180020cab
test r15b, r15b
jne 0x180020cab
cmp eax, 0x3000000
je 0x180020cab
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.180026180
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x18], xmm0
movss dword [rdi + 0x1c], xmm1
movss xmm0, dword [rsi + 0x14]
movss xmm1, dword [rsi + 0x18]
movaps xmm7, xmm0
movss xmm8, dword [rsi + 4]
movaps xmm6, xmm1
movss xmm9, dword [rsi + 8]
movaps xmm5, xmm8
movss xmm3, dword [r14 + 0x388c]
movaps xmm4, xmm9
movss xmm2, dword [r14 + 0x3888]
movss dword [rbp + 0x10], xmm8
movss dword [rbp + 0x14], xmm9
maxss xmm3, dword [r14 + 0x3894]
maxss xmm2, dword [r14 + 0x3890]
addss xmm7, dword [rsi + 0x1c]
addss xmm6, dword [rsi + 0x20]
addss xmm5, dword [rsi + 0xc]
addss xmm4, dword [rsi + 0x10]
subss xmm7, xmm2
subss xmm6, xmm3
movss dword [rbp + 0x18], xmm5
addss xmm2, xmm0
movss dword [rbp + 0x1c], xmm4
addss xmm3, xmm1
movss dword [rbp - 0x80], xmm7
movss dword [rbp - 0x7c], xmm6
movss dword [rsp + 0x78], xmm2
movss dword [rsp + 0x7c], xmm3
test r15b, r15b
jne 0x180020df6
bt r13d, 0x18
jb 0x180020df6
subss xmm5, xmm8
comiss xmm5, xmm14
jbe 0x180020df6
subss xmm4, xmm9
comiss xmm4, xmm14
jbe 0x180020df6
mov rax, qword [0x1801596f8]
movss xmm0, dword [rdi + 0x24]
cmp byte [rax + 0x7f], r15b
je 0x180020dc1
test byte [rdi + 0xc], 1
jne 0x180020dc1
mov rcx, qword [rdi + 0x360]
movss xmm1, dword [rax + 0x3c04]
mulss xmm1, dword [rdi + 0x288]
test rcx, rcx
je 0x180020db1
mulss xmm1, dword [rcx + 0x288]
movss xmm0, dword [rax + 0x3820]
addss xmm0, xmm0
addss xmm0, xmm1
subss xmm2, dword [rdi + 0x20]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x1c]
comiss xmm3, xmm0
ja 0x180020ddb
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [rdi + 0x18]
comiss xmm2, xmm0
ja 0x180020dec
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [rdi + 0x18], xmm2
movss dword [rdi + 0x1c], xmm3
cvttss2si eax, dword [rdi + 0x18]
movd xmm1, eax
cvttss2si eax, dword [rdi + 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rdi + 0x18], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x1c], xmm0
bt r13d, 0x18
jae 0x180020e2a
movss xmm0, dword [r14 + 0x380c]
jmp 0x180020e4d
mov eax, r13d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180020e44
movss xmm0, dword [r14 + 0x3814]
jmp 0x180020e4d
movss xmm0, dword [r14 + 0x37f0]
xor cl, cl
movss dword [rdi + 0x50], xmm0
mov dword [rsp + 0x48], ecx
test bl, bl
je 0x180021085
bt r13d, 0xc
jb 0x180021085
bt r13d, 0x1a
jae 0x180020e79
mov byte [rsp + 0x48], 1
jmp 0x180020e8f
test r13d, 0x3000000
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [rsp + 0x48], ecx
call fcn.180027d20
test rax, rax
je 0x180021085
mov rcx, rdi
cmp qword [rdi + 0x370], rax
je 0x180021085
nop dword [rax]
cmp rcx, rax
je 0x180021085
mov rcx, qword [rcx + 0x368]
test rcx, rcx
jne 0x180020eb0
mov r8, qword [rdi + 0x370]
xor r15b, r15b
mov dword [rsp + 0x48], r15d
cmp rdi, r8
jne 0x18002108a
mov r12, qword [0x1801596f8]
mov eax, dword [r12 + 0x4848]
test eax, eax
jle 0x180020fa2
sub eax, 1
js 0x180020fa2
movsxd r9, eax
mov rax, qword [r12 + 0x4850]
imul r10, r9, 0x38
add rax, 8
add r10, rax
mov rdx, qword [r10]
test rdx, rdx
je 0x180020f94
test dword [rdx + 0xc], 0x8000000
je 0x180020f94
cmp byte [rdx + 0xae], 0
jne 0x180020f36
cmp byte [rdx + 0xaf], 0
je 0x180020f94
mov rax, rdi
cmp r8, rdx
je 0x180020fa2
nop
cmp rax, rdx
je 0x180020fa2
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x180020f40
mov rax, qword [rdx + 0x368]
mov rcx, qword [rax + 0x370]
test rcx, rcx
je 0x180020f94
mov rax, rdi
cmp r8, rcx
je 0x180020fa4
nop dword [rax]
cmp rax, rcx
je 0x180020fa4
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x180020f70
mov rax, qword [rcx + 0x368]
mov rcx, qword [rax + 0x370]
test rcx, rcx
jne 0x180020f64
sub r10, 0x38
sub r9, 1
jns 0x180020f13
xor edx, edx
mov r9, qword [r12 + 0x3e48]
movsxd rax, dword [r12 + 0x3e40]
mov r15, qword [rdi + 0x370]
mov r8, qword [rdx + 0x370]
lea rcx, [r9 + rax*8]
cmp r9, rcx
jae 0x180020fde
nop dword [rax + rax]
cmp qword [r9], r15
je 0x180020fde
add r9, 8
cmp r9, rcx
jb 0x180020fd0
mov rsi, qword [r12 + 0x3e48]
movsxd rax, dword [r12 + 0x3e40]
sub r9, rsi
sar r9, 3
lea rcx, [rsi + rax*8]
cmp rsi, rcx
jae 0x18002100e
nop
cmp qword [rsi], r8
je 0x18002100e
add rsi, 8
cmp rsi, rcx
jb 0x180021000
mov r10, qword [r12 + 0x3e48]
sub rsi, r10
sar rsi, 3
cmp r9d, esi
jge 0x180021059
mov eax, esi
sub eax, r9d
dec eax
movsxd r8, eax
lea eax, [r9 + 1]
movsxd rcx, eax
movsxd rax, r9d
shl r8, 3
lea rdx, [r10 + rcx*8]
lea rcx, [r10 + rax*8]
call fcn.18010d9c0
mov rax, qword [r12 + 0x3e48]
movsxd rcx, esi
mov qword [rax + rcx*8 - 8], r15
jmp 0x180021085
lea eax, [rsi + 1]
movsxd rbx, esi
movsxd rcx, eax
sub r9d, esi
movsxd r8, r9d
shl r8, 3
lea rdx, [r10 + rbx*8]
lea rcx, [r10 + rcx*8]
call fcn.18010d9c0
mov rax, qword [r12 + 0x3e48]
mov qword [rax + rbx*8], r15
mov r15d, dword [rsp + 0x48]
movss xmm1, dword [r14 + 0x3c00]
xorps xmm0, xmm0
xor esi, esi
mov dword [rsp + 0x48], 0xffffffff
cmp byte [r14 + 0x7e], sil
movaps xmm2, xmm1
mulss xmm1, dword [0x18011594c]
setne sil
mulss xmm2, dword [0x180115988]
inc esi
cmp byte [rdi + 0xb1], 0
movups xmmword [rbp + 0x30], xmm0
movss xmm0, dword [rdi + 0x50]
addss xmm0, dword [0x180115984]
addss xmm0, xmm1
maxss xmm2, xmm0
cvttss2si eax, xmm2
movd xmm13, eax
cvtdq2ps xmm13, xmm13
jne 0x18002111f
lea rax, [rsp + 0x78]
mov r9d, esi
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x48]
lea rax, [rbp + 0x30]
mov rcx, rdi
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.180037eb0
test al, al
je 0x18002111f
mov cl, 1
movzx edx, cl
jmp 0x180021128
movzx edx, byte [rsp + 0x42]
mov ecx, dword [rsp + 0x54]
cmp byte [rdi + 0xb1], 0
movzx eax, byte [rsp + 0x48]
mov byte [rdi + 0xb9], al
jne 0x18002127d
cmp qword [rsp + 0x68], 0
movss xmm0, dword [rdi + 0x64]
movss xmm2, dword [rdi + 0x1f8]
movss xmm3, dword [rdi + 0x1fc]
addss xmm0, dword [rdi + 0x5c]
subss xmm2, dword [rdi + 0x1f0]
subss xmm3, dword [rdi + 0x1f4]
movss xmm4, dword [rdi + 0x2c]
movss xmm5, dword [rdi + 0x28]
subss xmm4, xmm0
addss xmm2, xmm10
addss xmm3, xmm11
jne 0x180021194
movaps xmm1, xmm14
movaps xmm0, xmm14
jmp 0x1800211b0
movss xmm1, dword [rdi + 0x48]
movss xmm0, dword [rdi + 0x4c]
addss xmm1, xmm1
addss xmm0, xmm0
addss xmm1, dword [rdi + 0x30]
addss xmm0, dword [rdi + 0x34]
test dl, dl
jne 0x1800211b7
movaps xmm5, xmm2
test cl, cl
jne 0x1800211be
movaps xmm4, xmm3
bt r13d, 0xe
jb 0x1800211d4
comiss xmm0, xmm4
jbe 0x1800211d0
test r13b, 8
je 0x1800211d4
xor cl, cl
jmp 0x1800211d6
mov cl, 1
mov byte [rdi + 0xad], cl
bt r13d, 0xf
jb 0x18002121b
test cl, cl
je 0x1800211f2
movss xmm2, dword [r14 + 0x3854]
jmp 0x1800211f6
movaps xmm2, xmm14
subss xmm5, xmm2
comiss xmm1, xmm5
jbe 0x18002120e
mov eax, r13d
and eax, 0x808
cmp eax, 0x800
je 0x18002121b
mov byte [rdi + 0xac], 0
movaps xmm1, xmm14
jmp 0x180021246
mov byte [rdi + 0xac], 1
test cl, cl
jne 0x18002123d
comiss xmm0, xmm4
jbe 0x180021235
test r13b, 8
jne 0x180021235
mov cl, 1
jmp 0x180021237
xor cl, cl
mov byte [rdi + 0xad], cl
movss xmm1, dword [r14 + 0x3854]
test cl, cl
je 0x180021255
movss xmm0, dword [r14 + 0x3854]
jmp 0x180021259
movaps xmm0, xmm14
movss dword [rdi + 0xa4], xmm0
addss xmm0, dword [rdi + 0x60]
movss dword [rdi + 0xa8], xmm1
addss xmm1, dword [rdi + 0x64]
movss dword [rdi + 0x60], xmm0
movss dword [rdi + 0x64], xmm1
mov eax, r13d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1800212a5
cmp dword [rsp + 0x50], 0x3000000
je 0x1800212a5
mov r12, qword [rsp + 0x70]
lea rax, [r12 + 0x230]
jmp 0x1800212ae
mov r12, qword [rsp + 0x70]
lea rax, [rbp + 0x10]
test byte [rdi + 0xc], 1
movups xmm0, xmmword [rax]
mov rcx, qword [0x1801596f8]
movss xmm5, dword [rdi + 0x18]
movss xmm6, dword [rdi + 0x1c]
movaps xmm3, xmm5
addss xmm3, dword [rdi + 0x20]
movaps xmm4, xmm6
addss xmm4, dword [rdi + 0x24]
movups xmmword [rbp + 0x20], xmm0
je 0x1800212e2
movaps xmm0, xmm14
jmp 0x180021316
mov rax, qword [rdi + 0x360]
movss xmm1, dword [rcx + 0x3c04]
mulss xmm1, dword [rdi + 0x288]
test rax, rax
je 0x180021306
mulss xmm1, dword [rax + 0x288]
movss xmm0, dword [rcx + 0x3820]
addss xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm6
movss dword [rbp - 0x68], xmm5
addss xmm1, xmm0
movaps xmm2, xmm5
movss xmm0, dword [rdi + 0x1c]
mov eax, r13d
addss xmm2, dword [rdi + 0x28]
movss dword [rbp - 0x64], xmm0
and eax, 0x401
movss dword [rbp - 0x5c], xmm1
movss dword [rbp - 0x60], xmm2
movss dword [rdi + 0x1e0], xmm5
movss dword [rdi + 0x1e4], xmm6
movss dword [rdi + 0x1e8], xmm3
movss dword [rdi + 0x1ec], xmm4
movss xmm0, dword [rdi + 0x1e0]
movss xmm4, dword [rbp + 0x20]
movss xmm5, dword [rbp + 0x24]
maxss xmm0, xmm4
movss xmm12, dword [rbp + 0x28]
maxss xmm6, xmm5
movss xmm11, dword [rbp + 0x2c]
movss dword [rdi + 0x1e0], xmm0
movss dword [rdi + 0x1e4], xmm6
movss xmm1, dword [rdi + 0x1e8]
movss xmm0, dword [rdi + 0x1ec]
minss xmm1, xmm12
minss xmm0, xmm11
movss dword [rdi + 0x1e8], xmm1
movss dword [rdi + 0x1ec], xmm0
movss xmm6, dword [rdi + 0x18]
movss xmm7, dword [rdi + 0x1c]
movaps xmm8, xmm6
movaps xmm9, xmm7
addss xmm6, dword [rdi + 0x20]
addss xmm7, dword [rdi + 0x24]
addss xmm8, dword [rdi + 0x58]
addss xmm9, dword [rdi + 0x5c]
subss xmm6, dword [rdi + 0x60]
subss xmm7, dword [rdi + 0x64]
movss dword [rdi + 0x1f0], xmm8
movss dword [rdi + 0x1f4], xmm9
movss dword [rdi + 0x1f8], xmm6
movss dword [rdi + 0x1fc], xmm7
cmp eax, 1
jne 0x180021427
movss xmm10, dword [rdi + 0x54]
jmp 0x180021430
movss xmm10, dword [r14 + 0x3828]
movss xmm2, dword [0x18011595c]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x48]
addss xmm8, xmm2
mulss xmm0, xmm2
addss xmm9, xmm2
addss xmm6, xmm2
addss xmm7, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm9, xmm10
subss xmm7, dword [rdi + 0x54]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x54]
addss xmm8, xmm1
subss xmm6, xmm1
cvttss2si eax, xmm8
xorps xmm8, xmm8
cvtsi2ss xmm8, eax
cvttss2si eax, xmm9
movss dword [rdi + 0x200], xmm8
cvtsi2ss xmm0, eax
cvttss2si eax, xmm6
movss dword [rdi + 0x204], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm7
movss dword [rdi + 0x208], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x20c], xmm0
movss xmm0, dword [rdi + 0x204]
comiss xmm5, xmm0
jbe 0x1800214d9
movaps xmm1, xmm5
jmp 0x1800214e1
movaps xmm1, xmm11
minss xmm1, xmm0
comiss xmm4, xmm8
jbe 0x1800214ec
movaps xmm0, xmm4
jmp 0x1800214f5
movaps xmm0, xmm12
minss xmm0, xmm8
movss dword [rdi + 0x200], xmm0
movss dword [rdi + 0x204], xmm1
movss xmm0, dword [rdi + 0x20c]
comiss xmm5, xmm0
ja 0x18002151a
movaps xmm5, xmm11
minss xmm5, xmm0
movss xmm0, dword [rdi + 0x208]
comiss xmm4, xmm0
ja 0x18002152f
movaps xmm4, xmm12
minss xmm4, xmm0
movss dword [rdi + 0x208], xmm4
movss dword [rdi + 0x20c], xmm5
movss xmm0, dword [rdi + 0x20]
comiss xmm0, xmm14
jbe 0x18002155d
test r13d, 0x2000040
jne 0x18002155d
mulss xmm0, dword [0x180115964]
jmp 0x18002156e
movss xmm0, dword [r14 + 0x3c00]
mulss xmm0, dword [0x1801159b8]
cvttss2si eax, xmm0
mov rdx, rdi
lea rcx, [rsp + 0x70]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x260], xmm0
movss xmm0, dword [rdi + 0x1f8]
subss xmm0, dword [rdi + 0x1f0]
movss xmm1, dword [rdi + 0x48]
movss xmm2, dword [rdi + 0x4c]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rdi + 0x30]
addss xmm2, dword [rdi + 0x34]
subss xmm1, xmm0
movaps xmm0, xmm14
maxss xmm0, xmm1
movss dword [rdi + 0x84], xmm0
movss xmm0, dword [rdi + 0x1fc]
subss xmm0, dword [rdi + 0x1f4]
subss xmm2, xmm0
movaps xmm0, xmm14
maxss xmm0, xmm2
movss dword [rdi + 0x88], xmm0
call fcn.180022cc0
mov rcx, qword [rdi + 0x290]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x7c], xmm0
movss dword [rdi + 0x80], xmm1
mov dword [rdi + 0x8c], 0x7f7fffff
mov dword [rdi + 0x90], 0x7f7fffff
mov qword [rdi + 0x68], 0
mov rax, qword [r14 + 0x3bf8]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.180040770
mov rcx, qword [0x1801596f8]
lea r8, [rbp + 0x28]
xor r9d, r9d
lea rdx, [rbp + 0x20]
mov rax, qword [rcx + 0x3ea0]
mov byte [rax + 0xb0], 1
mov rbx, qword [rcx + 0x3ea0]
mov rcx, qword [rbx + 0x290]
call fcn.180040660
mov rax, qword [rbx + 0x290]
movsxd rcx, dword [rax + 0x58]
mov rax, qword [rax + 0x60]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0xc]
movss xmm1, dword [rax + rcx*8 - 8]
movss xmm2, dword [rax + rcx*8 - 4]
mov eax, dword [rax + rcx*8 - 0x10]
mov dword [rbx + 0x230], eax
mov eax, r13d
movss dword [rbx + 0x234], xmm0
and eax, 0x5000000
movss dword [rbx + 0x238], xmm1
movss dword [rbx + 0x23c], xmm2
xor bl, bl
cmp eax, 0x1000000
jne 0x18002179b
cmp dword [rsp + 0x50], 0x3000000
je 0x18002179b
movsxd rax, dword [r12 + 0x188]
cmp eax, 2
jl 0x180021763
mov rcx, rax
mov rax, qword [r12 + 0x190]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x180021763
movss xmm0, dword [rdx + 0x18]
lea rcx, [rsp + 0x78]
movss xmm1, dword [rdx + 0x1c]
movss dword [rsp + 0x78], xmm0
addss xmm0, dword [rdx + 0x20]
movss dword [rsp + 0x7c], xmm1
addss xmm1, dword [rdx + 0x24]
lea rdx, [rbp + 0x10]
movss dword [rbp - 0x80], xmm0
movss xmm0, dword [rdi + 0x18]
movss dword [rbp - 0x7c], xmm1
movss xmm1, dword [rdi + 0x1c]
movss dword [rbp + 0x10], xmm0
addss xmm0, dword [rdi + 0x20]
movss dword [rbp + 0x14], xmm1
addss xmm1, dword [rdi + 0x24]
movss dword [rbp + 0x18], xmm0
movss dword [rbp + 0x1c], xmm1
call fcn.18002f840
movzx r8d, al
jmp 0x180021766
xor r8b, r8b
mov rdx, qword [rdi + 0x290]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x18002179b
mov rax, qword [r12 + 0x290]
cmp dword [rax + 0x20], 0
jle 0x18002179b
test r8b, r8b
jne 0x18002179b
mov bl, 1
mov qword [rdi + 0x290], rax
mov rax, qword [r14 + 0x49f0]
test rax, rax
jne 0x1800217ae
mov rax, qword [r14 + 0x4880]
test r15b, r15b
jne 0x1800217cd
test rax, rax
je 0x1800217c8
mov rax, qword [rax + 0x380]
cmp qword [rdi + 0x380], rax
je 0x1800217cd
xor r8b, r8b
jmp 0x1800217d0
mov r8b, 1
movss dword [rsp + 0x30], xmm13
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x68]
mov r9b, 1
mov dword [rsp + 0x20], esi
mov rcx, rdi
call fcn.180032900
test bl, bl
je 0x180021805
lea rax, [rdi + 0x298]
mov qword [rdi + 0x290], rax
movss xmm4, dword [rdi + 0x40]
mov ecx, r13d
shr ecx, 3
not cl
and cl, 1
ucomiss xmm4, xmm14
jp 0x180021861
jne 0x180021861
movss xmm0, dword [rdi + 0x48]
mov eax, r13d
movss xmm1, dword [rdi + 0x20]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [rdi + 0x60]
addss xmm0, dword [rdi + 0x58]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x180021857
movss xmm7, dword [rdi + 0x30]
maxss xmm7, xmm1
jmp 0x180021864
movaps xmm7, xmm14
maxss xmm7, xmm1
jmp 0x180021864
movaps xmm7, xmm4
movss xmm5, dword [rdi + 0x44]
ucomiss xmm5, xmm14
jp 0x1800218aa
jne 0x1800218aa
movss xmm0, dword [rdi + 0x4c]
movss xmm1, dword [rdi + 0x24]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [rdi + 0x64]
addss xmm0, dword [rdi + 0x5c]
subss xmm1, xmm0
test cl, cl
je 0x1800218a0
movss xmm6, dword [rdi + 0x34]
maxss xmm6, xmm1
jmp 0x1800218ad
movaps xmm6, xmm14
maxss xmm6, xmm1
jmp 0x1800218ad
movaps xmm6, xmm5
ucomiss xmm4, xmm14
movss xmm9, dword [rdi + 0x48]
movss xmm10, dword [rdi + 0x7c]
movaps xmm1, xmm9
maxss xmm1, dword [rdi + 0x54]
movss xmm0, dword [rdi + 0x1f0]
subss xmm0, xmm10
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [rdi + 0x210], xmm3
addss xmm3, xmm7
movss xmm8, dword [rdi + 0x4c]
movss xmm11, dword [rdi + 0x80]
movaps xmm1, xmm8
movss xmm0, dword [rdi + 0x1f4]
maxss xmm1, dword [rdi + 0x54]
subss xmm0, xmm11
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rdi + 0x214], xmm2
addss xmm2, xmm6
movss dword [rdi + 0x218], xmm3
movss dword [rdi + 0x21c], xmm2
movups xmm0, xmmword [rdi + 0x210]
movups xmmword [rdi + 0x220], xmm0
movss xmm12, dword [rdi + 0x18]
movss xmm6, dword [rdi + 0x58]
movaps xmm2, xmm12
subss xmm2, xmm10
addss xmm2, xmm9
addss xmm2, xmm6
movss dword [rdi + 0x240], xmm2
movss xmm13, dword [rdi + 0x1c]
movss xmm7, dword [rdi + 0x5c]
movaps xmm3, xmm13
subss xmm3, xmm11
addss xmm3, xmm8
addss xmm3, xmm7
movss dword [rdi + 0x244], xmm3
jp 0x1800219b8
jne 0x1800219b8
movss xmm4, dword [rdi + 0x20]
movaps xmm0, xmm9
addss xmm0, xmm9
movaps xmm1, xmm6
addss xmm1, dword [rdi + 0x60]
subss xmm4, xmm0
subss xmm4, xmm1
ucomiss xmm5, xmm14
addss xmm4, xmm2
movss dword [rdi + 0x248], xmm4
jp 0x1800219ea
jne 0x1800219ea
movss xmm5, dword [rdi + 0x24]
movaps xmm0, xmm8
addss xmm0, xmm8
movaps xmm1, xmm7
addss xmm1, dword [rdi + 0x64]
subss xmm5, xmm0
subss xmm5, xmm1
movzx r8d, byte [rsp + 0x40]
addss xmm5, xmm3
xor esi, esi
lea rcx, [rdi + 0x164]
cvtps2pd xmm2, xmm9
movss dword [rdi + 0x24c], xmm5
movaps xmm0, xmm6
addss xmm0, xmm9
cvtps2pd xmm3, xmm8
subss xmm0, xmm10
cvtps2pd xmm1, xmm10
movss dword [rdi + 0x13c], xmm0
mov qword [rdi + 0x140], rsi
cvtps2pd xmm0, xmm12
addsd xmm2, xmm0
cvtps2pd xmm0, xmm6
subsd xmm2, xmm1
xorps xmm1, xmm1
addsd xmm2, xmm0
cvtps2pd xmm0, xmm13
addsd xmm2, xmm1
addsd xmm3, xmm0
cvtps2pd xmm1, xmm11
cvtps2pd xmm0, xmm7
subsd xmm3, xmm1
cvtpd2ps xmm1, xmm2
addsd xmm3, xmm0
movss dword [rdi + 0x108], xmm1
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0x10c], xmm0
movss xmm0, dword [rdi + 0x108]
movss xmm1, dword [rdi + 0x10c]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
subsd xmm2, xmm0
subsd xmm3, xmm1
cvtpd2ps xmm2, xmm2
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0x148], xmm2
movss dword [rdi + 0x14c], xmm0
movss xmm1, dword [rdi + 0x108]
movss xmm0, dword [rdi + 0x10c]
movss dword [rdi + 0xf8], xmm1
movss dword [rdi + 0xfc], xmm0
movss dword [rdi + 0x100], xmm1
movss dword [rdi + 0x104], xmm0
movss dword [rdi + 0x110], xmm1
movss dword [rdi + 0x114], xmm0
movss dword [rdi + 0x118], xmm1
movss dword [rdi + 0x11c], xmm0
mov qword [rdi + 0x128], rsi
mov qword [rdi + 0x120], rsi
mov qword [rdi + 0x130], rsi
mov word [rdi + 0x138], si
mov dword [rdi + 0x150], esi
movzx eax, word [rdi + 0x156]
mov word [rdi + 0x154], ax
mov word [rdi + 0x156], si
mov byte [rdi + 0x158], sil
movss xmm0, dword [rdi + 0x88]
comiss xmm0, xmm14
seta al
mov byte [rdi + 0x159], al
mov byte [rdi + 0x15a], sil
movss xmm1, dword [r14 + 0x382c]
call fcn.180065860
movaps xmm13, xmmword [rsp + 0x160]
movaps xmm12, xmmword [rsp + 0x170]
movaps xmm11, xmmword [rsp + 0x180]
movaps xmm10, xmmword [rsp + 0x190]
movaps xmm9, xmmword [rsp + 0x1a0]
movaps xmm8, xmmword [rsp + 0x1b0]
movaps xmm7, xmmword [rsp + 0x1c0]
movaps xmm6, xmmword [rsp + 0x1d0]
mov qword [rdi + 0x180], rsi
mov ecx, dword [rdi + 0x18c]
test ecx, ecx
jns 0x180021bd7
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x188]
test eax, eax
cmovg edx, eax
call fcn.180039750
mov dword [rdi + 0x188], esi
lea rax, [rdi + 0x268]
mov qword [rdi + 0x198], rax
mov eax, 1
mov qword [rdi + 0x1a0], rsi
mov dword [rdi + 0x1ac], eax
test r12, r12
je 0x180021c0a
mov eax, dword [r12 + 0x1ac]
mov dword [rdi + 0x1b0], eax
mov eax, dword [rdi + 0x260]
mov dword [rdi + 0x1b4], eax
mov dword [rdi + 0x1b8], 0xbf800000
mov ecx, dword [rdi + 0x1c4]
test ecx, ecx
jns 0x180021c4c
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1c0]
test eax, eax
cmovg edx, eax
call fcn.1800396b0
mov dword [rdi + 0x1c0], esi
mov ecx, dword [rdi + 0x1d4]
test ecx, ecx
jns 0x180021c78
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1d0]
test eax, eax
cmovg edx, eax
call fcn.1800396b0
mov dword [rdi + 0x1d0], esi
movzx eax, byte [rdi + 0xc8]
test al, al
jle 0x180021c91
dec al
mov byte [rdi + 0xc8], al
movzx eax, byte [rdi + 0xc9]
test al, al
jle 0x180021ca4
dec al
mov byte [rdi + 0xc9], al
test r15b, r15b
je 0x180021cbb
mov rcx, rdi
call fcn.180026d70
xor edx, edx
mov rcx, rdi
call fcn.18002ae20
test r13b, 1
jne 0x180021d09
movss xmm2, dword [rdi + 0x54]
lea rdx, [rbp + 0x10]
movss xmm1, dword [rbp - 0x60]
movaps xmm0, xmm2
addss xmm0, dword [rbp - 0x68]
mov r9, qword [rbp - 0x78]
subss xmm1, xmm2
mov r8, qword [rbp - 0x70]
mov rcx, rdi
movss dword [rbp + 0x10], xmm0
movss xmm0, dword [rbp - 0x64]
movss dword [rbp + 0x14], xmm0
movss xmm0, dword [rbp - 0x5c]
movss dword [rbp + 0x1c], xmm0
movss dword [rbp + 0x18], xmm1
call fcn.180033520
movss xmm1, dword [rbp - 0x68]
movss xmm4, dword [rbp - 0x60]
movss xmm5, dword [rbp - 0x5c]
movss xmm3, dword [rbp - 0x64]
mov dword [rdi + 0x250], esi
mov rdx, qword [0x1801596f8]
movss xmm2, dword [rdx + 0x3844]
movss xmm0, dword [rdx + 0x3848]
subss xmm1, xmm2
addss xmm4, xmm2
movss xmm2, dword [rdx + 0xdfc]
addss xmm5, xmm0
subss xmm3, xmm0
comiss xmm2, xmm1
jb 0x180021d79
movss xmm0, dword [rdx + 0xe00]
comiss xmm0, xmm3
jb 0x180021d79
comiss xmm4, xmm2
jbe 0x180021d79
comiss xmm5, xmm0
jbe 0x180021d79
mov r15d, 1
mov r8d, r15d
jmp 0x180021d82
mov r8d, esi
mov r15d, 1
mov eax, dword [rdi + 0x74]
mov ecx, dword [r14 + 0x4720]
mov dword [rdx + 0x473c], eax
mov dword [rdx + 0x4740], ecx
mov dword [rdx + 0x4744], r8d
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rdx + 0x4748], xmm0
mov eax, dword [r14 + 0x4724]
test eax, eax
je 0x180021e41
cmp dword [rdi + 8], eax
je 0x180021dc3
cmp dword [rdi + 0x74], eax
jne 0x180021e41
call fcn.180024be0
jmp 0x180021e41
mov rcx, qword [0x1801596f8]
mov qword [rcx + 0x3ea0], rdi
movsxd rax, dword [rdi + 0x1a8]
cmp eax, 0xffffffff
je 0x180021df6
imul rdx, rax, 0x238
add rdx, qword [rcx + 0x4b10]
xor esi, esi
jmp 0x180021dfa
xor esi, esi
mov edx, esi
mov qword [rcx + 0x4ae8], rdx
mov rax, qword [0x1801596f8]
movss xmm0, dword [rax + 0x3c04]
mov rax, qword [rdi + 0x360]
mulss xmm0, dword [rdi + 0x288]
test rax, rax
je 0x180021e2c
mulss xmm0, dword [rax + 0x288]
mov r12, qword [rsp + 0x70]
movss dword [rcx + 0x3c18], xmm0
movss dword [rcx + 0x3c00], xmm0
lea rdx, [rdi + 0x208]
mov r8b, 1
lea rcx, [rdi + 0x200]
call fcn.18002fdc0
mov eax, dword [rsp + 0x58]
mov rbx, qword [rsp + 0x238]
mov byte [rdi + 0xb0], 0
inc word [rdi + 0xba]
mov dword [r14 + 0x4778], esi
mov rsi, qword [rsp + 0x1e0]
cmp eax, dword [rsp + 0x5c]
je 0x180021fe5
bt r13d, 0x18
jae 0x180021f56
test r13b, 0x40
jne 0x180021f17
cmp byte [rdi + 0xc8], 0
jg 0x180021f17
cmp byte [rdi + 0xc9], 0
jg 0x180021f17
bt r13d, 0x17
jae 0x180021ede
cmp byte [r14 + 0x48c4], 0
je 0x180021ede
mov rcx, qword [r14 + 0x4880]
test rcx, rcx
je 0x180021ede
mov rax, qword [rdi + 0x388]
cmp qword [rcx + 0x388], rax
jne 0x180021ede
mov al, 1
jmp 0x180021ee0
xor al, al
cmp byte [r14 + 0x5c10], 0
jne 0x180021f17
test al, al
jne 0x180021f17
movss xmm0, dword [rdi + 0x1e0]
comiss xmm0, dword [rdi + 0x1e8]
jae 0x180021f10
movss xmm0, dword [rdi + 0x1e4]
comiss xmm0, dword [rdi + 0x1ec]
jb 0x180021f17
mov byte [rdi + 0xd0], 1
test r12, r12
je 0x180021f56
cmp byte [r12 + 0xb1], 0
jne 0x180021f32
cmp byte [r12 + 0xd0], 0
jle 0x180021f39
mov byte [rdi + 0xd0], 1
cmp byte [r12 + 0xb1], 0
jne 0x180021f4f
cmp byte [r12 + 0xd1], 0
jle 0x180021f56
mov byte [rdi + 0xd1], 1
comiss xmm14, dword [r14 + 0x37e0]
jb 0x180021f67
mov byte [rdi + 0xd0], 1
cmp byte [rdi + 0xd0], 0
jg 0x180021f87
cmp byte [rdi + 0xd1], 0
jg 0x180021f87
xor cl, cl
cmp byte [rdi + 0xd2], cl
jg 0x180021f89
xor al, al
jmp 0x180021f8b
mov cl, 1
mov al, 1
mov byte [rdi + 0xb5], al
movzx eax, byte [rdi + 0xd3]
test al, al
jle 0x180021fab
dec al
mov byte [rdi + 0xd3], al
or dword [rdi + 0xc], 0xc0200
xor al, al
cmp byte [rdi + 0xb1], al
jne 0x180021fc1
cmp byte [rdi + 0xae], al
je 0x180021fc1
test cl, cl
je 0x180021fdf
cmp byte [rdi + 0xc8], al
jg 0x180021fdf
cmp byte [rdi + 0xc9], al
jg 0x180021fdf
cmp byte [rdi + 0xd1], 0
movzx eax, al
cmovle eax, r15d
mov byte [rdi + 0xb3], al
cmp byte [rdi + 0xb3], 0
sete al
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1800d3b10
movaps xmm14, xmmword [rsp + 0x150]
add rsp, 0x1e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret