Function at 0x18001be10
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [r11 - 0x108]
sub rsp, 0x1e0
movaps xmmword [r11 - 0xc8], xmm14
mov rax, qword [0x18006f040]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r14, qword [0x1800700c0]
mov r10d, 0xffffffff
mov qword [r11 + 0x10], rbx
mov r13d, r8d
mov qword [r11 - 0x30], rsi
mov qword [r11 - 0x38], r15
mov r11, rcx
mov qword [rbp - 0x80], rcx
mov ecx, r10d
movzx r9d, byte [r11]
lea r8, [r11 + 1]
test r9b, r9b
je 0x18001beaf
lea rbx, [0x18005d9d0]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001be93
cmp byte [r8], r9b
jne 0x18001be93
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 0x18001be80
not ecx
call fcn.180019740
test rax, rax
mov qword [rsp + 0x68], rax
mov rdi, rax
sete dl
mov byte [rsp + 0x41], dl
test rax, rax
jne 0x18001bee0
mov edx, r13d
mov rcx, r11
call fcn.180019ad0
movzx edx, byte [rsp + 0x41]
mov rdi, rax
mov ecx, r13d
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x18001bef5
or r13d, 6
mov esi, dword [r14 + 0x3e38]
lea rbx, [r14 + 0x3e88]
cmp dword [rbx], 0
mov r9d, dword [rdi + 0x258]
mov dword [rsp + 0x5c], esi
mov dword [rsp + 0x58], r9d
jne 0x18001bf26
cmp byte [r14 + 0x3e45], 0
je 0x18001bf26
mov al, 1
jmp 0x18001bf28
xor al, al
mov byte [rdi + 0xb6], al
lea eax, [rsi - 1]
cmp r9d, eax
setl r8b
mov byte [rsp + 0x40], r8b
bt r13d, 0x1a
jae 0x18001bf72
movsxd rax, dword [r14 + 0x4870]
imul rax, rax, 0x38
add rax, qword [r14 + 0x4868]
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 0x18001bf93
or byte [rdi + 0xd4], 8
or byte [rdi + 0xd5], 8
or byte [rdi + 0xd6], 8
xor r12d, r12d
cmp r9d, esi
je 0x18001bfea
mov r8d, r13d
mov rcx, rdi
call fcn.1800197c0
mov r9d, dword [rsp + 0x58]
mov dword [rdi + 0xc], r13d
mov dword [rdi + 0x258], esi
movsd xmm0, qword [r14 + 0x3e30]
mov word [rdi + 0xbe], r12w
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x25c], xmm0
movzx eax, word [r14 + 0x3ea8]
inc dword [r14 + 0x3ea8]
mov word [rdi + 0xc0], ax
jmp 0x18001bfee
mov r13d, dword [rdi + 0xc]
movsxd rax, dword [rbx]
test eax, eax
jne 0x18001bffa
mov r15, r12
jmp 0x18001c00a
imul rcx, rax, 0x58
mov rax, qword [r14 + 0x3e90]
mov r15, qword [rcx + rax - 0x58]
cmp r9d, esi
je 0x18001c01c
test r13d, 0x5000000
cmovne r12, r15
jmp 0x18001c023
mov r12, qword [rdi + 0x360]
lea rsi, [rdi + 0xe8]
mov qword [rsp + 0x60], r12
cmp dword [rsi], 0
mov r9d, 8
jne 0x18001c060
cmp dword [rsi + 4], 0
jne 0x18001c051
mov edx, r9d
mov rcx, rsi
call fcn.18002a3b0
mov r9d, 8
movsxd rdx, dword [rsi]
mov eax, dword [rdi + 8]
mov rcx, qword [rsi + 8]
mov dword [rcx + rdx*4], eax
inc dword [rsi]
mov rdx, qword [0x1800700c0]
xorps xmm0, xmm0
mov eax, dword [r14 + 0x478c]
movups xmm1, xmmword [r14 + 0x4764]
mov qword [r14 + 0x3eb8], rdi
mov r8d, dword [rbx + 4]
movups xmmword [rbp - 0x2c], xmm0
mov dword [rbp - 0x30], eax
mov rax, qword [rdx + 0x3eb8]
movups xmm0, xmmword [r14 + 0x4754]
mov qword [rbp - 0x70], rdi
movups xmmword [rbp - 0x58], xmm1
movzx ecx, word [rax + 0xe8]
movzx eax, word [rdx + 0x4800]
movsd xmm1, qword [r14 + 0x4784]
mov word [rbp - 0x2a], ax
movzx eax, word [rdx + 0x4810]
mov word [rbp - 0x28], ax
movzx eax, word [rdx + 0x4820]
mov word [rbp - 0x26], ax
movzx eax, word [rdx + 0x4830]
mov word [rbp - 0x24], ax
movzx eax, word [rdx + 0x4850]
mov word [rbp - 0x22], ax
movzx eax, word [rdx + 0x4840]
mov word [rbp - 0x20], ax
movzx eax, word [rdx + 0x4870]
movups xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x1e], ax
movups xmm0, xmmword [r14 + 0x4774]
movzx eax, word [rdx + 0x5b50]
mov word [rbp - 0x2c], cx
mov ecx, dword [rbx]
mov word [rbp - 0x1c], ax
movsd qword [rbp - 0x38], xmm1
movups xmmword [rbp - 0x48], xmm0
cmp ecx, r8d
jne 0x18001c150
inc ecx
test r8d, r8d
je 0x18001c13e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18001c141
mov eax, r9d
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.18002a1f0
movsxd rax, dword [rbx]
movaps xmm0, xmmword [rbp - 0x70]
movaps xmm1, xmmword [rbp - 0x60]
imul rcx, rax, 0x58
mov rax, qword [rbx + 8]
movups xmmword [rcx + rax], xmm0
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [rcx + rax + 0x10], xmm1
movaps xmm1, xmmword [rbp - 0x40]
movups xmmword [rcx + rax + 0x20], xmm0
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [rcx + rax + 0x30], xmm1
movsd xmm1, qword [rbp - 0x20]
movups xmmword [rcx + rax + 0x40], xmm0
movsd qword [rcx + rax + 0x50], xmm1
inc dword [rbx]
bt r13d, 0x1c
jae 0x18001c1a2
inc dword [r14 + 0x4880]
mov eax, dword [rsp + 0x58]
cmp eax, dword [rsp + 0x5c]
je 0x18001c261
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 0x18001c22b
mov eax, r13d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x18001c1f6
mov rax, qword [r12 + 0x370]
mov qword [rdi + 0x370], rax
bt r13d, 0x1a
jae 0x18001c20c
mov rax, qword [r12 + 0x378]
mov qword [rdi + 0x378], rax
bt r13d, 0x1b
jb 0x18001c22b
test r13d, 0x5000000
je 0x18001c22b
mov rax, qword [r12 + 0x380]
mov qword [rdi + 0x380], rax
test dword [rdi + 0xc], 0x800000
je 0x18001c25a
mov rcx, rdi
nop word [rax + rax]
mov rax, qword [rcx + 0x360]
mov qword [rdi + 0x388], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x18001c240
mov qword [rdi + 0x368], r15
mov rsi, qword [0x1800700c0]
mov r12d, dword [rdi + 8]
lea rbx, [rsi + 0x4830]
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x18001c2a7
inc r8d
test ecx, ecx
je 0x18001c290
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18001c295
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18002a3b0
movsxd rcx, dword [rbx]
xor r10d, r10d
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], r12d
inc dword [rbx]
mov dword [rsi + 0x4734], r12d
mov eax, dword [r14 + 0x4734]
mov dword [rdi + 0x3c0], eax
mov qword [r14 + 0x3eb8], r10
bt r13d, 0x1a
jae 0x18001c30f
lea rcx, [r14 + 0x4870]
movsxd rax, dword [rcx]
imul rbx, rax, 0x38
add rbx, qword [r14 + 0x4868]
mov rdx, rbx
mov qword [rbx + 8], rdi
mov eax, dword [r15 + 0x150]
mov dword [rbx + 0x18], eax
call fcn.1800295e0
mov eax, dword [rbx]
xor r10d, r10d
mov dword [rdi + 0xc4], eax
xor dl, dl
xor r15b, r15b
xor r12b, r12b
mov byte [rsp + 0x42], dl
test byte [r14 + 0x4790], 1
je 0x18001c3b9
movsx ecx, byte [rdi + 0xd4]
mov r8d, dword [r14 + 0x4794]
test r8d, ecx
setne dl
mov byte [rsp + 0x42], dl
test r8d, ecx
je 0x18001c3aa
movss xmm0, dword [r14 + 0x47ac]
movss xmm1, dword [r14 + 0x47a8]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x180064994]
jbe 0x18001c3aa
movsd xmm0, qword [r14 + 0x47a0]
and ecx, 0xf1
mov eax, dword [rdi + 0xd4]
and eax, 0xffffff00
movsd qword [rdi + 0xd8], xmm0
movsd xmm1, qword [r14 + 0x47a8]
or ecx, eax
mov dword [rdi + 0xd4], ecx
movsd qword [rdi + 0xe0], xmm1
jmp 0x18001c3b9
lea rdx, [r14 + 0x47a0]
mov rcx, rdi
call fcn.18001e940
test byte [r14 + 0x4790], 2
xorps xmm14, xmm14
je 0x18001c416
movsx eax, byte [rdi + 0xd5]
mov r8d, dword [r14 + 0x4798]
and eax, r8d
je 0x18001c3ee
movss xmm0, dword [r14 + 0x47b0]
comiss xmm0, xmm14
jbe 0x18001c3ee
mov r15b, 1
jmp 0x18001c3f5
xor r15b, r15b
test eax, eax
je 0x18001c407
movss xmm0, dword [r14 + 0x47b4]
comiss xmm0, xmm14
jbe 0x18001c407
mov r12b, 1
lea rdx, [r14 + 0x47b0]
mov rcx, rdi
call fcn.18001eab0
test byte [r14 + 0x4790], 0x80
je 0x18001c45c
movss xmm0, dword [r14 + 0x47c0]
comiss xmm0, xmm14
jb 0x18001c43e
movss dword [rdi + 0x8c], xmm0
mov dword [rdi + 0x94], r10d
movss xmm0, dword [r14 + 0x47c4]
comiss xmm0, xmm14
jb 0x18001c45c
movss dword [rdi + 0x90], xmm0
mov dword [rdi + 0x98], r10d
test byte [r14 + 0x4790], 4
mov ebx, dword [rsp + 0x5c]
mov esi, dword [rsp + 0x58]
je 0x18001c47e
movsd xmm0, qword [r14 + 0x47b8]
movsd qword [rdi + 0x40], xmm0
jmp 0x18001c48a
cmp esi, ebx
je 0x18001c48a
mov qword [rdi + 0x40], 0
test byte [r14 + 0x4790], 8
je 0x18001c4db
mov ecx, dword [r14 + 0x479c]
movzx edx, byte [r14 + 0x47c8]
test ecx, ecx
je 0x18001c4b2
movsx eax, byte [rdi + 0xd6]
test ecx, eax
je 0x18001c4db
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 + 0x4790], 0x20
je 0x18001c4ed
mov rcx, rdi
call fcn.18001e3d0
cmp byte [rdi + 0xb4], 0
je 0x18001c50b
and byte [rdi + 0xd4], 0xf7
and byte [rdi + 0xd5], 0xf7
and byte [rdi + 0xd6], 0xf7
mov r8d, 1
cmp esi, ebx
je 0x18001df75
movaps xmmword [rsp + 0x1c0], xmm6
lea rbx, [rdi + 0xe8]
movaps xmmword [rsp + 0x1b0], xmm7
mov eax, r13d
movaps xmmword [rsp + 0x1a0], xmm8
and eax, 0x3000000
movaps xmmword [rsp + 0x190], xmm9
movaps xmmword [rsp + 0x180], xmm10
movaps xmmword [rsp + 0x170], xmm11
movaps xmmword [rsp + 0x160], xmm12
mov byte [rdi + 0xae], r8b
mov byte [rdi + 0xb8], 0
movaps xmmword [rsp + 0x150], xmm13
mov dword [rsp + 0x50], eax
movzx eax, byte [rdi + 0xd1]
mov dword [rdi + 0x230], 0xff7fffff
mov dword [rdi + 0x234], 0xff7fffff
mov dword [rdi + 0x238], 0x7f7fffff
mov dword [rdi + 0x23c], 0x7f7fffff
mov ecx, dword [rbx + 4]
mov byte [rsp + 0x43], al
cmp ecx, r8d
jge 0x18001c5e6
test ecx, ecx
je 0x18001c5ca
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18001c5cf
mov eax, 8
cmp eax, r8d
mov edx, r8d
mov rcx, rbx
cmovg edx, eax
call fcn.18002a3b0
mov r8d, 1
mov dword [rbx], r8d
mov rcx, qword [rdi + 0x290]
call fcn.180031ec0
cmp byte [rdi + 0x3cc], 0
mov dword [rdi + 0x1a8], 0xffffffff
je 0x18001c646
mov rcx, qword [rdi + 0x290]
mov edx, dword [rdi + 0x3c4]
add rcx, 0x10
mov byte [rdi + 0x3cc], 0
call fcn.180029fb0
mov rcx, qword [rdi + 0x290]
mov edx, dword [rdi + 0x3c8]
add rcx, 0x20
call fcn.180029d50
mov qword [rdi + 0x3c4], 0
cmp qword [r14 + 0x4a18], 0
mov r9, qword [rsp + 0x68]
je 0x18001c712
test dword [rdi + 0xc], 0x80000
jne 0x18001c712
test r9, r9
je 0x18001c712
mov r10, qword [rbp - 0x80]
mov r9, qword [rdi]
mov rax, r10
mov r8, r9
sub r8, r10
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18001c693
inc rax
test ecx, ecx
jne 0x18001c680
test edx, edx
je 0x18001c70d
movsxd rsi, dword [rdi + 0x70]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x18001c6a2
inc rbx
cmp rsi, rbx
jae 0x18001c6f9
test r9, r9
je 0x18001c6cb
mov rax, qword [0x1800700c0]
test rax, rax
je 0x18001c6cb
dec dword [rax + 0xf4]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1800700c0]
test rax, rax
je 0x18001c6e6
inc dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r10, qword [rbp - 0x80]
mov rsi, rbx
mov r9, rax
mov r8, rbx
mov rdx, r10
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
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.180019f20
movzx eax, byte [rdi + 0xd0]
test al, al
jle 0x18001c735
dec al
mov byte [rdi + 0xd0], al
movzx eax, byte [rdi + 0xd1]
test al, al
jle 0x18001c748
dec al
mov byte [rdi + 0xd1], al
movzx eax, byte [rdi + 0xd2]
test al, al
jle 0x18001c75b
dec al
mov byte [rdi + 0xd2], al
test r9, r9
jne 0x18001c771
test r15b, r15b
je 0x18001c76a
test r12b, r12b
jne 0x18001c771
mov byte [rdi + 0xd1], 1
xor r8d, r8d
cmp byte [rsp + 0x40], r8b
je 0x18001c7bb
test r13d, 0x6000000
je 0x18001c7bb
mov byte [rdi + 0xd1], 1
test r13b, 0x40
je 0x18001c7bb
test r15b, r15b
jne 0x18001c79e
mov dword [rdi + 0x28], r8d
mov dword [rdi + 0x20], r8d
test r12b, r12b
jne 0x18001c7ab
mov dword [rdi + 0x2c], r8d
mov dword [rdi + 0x24], r8d
mov qword [rdi + 0x38], 0
mov qword [rdi + 0x30], 0
mov rdx, qword [0x1800700c0]
mov rax, qword [rdx + 0x4890]
mov rsi, qword [rax]
mov qword [rdi + 0x10], rsi
mov qword [rdx + 0x3eb8], rdi
movsxd rax, dword [rdi + 0x1a8]
cmp eax, 0xffffffff
je 0x18001c7f3
imul rcx, rax, 0x238
add rcx, qword [rdx + 0x4b28]
jmp 0x18001c7f6
mov rcx, r8
movss xmm0, dword [rdx + 0x3c1c]
mov qword [rdx + 0x4b00], rcx
mov rax, qword [rdi + 0x360]
mulss xmm0, dword [rdi + 0x288]
test rax, rax
je 0x18001c821
mulss xmm0, dword [rax + 0x288]
movss dword [rdx + 0x3c30], xmm0
movss dword [rdx + 0x3c18], xmm0
bt r13d, 0x18
jae 0x18001c843
movss xmm1, dword [r14 + 0x3810]
jmp 0x18001c867
test r13d, 0x6000000
je 0x18001c85e
bt r13d, 0x1b
jb 0x18001c85e
movss xmm1, dword [r14 + 0x3818]
jmp 0x18001c867
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 0x18001c8b0
ucomiss xmm1, xmm14
jp 0x18001c8b0
jne 0x18001c8b0
bt r13d, 0xa
jae 0x18001c8a3
movss xmm0, dword [r14 + 0x37ec]
jmp 0x18001c8a7
movaps xmm0, xmm14
movss dword [rdi + 0x4c], xmm0
mov dword [rdi + 0x48], r8d
movss xmm0, dword [rdi + 0x48]
movzx ebx, byte [rsp + 0x41]
mov dword [rsp + 0x54], ebx
maxss xmm0, dword [r14 + 0x382c]
maxss xmm0, dword [r14 + 0x47f4]
movss dword [rdi + 0x15c], xmm0
mov eax, dword [r14 + 0x47f8]
mov dword [rdi + 0x160], eax
test r13b, 0x21
jne 0x18001ca2b
test byte [rdi + 0xc], 1
je 0x18001c8fb
movaps xmm2, xmm14
jmp 0x18001c92f
mov rax, qword [rdi + 0x360]
movss xmm0, dword [rdx + 0x3c1c]
mulss xmm0, dword [rdi + 0x288]
test rax, rax
je 0x18001c91f
mulss xmm0, dword [rax + 0x288]
movss xmm2, dword [rdx + 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 + 0x3ec0], rdi
jne 0x18001c9e1
cmp dword [r14 + 0x3f04], 0
jne 0x18001c9e1
cmp dword [r14 + 0x3f08], 0
jne 0x18001c9e1
movss xmm1, dword [rdx + 0x3844]
movss xmm0, dword [rdx + 0x3848]
mov rax, qword [rdx + 0x3eb8]
add rax, 0x230
maxss xmm4, dword [rax]
minss xmm3, dword [rax + 8]
maxss xmm5, dword [rax + 4]
minss xmm2, dword [rax + 0xc]
subss xmm4, xmm1
addss xmm3, xmm1
movss xmm1, dword [rdx + 0xdfc]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x18001c9e1
movss xmm0, dword [rdx + 0xe00]
comiss xmm0, xmm5
jb 0x18001c9e1
comiss xmm3, xmm1
jbe 0x18001c9e1
comiss xmm2, xmm0
jbe 0x18001c9e1
cmp word [r14 + 0x3742], 2
jne 0x18001c9e1
mov byte [rdi + 0xb2], 1
cmp byte [rdi + 0xb2], 0
je 0x18001ca32
movzx ecx, byte [rdi + 0xb1]
test cl, cl
movzx ebx, bl
sete al
test cl, cl
mov ecx, 1
mov byte [rdi + 0xb1], al
cmovne ebx, ecx
test dword [rdi + 0xc], 0x100
mov dword [rsp + 0x54], ebx
jne 0x18001ca32
comiss xmm14, dword [rdx + 0x5b9c]
jb 0x18001ca32
mov eax, dword [rdx + 0x1c]
mov dword [rdx + 0x5b9c], eax
jmp 0x18001ca32
mov byte [rdi + 0xb1], 0
mov ecx, 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
test cl, 1
je 0x18001ca61
movaps xmm2, xmm14
jmp 0x18001ca95
mov rax, qword [rdi + 0x360]
movss xmm0, dword [rdx + 0x3c1c]
mulss xmm0, dword [rdi + 0x288]
test rax, rax
je 0x18001ca85
mulss xmm0, dword [rax + 0x288]
movss xmm2, dword [rdx + 0x3820]
addss xmm2, xmm2
addss xmm2, xmm0
bt ecx, 0xa
jae 0x18001cad9
mov rax, qword [rdi + 0x360]
movss xmm1, dword [rdx + 0x3c1c]
mulss xmm1, dword [rdi + 0x288]
test rax, rax
je 0x18001cabf
mulss xmm1, dword [rax + 0x288]
movss xmm0, dword [rdx + 0x3820]
addss xmm1, dword [rdi + 0x160]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x18001cadd
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, [rbp - 0x10]
movss dword [rdi + 0x5c], xmm1
call fcn.18001a030
test r13b, 0x40
je 0x18001cb46
cmp byte [rdi + 0xb1], 0
jne 0x18001cb46
test r15b, r15b
jne 0x18001cb28
movss xmm0, dword [rbp - 0x10]
movss dword [rdi + 0x28], xmm0
mov byte [rsp + 0x41], 1
test r12b, r12b
jne 0x18001cbea
movss xmm0, dword [rbp - 0xc]
mov al, 1
movss dword [rdi + 0x2c], xmm0
mov dword [rsp + 0x54], eax
jmp 0x18001cbea
movzx eax, byte [rdi + 0xc8]
test al, al
jg 0x18001cb5e
cmp byte [rdi + 0xc9], 0
jle 0x18001cbea
test r15b, r15b
jne 0x18001cb8b
test al, al
jle 0x18001cb8b
cmp byte [rdi + 0xcb], r15b
je 0x18001cb7c
movss xmm0, dword [rdi + 0x28]
maxss xmm0, dword [rbp - 0x10]
jmp 0x18001cb81
movss xmm0, dword [rbp - 0x10]
movss dword [rdi + 0x28], xmm0
mov byte [rsp + 0x41], 1
test r12b, r12b
jne 0x18001cbbe
cmp byte [rdi + 0xc9], r12b
jle 0x18001cbbe
cmp byte [rdi + 0xcb], r12b
je 0x18001cbae
movss xmm0, dword [rdi + 0x2c]
maxss xmm0, dword [rbp - 0xc]
jmp 0x18001cbb3
movss xmm0, dword [rbp - 0xc]
mov al, 1
movss dword [rdi + 0x2c], xmm0
mov dword [rsp + 0x54], eax
cmp byte [rdi + 0xb1], 0
jne 0x18001cbea
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x1800700c0]
jne 0x18001cbea
comiss xmm14, dword [rcx + 0x5b9c]
jb 0x18001cbea
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x5b9c], eax
lea r8, [rdi + 0x28]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.180019cd0
cmp byte [rdi + 0xb1], 0
mov r12, qword [0x1800700c0]
movss xmm3, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x28], xmm3
movss dword [rdi + 0x2c], xmm1
je 0x18001cc85
bt r13d, 0x18
jb 0x18001cc85
test byte [rdi + 0xc], 1
je 0x18001cc31
movaps xmm1, xmm14
jmp 0x18001cc69
mov rax, qword [rdi + 0x360]
movss xmm0, dword [r12 + 0x3c1c]
mulss xmm0, dword [rdi + 0x288]
test rax, rax
je 0x18001cc57
mulss xmm0, dword [rax + 0x288]
movss xmm1, dword [r12 + 0x3820]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x18]
addss xmm1, dword [rdi + 0x1c]
movaps xmm2, xmm0
addss xmm2, xmm3
subss xmm1, dword [rdi + 0x1c]
subss xmm2, xmm0
jmp 0x18001cc9e
movaps xmm0, xmm3
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 + 0x42]
movss dword [rdi + 0x20], xmm2
movss dword [rdi + 0x24], xmm1
test bl, bl
je 0x18001ccfd
mov eax, r13d
mov dword [rdi + 0xcc], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18001ccfd
test r15b, r15b
jne 0x18001ccfd
movsxd rax, dword [r14 + 0x4870]
imul rcx, rax, 0x38
mov rax, qword [r14 + 0x4878]
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 0x18001cd96
mov rdx, qword [rsp + 0x60]
lea rbx, [rdx + 0x188]
movzx eax, word [rbx]
mov word [rdi + 0xbe], ax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x18001cd5e
inc r8d
test ecx, ecx
je 0x18001cd3b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18001cd40
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180029930
mov rdx, qword [rsp + 0x60]
mov r12, qword [0x1800700c0]
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 0x18001cd9a
test r15b, r15b
jne 0x18001cd9a
cmp eax, 0x3000000
je 0x18001cd9a
movsd xmm0, qword [rdx + 0xf8]
movsd qword [rdi + 0x18], xmm0
jmp 0x18001cd9a
mov eax, dword [rsp + 0x50]
movss xmm1, dword [rdi + 0xd8]
ucomiss xmm1, dword [0x180064ba0]
jp 0x18001cdad
je 0x18001cdfe
cmp byte [rdi + 0xd1], 0
jne 0x18001cdfe
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.18001e940
jmp 0x18001ce4a
bt r13d, 0x1c
jb 0x18001ce2b
bt r13d, 0x1a
jae 0x18001ce18
test r15b, r15b
jne 0x18001ce18
cmp byte [rsp + 0x43], r15b
jg 0x18001ce2b
bt r13d, 0x19
jae 0x18001ce4a
test r15b, r15b
jne 0x18001ce4a
cmp eax, 0x3000000
je 0x18001ce4a
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.180023250
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 + 0x38a0]
movaps xmm4, xmm9
movss xmm2, dword [r14 + 0x389c]
movss dword [rbp - 8], xmm8
movss dword [rbp - 4], xmm9
addss xmm7, dword [rsi + 0x1c]
addss xmm6, dword [rsi + 0x20]
addss xmm5, dword [rsi + 0xc]
addss xmm4, dword [rsi + 0x10]
maxss xmm3, dword [r14 + 0x38a8]
maxss xmm2, dword [r14 + 0x38a4]
movss dword [rbp], xmm5
movss dword [rbp + 4], xmm4
subss xmm6, xmm3
subss xmm7, xmm2
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [rbp + 0x1c], xmm6
movss dword [rbp + 0x18], xmm7
movss dword [rbp + 0x10], xmm2
movss dword [rbp + 0x14], xmm3
test r15b, r15b
jne 0x18001cf8d
bt r13d, 0x18
jb 0x18001cf8d
subss xmm5, xmm8
comiss xmm5, xmm14
jbe 0x18001cf8d
subss xmm4, xmm9
comiss xmm4, xmm14
jbe 0x18001cf8d
movss xmm0, dword [rdi + 0x24]
cmp byte [r12 + 0x7f], r15b
je 0x18001cf58
test byte [rdi + 0xc], 1
jne 0x18001cf58
mov rax, qword [rdi + 0x360]
movss xmm1, dword [r12 + 0x3c1c]
mulss xmm1, dword [rdi + 0x288]
test rax, rax
je 0x18001cf46
mulss xmm1, dword [rax + 0x288]
movss xmm0, dword [r12 + 0x3820]
addss xmm0, xmm0
addss xmm0, xmm1
subss xmm2, dword [rdi + 0x20]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x1c]
comiss xmm3, xmm0
ja 0x18001cf72
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [rdi + 0x18]
comiss xmm2, xmm0
ja 0x18001cf83
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 0x18001cfc1
movss xmm0, dword [r14 + 0x380c]
jmp 0x18001cfe4
mov eax, r13d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18001cfdb
movss xmm0, dword [r14 + 0x3814]
jmp 0x18001cfe4
movss xmm0, dword [r14 + 0x37f0]
xor cl, cl
movss dword [rdi + 0x50], xmm0
mov dword [rsp + 0x48], ecx
test bl, bl
je 0x18001d235
bt r13d, 0xc
jb 0x18001d235
bt r13d, 0x1a
jae 0x18001d010
mov byte [rsp + 0x48], 1
jmp 0x18001d026
test r13d, 0x3000000
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [rsp + 0x48], ecx
mov eax, dword [r12 + 0x4860]
sub eax, 1
js 0x18001d235
movsxd rdx, eax
imul r8, rdx, 0x38
add r8, 8
add r8, qword [r12 + 0x4868]
nop word [rax + rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x18001d061
test dword [rcx + 0xc], 0x8000000
jne 0x18001d070
sub r8, 0x38
sub rdx, 1
jns 0x18001d050
jmp 0x18001d235
mov rax, rdi
cmp qword [rdi + 0x370], rcx
je 0x18001d235
cmp rax, rcx
je 0x18001d235
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x18001d080
mov r8, qword [rdi + 0x370]
xor r15b, r15b
mov dword [rsp + 0x48], r15d
cmp rdi, r8
jne 0x18001d23a
movsxd r9, dword [r12 + 0x4860]
dec r9
imul r10, r9, 0x38
add r10, 8
add r10, qword [r12 + 0x4868]
mov rdx, qword [r10]
test rdx, rdx
je 0x18001d144
test dword [rdx + 0xc], 0x8000000
je 0x18001d144
cmp byte [rdx + 0xae], 0
jne 0x18001d0eb
cmp byte [rdx + 0xaf], 0
je 0x18001d144
mov rax, rdi
cmp r8, rdx
je 0x18001d152
cmp rax, rdx
je 0x18001d152
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x18001d0f3
mov rax, qword [rdx + 0x368]
mov rcx, qword [rax + 0x370]
test rcx, rcx
je 0x18001d144
mov rax, rdi
cmp r8, rcx
je 0x18001d154
nop
cmp rax, rcx
je 0x18001d154
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x18001d120
mov rax, qword [rcx + 0x368]
mov rcx, qword [rax + 0x370]
test rcx, rcx
jne 0x18001d117
sub r10, 0x38
sub r9, 1
jns 0x18001d0c8
xor edx, edx
mov r9, qword [r12 + 0x3e60]
movsxd rax, dword [r12 + 0x3e58]
mov r15, qword [rdi + 0x370]
mov r8, qword [rdx + 0x370]
lea rcx, [r9 + rax*8]
cmp r9, rcx
jae 0x18001d18e
nop dword [rax + rax]
cmp qword [r9], r15
je 0x18001d18e
add r9, 8
cmp r9, rcx
jb 0x18001d180
mov rsi, qword [r12 + 0x3e60]
movsxd rax, dword [r12 + 0x3e58]
sub r9, rsi
sar r9, 3
lea rcx, [rsi + rax*8]
cmp rsi, rcx
jae 0x18001d1be
nop
cmp qword [rsi], r8
je 0x18001d1be
add rsi, 8
cmp rsi, rcx
jb 0x18001d1b0
mov r10, qword [r12 + 0x3e60]
sub rsi, r10
sar rsi, 3
cmp r9d, esi
jge 0x18001d209
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 sub.VCRUNTIME140.dll_memmove
mov rax, qword [r12 + 0x3e60]
movsxd rcx, esi
mov qword [rax + rcx*8 - 8], r15
jmp 0x18001d235
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 sub.VCRUNTIME140.dll_memmove
mov rax, qword [r12 + 0x3e60]
mov qword [rax + rbx*8], r15
mov r15d, dword [rsp + 0x48]
movss xmm1, dword [r14 + 0x3c18]
xorps xmm0, xmm0
xor esi, esi
mov dword [rbp + 8], 0xffffffff
cmp byte [r14 + 0x7e], sil
movaps xmm2, xmm1
mulss xmm1, dword [0x1800649cc]
setne sil
mulss xmm2, dword [0x180064a30]
inc esi
cmp byte [rdi + 0xb1], 0
movups xmmword [rbp + 0x20], xmm0
movss xmm0, dword [rdi + 0x50]
addss xmm0, dword [0x180064a2c]
addss xmm0, xmm1
maxss xmm2, xmm0
cvttss2si eax, xmm2
movd xmm13, eax
cvtdq2ps xmm13, xmm13
jne 0x18001d2d2
lea rax, [rbp + 0x10]
mov r9d, esi
mov qword [rsp + 0x28], rax
lea r8, [rbp + 8]
lea rax, [rbp + 0x20]
mov rcx, rdi
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call fcn.18001a3c0
mov r12, qword [0x1800700c0]
test al, al
je 0x18001d2d2
mov cl, 1
movzx edx, cl
jmp 0x18001d2db
movzx edx, byte [rsp + 0x41]
mov ecx, dword [rsp + 0x54]
cmp byte [rdi + 0xb1], 0
movzx eax, byte [rbp + 8]
mov byte [rdi + 0xb9], al
jne 0x18001d42f
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 0x18001d346
movaps xmm1, xmm14
movaps xmm0, xmm14
jmp 0x18001d362
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 0x18001d369
movaps xmm5, xmm2
test cl, cl
jne 0x18001d370
movaps xmm4, xmm3
bt r13d, 0xe
jb 0x18001d386
comiss xmm0, xmm4
jbe 0x18001d382
test r13b, 8
je 0x18001d386
xor cl, cl
jmp 0x18001d388
mov cl, 1
mov byte [rdi + 0xad], cl
bt r13d, 0xf
jb 0x18001d3cd
test cl, cl
je 0x18001d3a4
movss xmm2, dword [r14 + 0x3854]
jmp 0x18001d3a8
movaps xmm2, xmm14
subss xmm5, xmm2
comiss xmm1, xmm5
jbe 0x18001d3c0
mov eax, r13d
and eax, 0x808
cmp eax, 0x800
je 0x18001d3cd
mov byte [rdi + 0xac], 0
movaps xmm1, xmm14
jmp 0x18001d3f8
mov byte [rdi + 0xac], 1
test cl, cl
jne 0x18001d3ef
comiss xmm0, xmm4
jbe 0x18001d3e7
test r13b, 8
jne 0x18001d3e7
mov cl, 1
jmp 0x18001d3e9
xor cl, cl
mov byte [rdi + 0xad], cl
movss xmm1, dword [r14 + 0x3854]
test cl, cl
je 0x18001d407
movss xmm0, dword [r14 + 0x3854]
jmp 0x18001d40b
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 0x18001d455
cmp dword [rsp + 0x50], 0x3000000
je 0x18001d455
mov rax, qword [rsp + 0x60]
add rax, 0x230
jmp 0x18001d459
lea rax, [rbp - 8]
test byte [rdi + 0xc], 1
movups xmm4, xmmword [rax]
movss xmm7, dword [rdi + 0x18]
movss xmm6, dword [rdi + 0x1c]
movaps xmm3, xmm7
addss xmm3, dword [rdi + 0x20]
movaps xmm5, xmm6
addss xmm5, dword [rdi + 0x24]
movups xmmword [rbp - 8], xmm4
je 0x18001d486
movaps xmm0, xmm14
jmp 0x18001d4be
mov rax, qword [rdi + 0x360]
movss xmm1, dword [r12 + 0x3c1c]
mulss xmm1, dword [rdi + 0x288]
test rax, rax
je 0x18001d4ac
mulss xmm1, dword [rax + 0x288]
movss xmm0, dword [r12 + 0x3820]
addss xmm0, xmm0
addss xmm0, xmm1
movss dword [rsp + 0x70], xmm7
movaps xmm1, xmm6
addss xmm1, xmm0
movaps xmm2, xmm7
movss xmm0, dword [rdi + 0x1c]
mov eax, r13d
addss xmm2, dword [rdi + 0x28]
movss dword [rsp + 0x74], xmm0
and eax, 0x401
movss dword [rsp + 0x7c], xmm1
movss dword [rsp + 0x78], xmm2
movss dword [rdi + 0x1e0], xmm7
movaps xmm7, xmm4
movss dword [rdi + 0x1e4], xmm6
movss dword [rdi + 0x1e8], xmm3
movss dword [rdi + 0x1ec], xmm5
movaps xmm5, xmm4
movss xmm0, dword [rdi + 0x1e0]
shufps xmm5, xmm4, 0x55
maxss xmm0, xmm4
shufps xmm7, xmm4, 0xaa
maxss xmm6, xmm5
movss dword [rdi + 0x1e0], xmm0
movss dword [rdi + 0x1e4], xmm6
movaps xmm6, xmm4
movss xmm1, dword [rdi + 0x1e8]
movss xmm0, dword [rdi + 0x1ec]
minss xmm1, xmm7
shufps xmm6, xmm4, 0xff
minss xmm0, xmm6
movss dword [rdi + 0x1e8], xmm1
movss dword [rdi + 0x1ec], xmm0
movss xmm9, dword [rdi + 0x18]
movss xmm10, dword [rdi + 0x1c]
movaps xmm8, xmm9
movaps xmm12, xmm10
addss xmm9, dword [rdi + 0x20]
addss xmm10, dword [rdi + 0x24]
addss xmm8, dword [rdi + 0x58]
addss xmm12, dword [rdi + 0x5c]
subss xmm9, dword [rdi + 0x60]
subss xmm10, dword [rdi + 0x64]
movss dword [rdi + 0x1f0], xmm8
movss dword [rdi + 0x1f4], xmm12
movss dword [rdi + 0x1f8], xmm9
movss dword [rdi + 0x1fc], xmm10
cmp eax, 1
jne 0x18001d5d8
movss xmm11, dword [rdi + 0x54]
jmp 0x18001d5e1
movss xmm11, dword [r14 + 0x3828]
movss xmm2, dword [0x1800649ec]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x48]
addss xmm8, xmm2
mulss xmm0, xmm2
addss xmm12, xmm2
addss xmm9, xmm2
addss xmm10, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm12, xmm11
subss xmm10, dword [rdi + 0x54]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x54]
addss xmm8, xmm1
subss xmm9, xmm1
cvttss2si eax, xmm8
xorps xmm8, xmm8
cvtsi2ss xmm8, eax
cvttss2si eax, xmm12
movss dword [rdi + 0x200], xmm8
cvtsi2ss xmm0, eax
cvttss2si eax, xmm9
movss dword [rdi + 0x204], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm10
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 0x18001d690
movaps xmm1, xmm5
jmp 0x18001d697
movaps xmm1, xmm6
minss xmm1, xmm0
comiss xmm4, xmm8
jbe 0x18001d6a2
movaps xmm0, xmm4
jmp 0x18001d6aa
movaps xmm0, xmm7
minss xmm0, xmm8
movss dword [rdi + 0x200], xmm0
movss dword [rdi + 0x204], xmm1
movss xmm0, dword [rdi + 0x20c]
comiss xmm5, xmm0
ja 0x18001d6ce
minss xmm6, xmm0
movaps xmm5, xmm6
movss xmm0, dword [rdi + 0x208]
comiss xmm4, xmm0
ja 0x18001d6e2
minss xmm7, xmm0
movaps xmm4, xmm7
movss dword [rdi + 0x208], xmm4
movss dword [rdi + 0x20c], xmm5
movss xmm0, dword [rdi + 0x20]
comiss xmm0, xmm14
jbe 0x18001d710
test r13d, 0x2000040
jne 0x18001d710
mulss xmm0, dword [0x1800649fc]
jmp 0x18001d721
movss xmm0, dword [r14 + 0x3c18]
mulss xmm0, dword [0x180064b00]
cvttss2si eax, xmm0
mov rdx, rdi
lea rcx, [rbp - 0x78]
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.180021d50
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 + 0x3c10]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.180032520
mov rcx, qword [0x1800700c0]
lea r8, [rbp]
xor r9d, r9d
lea rdx, [rbp - 8]
mov rax, qword [rcx + 0x3eb8]
mov byte [rax + 0xb0], 1
mov rbx, qword [rcx + 0x3eb8]
mov rcx, qword [rbx + 0x290]
call fcn.180032410
mov rax, qword [rbx + 0x290]
mov r12, qword [rsp + 0x60]
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 0x18001d939
cmp dword [rsp + 0x50], 0x3000000
je 0x18001d939
movsxd rax, dword [r12 + 0x188]
cmp eax, 2
jl 0x18001d901
mov rcx, rax
mov rax, qword [r12 + 0x190]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x18001d901
movss xmm1, dword [rdi + 0x1c]
movss xmm5, dword [rdx + 0x1c]
movaps xmm2, xmm1
movss xmm7, dword [rdx + 0x18]
movaps xmm0, xmm5
addss xmm0, dword [rdx + 0x24]
movss xmm6, dword [rdi + 0x18]
movaps xmm3, xmm7
addss xmm3, dword [rdx + 0x20]
addss xmm2, dword [rdi + 0x24]
movaps xmm4, xmm6
comiss xmm0, xmm1
addss xmm4, dword [rdi + 0x20]
jbe 0x18001d901
comiss xmm2, xmm5
jbe 0x18001d901
comiss xmm3, xmm6
jbe 0x18001d901
comiss xmm4, xmm7
jbe 0x18001d901
mov r8b, 1
jmp 0x18001d904
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 0x18001d939
mov rax, qword [r12 + 0x290]
cmp dword [rax + 0x20], 0
jle 0x18001d939
test r8b, r8b
jne 0x18001d939
mov bl, 1
mov qword [rdi + 0x290], rax
mov rax, qword [r14 + 0x4a08]
test rax, rax
jne 0x18001d94c
mov rax, qword [r14 + 0x4898]
test r15b, r15b
jne 0x18001d96b
test rax, rax
je 0x18001d966
mov rax, qword [rax + 0x380]
cmp qword [rdi + 0x380], rax
je 0x18001d96b
xor r8b, r8b
jmp 0x18001d96e
mov r8b, 1
movss dword [rsp + 0x30], xmm13
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x70]
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.18001b2e0
test bl, bl
je 0x18001d9a1
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 0x18001d9fd
jne 0x18001d9fd
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 0x18001d9f3
movss xmm7, dword [rdi + 0x30]
maxss xmm7, xmm1
jmp 0x18001da00
movaps xmm7, xmm14
maxss xmm7, xmm1
jmp 0x18001da00
movaps xmm7, xmm4
movss xmm5, dword [rdi + 0x44]
ucomiss xmm5, xmm14
jp 0x18001da46
jne 0x18001da46
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 0x18001da3c
movss xmm6, dword [rdi + 0x34]
maxss xmm6, xmm1
jmp 0x18001da49
movaps xmm6, xmm14
maxss xmm6, xmm1
jmp 0x18001da49
movaps xmm6, xmm5
ucomiss xmm4, xmm14
movss xmm8, dword [rdi + 0x48]
movss xmm10, dword [rdi + 0x7c]
movaps xmm1, xmm8
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 xmm9, dword [rdi + 0x4c]
movss xmm11, dword [rdi + 0x80]
movaps xmm1, xmm9
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 xmm6, xmm2
movss dword [rdi + 0x218], xmm3
movss dword [rdi + 0x21c], xmm6
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, xmm8
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, xmm9
addss xmm3, xmm7
movss dword [rdi + 0x244], xmm3
jp 0x18001db54
jne 0x18001db54
movss xmm4, dword [rdi + 0x20]
movaps xmm0, xmm8
addss xmm0, xmm8
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 0x18001db86
jne 0x18001db86
movss xmm5, dword [rdi + 0x24]
movaps xmm0, xmm9
addss xmm0, xmm9
movaps xmm1, xmm7
addss xmm1, dword [rdi + 0x64]
subss xmm5, xmm0
subss xmm5, xmm1
xor esi, esi
addss xmm5, xmm3
cvtps2pd xmm2, xmm8
lea rcx, [rdi + 0x164]
movss dword [rdi + 0x24c], xmm5
movaps xmm0, xmm6
addss xmm0, xmm8
cvtps2pd xmm1, xmm10
subss xmm0, xmm10
movaps xmm10, xmmword [rsp + 0x180]
cvtps2pd xmm3, xmm9
movss dword [rdi + 0x13c], xmm0
mov qword [rdi + 0x140], rsi
cvtps2pd xmm0, xmm12
movaps xmm12, xmmword [rsp + 0x160]
addsd xmm2, xmm0
cvtps2pd xmm0, xmm6
subsd xmm2, xmm1
xorps xmm1, xmm1
addsd xmm2, xmm0
cvtps2pd xmm0, xmm13
movaps xmm13, xmmword [rsp + 0x150]
addsd xmm2, xmm1
addsd xmm3, xmm0
cvtps2pd xmm1, xmm11
movaps xmm11, xmmword [rsp + 0x170]
subsd xmm3, xmm1
cvtpd2ps xmm1, xmm2
cvtps2pd xmm0, xmm7
movss dword [rdi + 0x108], xmm1
addsd xmm3, xmm0
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 xmm0, dword [rdi + 0x10c]
movss xmm1, dword [rdi + 0x108]
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 xmm0, dword [r14 + 0x382c]
cmp byte [rsp + 0x40], sil
je 0x18001dd26
xor eax, eax
mov qword [rcx + 0x12], rax
cvttss2si eax, xmm0
mov word [rcx + 8], ax
call fcn.18004fcd0
xor r11d, r11d
mov qword [rcx + 0x12], r11
mov eax, dword [rcx + 4]
mov dword [rcx], eax
mov dword [rcx + 4], esi
mov qword [rdi + 0x180], rsi
mov ecx, dword [rdi + 0x18c]
test ecx, ecx
jns 0x18001dd6f
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.180029930
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 0x18001dda2
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 0x18001dde4
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.18002a3b0
mov dword [rdi + 0x1c0], esi
mov ecx, dword [rdi + 0x1d4]
test ecx, ecx
jns 0x18001de10
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.18002a3b0
mov dword [rdi + 0x1d0], esi
movzx eax, byte [rdi + 0xc8]
test al, al
jle 0x18001de29
dec al
mov byte [rdi + 0xc8], al
movzx eax, byte [rdi + 0xc9]
test al, al
jle 0x18001de3c
dec al
mov byte [rdi + 0xc9], al
test r15b, r15b
je 0x18001de53
mov rcx, rdi
call fcn.18001e3d0
xor edx, edx
mov rcx, rdi
call fcn.180024450
movss xmm8, dword [rsp + 0x7c]
movss xmm7, dword [rsp + 0x78]
movss xmm6, dword [rsp + 0x74]
movss xmm9, dword [rsp + 0x70]
test r13b, 1
jne 0x18001deac
movss xmm2, dword [rdi + 0x54]
lea rdx, [rbp - 8]
mov r8, qword [rbp - 0x80]
movaps xmm0, xmm2
movaps xmm1, xmm7
movss dword [rbp - 4], xmm6
addss xmm0, xmm9
movss dword [rbp + 4], xmm8
subss xmm1, xmm2
mov rcx, rdi
movss dword [rbp - 8], xmm0
movss dword [rbp], xmm1
call fcn.18001b9d0
mov rdx, qword [0x1800700c0]
mov dword [rdi + 0x250], esi
movss xmm1, dword [rdx + 0x3844]
movss xmm0, dword [rdx + 0x3848]
subss xmm9, xmm1
addss xmm7, xmm1
movss xmm1, dword [rdx + 0xdfc]
addss xmm8, xmm0
subss xmm6, xmm0
comiss xmm1, xmm9
movaps xmm9, xmmword [rsp + 0x190]
jb 0x18001df10
movss xmm0, dword [rdx + 0xe00]
comiss xmm0, xmm6
jb 0x18001df10
comiss xmm7, xmm1
jbe 0x18001df10
comiss xmm8, xmm0
mov r8d, 1
ja 0x18001df13
mov r8d, esi
mov eax, dword [rdi + 0x74]
mov ecx, dword [r14 + 0x4738]
movups xmm0, xmmword [rsp + 0x70]
mov dword [rdx + 0x4754], eax
movaps xmm8, xmmword [rsp + 0x1a0]
movaps xmm7, xmmword [rsp + 0x1b0]
movaps xmm6, xmmword [rsp + 0x1c0]
movups xmmword [rdx + 0x4760], xmm0
mov dword [rdx + 0x4758], ecx
mov dword [rdx + 0x475c], r8d
mov eax, dword [r14 + 0x473c]
test eax, eax
je 0x18001dfe5
cmp dword [rdi + 8], eax
je 0x18001df6e
cmp dword [rdi + 0x74], eax
jne 0x18001dfe5
call fcn.180028e30
jmp 0x18001dfe5
mov rcx, qword [0x1800700c0]
mov qword [rcx + 0x3eb8], rdi
movsxd rax, dword [rdi + 0x1a8]
cmp eax, 0xffffffff
je 0x18001dfa1
imul rdx, rax, 0x238
add rdx, qword [rcx + 0x4b28]
xor esi, esi
jmp 0x18001dfa5
xor esi, esi
mov edx, esi
mov qword [rcx + 0x4b00], rdx
mov rax, qword [rdi + 0x360]
movss xmm0, dword [rdi + 0x288]
mulss xmm0, dword [rcx + 0x3c1c]
test rax, rax
je 0x18001dfd0
mulss xmm0, dword [rax + 0x288]
mov r12, qword [rsp + 0x60]
movss dword [rcx + 0x3c30], xmm0
movss dword [rcx + 0x3c18], xmm0
lea rdx, [rdi + 0x208]
mov r8b, 1
lea rcx, [rdi + 0x200]
call fcn.180017f40
mov eax, dword [rsp + 0x58]
mov r15, qword [rsp + 0x1d0]
mov rbx, qword [rsp + 0x218]
mov byte [rdi + 0xb0], 0
inc word [rdi + 0xba]
mov dword [r14 + 0x4790], esi
mov rsi, qword [rsp + 0x1d8]
cmp eax, dword [rsp + 0x5c]
je 0x18001e195
bt r13d, 0x18
jae 0x18001e102
test r13b, 0x40
jne 0x18001e0c3
cmp byte [rdi + 0xc8], 0
jg 0x18001e0c3
cmp byte [rdi + 0xc9], 0
jg 0x18001e0c3
bt r13d, 0x17
jae 0x18001e08a
cmp byte [r14 + 0x48dc], 0
je 0x18001e08a
mov rcx, qword [r14 + 0x4898]
test rcx, rcx
je 0x18001e08a
mov rax, qword [rdi + 0x388]
cmp qword [rcx + 0x388], rax
jne 0x18001e08a
mov al, 1
jmp 0x18001e08c
xor al, al
cmp byte [r14 + 0x5c30], 0
jne 0x18001e0c3
test al, al
jne 0x18001e0c3
movss xmm0, dword [rdi + 0x1e0]
comiss xmm0, dword [rdi + 0x1e8]
jae 0x18001e0bc
movss xmm0, dword [rdi + 0x1e4]
comiss xmm0, dword [rdi + 0x1ec]
jb 0x18001e0c3
mov byte [rdi + 0xd0], 1
test r12, r12
je 0x18001e102
cmp byte [r12 + 0xb1], 0
jne 0x18001e0de
cmp byte [r12 + 0xd0], 0
jle 0x18001e0e5
mov byte [rdi + 0xd0], 1
cmp byte [r12 + 0xb1], 0
jne 0x18001e0fb
cmp byte [r12 + 0xd1], 0
jle 0x18001e102
mov byte [rdi + 0xd1], 1
comiss xmm14, dword [r14 + 0x37e0]
jb 0x18001e113
mov byte [rdi + 0xd0], 1
cmp byte [rdi + 0xd0], 0
jg 0x18001e133
cmp byte [rdi + 0xd1], 0
jg 0x18001e133
xor cl, cl
cmp byte [rdi + 0xd2], cl
jg 0x18001e135
xor al, al
jmp 0x18001e137
mov cl, 1
mov al, 1
mov byte [rdi + 0xb5], al
movzx eax, byte [rdi + 0xd3]
test al, al
jle 0x18001e157
dec al
mov byte [rdi + 0xd3], al
or dword [rdi + 0xc], 0xc0200
xor al, al
cmp byte [rdi + 0xb1], al
jne 0x18001e16d
cmp byte [rdi + 0xae], al
je 0x18001e16d
test cl, cl
je 0x18001e18f
cmp byte [rdi + 0xc8], al
jg 0x18001e18f
cmp byte [rdi + 0xc9], al
jg 0x18001e18f
cmp byte [rdi + 0xd1], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [rdi + 0xb3], al
cmp byte [rdi + 0xb3], 0
sete al
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.180058950
movaps xmm14, xmmword [rsp + 0x140]
add rsp, 0x1e0
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret