Function at 0x180021070
Capabilities:
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [r11 - 0xc8]
sub rsp, 0x198
movaps xmmword [r11 - 0x88], xmm10
mov rax, qword [0x1800980c0]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov rsi, qword [0x18009a7d0]
mov r10d, 0xffffffff
mov qword [r11 + 0x10], rbx
mov r14d, r8d
mov qword [r11 - 0x38], r12
mov r11, rcx
mov qword [rbp - 0x68], rcx
mov ecx, r10d
movzx r9d, byte [r11]
lea r8, [r11 + 1]
test r9b, r9b
je 0x180021105
lea rbx, [0x1800861a0]
cmp r9b, 0x23
jne 0x1800210e9
cmp byte [r8], r9b
jne 0x1800210e9
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 [rbx + rdx*4]
test r9b, r9b
jne 0x1800210d6
not ecx
call fcn.18001ea60
test rax, rax
mov qword [rsp + 0x48], rax
mov rdi, rax
sete byte [rsp + 0x30]
test rax, rax
jne 0x18002112f
mov edx, r14d
mov rcx, r11
call fcn.18001eae0
mov rdi, rax
mov ecx, r14d
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x180021144
or r14d, 6
mov r8d, dword [rsi + 0x1b90]
lea rbx, [rsi + 0x1be0]
cmp dword [rbx], 0
mov r9d, dword [rdi + 0x278]
mov dword [rsp + 0x58], r8d
mov dword [rsp + 0x70], r9d
jne 0x180021175
cmp byte [rsi + 0x1b9d], 0
je 0x180021175
mov al, 1
jmp 0x180021177
xor al, al
mov byte [rdi + 0x96], al
lea eax, [r8 - 1]
cmp r9d, eax
setl dl
mov byte [rsp + 0x31], dl
bt r14d, 0x1a
jae 0x1800211c2
movsxd rax, dword [rsi + 0x1da8]
lea rax, [rax + rax*2]
shl rax, 4
add rax, qword [rsi + 0x1da0]
cmp rdi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rdi + 0xa4], eax
setne al
or cl, al
or dl, cl
mov byte [rsp + 0x31], dl
mov byte [rdi + 0x94], dl
test dl, dl
je 0x1800211e1
or byte [rdi + 0xb4], 8
or byte [rdi + 0xb5], 8
or byte [rdi + 0xb6], 8
xor ecx, ecx
cmp r9d, r8d
je 0x180021224
mov dword [rdi + 0xc], r14d
mov dword [rdi + 0x278], r8d
movsd xmm0, qword [rsi + 0x1b88]
mov word [rdi + 0x9c], cx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x27c], xmm0
movzx eax, word [rsi + 0x1c00]
inc dword [rsi + 0x1c00]
mov word [rdi + 0x9e], ax
jmp 0x180021228
mov r14d, dword [rdi + 0xc]
movsxd rax, dword [rbx]
test eax, eax
jne 0x180021234
mov rax, rcx
jmp 0x180021245
mov rcx, rax
mov rax, qword [rsi + 0x1be8]
mov rax, qword [rax + rcx*8 - 8]
xor ecx, ecx
cmp r9d, r8d
je 0x18002125a
test r14d, 0x5000000
mov r13, rcx
cmovne r13, rax
jmp 0x180021261
mov r13, qword [rdi + 0x380]
lea r15, [rdi + 0xc8]
mov qword [rsp + 0x60], r13
cmp dword [r15], 0
mov r12d, 8
jne 0x18002129b
cmp dword [r15 + 4], 0
jne 0x18002128b
mov edx, r12d
mov rcx, r15
call fcn.18002a440
movsxd rdx, dword [r15]
mov eax, dword [rdi + 8]
mov rcx, qword [r15 + 8]
mov dword [rcx + rdx*4], eax
inc dword [r15]
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x1800212cd
inc r8d
test ecx, ecx
je 0x1800212b8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800212bb
mov eax, r12d
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180029e10
movsxd rcx, dword [rbx]
xor r15d, r15d
mov rax, qword [rbx + 8]
mov rdx, qword [0x18009a7d0]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov qword [rsi + 0x1c10], rdi
mov rax, qword [rdx + 0x1c10]
movzx ecx, word [rax + 0xc8]
mov word [rdi + 0x1f0], cx
movzx eax, word [rdx + 0x1d38]
mov word [rdi + 0x1f2], ax
movzx eax, word [rdx + 0x1d48]
mov word [rdi + 0x1f4], ax
movzx eax, word [rdx + 0x1d58]
mov word [rdi + 0x1f6], ax
movzx eax, word [rdx + 0x1d68]
mov word [rdi + 0x1f8], ax
movzx eax, word [rdx + 0x1d88]
mov word [rdi + 0x1fa], ax
movzx eax, word [rdx + 0x1da8]
mov word [rdi + 0x1fc], ax
mov qword [rsi + 0x1c10], r15
bt r14d, 0x1a
jae 0x1800213ec
lea r15, [rsi + 0x1da8]
movsxd rax, dword [r15]
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [rsi + 0x1da0]
mov qword [rbx + 8], rdi
mov ecx, dword [r15 + 4]
mov r8d, dword [r15]
cmp r8d, ecx
jne 0x1800213b6
inc r8d
test ecx, ecx
je 0x1800213a1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800213a4
mov eax, r12d
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.18002a3b0
movsxd rax, dword [r15]
movups xmm0, xmmword [rbx]
lea rcx, [rax + rax*2]
mov rax, qword [r15 + 8]
shl rcx, 4
movups xmmword [rcx + rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rcx + rax + 0x20], xmm0
inc dword [r15]
mov eax, dword [rbx]
xor r15d, r15d
mov dword [rdi + 0xa4], eax
mov r11d, dword [rsp + 0x58]
mov ebx, dword [rsp + 0x70]
cmp ebx, r11d
je 0x18002148a
mov qword [rdi + 0x380], r13
mov qword [rdi + 0x398], rdi
mov qword [rdi + 0x390], rdi
mov qword [rdi + 0x388], rdi
test r13, r13
je 0x18002145a
mov eax, r14d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x18002143c
mov rax, qword [r13 + 0x388]
mov qword [rdi + 0x388], rax
bt r14d, 0x1b
jb 0x18002145a
test r14d, 0x5000000
je 0x18002145a
mov rax, qword [r13 + 0x390]
mov qword [rdi + 0x390], rax
test dword [rdi + 0xc], 0x800000
je 0x18002148a
mov rcx, rdi
nop word [rax + rax]
mov rax, qword [rcx + 0x380]
mov qword [rdi + 0x398], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x180021470
xor dl, dl
xor r12b, r12b
xor r13b, r13b
mov byte [rsp + 0x33], dl
test byte [rsi + 0x1cb0], 1
je 0x18002152f
movsx ecx, byte [rdi + 0xb4]
mov r8d, dword [rsi + 0x1cb4]
test r8d, ecx
setne dl
mov byte [rsp + 0x33], dl
test r8d, ecx
je 0x180021520
movss xmm0, dword [rsi + 0x1ccc]
movss xmm1, dword [rsi + 0x1cc8]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x18008bcb4]
jbe 0x180021520
movsd xmm0, qword [rsi + 0x1cc0]
and ecx, 0xf1
mov eax, dword [rdi + 0xb4]
and eax, 0xffffff00
movsd qword [rdi + 0xb8], xmm0
movsd xmm1, qword [rsi + 0x1cc8]
or ecx, eax
mov dword [rdi + 0xb4], ecx
movsd qword [rdi + 0xc0], xmm1
jmp 0x18002152f
lea rdx, [rsi + 0x1cc0]
mov rcx, rdi
call fcn.180023a10
test byte [rsi + 0x1cb0], 2
xorps xmm10, xmm10
je 0x180021586
movsx eax, byte [rdi + 0xb5]
mov r8d, dword [rsi + 0x1cb8]
and eax, r8d
je 0x180021562
movss xmm0, dword [rsi + 0x1cd0]
comiss xmm0, xmm10
jbe 0x180021562
mov r12b, 1
jmp 0x180021566
test eax, eax
je 0x180021577
movss xmm0, dword [rsi + 0x1cd4]
comiss xmm0, xmm10
jbe 0x180021577
mov r13b, 1
lea rdx, [rsi + 0x1cd0]
mov rcx, rdi
call fcn.180023b40
test byte [rsi + 0x1cb0], 0x80
je 0x1800215bd
movss xmm0, dword [rsi + 0x1ce0]
comiss xmm0, xmm10
jb 0x1800215a6
movss dword [rdi + 0x6c], xmm0
mov dword [rdi + 0x74], r15d
movss xmm0, dword [rsi + 0x1ce4]
comiss xmm0, xmm10
jb 0x1800215bd
movss dword [rdi + 0x70], xmm0
mov dword [rdi + 0x78], r15d
test byte [rsi + 0x1cb0], 4
je 0x1800215d5
movsd xmm0, qword [rsi + 0x1cd8]
movsd qword [rdi + 0x38], xmm0
jmp 0x1800215e2
cmp ebx, r11d
je 0x1800215e2
mov qword [rdi + 0x38], 0
test byte [rsi + 0x1cb0], 8
je 0x180021630
mov ecx, dword [rsi + 0x1cbc]
movzx edx, byte [rsi + 0x1ce8]
test ecx, ecx
je 0x180021607
movsx eax, byte [rdi + 0xb6]
test ecx, eax
je 0x180021630
movzx ecx, byte [rdi + 0xb6]
mov eax, dword [rdi + 0xb4]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [rdi + 0x91], dl
mov dword [rdi + 0xb4], ecx
test byte [rsi + 0x1cb0], 0x20
je 0x180021646
mov rcx, rdi
call fcn.180023710
mov r11d, dword [rsp + 0x58]
cmp byte [rdi + 0x94], 0
je 0x180021664
and byte [rdi + 0xb4], 0xf7
and byte [rdi + 0xb5], 0xf7
and byte [rdi + 0xb6], 0xf7
mov r8d, 1
cmp ebx, r11d
je 0x180023264
movaps xmmword [rsp + 0x180], xmm6
mov eax, r14d
movaps xmmword [rsp + 0x170], xmm7
and eax, 0x3000000
movaps xmmword [rsp + 0x160], xmm8
movaps xmmword [rsp + 0x150], xmm9
movaps xmmword [rsp + 0x130], xmm11
movaps xmmword [rsp + 0x120], xmm12
movaps xmmword [rsp + 0x110], xmm13
movaps xmmword [rsp + 0x100], xmm14
mov byte [rdi + 0x8e], r8b
mov byte [rdi + 0x97], 0
movaps xmmword [rsp + 0xf0], xmm15
mov dword [rdi + 0x250], 0xff7fffff
mov dword [rdi + 0x254], 0xff7fffff
mov dword [rdi + 0x258], 0x7f7fffff
mov dword [rdi + 0x25c], 0x7f7fffff
mov ecx, dword [rdi + 0xcc]
mov dword [rsp + 0x50], eax
cmp ecx, r8d
jge 0x18002173e
test ecx, ecx
je 0x18002171e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180021723
mov eax, 8
cmp eax, r8d
lea rcx, [rdi + 0xc8]
mov edx, r8d
cmovg edx, eax
call fcn.18002a440
mov r8d, 1
mov dword [rdi + 0xc8], r8d
mov rcx, qword [rdi + 0x2b0]
call fcn.180031d60
cmp byte [rdi + 0x3d8], 0
mov dword [rdi + 0x1b0], 0xffffffff
je 0x1800217a2
mov rcx, qword [rdi + 0x2b0]
mov edx, dword [rdi + 0x3d0]
add rcx, 0x10
mov byte [rdi + 0x3d8], 0
call fcn.18002a2b0
mov rcx, qword [rdi + 0x2b0]
mov edx, dword [rdi + 0x3d4]
add rcx, 0x20
call fcn.18002a060
mov qword [rdi + 0x3d0], 0
cmp qword [rsi + 0x1f08], 0
mov r9, qword [rsp + 0x48]
je 0x180021871
test dword [rdi + 0xc], 0x80000
jne 0x180021871
test r9, r9
je 0x180021871
mov r10, qword [rbp - 0x68]
mov r9, qword [rdi]
mov rax, r10
mov r8, r9
sub r8, r10
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800217f3
inc rax
test ecx, ecx
jne 0x1800217e0
test edx, edx
je 0x18002186c
movsxd r15, dword [rdi + 0x50]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x180021802
inc rbx
cmp r15, rbx
jae 0x180021857
test r9, r9
je 0x18002182b
mov rax, qword [0x18009a7d0]
test rax, rax
je 0x18002182b
dec dword [rax + 0x3b4]
mov rcx, r9
call fcn.18004a450
mov rax, qword [0x18009a7d0]
test rax, rax
je 0x180021845
inc dword [rax + 0x3b4]
mov rcx, rbx
call fcn.18004fc78
mov r10, qword [rbp - 0x68]
mov r9, rax
mov r15, rbx
mov r8, rbx
mov rdx, r10
mov rcx, r9
call fcn.180061fd0
mov qword [rdi], rax
mov dword [rdi + 0x50], r15d
mov r9, qword [rsp + 0x48]
movzx eax, byte [rdi + 0xb1]
lea r8, [rdi + 0x30]
lea rdx, [rdi + 0x28]
mov byte [rsp + 0x34], al
mov rcx, rdi
call fcn.18001f150
movzx eax, byte [rdi + 0xb0]
test al, al
jle 0x18002189f
dec al
mov byte [rdi + 0xb0], al
movzx eax, byte [rdi + 0xb1]
test al, al
jle 0x1800218b2
dec al
mov byte [rdi + 0xb1], al
movzx eax, byte [rdi + 0xb2]
test al, al
jle 0x1800218c5
dec al
mov byte [rdi + 0xb2], al
test r9, r9
jne 0x1800218db
test r12b, r12b
je 0x1800218d4
test r13b, r13b
jne 0x1800218db
mov byte [rdi + 0xb1], 1
xor r8d, r8d
cmp byte [rsp + 0x31], r8b
je 0x180021925
test r14d, 0x6000000
je 0x180021925
mov byte [rdi + 0xb1], 1
test r14b, 0x40
je 0x180021925
test r12b, r12b
jne 0x180021908
mov dword [rdi + 0x20], r8d
mov dword [rdi + 0x18], r8d
test r13b, r13b
jne 0x180021915
mov dword [rdi + 0x24], r8d
mov dword [rdi + 0x1c], r8d
mov qword [rdi + 0x30], 0
mov qword [rdi + 0x28], 0
mov rcx, qword [0x18009a7d0]
mov qword [rcx + 0x1c10], rdi
movsxd rax, dword [rdi + 0x1b0]
cmp eax, 0xffffffff
je 0x18002194f
imul rdx, rax, 0x1e8
add rdx, qword [rcx + 0x2008]
jmp 0x180021952
mov rdx, r8
movss xmm0, dword [rcx + 0x1984]
mov qword [rcx + 0x1ff0], rdx
mov rax, qword [rdi + 0x380]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18002197d
mulss xmm0, dword [rax + 0x2a8]
movss dword [rcx + 0x1998], xmm0
movss dword [rcx + 0x1980], xmm0
bt r14d, 0x18
jae 0x18002199e
movss xmm1, dword [rsi + 0x158c]
jmp 0x1800219c0
test r14d, 0x6000000
je 0x1800219b8
bt r14d, 0x1b
jb 0x1800219b8
movss xmm1, dword [rsi + 0x1594]
jmp 0x1800219c0
movss xmm1, dword [rsi + 0x1570]
movss dword [rdi + 0x4c], xmm1
mov eax, r14d
movsd xmm0, qword [rsi + 0x1564]
and eax, 0x5010000
movsd qword [rdi + 0x40], xmm0
cmp eax, 0x1000000
jne 0x180021a07
ucomiss xmm1, xmm10
jp 0x180021a07
jne 0x180021a07
bt r14d, 0xa
jae 0x1800219fa
movss xmm0, dword [rsi + 0x1568]
jmp 0x1800219fe
movaps xmm0, xmm10
movss dword [rdi + 0x44], xmm0
mov dword [rdi + 0x40], r8d
movss xmm0, dword [rdi + 0x40]
maxss xmm0, dword [rsi + 0x15a8]
maxss xmm0, dword [rsi + 0x1d14]
movss dword [rdi + 0x15c], xmm0
mov eax, dword [rsi + 0x1d18]
mov dword [rdi + 0x160], eax
test r14b, 0x21
jne 0x180021b70
test byte [rdi + 0xc], 1
je 0x180021a46
movaps xmm2, xmm10
jmp 0x180021a7a
mov rax, qword [rdi + 0x380]
movss xmm0, dword [rcx + 0x1984]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x180021a6a
mulss xmm0, dword [rax + 0x2a8]
movss xmm2, dword [rcx + 0x159c]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm3, dword [rdi + 0x10]
movaps xmm0, xmm3
movss xmm4, dword [rdi + 0x14]
addss xmm0, dword [rdi + 0x20]
addss xmm2, dword [rdi + 0x14]
cmp qword [rsi + 0x1c18], rdi
jne 0x180021b39
cmp dword [rsi + 0x1c48], 0
jne 0x180021b39
cmp dword [rsi + 0x1c4c], 0
jne 0x180021b39
mov rax, qword [rcx + 0x1c10]
movss xmm1, dword [rcx + 0x15c0]
movaps xmm5, xmm1
minss xmm0, dword [rax + 0x258]
maxss xmm3, dword [rax + 0x250]
maxss xmm4, dword [rax + 0x254]
minss xmm2, dword [rax + 0x25c]
addss xmm5, xmm0
movss xmm0, dword [rcx + 0x15c4]
subss xmm3, xmm1
movaps xmm6, xmm0
movss xmm1, dword [rcx + 0x128]
subss xmm4, xmm0
addss xmm6, xmm2
comiss xmm1, xmm3
jb 0x180021b39
movss xmm0, dword [rcx + 0x12c]
comiss xmm0, xmm4
jb 0x180021b39
comiss xmm5, xmm1
jbe 0x180021b39
comiss xmm6, xmm0
jbe 0x180021b39
cmp byte [rsi + 0x425], 0
je 0x180021b39
mov byte [rdi + 0x92], 1
cmp byte [rdi + 0x92], 0
je 0x180021b77
cmp byte [rdi + 0x91], 0
sete al
test dword [rdi + 0xc], 0x100
mov byte [rdi + 0x91], al
jne 0x180021b77
comiss xmm10, dword [rcx + 0x3034]
jb 0x180021b77
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x3034], eax
jmp 0x180021b77
mov byte [rdi + 0x91], 0
lea r8, [rdi + 0x30]
mov byte [rdi + 0x92], 0
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.18001f260
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x32], al
test r14b, 0x40
je 0x180021bd5
cmp byte [rdi + 0x91], 0
jne 0x180021bd5
test r12b, r12b
jne 0x180021bba
movss xmm0, dword [rbp - 0x50]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x30], 1
test r13b, r13b
jne 0x180021c88
movss xmm0, dword [rbp - 0x4c]
mov r12b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x180021c94
movzx eax, byte [rdi + 0xa8]
test al, al
jg 0x180021bed
cmp byte [rdi + 0xa9], 0
jle 0x180021c8e
test r12b, r12b
jne 0x180021c1a
test al, al
jle 0x180021c1a
cmp byte [rdi + 0xab], r12b
je 0x180021c0b
movss xmm0, dword [rdi + 0x20]
maxss xmm0, dword [rbp - 0x50]
jmp 0x180021c10
movss xmm0, dword [rbp - 0x50]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x30], 1
test r13b, r13b
jne 0x180021c54
cmp byte [rdi + 0xa9], r13b
jle 0x180021c54
cmp byte [rdi + 0xab], r13b
je 0x180021c45
movss xmm0, dword [rdi + 0x24]
mov r12b, 1
maxss xmm0, dword [rbp - 0x4c]
movss dword [rdi + 0x24], xmm0
jmp 0x180021c5a
movss xmm0, dword [rbp - 0x4c]
mov r12b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x180021c5a
movzx r12d, byte [rsp + 0x32]
cmp byte [rdi + 0x91], 0
jne 0x180021c94
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x18009a7d0]
jne 0x180021c94
comiss xmm10, dword [rcx + 0x3034]
jb 0x180021c94
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x3034], eax
jmp 0x180021c94
movzx r12d, al
jmp 0x180021c94
movzx r12d, byte [rsp + 0x32]
lea r8, [rdi + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.18001ef00
cmp byte [rdi + 0x91], 0
mov r15, qword [0x18009a7d0]
movss xmm3, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x20], xmm3
movss dword [rdi + 0x24], xmm1
je 0x180021d2d
bt r14d, 0x18
jb 0x180021d2d
test byte [rdi + 0xc], 1
je 0x180021cdb
movaps xmm1, xmm10
jmp 0x180021d11
mov rax, qword [rdi + 0x380]
movss xmm0, dword [r15 + 0x1984]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x180021d00
mulss xmm0, dword [rax + 0x2a8]
movss xmm1, dword [r15 + 0x159c]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x10]
addss xmm1, dword [rdi + 0x14]
movaps xmm2, xmm0
addss xmm2, xmm3
subss xmm1, dword [rdi + 0x14]
subss xmm2, xmm0
jmp 0x180021d46
movaps xmm0, xmm3
unpcklps xmm0, xmm1
movaps xmm1, xmm0
movsd qword [rsp + 0x40], xmm0
movss xmm2, dword [rsp + 0x40]
shufps xmm1, xmm1, 0x55
mov ecx, dword [rdi + 0xc]
movss dword [rdi + 0x18], xmm2
movss dword [rdi + 0x1c], xmm1
test cl, 1
je 0x180021d5e
movaps xmm1, xmm10
jmp 0x180021d94
mov rax, qword [rdi + 0x380]
movss xmm0, dword [r15 + 0x1984]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x180021d83
mulss xmm0, dword [rax + 0x2a8]
movss xmm1, dword [r15 + 0x159c]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x180021dde
mov rax, qword [rdi + 0x380]
movss xmm14, dword [r15 + 0x1984]
mulss xmm14, dword [rdi + 0x2a8]
test rax, rax
je 0x180021dc1
mulss xmm14, dword [rax + 0x2a8]
movss xmm0, dword [r15 + 0x159c]
addss xmm14, dword [rdi + 0x160]
addss xmm0, xmm0
addss xmm14, xmm0
jmp 0x180021de2
movaps xmm14, xmm10
cmp byte [rsp + 0x31], 0
addss xmm14, xmm1
movzx r13d, byte [rsp + 0x33]
je 0x180021e3d
mov eax, r14d
mov dword [rdi + 0xac], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180021e3d
test r13b, r13b
jne 0x180021e3d
movsxd rax, dword [rsi + 0x1da8]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x1db0]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0x10]
movss xmm1, dword [rax + rcx*8 - 0xc]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
bt r14d, 0x18
jae 0x180021ed2
mov rdx, qword [rsp + 0x60]
lea rbx, [rdx + 0x190]
movzx eax, word [rbx]
mov word [rdi + 0x9c], ax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x180021e9e
inc r8d
test ecx, ecx
je 0x180021e7b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180021e80
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180029e10
mov rdx, qword [rsp + 0x60]
mov r15, qword [0x18009a7d0]
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov ebx, dword [rsp + 0x50]
bt r14d, 0x1a
jb 0x180021ed6
test r13b, r13b
jne 0x180021ed6
cmp ebx, 0x3000000
je 0x180021ed6
movsd xmm0, qword [rdx + 0xd8]
movsd qword [rdi + 0x10], xmm0
jmp 0x180021ed6
mov ebx, dword [rsp + 0x50]
movss xmm1, dword [rdi + 0xb8]
ucomiss xmm1, dword [0x18008be34]
jp 0x180021ee9
je 0x180021f3a
cmp byte [rdi + 0xb1], 0
jne 0x180021f3a
movss xmm0, dword [rdi + 0xc0]
lea rdx, [rsp + 0x40]
mulss xmm0, dword [rdi + 0x18]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xbc]
movss dword [rsp + 0x40], xmm1
movss xmm1, dword [rdi + 0xc4]
mulss xmm1, dword [rdi + 0x1c]
subss xmm0, xmm1
movss dword [rsp + 0x44], xmm0
call fcn.180023a10
jmp 0x180021f87
bt r14d, 0x1c
jb 0x180021f68
bt r14d, 0x1a
jae 0x180021f54
test r13b, r13b
jne 0x180021f54
cmp byte [rsp + 0x34], r13b
jg 0x180021f68
bt r14d, 0x19
jae 0x180021f87
test r13b, r13b
jne 0x180021f87
cmp ebx, 0x3000000
je 0x180021f87
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.180024be0
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
mov rax, qword [r15 + 0x1dc0]
movss xmm3, dword [rsi + 0x1608]
movss xmm2, dword [rsi + 0x1604]
maxss xmm3, dword [rsi + 0x1610]
mov rcx, qword [rax]
maxss xmm2, dword [rsi + 0x160c]
movss xmm8, dword [rcx + 4]
movss xmm7, dword [rcx + 8]
movaps xmm15, xmm8
movss xmm0, dword [rcx + 0x14]
movaps xmm6, xmm7
movss xmm1, dword [rcx + 0x18]
movaps xmm5, xmm0
movss dword [rsp + 0x68], xmm8
movaps xmm4, xmm1
movss dword [rbp - 0x60], xmm8
movss dword [rsp + 0x6c], xmm7
movss dword [rbp - 0x5c], xmm7
addss xmm6, dword [rcx + 0x10]
addss xmm5, dword [rcx + 0x1c]
addss xmm4, dword [rcx + 0x20]
addss xmm15, dword [rcx + 0xc]
movss dword [rsp + 0x38], xmm6
movss dword [rbp - 0x54], xmm6
subss xmm5, xmm2
subss xmm4, xmm3
movss dword [rbp - 0x58], xmm15
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [rbp - 0x38], xmm5
movss dword [rbp - 0x34], xmm4
movss dword [rbp - 0x40], xmm2
movss dword [rbp - 0x3c], xmm3
test r13b, r13b
jne 0x180022102
bt r14d, 0x18
jb 0x180022102
cmp byte [rdi + 0xa8], r13b
jg 0x180022102
cmp byte [rdi + 0xa9], r13b
jg 0x180022102
movaps xmm0, xmm15
subss xmm0, xmm8
comiss xmm0, xmm10
jbe 0x180022102
movaps xmm0, xmm6
subss xmm0, xmm7
comiss xmm0, xmm10
jbe 0x180022102
movss xmm0, dword [rdi + 0x1c]
cmp byte [r15 + 0xcd], r13b
je 0x1800220cd
test byte [rdi + 0xc], 1
jne 0x1800220cd
mov rax, qword [rdi + 0x380]
movss xmm1, dword [r15 + 0x1984]
mulss xmm1, dword [rdi + 0x2a8]
test rax, rax
je 0x1800220bc
mulss xmm1, dword [rax + 0x2a8]
movss xmm0, dword [r15 + 0x159c]
addss xmm0, xmm0
addss xmm0, xmm1
subss xmm2, dword [rdi + 0x18]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x14]
comiss xmm3, xmm0
ja 0x1800220e7
movaps xmm3, xmm4
minss xmm3, xmm0
movss xmm0, dword [rdi + 0x10]
comiss xmm2, xmm0
ja 0x1800220f8
movaps xmm2, xmm5
minss xmm2, xmm0
movss dword [rdi + 0x10], xmm2
movss dword [rdi + 0x14], xmm3
cvttss2si eax, dword [rdi + 0x10]
movd xmm1, eax
cvttss2si eax, dword [rdi + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rdi + 0x10], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x14], xmm0
bt r14d, 0x18
jae 0x180022135
movss xmm2, dword [rsi + 0x1588]
jmp 0x180022156
mov eax, r14d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18002214e
movss xmm2, dword [rsi + 0x1590]
jmp 0x180022156
movss xmm2, dword [rsi + 0x156c]
xor cl, cl
movss dword [rdi + 0x48], xmm2
mov dword [rsp + 0x54], ecx
cmp byte [rsp + 0x31], cl
je 0x180022192
bt r14d, 0xc
jb 0x180022192
bt r14d, 0x1a
jae 0x18002217c
mov byte [rsp + 0x54], 1
jmp 0x180022192
test r14d, 0x3000000
movzx ecx, cl
mov edx, 1
cmove ecx, edx
mov dword [rsp + 0x54], ecx
addss xmm2, dword [0x18008bd38]
xorps xmm0, xmm0
mov dword [rbp - 0x48], 0xffffffff
movups xmmword [rbp - 0x30], xmm0
xor r13d, r13d
movss xmm0, dword [rsi + 0x1980]
cmp byte [rsi + 0xcc], r13b
movaps xmm1, xmm0
mulss xmm0, dword [0x18008bce8]
setne r13b
cmp byte [rdi + 0x91], 0
mulss xmm1, dword [0x18008bd3c]
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x40], xmm0
jne 0x18002222d
lea rax, [rbp - 0x40]
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea r9d, [r13 + 1]
lea rax, [rbp - 0x30]
lea r8, [rbp - 0x48]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x50]
call fcn.18001f660
mov r15, qword [0x18009a7d0]
test al, al
je 0x18002222d
mov r12b, 1
movzx ecx, r12b
jmp 0x180022232
movzx ecx, byte [rsp + 0x30]
cmp byte [rdi + 0x91], 0
movzx eax, byte [rbp - 0x48]
mov byte [rdi + 0x98], al
jne 0x18002236d
cmp qword [rsp + 0x48], 0
movss xmm2, dword [rdi + 0x218]
movss xmm3, dword [rdi + 0x21c]
subss xmm2, dword [rdi + 0x210]
subss xmm3, dword [rdi + 0x214]
movss xmm4, dword [rdi + 0x24]
movss xmm5, dword [rdi + 0x20]
subss xmm4, xmm14
addss xmm2, dword [rdi + 0x84]
addss xmm3, dword [rdi + 0x88]
jne 0x18002229a
movaps xmm1, xmm10
movaps xmm0, xmm10
jmp 0x1800222b6
movss xmm1, dword [rdi + 0x40]
movss xmm0, dword [rdi + 0x44]
addss xmm1, xmm1
addss xmm0, xmm0
addss xmm1, dword [rdi + 0x28]
addss xmm0, dword [rdi + 0x2c]
test cl, cl
jne 0x1800222bd
movaps xmm5, xmm2
test r12b, r12b
jne 0x1800222c5
movaps xmm4, xmm3
bt r14d, 0xe
jb 0x1800222db
comiss xmm0, xmm4
jbe 0x1800222d7
test r14b, 8
je 0x1800222db
xor cl, cl
jmp 0x1800222dd
mov cl, 1
mov byte [rdi + 0x8d], cl
bt r14d, 0xf
jb 0x180022321
test cl, cl
je 0x1800222f8
movss xmm2, dword [rsi + 0x15d0]
jmp 0x1800222fc
movaps xmm2, xmm10
subss xmm5, xmm2
comiss xmm1, xmm5
jbe 0x180022314
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
je 0x180022321
mov byte [rdi + 0x8c], 0
movaps xmm1, xmm10
jmp 0x18002234b
mov byte [rdi + 0x8c], 1
test cl, cl
jne 0x180022343
comiss xmm0, xmm4
jbe 0x18002233b
test r14b, 8
jne 0x18002233b
mov cl, 1
jmp 0x18002233d
xor cl, cl
mov byte [rdi + 0x8d], cl
movss xmm1, dword [rsi + 0x15d0]
test cl, cl
je 0x180022359
movss xmm0, dword [rsi + 0x15d0]
jmp 0x18002235d
movaps xmm0, xmm10
movss dword [rdi + 0x84], xmm0
movss dword [rdi + 0x88], xmm1
mov eax, r14d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x180022393
cmp ebx, 0x3000000
je 0x180022393
mov r12, qword [rsp + 0x60]
lea rax, [r12 + 0x250]
jmp 0x18002239c
mov r12, qword [rsp + 0x60]
lea rax, [rbp - 0x60]
test byte [rdi + 0xc], 1
movss xmm7, dword [rdi + 0x10]
movss xmm5, dword [rdi + 0x14]
movaps xmm3, xmm7
addss xmm3, dword [rdi + 0x18]
movups xmm6, xmmword [rax]
movaps xmm4, xmm5
addss xmm4, dword [rdi + 0x1c]
je 0x1800223c5
movaps xmm0, xmm10
jmp 0x1800223fb
mov rax, qword [rdi + 0x380]
movss xmm1, dword [r15 + 0x1984]
mulss xmm1, dword [rdi + 0x2a8]
test rax, rax
je 0x1800223ea
mulss xmm1, dword [rax + 0x2a8]
movss xmm0, dword [r15 + 0x159c]
addss xmm0, xmm0
addss xmm0, xmm1
movss dword [rsp + 0x78], xmm7
movaps xmm1, xmm5
addss xmm1, xmm0
movaps xmm2, xmm7
movss xmm0, dword [rdi + 0x14]
mov eax, r14d
addss xmm2, dword [rdi + 0x20]
movss dword [rsp + 0x7c], xmm0
and eax, 0x401
movss dword [rbp - 0x7c], xmm1
movss dword [rbp - 0x80], xmm2
movss dword [rdi + 0x200], xmm7
movss dword [rdi + 0x204], xmm5
movss dword [rdi + 0x208], xmm3
movaps xmm3, xmm6
movss dword [rdi + 0x20c], xmm4
movaps xmm4, xmm6
movss xmm0, dword [rdi + 0x200]
shufps xmm4, xmm6, 0x55
maxss xmm0, xmm6
shufps xmm3, xmm6, 0xaa
maxss xmm5, xmm4
movss dword [rdi + 0x200], xmm0
movss dword [rdi + 0x204], xmm5
movaps xmm5, xmm6
movss xmm1, dword [rdi + 0x208]
movss xmm0, dword [rdi + 0x20c]
minss xmm1, xmm3
shufps xmm5, xmm6, 0xff
minss xmm0, xmm5
movss dword [rdi + 0x208], xmm1
movss dword [rdi + 0x20c], xmm0
movss xmm8, dword [rdi + 0x10]
movss xmm7, dword [rdi + 0x14]
movaps xmm9, xmm8
movss dword [rdi + 0x210], xmm8
movaps xmm12, xmm7
addss xmm12, xmm14
addss xmm9, dword [rdi + 0x18]
addss xmm7, dword [rdi + 0x1c]
movss dword [rdi + 0x214], xmm12
subss xmm9, dword [rdi + 0x84]
subss xmm7, dword [rdi + 0x88]
movss dword [rdi + 0x218], xmm9
movss dword [rdi + 0x21c], xmm7
cmp eax, 1
jne 0x18002250e
movss xmm11, dword [rdi + 0x4c]
jmp 0x180022517
movss xmm11, dword [rsi + 0x15a4]
movss xmm13, dword [0x18008bd04]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x40]
addss xmm8, xmm13
mulss xmm0, xmm13
addss xmm12, xmm13
addss xmm9, xmm13
addss xmm7, xmm13
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm12, xmm11
subss xmm7, dword [rdi + 0x4c]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x4c]
addss xmm8, xmm1
subss xmm9, xmm1
cvttss2si eax, xmm8
xorps xmm8, xmm8
cvtsi2ss xmm8, eax
cvttss2si eax, xmm12
movss dword [rdi + 0x220], xmm8
cvtsi2ss xmm0, eax
cvttss2si eax, xmm9
movss dword [rdi + 0x224], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm7
movss dword [rdi + 0x228], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x22c], xmm0
movss xmm0, dword [rdi + 0x224]
comiss xmm4, xmm0
jbe 0x1800225c6
movaps xmm1, xmm4
jmp 0x1800225cd
movaps xmm1, xmm5
minss xmm1, xmm0
comiss xmm6, xmm8
jbe 0x1800225d8
movaps xmm0, xmm6
jmp 0x1800225e0
movaps xmm0, xmm3
minss xmm0, xmm8
movss dword [rdi + 0x220], xmm0
movss dword [rdi + 0x224], xmm1
movss xmm0, dword [rdi + 0x22c]
comiss xmm4, xmm0
ja 0x180022604
minss xmm5, xmm0
movaps xmm4, xmm5
movss xmm0, dword [rdi + 0x228]
comiss xmm6, xmm0
jbe 0x180022616
movaps xmm3, xmm6
jmp 0x18002261a
minss xmm3, xmm0
movss dword [rdi + 0x228], xmm3
movss dword [rdi + 0x22c], xmm4
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm10
jbe 0x180022648
test r14d, 0x2000040
jne 0x180022648
mulss xmm0, dword [0x18008bd0c]
jmp 0x180022658
movss xmm0, dword [rsi + 0x1980]
mulss xmm0, dword [0x18008bddc]
cvttss2si eax, xmm0
mov rdx, rdi
lea rcx, [rbp - 0x78]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x280], xmm0
movss xmm0, dword [rdi + 0x218]
subss xmm0, dword [rdi + 0x210]
movss xmm1, dword [rdi + 0x40]
movss xmm2, dword [rdi + 0x44]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rdi + 0x28]
addss xmm2, dword [rdi + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm10
maxss xmm0, xmm1
movss dword [rdi + 0x64], xmm0
movss xmm0, dword [rdi + 0x21c]
subss xmm0, dword [rdi + 0x214]
subss xmm2, xmm0
movaps xmm0, xmm10
maxss xmm0, xmm2
movss dword [rdi + 0x68], xmm0
call fcn.180023fb0
mov rcx, qword [rdi + 0x2b0]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x5c], xmm0
movss dword [rdi + 0x60], xmm1
mov dword [rdi + 0x6c], 0x7f7fffff
mov dword [rdi + 0x70], 0x7f7fffff
mov rax, qword [rsi + 0x1978]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.1800323b0
mov rcx, qword [0x18009a7d0]
movaps xmm0, xmm6
unpckhpd xmm0, xmm6
xor r9d, r9d
movq r8, xmm0
movq rdx, xmm6
mov rax, qword [rcx + 0x1c10]
mov byte [rax + 0x90], 1
mov rbx, qword [rcx + 0x1c10]
mov rcx, qword [rbx + 0x2b0]
call fcn.180032290
mov rax, qword [rbx + 0x2b0]
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 + 0x250], eax
movss dword [rbx + 0x254], xmm0
movss dword [rbx + 0x258], xmm1
movss dword [rbx + 0x25c], xmm2
mov r9, qword [0x18009a7d0]
bt r14d, 0x1b
jae 0x1800227fa
mov eax, dword [r9 + 0x1d98]
sub eax, 1
js 0x1800227e1
mov r8, qword [r9 + 0x1da0]
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 0x1800227d7
test dword [rax + 0xc], 0x8000000
jne 0x1800227e3
sub r8, 0x30
sub rdx, 1
jns 0x1800227c6
xor eax, eax
cmp rdi, rax
jne 0x1800227fa
cmp byte [rdi + 0xb1], 0
jg 0x1800227fa
mov cl, 1
mov edx, 0x404
jmp 0x180022801
xor cl, cl
mov edx, 0x3f4
mov rax, qword [rsi + 0x1f00]
test rax, rax
je 0x18002281a
cmp rdi, qword [rax + 0x388]
jne 0x18002281a
mov bl, 1
jmp 0x18002281c
xor bl, bl
test cl, cl
jne 0x180022828
test bl, bl
je 0x180022972
movups xmm1, xmmword [r9 + rdx + 0x1560]
lea rcx, [rbp - 0x78]
movss xmm0, dword [rsi + 0x1f44]
mulss xmm0, dword [r9 + 0x1560]
movups xmmword [rbp - 0x78], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x6c], xmm1
call fcn.180018840
mov rcx, qword [rdi + 0x2b0]
lea r8, [rbp - 0x58]
xor r15d, r15d
lea rdx, [rbp - 0x60]
mov dword [rsp + 0x28], r15d
mov r9d, eax
movss dword [rsp + 0x20], xmm10
call fcn.180034b70
test bl, bl
je 0x180022972
cmp rdi, qword [rsi + 0x1f00]
jne 0x180022972
movss xmm0, dword [rsi + 0x1980]
movss xmm2, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
movaps xmm1, xmm2
addss xmm2, dword [rdi + 0x18]
movss xmm12, dword [rsp + 0x38]
subss xmm1, xmm0
movaps xmm4, xmm3
addss xmm3, dword [rdi + 0x1c]
subss xmm4, xmm0
addss xmm2, xmm0
movss dword [rbp - 0x60], xmm1
addss xmm3, xmm0
movss xmm0, dword [rsp + 0x68]
comiss xmm0, xmm1
movss dword [rbp - 0x58], xmm2
movss dword [rbp - 0x54], xmm3
movss dword [rbp - 0x5c], xmm4
jb 0x180022906
movss xmm0, dword [rsp + 0x6c]
comiss xmm0, xmm4
jb 0x180022906
comiss xmm2, xmm15
jb 0x180022906
comiss xmm3, xmm12
jae 0x180022979
mov rax, qword [0x18009a7d0]
lea rcx, [rbp - 0x78]
movss xmm0, dword [rsi + 0x1f14]
mulss xmm0, dword [0x18008bcec]
movups xmm1, xmmword [rax + 0x1944]
mulss xmm0, dword [rax + 0x1560]
movups xmmword [rbp - 0x78], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x6c], xmm1
call fcn.180018840
movss xmm0, dword [rsi + 0x156c]
lea r8, [rbp - 0x58]
mov rcx, qword [rdi + 0x2b0]
lea rdx, [rbp - 0x60]
mov r9d, eax
mov dword [rsp + 0x28], r15d
movss dword [rsp + 0x20], xmm0
call fcn.180034b70
jmp 0x180022979
movss xmm12, dword [rsp + 0x38]
mov eax, r14d
xor bl, bl
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1800229c4
cmp dword [rsp + 0x50], 0x3000000
je 0x1800229c4
mov rdx, qword [rdi + 0x2b0]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x1800229c4
mov rax, qword [r12 + 0x2b0]
cmp dword [rax + 0x20], 0
jle 0x1800229c4
mov bl, 1
mov qword [rdi + 0x2b0], rax
mov rax, qword [rsi + 0x1ef8]
test rax, rax
jne 0x1800229d7
mov rax, qword [rsi + 0x1dc8]
mov r12d, dword [rsp + 0x54]
test r12b, r12b
jne 0x1800229fb
test rax, rax
je 0x1800229f6
mov rax, qword [rax + 0x390]
cmp qword [rdi + 0x390], rax
je 0x1800229fb
xor r8b, r8b
jmp 0x1800229fe
mov r8b, 1
movss xmm0, dword [rsp + 0x40]
lea rax, [rbp - 0x30]
movss dword [rsp + 0x28], xmm0
lea r9d, [r13 + 1]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.180020500
test bl, bl
je 0x180022a36
lea rax, [rdi + 0x2b8]
mov qword [rdi + 0x2b0], rax
cmp qword [rsi + 0x1f00], rdi
jne 0x180022bc3
movss xmm1, dword [rsi + 0x1980]
movss xmm7, dword [rdi + 0x10]
movss xmm6, dword [rdi + 0x14]
movaps xmm9, xmm7
addss xmm7, dword [rdi + 0x18]
movss xmm2, dword [rdi + 0x48]
subss xmm9, xmm1
movss xmm0, dword [rsp + 0x68]
movaps xmm8, xmm6
addss xmm6, dword [rdi + 0x1c]
movaps xmm11, xmm2
subss xmm8, xmm1
maxss xmm11, dword [rsi + 0x156c]
comiss xmm0, xmm9
addss xmm7, xmm1
addss xmm6, xmm1
jb 0x180022add
movss xmm0, dword [rsp + 0x6c]
comiss xmm0, xmm8
jb 0x180022add
comiss xmm7, xmm15
jb 0x180022add
comiss xmm6, xmm12
jb 0x180022add
xorps xmm1, xmmword [0x18008c130]
movaps xmm11, xmm2
subss xmm1, dword [0x18008bd38]
movaps xmm0, xmm1
subss xmm9, xmm1
subss xmm8, xmm1
addss xmm0, xmm7
addss xmm1, xmm6
movaps xmm7, xmm0
movaps xmm6, xmm1
mov rax, qword [0x18009a7d0]
lea rcx, [rbp - 0x60]
movss xmm0, dword [rsi + 0x1f14]
mov rbx, qword [rdi + 0x2b0]
movups xmm1, xmmword [rax + 0x1944]
mulss xmm0, dword [rax + 0x1560]
movups xmmword [rbp - 0x60], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x54], xmm1
call fcn.180018840
mov r15d, eax
test eax, 0xff000000
je 0x180022bc3
test byte [rbx + 0x30], 1
addss xmm9, xmm13
addss xmm8, xmm13
mov dword [rsp + 0x20], 0
movaps xmm3, xmm11
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov rcx, rbx
movss dword [rsp + 0x40], xmm9
movss dword [rsp + 0x44], xmm8
je 0x180022b6d
subss xmm7, xmm13
subss xmm6, xmm13
jmp 0x180022b7d
subss xmm7, dword [0x18008bd00]
subss xmm6, dword [0x18008bd00]
movss dword [rsp + 0x48], xmm7
movss dword [rsp + 0x4c], xmm6
call fcn.1800344e0
movss xmm0, dword [0x18008bd94]
mov r9d, r15d
mov r8d, dword [rbx + 0x78]
mov rcx, rbx
mov rdx, qword [rbx + 0x80]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
call fcn.1800326a0
xor r15d, r15d
mov dword [rbx + 0x78], r15d
jmp 0x180022bc6
xor r15d, r15d
movss xmm6, dword [rdi + 0x38]
mov ecx, r14d
movaps xmm15, xmmword [rsp + 0xf0]
movaps xmm13, xmmword [rsp + 0x110]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm6, xmm10
jp 0x180022c31
jne 0x180022c31
movss xmm0, dword [rdi + 0x40]
mov eax, r14d
movss xmm1, dword [rdi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [rdi + 0x84]
cmp eax, 0x800
jne 0x180022c26
movss xmm9, dword [rdi + 0x28]
maxss xmm9, xmm1
jmp 0x180022c35
movaps xmm9, xmm10
maxss xmm9, xmm1
jmp 0x180022c35
movaps xmm9, xmm6
movss xmm4, dword [rdi + 0x3c]
ucomiss xmm4, xmm10
jp 0x180022c7d
jne 0x180022c7d
movss xmm0, dword [rdi + 0x44]
movss xmm1, dword [rdi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm14
subss xmm1, dword [rdi + 0x88]
test cl, cl
je 0x180022c72
movss xmm8, dword [rdi + 0x2c]
maxss xmm8, xmm1
jmp 0x180022c81
movaps xmm8, xmm10
maxss xmm8, xmm1
jmp 0x180022c81
movaps xmm8, xmm4
ucomiss xmm6, xmm10
movss xmm5, dword [rdi + 0x40]
movss xmm11, dword [rdi + 0x5c]
movaps xmm0, xmm5
maxss xmm0, dword [rdi + 0x4c]
movss xmm1, dword [rdi + 0x210]
movss xmm7, dword [rdi + 0x44]
subss xmm1, xmm11
movss xmm12, dword [rdi + 0x60]
addss xmm1, xmm0
movaps xmm0, xmm7
maxss xmm0, dword [rdi + 0x4c]
cvttss2si eax, xmm1
movss xmm1, dword [rdi + 0x214]
subss xmm1, xmm12
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm9
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm1, xmm2
shufps xmm2, xmm2, 0
movss xmm2, xmm0
addss xmm1, xmm8
shufps xmm2, xmm2, 0x27
movss xmm2, xmm1
shufps xmm2, xmm2, 0x39
movss xmm2, xmm3
movss xmm3, dword [rdi + 0x10]
movups xmmword [rdi + 0x230], xmm2
movups xmmword [rdi + 0x240], xmm2
movss xmm2, dword [rdi + 0x14]
movaps xmm1, xmm3
subss xmm2, xmm12
subss xmm1, xmm11
addss xmm2, xmm7
addss xmm1, xmm5
addss xmm2, xmm14
movss dword [rdi + 0x260], xmm1
movss dword [rdi + 0x264], xmm2
jp 0x180022d69
jne 0x180022d69
movss xmm6, dword [rdi + 0x18]
movaps xmm0, xmm5
addss xmm0, xmm5
subss xmm6, xmm0
subss xmm6, dword [rdi + 0x84]
ucomiss xmm4, xmm10
addss xmm1, xmm6
movss dword [rdi + 0x268], xmm1
jp 0x180022d9a
jne 0x180022d9a
movss xmm4, dword [rdi + 0x1c]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm4, xmm0
subss xmm4, xmm14
subss xmm4, dword [rdi + 0x88]
addss xmm5, xmm10
addss xmm7, xmm14
movaps xmm14, xmmword [rsp + 0x100]
addss xmm2, xmm4
subss xmm5, xmm11
movaps xmm11, xmmword [rsp + 0x130]
subss xmm7, xmm12
movaps xmm12, xmmword [rsp + 0x120]
movss dword [rdi + 0x26c], xmm2
movss dword [rdi + 0x118], xmm5
addss xmm5, xmm10
mov qword [rdi + 0x11c], 0
addss xmm7, dword [rdi + 0x14]
addss xmm5, xmm3
movss dword [rdi + 0xe8], xmm5
movss dword [rdi + 0xec], xmm7
movss dword [rdi + 0xd8], xmm5
movss dword [rdi + 0xdc], xmm7
movss dword [rdi + 0xe0], xmm5
movss dword [rdi + 0xe4], xmm7
movss xmm0, dword [rdi + 0xe8]
movss xmm1, dword [rdi + 0xec]
movss dword [rdi + 0xf0], xmm0
movss dword [rdi + 0xf4], xmm1
movss dword [rdi + 0xf8], xmm0
movss dword [rdi + 0xfc], xmm1
mov qword [rdi + 0x108], 0
mov qword [rdi + 0x100], 0
mov qword [rdi + 0x110], 0
mov dword [rdi + 0x14c], r15d
movzx eax, word [rdi + 0x152]
mov word [rdi + 0x150], ax
mov word [rdi + 0x152], r15w
mov byte [rdi + 0x158], 0
movss xmm0, dword [rdi + 0x68]
comiss xmm0, xmm10
seta al
cmp byte [rsp + 0x31], 0
mov byte [rdi + 0x159], al
mov byte [rdi + 0x15a], 0
movss xmm0, dword [rsi + 0x15a8]
movss dword [rdi + 0x164], xmm0
mov qword [rdi + 0x168], 0
je 0x180022ee5
xor eax, eax
mov qword [rdi + 0x17c], rax
mov dword [rdi + 0x184], eax
movss xmm1, dword [rdi + 0x168]
cvttss2si eax, xmm1
addss xmm1, dword [rdi + 0x17c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x170], xmm0
movss dword [rdi + 0x168], xmm1
mov dword [rdi + 0x17c], r15d
movss xmm2, dword [rdi + 0x180]
comiss xmm2, xmm10
jbe 0x180022f3d
movss xmm0, dword [rdi + 0x168]
addss xmm0, dword [rdi + 0x164]
movss dword [rdi + 0x168], xmm0
movss xmm1, dword [rdi + 0x168]
cvttss2si eax, xmm1
addss xmm1, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x174], xmm0
movss dword [rdi + 0x168], xmm1
mov dword [rdi + 0x180], r15d
movss xmm2, dword [rdi + 0x184]
comiss xmm2, xmm10
jbe 0x180022f81
addss xmm1, dword [rdi + 0x164]
cvttss2si eax, xmm1
addss xmm1, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x178], xmm0
movss dword [rdi + 0x168], xmm1
mov qword [rdi + 0x184], 0
mov dword [rdi + 0x18c], r15d
mov ecx, dword [rdi + 0x194]
test ecx, ecx
jns 0x180022fd9
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x190]
test eax, eax
cmovg edx, eax
call fcn.180029e10
mov r13, qword [rsp + 0x60]
lea rax, [rdi + 0x288]
mov dword [rdi + 0x190], r15d
mov qword [rdi + 0x1a0], rax
mov eax, 1
mov qword [rdi + 0x1a8], r15
mov dword [rdi + 0x1b4], eax
test r13, r13
je 0x180023011
mov eax, dword [r13 + 0x1b4]
mov dword [rdi + 0x1b8], eax
mov qword [rdi + 0x1bc], 0xffffffffffffffff
mov eax, dword [rdi + 0x280]
mov dword [rdi + 0x1c4], eax
mov dword [rdi + 0x1c8], 0xbf800000
mov ecx, dword [rdi + 0x1d4]
test ecx, ecx
jns 0x18002305f
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1d0]
test eax, eax
cmovg edx, eax
call fcn.18002a440
mov dword [rdi + 0x1d0], r15d
mov ecx, dword [rdi + 0x1e4]
test ecx, ecx
jns 0x18002308d
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1e0]
test eax, eax
cmovg edx, eax
call fcn.18002a440
mov dword [rdi + 0x1e0], r15d
movzx eax, byte [rdi + 0xa8]
test al, al
jle 0x1800230a7
dec al
mov byte [rdi + 0xa8], al
movzx eax, byte [rdi + 0xa9]
test al, al
jle 0x1800230ba
dec al
mov byte [rdi + 0xa9], al
test r12b, r12b
je 0x180023170
mov rcx, rdi
call fcn.180023710
mov eax, dword [rdi + 0xc]
mov rdx, qword [0x18009a7d0]
bt eax, 0x12
jae 0x1800230eb
mov qword [rdx + 0x1dd0], 0
jmp 0x180023170
cmp rdi, qword [rdi + 0x388]
je 0x180023113
bt eax, 0x1a
jb 0x180023113
mov eax, dword [rdi + 0x3a8]
test eax, eax
je 0x180023113
mov dword [rdx + 0x1dd0], eax
mov dword [rdx + 0x1dd4], r15d
jmp 0x180023170
movsxd rax, dword [rdx + 0x1e14]
xorps xmm0, xmm0
mov dword [rdx + 0x1e14], eax
mov rcx, rax
mov rax, qword [rdx + 0x1dc8]
mov qword [rdx + 0x1dd0], 0
mov dword [rax + rcx*4 + 0x3a8], r15d
add rcx, 0x3b
mov rax, qword [rdx + 0x1dc8]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
mov word [rdx + 0x1e21], 1
mov dword [rdx + 0x1e24], r15d
movups xmmword [rdx + 0x1e28], xmm0
mov byte [rdx + 0x1e20], 1
movss xmm8, dword [rbp - 0x7c]
movss xmm7, dword [rbp - 0x80]
movss xmm6, dword [rsp + 0x7c]
movss xmm9, dword [rsp + 0x78]
test r14b, 1
jne 0x1800231c4
mov r8, qword [rbp - 0x68]
lea rdx, [rbp - 0x60]
movaps xmm0, xmm9
movss dword [rbp - 0x5c], xmm6
addss xmm0, dword [rdi + 0x4c]
movaps xmm1, xmm7
movss dword [rbp - 0x54], xmm8
subss xmm1, dword [rdi + 0x4c]
mov rcx, rdi
movss dword [rbp - 0x60], xmm0
movss dword [rbp - 0x58], xmm1
call fcn.180020bd0
mov rax, qword [0x18009a7d0]
mov dword [rdi + 0x270], 0
movss xmm1, dword [rax + 0x15c0]
movss xmm0, dword [rax + 0x15c4]
subss xmm9, xmm1
addss xmm7, xmm1
movss xmm1, dword [rax + 0x128]
addss xmm8, xmm0
subss xmm6, xmm0
comiss xmm1, xmm9
movaps xmm9, xmmword [rsp + 0x150]
jb 0x18002322b
movss xmm0, dword [rax + 0x12c]
comiss xmm0, xmm6
jb 0x18002322b
comiss xmm7, xmm1
jbe 0x18002322b
comiss xmm8, xmm0
mov ecx, 1
ja 0x18002322e
mov ecx, r15d
mov eax, dword [rdi + 0x54]
movups xmm0, xmmword [rsp + 0x78]
mov dword [rdi + 0x124], eax
movaps xmm8, xmmword [rsp + 0x160]
movaps xmm7, xmmword [rsp + 0x170]
movaps xmm6, xmmword [rsp + 0x180]
mov dword [rdi + 0x128], ecx
movups xmmword [rdi + 0x12c], xmm0
jmp 0x1800232d1
mov rcx, qword [0x18009a7d0]
mov qword [rcx + 0x1c10], rdi
movsxd rax, dword [rdi + 0x1b0]
cmp eax, 0xffffffff
je 0x18002328e
imul rdx, rax, 0x1e8
add rdx, qword [rcx + 0x2008]
jmp 0x180023291
mov rdx, r15
movss xmm0, dword [rcx + 0x1984]
mov qword [rcx + 0x1ff0], rdx
mov rax, qword [rdi + 0x380]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x1800232bc
mulss xmm0, dword [rax + 0x2a8]
mov r13, qword [rsp + 0x60]
movss dword [rcx + 0x1998], xmm0
movss dword [rcx + 0x1980], xmm0
movsxd rcx, dword [rsi + 0x1d78]
mov r15d, r14d
mov rax, qword [rsi + 0x1d80]
mov r12, qword [rsp + 0x190]
mov ecx, dword [rax + rcx*4 - 4]
mov dword [rsi + 0x1c44], ecx
and r15d, 0x1000000
je 0x180023306
mov eax, dword [r13 + 0x154]
jmp 0x180023308
xor eax, eax
mov rcx, qword [0x18009a7d0]
mov r9b, 1
mov dword [rdi + 0x154], eax
mov rax, qword [rcx + 0x1c10]
mov byte [rax + 0x90], 1
mov rbx, qword [rcx + 0x1c10]
mov r8, qword [rdi + 0x228]
mov rdx, qword [rdi + 0x220]
mov rcx, qword [rbx + 0x2b0]
call fcn.180032290
mov rax, qword [rbx + 0x2b0]
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 + 0x250], eax
xor eax, eax
movss dword [rbx + 0x254], xmm0
movss dword [rbx + 0x258], xmm1
movss dword [rbx + 0x25c], xmm2
mov rbx, qword [rsp + 0x1d8]
mov byte [rdi + 0x90], 0
inc word [rdi + 0x9a]
mov dword [rsi + 0x1cb0], eax
mov eax, dword [rsp + 0x70]
cmp eax, dword [rsp + 0x58]
je 0x1800234d7
test r15d, r15d
je 0x180023447
test r14b, 0x40
jne 0x18002340c
cmp byte [rdi + 0xa8], 0
jg 0x18002340c
cmp byte [rdi + 0xa9], 0
jg 0x18002340c
cmp byte [rsi + 0x308c], 0
jne 0x18002340c
movss xmm0, dword [rdi + 0x200]
comiss xmm0, dword [rdi + 0x208]
jae 0x180023405
movss xmm0, dword [rdi + 0x204]
comiss xmm0, dword [rdi + 0x20c]
jb 0x18002340c
mov byte [rdi + 0xb0], 1
test r13, r13
je 0x180023447
cmp byte [r13 + 0x91], 0
jne 0x180023425
cmp byte [r13 + 0xb0], 0
jle 0x18002342c
mov byte [rdi + 0xb0], 1
cmp byte [r13 + 0x91], 0
jne 0x180023440
cmp byte [r13 + 0xb1], 0
jle 0x180023447
mov byte [rdi + 0xb1], 1
comiss xmm10, dword [rsi + 0x1560]
jb 0x180023458
mov byte [rdi + 0xb0], 1
cmp byte [rdi + 0xb0], 0
jg 0x180023477
cmp byte [rdi + 0xb1], 0
jg 0x180023477
cmp byte [rdi + 0xb2], 0
jg 0x180023477
xor cl, cl
jmp 0x180023479
mov cl, 1
mov byte [rdi + 0x95], cl
movzx eax, byte [rdi + 0xb3]
test al, al
jle 0x180023499
dec al
mov byte [rdi + 0xb3], al
or dword [rdi + 0xc], 0xc0200
xor al, al
cmp byte [rdi + 0x91], al
jne 0x1800234af
cmp byte [rdi + 0x8e], al
je 0x1800234af
test cl, cl
je 0x1800234d1
cmp byte [rdi + 0xa8], al
jg 0x1800234d1
cmp byte [rdi + 0xa9], al
jg 0x1800234d1
cmp byte [rdi + 0xb1], 0
mov edx, 1
movzx eax, al
cmovle eax, edx
mov byte [rdi + 0x93], al
cmp byte [rdi + 0x93], 0
sete al
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.18003fc80
movaps xmm10, xmmword [rsp + 0x140]
add rsp, 0x198
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret