Function at 0x18003fc20
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
lea rbp, [r11 - 0x108]
sub rsp, 0x1f0
mov rax, qword [0x180297040]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rsi, qword [0x1802982c8]
mov r10d, 0xffffffff
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov r14d, r8d
mov qword [r11 - 0x38], r15
movaps xmmword [r11 - 0xb8], xmm13
mov r11, rcx
mov qword [rsp + 0x78], rcx
mov ecx, r10d
movzx r9d, byte [r11]
lea r8, [r11 + 1]
test r9b, r9b
je 0x18003fcbf
lea rbx, [0x180093ec0]
nop dword [rax]
cmp r9b, 0x23
jne 0x18003fca3
cmp byte [r8], r9b
jne 0x18003fca3
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 0x18003fc90
not ecx
call fcn.18003cfa0
test rax, rax
mov qword [rsp + 0x68], rax
mov rdi, rax
sete dl
mov dword [rsp + 0x44], edx
test rax, rax
jne 0x18003fcef
mov edx, r14d
mov rcx, r11
call fcn.18003d340
mov edx, dword [rsp + 0x44]
mov rdi, rax
mov ecx, r14d
and ecx, 0x30200
cmp ecx, 0x30200
jne 0x18003fd04
or r14d, 6
cmp dword [rsi + 0x4008], 0
mov r12d, dword [rsi + 0x3f90]
mov r9d, dword [rdi + 0x270]
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x4c], r9d
jne 0x18003fd32
cmp byte [rsi + 0x3f9d], 0
je 0x18003fd32
mov al, 1
jmp 0x18003fd34
xor al, al
mov byte [rdi + 0xc6], al
lea eax, [r12 - 1]
cmp r9d, eax
setl r8b
mov byte [rsp + 0x41], r8b
bt r14d, 0x1a
jae 0x18003fd80
movsxd rax, dword [rsi + 0x4ad0]
imul rax, rax, 0x38
add rax, qword [rsi + 0x4ac8]
cmp rdi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rdi + 0xd8], eax
setne al
or cl, al
or r8b, cl
mov byte [rsp + 0x41], r8b
mov byte [rdi + 0xc4], r8b
test r8b, r8b
je 0x18003fda1
or byte [rdi + 0xe8], 8
or byte [rdi + 0xe9], 8
or byte [rdi + 0xea], 8
xor ebx, ebx
cmp r9d, r12d
je 0x18003fe0d
mov r8d, r14d
mov rcx, rdi
call fcn.18003d020
mov dword [rdi + 0x14], r14d
test dword [rsi + 0x49e8], 0x100
je 0x18003fdcb
mov eax, dword [rsi + 0x4a20]
jmp 0x18003fdcd
mov eax, ebx
mov r9d, dword [rsp + 0x4c]
mov dword [rdi + 0x18], eax
mov dword [rdi + 0x270], r12d
movsd xmm0, qword [rsi + 0x3f88]
mov word [rdi + 0xd0], bx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x274], xmm0
movzx eax, word [rsi + 0x4028]
inc dword [rsi + 0x4028]
mov word [rdi + 0xd2], ax
jmp 0x18003fe11
mov r14d, dword [rdi + 0x14]
movsxd rax, dword [rsi + 0x4008]
test eax, eax
jne 0x18003fe21
mov r15, rbx
jmp 0x18003fe31
imul rcx, rax, 0x58
mov rax, qword [rsi + 0x4010]
mov r15, qword [rcx + rax - 0x58]
cmp r9d, r12d
je 0x18003fe46
test r14d, 0x5000000
mov r13, rbx
cmovne r13, r15
jmp 0x18003fe4d
mov r13, qword [rdi + 0x378]
lea rbx, [rdi + 0x100]
mov qword [rsp + 0x70], r13
cmp dword [rbx], 0
mov edx, 8
jne 0x18003fe85
cmp dword [rbx + 4], 0
jne 0x18003fe71
mov rcx, rbx
call fcn.18004edd0
movsxd rdx, dword [rbx]
mov eax, dword [rdi + 0x10]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
mov edx, 8
inc dword [rbx]
mov eax, dword [rsi + 0x49e0]
xorps xmm0, xmm0
movups xmm1, xmmword [rsi + 0x49b8]
mov dword [rbp - 0x30], eax
movups xmmword [rbp - 0x2c], xmm0
mov qword [rsi + 0x4038], rdi
movzx eax, word [rbx]
lea rbx, [rsi + 0x4008]
movups xmm0, xmmword [rsi + 0x49a8]
mov r8d, dword [rbx + 4]
mov ecx, dword [rbx]
mov word [rbp - 0x2c], ax
movzx eax, word [rsi + 0x4a60]
mov word [rbp - 0x2a], ax
movzx eax, word [rsi + 0x4a70]
mov word [rbp - 0x28], ax
movzx eax, word [rsi + 0x4a80]
mov word [rbp - 0x26], ax
movzx eax, word [rsi + 0x4a90]
mov word [rbp - 0x24], ax
movzx eax, word [rsi + 0x4ab0]
mov word [rbp - 0x22], ax
movzx eax, word [rsi + 0x4aa0]
mov word [rbp - 0x20], ax
movzx eax, word [rsi + 0x4ad0]
mov word [rbp - 0x1e], ax
movzx eax, word [rsi + 0x5e64]
mov word [rbp - 0x1c], ax
mov qword [rbp - 0x70], rdi
movups xmmword [rbp - 0x68], xmm0
movups xmm0, xmmword [rsi + 0x49c8]
movups xmmword [rbp - 0x58], xmm1
movsd xmm1, qword [rsi + 0x49d8]
movsd qword [rbp - 0x38], xmm1
movups xmmword [rbp - 0x48], xmm0
cmp ecx, r8d
jne 0x18003ff64
inc ecx
test r8d, r8d
je 0x18003ff53
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18003ff55
mov eax, edx
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.18004ea40
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 r14d, 0x1c
jae 0x18003ffb5
inc dword [rsi + 0x4af0]
cmp dword [rsp + 0x4c], r12d
je 0x180040071
mov qword [rdi + 0x378], r13
mov qword [rdi + 0x3a0], rdi
mov qword [rdi + 0x398], rdi
mov qword [rdi + 0x390], rdi
mov qword [rdi + 0x388], rdi
test r13, r13
je 0x180040038
mov eax, r14d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x180040005
mov rax, qword [r13 + 0x388]
mov qword [rdi + 0x388], rax
bt r14d, 0x1a
jae 0x18004001a
mov rax, qword [r13 + 0x390]
mov qword [rdi + 0x390], rax
bt r14d, 0x1b
jb 0x180040038
test r14d, 0x5000000
je 0x180040038
mov rax, qword [r13 + 0x398]
mov qword [rdi + 0x398], rax
test dword [rdi + 0x14], 0x800000
je 0x18004006a
mov rcx, rdi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx + 0x378]
mov qword [rdi + 0x3a0], rax
mov rcx, rax
test dword [rax + 0x14], 0x800000
jne 0x180040050
mov qword [rdi + 0x380], r15
mov r13, qword [0x1802982c8]
mov r12d, dword [rdi + 0x10]
lea rbx, [r13 + 0x4a90]
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x1800400b7
inc r8d
test ecx, ecx
je 0x1800400a0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800400a5
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18004edd0
movsxd rcx, dword [rbx]
xor r11d, r11d
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], r12d
inc dword [rbx]
mov dword [r13 + 0x497c], r12d
mov eax, dword [rsi + 0x497c]
mov dword [rdi + 0x3e8], eax
mov qword [rsi + 0x4038], r11
bt r14d, 0x1a
jae 0x180040122
movsxd rax, dword [rsi + 0x4ad0]
lea rcx, [rsi + 0x4ad0]
imul rbx, rax, 0x38
add rbx, qword [rsi + 0x4ac8]
mov rdx, rbx
mov qword [rbx + 8], rdi
mov eax, dword [r15 + 0x168]
mov dword [rbx + 0x18], eax
call fcn.18004de40
mov eax, dword [rbx]
xor r11d, r11d
mov dword [rdi + 0xd8], eax
xor r13b, r13b
mov byte [rsp + 0x40], 0
xor r12b, r12b
mov byte [rsp + 0x42], r13b
test byte [rsi + 0x49e8], 1
je 0x1800401c9
movsx ecx, byte [rdi + 0xe8]
mov r8d, dword [rsi + 0x49ec]
test r8d, ecx
setne byte [rsp + 0x40]
test r8d, ecx
je 0x1800401ba
movss xmm0, dword [rsi + 0x4a04]
movss xmm1, dword [rsi + 0x4a00]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x180288de8]
jbe 0x1800401ba
movsd xmm0, qword [rsi + 0x49f8]
and ecx, 0xf1
mov eax, dword [rdi + 0xe8]
and eax, 0xffffff00
movsd qword [rdi + 0xec], xmm0
movsd xmm1, qword [rsi + 0x4a00]
or ecx, eax
mov dword [rdi + 0xe8], ecx
movsd qword [rdi + 0xf4], xmm1
jmp 0x1800401c9
lea rdx, [rsi + 0x49f8]
mov rcx, rdi
call fcn.180042930
test byte [rsi + 0x49e8], 2
xorps xmm13, xmm13
je 0x18004025a
movsx ecx, byte [rdi + 0xe9]
mov eax, ecx
and eax, dword [rsi + 0x49f0]
je 0x1800401fe
movss xmm0, dword [rsi + 0x4a08]
comiss xmm0, xmm13
jbe 0x1800401fe
mov r12b, 1
jmp 0x180040202
test eax, eax
je 0x180040213
movss xmm0, dword [rsi + 0x4a0c]
comiss xmm0, xmm13
jbe 0x180040213
mov r13b, 1
test byte [rdi + 0x18], 4
mov byte [rsp + 0x42], r13b
je 0x18004022c
test cl, 4
jne 0x18004022c
mov eax, dword [rdi + 0x38]
mov dword [rsi + 0x4a08], eax
test byte [rdi + 0x18], 8
je 0x180040244
test byte [rdi + 0xe9], 4
jne 0x180040244
mov eax, dword [rdi + 0x3c]
mov dword [rsi + 0x4a0c], eax
mov r8d, dword [rsi + 0x49f0]
lea rdx, [rsi + 0x4a08]
mov rcx, rdi
call fcn.180042aa0
test byte [rsi + 0x49e8], 0x80
je 0x18004029d
movss xmm0, dword [rsi + 0x4a18]
comiss xmm0, xmm13
jb 0x180040280
movss dword [rdi + 0x9c], xmm0
mov dword [rdi + 0xa4], r11d
movss xmm0, dword [rsi + 0x4a1c]
comiss xmm0, xmm13
jb 0x18004029d
movss dword [rdi + 0xa0], xmm0
mov dword [rdi + 0xa8], r11d
test byte [rsi + 0x49e8], 4
mov ebx, dword [rsp + 0x60]
mov r15d, dword [rsp + 0x4c]
je 0x1800402be
movsd xmm0, qword [rsi + 0x4a10]
movsd qword [rdi + 0x50], xmm0
jmp 0x1800402cb
cmp r15d, ebx
je 0x1800402cb
mov qword [rdi + 0x50], 0
test byte [rsi + 0x49e8], 8
je 0x180040319
mov ecx, dword [rsi + 0x49f4]
movzx edx, byte [rsi + 0x4a24]
test ecx, ecx
je 0x1800402f0
movsx eax, byte [rdi + 0xea]
test ecx, eax
je 0x180040319
movzx ecx, byte [rdi + 0xea]
mov eax, dword [rdi + 0xe8]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [rdi + 0xc1], dl
mov dword [rdi + 0xe8], ecx
test byte [rsi + 0x49e8], 0x20
je 0x18004032c
xor edx, edx
mov rcx, rdi
call fcn.1800421f0
cmp byte [rdi + 0xc4], 0
je 0x18004034a
and byte [rdi + 0xe8], 0xf7
and byte [rdi + 0xe9], 0xf7
and byte [rdi + 0xea], 0xf7
mov r8d, 1
cmp r15d, ebx
je 0x180041c40
movaps xmmword [rsp + 0x1c0], xmm6
mov eax, r14d
movaps xmmword [rsp + 0x1b0], xmm7
and eax, 0x3000000
movaps xmmword [rsp + 0x1a0], xmm8
movaps xmmword [rsp + 0x190], xmm9
movaps xmmword [rsp + 0x180], xmm10
movaps xmmword [rsp + 0x170], xmm11
movaps xmmword [rsp + 0x160], xmm12
mov byte [rdi + 0xbe], r8b
mov byte [rdi + 0xc8], 0
movaps xmmword [rsp + 0x140], xmm14
mov dword [rsp + 0x48], eax
movzx eax, byte [rdi + 0xe5]
mov dword [rdi + 0x248], 0xff7fffff
mov dword [rdi + 0x24c], 0xff7fffff
mov dword [rdi + 0x250], 0x7f7fffff
mov dword [rdi + 0x254], 0x7f7fffff
mov ecx, dword [rdi + 0x104]
mov byte [rsp + 0x43], al
cmp ecx, r8d
jge 0x180040426
test ecx, ecx
je 0x180040406
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004040b
mov eax, 8
cmp eax, r8d
lea rcx, [rdi + 0x100]
mov edx, r8d
cmovg edx, eax
call fcn.18004edd0
mov r8d, 1
mov dword [rdi + 0x100], r8d
mov rcx, qword [rdi + 0x2a8]
call fcn.180057230
cmp byte [rdi + 0x3f4], 0
mov dword [rdi + 0x1c0], 0xffffffff
je 0x180040489
mov rcx, qword [rdi + 0x2a8]
mov edx, dword [rdi + 0x3ec]
add rcx, 0x10
mov byte [rdi + 0x3f4], 0
call fcn.18004e7d0
mov rcx, qword [rdi + 0x2a8]
mov edx, dword [rdi + 0x3f0]
add rcx, 0x20
call fcn.18004e480
xor r11d, r11d
mov qword [rdi + 0x3ec], r11
cmp qword [rsi + 0x4cf8], 0
mov r9, qword [rsp + 0x68]
je 0x1800405b4
test dword [rdi + 0x14], 0x20000
jne 0x1800405b4
test r9, r9
je 0x1800405b4
mov r10, qword [rsp + 0x78]
mov r9, qword [rdi + 8]
mov rax, r10
mov r8, r9
sub r8, r10
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800404d7
inc rax
test ecx, ecx
jne 0x1800404c4
test edx, edx
je 0x1800405af
movsxd r15, dword [rdi + 0x80]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [r10 + rbx], 0
jne 0x1800404f0
inc rbx
cmp r15, rbx
jae 0x180040596
test r9, r9
je 0x18004057a
mov r8, qword [0x1802982c8]
test r8, r8
je 0x18004057a
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r10d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x18004056f
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], 0
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call fcn.180038df0
mov r10, qword [rsp + 0x78]
mov r9, rax
mov r15, rbx
mov r8, rbx
mov rdx, r10
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi + 8], rax
mov dword [rdi + 0x80], r15d
mov r9, qword [rsp + 0x68]
lea r8, [rdi + 0x48]
mov rcx, rdi
lea rdx, [rdi + 0x40]
call fcn.18003d840
movzx eax, byte [rdi + 0xe4]
test al, al
jle 0x1800405d7
dec al
mov byte [rdi + 0xe4], al
movzx eax, byte [rdi + 0xe5]
test al, al
jle 0x1800405ea
dec al
mov byte [rdi + 0xe5], al
movzx eax, byte [rdi + 0xe6]
test al, al
jle 0x1800405fd
dec al
mov byte [rdi + 0xe6], al
test r9, r9
jne 0x180040613
test r12b, r12b
je 0x18004060c
test r13b, r13b
jne 0x180040613
mov byte [rdi + 0xe5], 1
xor r9d, r9d
cmp byte [rsp + 0x41], r9b
je 0x18004065d
test r14d, 0x6000000
je 0x18004065d
mov byte [rdi + 0xe5], 1
test r14b, 0x40
je 0x18004065d
test r12b, r12b
jne 0x180040640
mov dword [rdi + 0x38], r9d
mov dword [rdi + 0x30], r9d
test r13b, r13b
jne 0x18004064d
mov dword [rdi + 0x3c], r9d
mov dword [rdi + 0x34], r9d
mov qword [rdi + 0x48], 0
mov qword [rdi + 0x40], 0
mov rdx, qword [0x1802982c8]
mov rax, qword [rdx + 0x4b00]
mov r15, qword [rax]
mov qword [rdi + 0x20], r15
mov qword [rdx + 0x4038], rdi
movsxd rax, dword [rdi + 0x1c0]
cmp eax, 0xffffffff
je 0x180040695
imul rcx, rax, 0x250
add rcx, qword [rdx + 0x4e00]
jmp 0x180040698
mov rcx, r9
mov qword [rdx + 0x4dd8], rcx
mov rax, qword [rdi]
movss xmm0, dword [rax + 0x3d64]
mov rax, qword [rdi + 0x378]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x1800406c6
mulss xmm0, dword [rax + 0x2a0]
movss dword [rdx + 0x3d78], xmm0
movss dword [rdx + 0x3d60], xmm0
test rcx, rcx
jne 0x1800406e8
cmp qword [rdi + 0x1b8], rcx
jne 0x1800406e8
mov al, 1
jmp 0x1800406ea
xor al, al
mov byte [rdi + 0x170], al
bt r14d, 0x18
jae 0x180040701
movss xmm1, dword [rsi + 0x3920]
jmp 0x180040723
test r14d, 0x6000000
je 0x18004071b
bt r14d, 0x1b
jb 0x18004071b
movss xmm1, dword [rsi + 0x3928]
jmp 0x180040723
movss xmm1, dword [rsi + 0x3904]
movss dword [rdi + 0x64], xmm1
mov eax, r14d
movsd xmm0, qword [rsi + 0x38f8]
and eax, 0x5000000
movsd qword [rdi + 0x58], xmm0
cmp eax, 0x1000000
jne 0x180040770
test byte [rdi + 0x18], 2
jne 0x180040770
ucomiss xmm1, xmm13
jp 0x180040770
jne 0x180040770
bt r14d, 0xa
jae 0x180040763
movss xmm0, dword [rsi + 0x38fc]
jmp 0x180040767
movaps xmm0, xmm13
movss dword [rdi + 0x5c], xmm0
mov dword [rdi + 0x58], r9d
movss xmm0, dword [rdi + 0x58]
maxss xmm0, dword [rsi + 0x393c]
maxss xmm0, dword [rsi + 0x4a4c]
movss dword [rdi + 0x174], xmm0
mov eax, dword [rsi + 0x4a50]
mov dword [rdi + 0x178], eax
mov eax, dword [rsp + 0x44]
movzx r13d, al
test r14b, 0x21
jne 0x1800408e8
test byte [rdi + 0x14], 1
mov rcx, qword [rdi]
je 0x1800407ba
movaps xmm0, xmm13
jmp 0x1800407ee
mov rax, qword [rdi + 0x378]
movss xmm1, dword [rcx + 0x3d64]
mulss xmm1, dword [rdi + 0x2a0]
test rax, rax
je 0x1800407de
mulss xmm1, dword [rax + 0x2a0]
movss xmm0, dword [rcx + 0x3930]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm1, dword [rdi + 0x28]
movaps xmm3, xmm1
movss xmm2, dword [rdi + 0x2c]
addss xmm3, dword [rdi + 0x38]
addss xmm0, dword [rdi + 0x2c]
cmp qword [rsi + 0x4040], rdi
jne 0x1800408a4
cmp dword [rsi + 0x4088], 0
jne 0x1800408a4
cmp dword [rsi + 0x408c], 0
jne 0x1800408a4
mov rax, qword [rdx + 0x4038]
movss xmm4, dword [rdx + 0x3954]
movss xmm6, dword [rdx + 0xe48]
maxss xmm1, dword [rax + 0x248]
maxss xmm2, dword [rax + 0x24c]
minss xmm3, dword [rax + 0x250]
minss xmm0, dword [rax + 0x254]
subss xmm1, xmm4
comiss xmm6, xmm1
jb 0x1800408a4
movss xmm1, dword [rdx + 0x3958]
movss xmm5, dword [rdx + 0xe4c]
subss xmm2, xmm1
comiss xmm5, xmm2
jb 0x1800408a4
addss xmm4, xmm3
comiss xmm4, xmm6
jbe 0x1800408a4
addss xmm1, xmm0
comiss xmm1, xmm5
jbe 0x1800408a4
cmp word [rsi + 0x3872], 2
jne 0x1800408a4
mov byte [rdi + 0xc2], 1
cmp byte [rdi + 0xc2], 0
je 0x1800408ef
movzx ecx, byte [rdi + 0xc1]
mov ebx, 1
test cl, cl
sete al
test cl, cl
mov byte [rdi + 0xc1], al
cmovne r13d, ebx
test dword [rdi + 0x14], 0x100
jne 0x1800408ef
comiss xmm13, dword [rdx + 0x5f1c]
jb 0x1800408ef
mov eax, dword [rdx + 0x1c]
mov dword [rdx + 0x5f1c], eax
jmp 0x1800408ef
mov byte [rdi + 0xc1], 0
mov rcx, qword [rdi]
mov r8d, dword [rdi + 0x14]
movss xmm10, dword [rdi + 0xb4]
movss xmm11, dword [rdi + 0xb8]
mov byte [rdi + 0xc2], 0
lea rax, [rcx + 0x3d64]
mov dword [rdi + 0x68], r9d
mov dword [rdi + 0x70], r9d
test r8b, 1
je 0x18004092a
movaps xmm2, xmm13
jmp 0x18004095a
mov rdx, qword [rdi + 0x378]
movss xmm0, dword [rdi + 0x2a0]
mulss xmm0, dword [rax]
test rdx, rdx
je 0x18004094a
mulss xmm0, dword [rdx + 0x2a0]
movss xmm2, dword [rcx + 0x3930]
addss xmm2, xmm2
addss xmm2, xmm0
bt r8d, 0xa
jae 0x18004099b
movss xmm1, dword [rdi + 0x2a0]
mulss xmm1, dword [rax]
mov rax, qword [rdi + 0x378]
test rax, rax
je 0x180040981
mulss xmm1, dword [rax + 0x2a0]
movss xmm0, dword [rcx + 0x3930]
addss xmm1, dword [rdi + 0x178]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x18004099f
movaps xmm1, xmm13
addss xmm1, xmm2
mov dword [rdi + 0x74], r9d
lea r8, [rdi + 0x48]
mov qword [rdi + 0xb4], 0
mov rdx, rdi
lea rcx, [rbp - 0x10]
movss dword [rdi + 0x6c], xmm1
call fcn.18003d950
test r14b, 0x40
je 0x180040a08
cmp byte [rdi + 0xc1], 0
jne 0x180040a08
test r12b, r12b
jne 0x1800409eb
movss xmm0, dword [rbp - 0x10]
mov al, 1
movss dword [rdi + 0x38], xmm0
mov dword [rsp + 0x44], eax
cmp byte [rsp + 0x42], 0
jne 0x180040aac
movss xmm0, dword [rbp - 0xc]
mov r13b, 1
movss dword [rdi + 0x3c], xmm0
jmp 0x180040aac
movzx eax, byte [rdi + 0xdc]
test al, al
jg 0x180040a20
cmp byte [rdi + 0xdd], 0
jle 0x180040aac
test r12b, r12b
jne 0x180040a4e
test al, al
jle 0x180040a4e
cmp byte [rdi + 0xde], r12b
je 0x180040a3e
movss xmm0, dword [rdi + 0x38]
maxss xmm0, dword [rbp - 0x10]
jmp 0x180040a43
movss xmm0, dword [rbp - 0x10]
mov al, 1
movss dword [rdi + 0x38], xmm0
mov dword [rsp + 0x44], eax
cmp byte [rsp + 0x42], 0
jne 0x180040a80
cmp byte [rdi + 0xdd], 0
jle 0x180040a80
cmp byte [rdi + 0xde], 0
je 0x180040a73
movss xmm0, dword [rdi + 0x3c]
maxss xmm0, dword [rbp - 0xc]
jmp 0x180040a78
movss xmm0, dword [rbp - 0xc]
movss dword [rdi + 0x3c], xmm0
mov r13b, 1
cmp byte [rdi + 0xc1], 0
jne 0x180040aac
test dword [rdi + 0x14], 0x100
mov rcx, qword [0x1802982c8]
jne 0x180040aac
comiss xmm13, dword [rcx + 0x5f1c]
jb 0x180040aac
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x5f1c], eax
lea r8, [rdi + 0x38]
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.18003d6e0
cmp byte [rdi + 0xc1], 0
movss xmm2, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x38], xmm2
movss dword [rdi + 0x3c], xmm1
je 0x180040b38
bt r14d, 0x18
jb 0x180040b38
test byte [rdi + 0x14], 1
mov rcx, qword [rdi]
je 0x180040aee
movaps xmm1, xmm13
jmp 0x180040b22
mov rax, qword [rdi + 0x378]
movss xmm0, dword [rcx + 0x3d64]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x180040b12
mulss xmm0, dword [rax + 0x2a0]
movss xmm1, dword [rcx + 0x3930]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [rdi + 0x28]
addss xmm1, dword [rdi + 0x2c]
subss xmm2, dword [rdi + 0x28]
subss xmm1, dword [rdi + 0x2c]
jmp 0x180040b51
movaps xmm0, xmm2
unpcklps xmm0, xmm1
movaps xmm1, xmm0
movsd qword [rsp + 0x50], xmm0
movss xmm2, dword [rsp + 0x50]
shufps xmm1, xmm1, 0x55
cmp byte [rsp + 0x41], 0
movss dword [rdi + 0x30], xmm2
movss dword [rdi + 0x34], xmm1
je 0x180040baa
mov eax, r14d
mov dword [rdi + 0xe0], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180040baa
cmp byte [rsp + 0x40], 0
jne 0x180040baa
movsxd rax, dword [rsi + 0x4ad0]
imul rcx, rax, 0x38
mov rax, qword [rsi + 0x4ad8]
movss xmm0, dword [rcx + rax - 0x14]
movss xmm1, dword [rcx + rax - 0x10]
movss dword [rdi + 0x28], xmm0
movss dword [rdi + 0x2c], xmm1
bt r14d, 0x18
jae 0x180040c39
mov r12, qword [rsp + 0x70]
lea rbx, [r12 + 0x1a0]
movzx eax, word [rbx]
mov word [rdi + 0xd0], ax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x180040c00
inc r8d
test ecx, ecx
je 0x180040be9
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180040bee
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18004e270
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
movzx ebx, byte [rsp + 0x40]
mov eax, dword [rsp + 0x48]
bt r14d, 0x1a
jb 0x180040c42
test bl, bl
jne 0x180040c42
cmp eax, 0x3000000
je 0x180040c42
movsd xmm0, qword [r12 + 0x110]
movsd qword [rdi + 0x28], xmm0
jmp 0x180040c42
movzx ebx, byte [rsp + 0x40]
mov eax, dword [rsp + 0x48]
movss xmm1, dword [rdi + 0xec]
ucomiss xmm1, dword [0x180288fec]
jp 0x180040c55
je 0x180040ca6
cmp byte [rdi + 0xe5], 0
jne 0x180040ca6
movss xmm0, dword [rdi + 0x30]
lea rdx, [rsp + 0x50]
mulss xmm0, dword [rdi + 0xf4]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xf0]
movss dword [rsp + 0x50], xmm1
movss xmm1, dword [rdi + 0xf8]
mulss xmm1, dword [rdi + 0x34]
subss xmm0, xmm1
movss dword [rsp + 0x54], xmm0
call fcn.180042930
jmp 0x180040cf0
bt r14d, 0x1c
jb 0x180040cd0
bt r14d, 0x1a
jae 0x180040cbe
test bl, bl
jne 0x180040cbe
cmp byte [rsp + 0x43], bl
jg 0x180040cd0
bt r14d, 0x19
jae 0x180040cf0
test bl, bl
jne 0x180040cf0
cmp eax, 0x3000000
je 0x180040cf0
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.180047450
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x28], xmm0
movss dword [rdi + 0x2c], xmm1
movss xmm0, dword [r15 + 0x14]
movss xmm1, dword [r15 + 0x18]
movaps xmm7, xmm0
movss xmm8, dword [r15 + 4]
movaps xmm6, xmm1
movss xmm9, dword [r15 + 8]
movaps xmm5, xmm8
movss xmm3, dword [rsi + 0x39b8]
movaps xmm4, xmm9
movss xmm2, dword [rsi + 0x39b4]
movss dword [rbp - 8], xmm8
movss dword [rbp - 4], xmm9
addss xmm7, dword [r15 + 0x1c]
addss xmm6, dword [r15 + 0x20]
addss xmm5, dword [r15 + 0xc]
addss xmm4, dword [r15 + 0x10]
maxss xmm3, dword [rsi + 0x39c0]
maxss xmm2, dword [rsi + 0x39bc]
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 bl, bl
jne 0x180040e3c
bt r14d, 0x18
jb 0x180040e3c
subss xmm5, xmm8
comiss xmm5, xmm13
jbe 0x180040e3c
subss xmm4, xmm9
comiss xmm4, xmm13
jbe 0x180040e3c
mov rax, qword [0x1802982c8]
movss xmm0, dword [rdi + 0x34]
cmp byte [rax + 0x5f], bl
je 0x180040e07
test byte [rdi + 0x14], 1
jne 0x180040e07
mov rcx, qword [rdi]
mov rax, qword [rdi + 0x378]
movss xmm1, dword [rcx + 0x3d64]
mulss xmm1, dword [rdi + 0x2a0]
test rax, rax
je 0x180040df7
mulss xmm1, dword [rax + 0x2a0]
movss xmm0, dword [rcx + 0x3930]
addss xmm0, xmm0
addss xmm0, xmm1
subss xmm2, dword [rdi + 0x30]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x2c]
comiss xmm3, xmm0
ja 0x180040e21
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [rdi + 0x28]
comiss xmm2, xmm0
ja 0x180040e32
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [rdi + 0x28], xmm2
movss dword [rdi + 0x2c], xmm3
cvttss2si eax, dword [rdi + 0x28]
movd xmm1, eax
cvttss2si eax, dword [rdi + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rdi + 0x28], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x2c], xmm0
bt r14d, 0x18
jae 0x180040e6f
movss xmm2, dword [rsi + 0x391c]
jmp 0x180040e90
mov eax, r14d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180040e88
movss xmm2, dword [rsi + 0x3924]
jmp 0x180040e90
movss xmm2, dword [rsi + 0x3900]
xor r12b, r12b
movss dword [rdi + 0x60], xmm2
cmp byte [rsp + 0x41], r12b
je 0x180040ec9
bt r14d, 0xc
jb 0x180040ec9
mov ebx, 1
bt r14d, 0x1a
jae 0x180040eb8
movzx r12d, bl
jmp 0x180040ece
test r14d, 0x3000000
movzx r12d, r12b
cmove r12d, ebx
jmp 0x180040ece
mov ebx, 1
xor r15d, r15d
mov dword [rbp + 8], 0xffffffff
test dword [rdi + 0x14], 0x1000000
xorps xmm0, xmm0
mov dword [rbp + 0xc], 0xffffffff
movups xmmword [rbp + 0x20], xmm0
jne 0x180040efa
cmp byte [rsi + 0x5e], r15b
setne r15b
inc r15d
cmp byte [rdi + 0xc1], 0
movss xmm0, dword [rsi + 0x3d60]
addss xmm2, dword [0x180288e80]
movaps xmm1, xmm0
mulss xmm0, dword [0x180288e28]
mulss xmm1, dword [0x180288e84]
addss xmm2, xmm0
maxss xmm1, xmm2
cvttss2si eax, xmm1
movd xmm14, eax
cvtdq2ps xmm14, xmm14
jne 0x180040f82
lea rax, [rbp + 0x10]
mov rcx, rdi
mov qword [rsp + 0x30], rax
lea r9, [rbp + 0xc]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea r8, [rbp + 8]
lea rdx, [rbp - 0x10]
mov dword [rsp + 0x20], r15d
call fcn.18003dcd0
mov ecx, dword [rsp + 0x44]
test eax, eax
je 0x180040f86
test al, 1
movzx ecx, cl
movzx r13d, r13b
cmovne ecx, ebx
test al, 2
cmovne r13d, ebx
jmp 0x180040f86
mov ecx, dword [rsp + 0x44]
cmp byte [rdi + 0xc1], 0
movzx eax, byte [rbp + 8]
mov byte [rdi + 0xc9], al
movzx eax, byte [rbp + 0xc]
mov byte [rdi + 0xca], al
jne 0x1800410ce
cmp qword [rsp + 0x68], 0
movss xmm0, dword [rdi + 0x74]
movss xmm2, dword [rdi + 0x210]
movss xmm3, dword [rdi + 0x214]
addss xmm0, dword [rdi + 0x6c]
subss xmm2, dword [rdi + 0x208]
subss xmm3, dword [rdi + 0x20c]
movss xmm4, dword [rdi + 0x3c]
movss xmm5, dword [rdi + 0x38]
subss xmm4, xmm0
addss xmm2, xmm10
addss xmm3, xmm11
jne 0x180040ffb
movaps xmm1, xmm13
movaps xmm0, xmm13
jmp 0x180041017
movss xmm1, dword [rdi + 0x58]
movss xmm0, dword [rdi + 0x5c]
addss xmm1, xmm1
addss xmm0, xmm0
addss xmm1, dword [rdi + 0x40]
addss xmm0, dword [rdi + 0x44]
test cl, cl
jne 0x18004101e
movaps xmm5, xmm2
test r13b, r13b
jne 0x180041026
movaps xmm4, xmm3
bt r14d, 0xe
jb 0x18004103c
comiss xmm0, xmm4
jbe 0x180041038
test r14b, 8
je 0x18004103c
xor cl, cl
jmp 0x18004103e
mov cl, 1
mov byte [rdi + 0xbd], cl
bt r14d, 0xf
jb 0x180041082
test cl, cl
je 0x180041059
movss xmm2, dword [rsi + 0x3964]
jmp 0x18004105d
movaps xmm2, xmm13
subss xmm5, xmm2
comiss xmm1, xmm5
jbe 0x180041075
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
je 0x180041082
mov byte [rdi + 0xbc], 0
movaps xmm1, xmm13
jmp 0x1800410ac
mov byte [rdi + 0xbc], 1
test cl, cl
jne 0x1800410a4
comiss xmm0, xmm4
jbe 0x18004109c
test r14b, 8
jne 0x18004109c
mov cl, 1
jmp 0x18004109e
xor cl, cl
mov byte [rdi + 0xbd], cl
movss xmm1, dword [rsi + 0x3964]
test cl, cl
je 0x1800410ba
movss xmm0, dword [rsi + 0x3964]
jmp 0x1800410be
movaps xmm0, xmm13
movss dword [rdi + 0xb4], xmm0
movss dword [rdi + 0xb8], xmm1
mov eax, r14d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1800410f5
cmp dword [rsp + 0x48], 0x3000000
je 0x1800410f5
mov r13, qword [rsp + 0x70]
lea rax, [r13 + 0x248]
jmp 0x1800410fe
mov r13, qword [rsp + 0x70]
lea rax, [rbp - 8]
test byte [rdi + 0x14], 1
movups xmm4, xmmword [rax]
mov rcx, qword [rdi]
movss xmm7, dword [rdi + 0x28]
movss xmm6, dword [rdi + 0x2c]
movaps xmm3, xmm7
addss xmm3, dword [rdi + 0x30]
movaps xmm5, xmm6
addss xmm5, dword [rdi + 0x34]
movups xmmword [rbp - 8], xmm4
je 0x18004112e
movaps xmm2, xmm13
jmp 0x180041162
mov rax, qword [rdi + 0x378]
movss xmm0, dword [rcx + 0x3d64]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x180041152
mulss xmm0, dword [rax + 0x2a0]
movss xmm2, dword [rcx + 0x3930]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [rdi + 0x2c]
addss xmm2, xmm6
movss dword [rsp + 0x54], xmm0
movaps xmm1, xmm7
addss xmm1, dword [rdi + 0x38]
movss dword [rsp + 0x50], xmm7
mov eax, r14d
and eax, 0x401
movss dword [rsp + 0x5c], xmm2
movss dword [rsp + 0x58], xmm1
movss dword [rdi + 0x1f8], xmm7
movaps xmm7, xmm4
movss dword [rdi + 0x1fc], xmm6
movss dword [rdi + 0x200], xmm3
movss dword [rdi + 0x204], xmm5
movaps xmm5, xmm4
movss xmm0, dword [rdi + 0x1f8]
shufps xmm5, xmm4, 0x55
maxss xmm0, xmm4
shufps xmm7, xmm4, 0xaa
maxss xmm6, xmm5
movss dword [rdi + 0x1f8], xmm0
movss dword [rdi + 0x1fc], xmm6
movaps xmm6, xmm4
movss xmm1, dword [rdi + 0x200]
movss xmm0, dword [rdi + 0x204]
minss xmm1, xmm7
shufps xmm6, xmm4, 0xff
minss xmm0, xmm6
movss dword [rdi + 0x200], xmm1
movss dword [rdi + 0x204], xmm0
movss xmm9, dword [rdi + 0x28]
movss xmm10, dword [rdi + 0x2c]
movaps xmm8, xmm9
movaps xmm12, xmm10
addss xmm9, dword [rdi + 0x30]
addss xmm10, dword [rdi + 0x34]
addss xmm8, dword [rdi + 0x68]
addss xmm12, dword [rdi + 0x6c]
subss xmm9, dword [rdi + 0x70]
subss xmm10, dword [rdi + 0x74]
movss dword [rdi + 0x208], xmm8
movss dword [rdi + 0x20c], xmm12
movss dword [rdi + 0x210], xmm9
movss dword [rdi + 0x214], xmm10
cmp eax, 1
jne 0x180041279
movss xmm11, dword [rdi + 0x64]
jmp 0x180041282
movss xmm11, dword [rsi + 0x3938]
movss xmm2, dword [0x180288e48]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x58]
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 + 0x64]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x64]
addss xmm8, xmm1
subss xmm9, xmm1
cvttss2si eax, xmm8
xorps xmm8, xmm8
cvtsi2ss xmm8, eax
cvttss2si eax, xmm12
movss dword [rdi + 0x218], xmm8
cvtsi2ss xmm0, eax
cvttss2si eax, xmm9
movss dword [rdi + 0x21c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm10
movss dword [rdi + 0x220], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x224], xmm0
movss xmm0, dword [rdi + 0x21c]
comiss xmm5, xmm0
jbe 0x180041331
movaps xmm1, xmm5
jmp 0x180041338
movaps xmm1, xmm6
minss xmm1, xmm0
comiss xmm4, xmm8
jbe 0x180041343
movaps xmm0, xmm4
jmp 0x18004134b
movaps xmm0, xmm7
minss xmm0, xmm8
movss dword [rdi + 0x218], xmm0
movss dword [rdi + 0x21c], xmm1
movss xmm0, dword [rdi + 0x224]
comiss xmm5, xmm0
ja 0x18004136f
minss xmm6, xmm0
movaps xmm5, xmm6
movss xmm0, dword [rdi + 0x220]
comiss xmm4, xmm0
ja 0x180041383
minss xmm7, xmm0
movaps xmm4, xmm7
movss dword [rdi + 0x220], xmm4
movss dword [rdi + 0x224], xmm5
movss xmm0, dword [rdi + 0x30]
comiss xmm0, xmm13
jbe 0x1800413b1
test r14d, 0x2000040
jne 0x1800413b1
mulss xmm0, dword [0x180288e50]
jmp 0x1800413c1
movss xmm0, dword [rsi + 0x3d60]
mulss xmm0, dword [0x180288f2c]
cvttss2si eax, xmm0
mov rdx, rdi
lea rcx, [rbp - 0x80]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x278], xmm0
movss xmm0, dword [rdi + 0x210]
subss xmm0, dword [rdi + 0x208]
movss xmm1, dword [rdi + 0x58]
movss xmm2, dword [rdi + 0x5c]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rdi + 0x40]
addss xmm2, dword [rdi + 0x44]
subss xmm1, xmm0
movaps xmm0, xmm13
maxss xmm0, xmm1
movss dword [rdi + 0x94], xmm0
movss xmm0, dword [rdi + 0x214]
subss xmm0, dword [rdi + 0x20c]
subss xmm2, xmm0
movaps xmm0, xmm13
maxss xmm0, xmm2
movss dword [rdi + 0x98], xmm0
call fcn.180046030
mov rcx, qword [rdi + 0x2a8]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x8c], xmm0
movss dword [rdi + 0x90], xmm1
mov dword [rdi + 0x9c], 0x7f7fffff
mov dword [rdi + 0xa0], 0x7f7fffff
mov qword [rdi + 0x78], 0
mov rax, qword [rsi + 0x3d58]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.1800578c0
mov rcx, qword [0x1802982c8]
lea r8, [rbp]
xor r9d, r9d
lea rdx, [rbp - 8]
mov rax, qword [rcx + 0x4038]
mov byte [rax + 0xc0], 1
mov rbx, qword [rcx + 0x4038]
mov rcx, qword [rbx + 0x2a8]
call fcn.1800577b0
mov rax, qword [rbx + 0x2a8]
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 + 0x248], eax
mov eax, r14d
movss dword [rbx + 0x24c], xmm0
and eax, 0x5000000
movss dword [rbx + 0x250], xmm1
movss dword [rbx + 0x254], xmm2
xor bl, bl
cmp eax, 0x1000000
jne 0x1800415d4
cmp dword [rsp + 0x48], 0x3000000
je 0x1800415d4
movsxd rax, dword [r13 + 0x1a0]
cmp eax, 2
jl 0x18004159d
mov rcx, rax
mov rax, qword [r13 + 0x1a8]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x18004159d
movss xmm1, dword [rdi + 0x2c]
movss xmm5, dword [rdx + 0x2c]
movaps xmm2, xmm1
movss xmm7, dword [rdx + 0x28]
movaps xmm0, xmm5
addss xmm0, dword [rdx + 0x34]
movss xmm6, dword [rdi + 0x28]
movaps xmm3, xmm7
addss xmm3, dword [rdx + 0x30]
addss xmm2, dword [rdi + 0x34]
movaps xmm4, xmm6
comiss xmm0, xmm1
addss xmm4, dword [rdi + 0x30]
jbe 0x18004159d
comiss xmm2, xmm5
jbe 0x18004159d
comiss xmm3, xmm6
jbe 0x18004159d
comiss xmm4, xmm7
jbe 0x18004159d
mov r8b, 1
jmp 0x1800415a0
xor r8b, r8b
mov rdx, qword [rdi + 0x2a8]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x1800415d4
mov rax, qword [r13 + 0x2a8]
cmp dword [rax + 0x20], 0
je 0x1800415d4
test r8b, r8b
jne 0x1800415d4
mov bl, 1
mov qword [rdi + 0x2a8], rax
mov rax, qword [rsi + 0x4ce8]
test rax, rax
jne 0x1800415e7
mov rax, qword [rsi + 0x4b08]
test r12b, r12b
jne 0x180041606
test rax, rax
je 0x180041601
mov rax, qword [rax + 0x398]
cmp qword [rdi + 0x398], rax
je 0x180041606
xor r8b, r8b
jmp 0x180041609
mov r8b, 1
movss dword [rsp + 0x30], xmm14
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
mov rcx, rdi
mov dword [rsp + 0x20], r15d
call fcn.18003efe0
test bl, bl
je 0x18004163d
lea rax, [rdi + 0x2b0]
mov qword [rdi + 0x2a8], rax
movss xmm5, dword [rdi + 0x50]
mov ecx, r14d
shr ecx, 3
not cl
and cl, 1
ucomiss xmm5, xmm13
jp 0x180041699
jne 0x180041699
movss xmm0, dword [rdi + 0x58]
mov eax, r14d
movss xmm1, dword [rdi + 0x30]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [rdi + 0x70]
addss xmm0, dword [rdi + 0x68]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x18004168f
movss xmm6, dword [rdi + 0x40]
maxss xmm6, xmm1
jmp 0x18004169c
movaps xmm6, xmm13
maxss xmm6, xmm1
jmp 0x18004169c
movaps xmm6, xmm5
movss xmm4, dword [rdi + 0x54]
ucomiss xmm4, xmm13
jp 0x1800416e2
jne 0x1800416e2
movss xmm0, dword [rdi + 0x5c]
movss xmm1, dword [rdi + 0x34]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [rdi + 0x74]
addss xmm0, dword [rdi + 0x6c]
subss xmm1, xmm0
test cl, cl
je 0x1800416d8
movss xmm7, dword [rdi + 0x44]
maxss xmm7, xmm1
jmp 0x1800416e5
movaps xmm7, xmm13
maxss xmm7, xmm1
jmp 0x1800416e5
movaps xmm7, xmm4
ucomiss xmm5, xmm13
movss xmm8, dword [rdi + 0x58]
movss xmm10, dword [rdi + 0x8c]
movaps xmm0, xmm8
maxss xmm0, dword [rdi + 0x64]
movss xmm1, dword [rdi + 0x208]
subss xmm1, xmm10
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [rdi + 0x228], xmm3
addss xmm6, xmm3
movss xmm9, dword [rdi + 0x5c]
movss xmm11, dword [rdi + 0x90]
movaps xmm1, xmm9
movss xmm0, dword [rdi + 0x20c]
maxss xmm1, dword [rdi + 0x64]
subss xmm0, xmm11
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rdi + 0x22c], xmm2
addss xmm2, xmm7
movss dword [rdi + 0x230], xmm6
movss dword [rdi + 0x234], xmm2
movups xmm0, xmmword [rdi + 0x228]
movups xmmword [rdi + 0x238], xmm0
movss xmm12, dword [rdi + 0x28]
movss xmm6, dword [rdi + 0x68]
movaps xmm2, xmm12
subss xmm2, xmm10
addss xmm2, xmm8
addss xmm2, xmm6
movss dword [rdi + 0x258], xmm2
movss xmm14, dword [rdi + 0x2c]
movss xmm7, dword [rdi + 0x6c]
movaps xmm3, xmm14
subss xmm3, xmm11
addss xmm3, xmm9
addss xmm3, xmm7
movss dword [rdi + 0x25c], xmm3
jp 0x1800417f3
jne 0x1800417f3
movss xmm5, dword [rdi + 0x30]
movaps xmm0, xmm8
addss xmm0, xmm8
movaps xmm1, xmm6
addss xmm1, dword [rdi + 0x70]
subss xmm5, xmm0
subss xmm5, xmm1
ucomiss xmm4, xmm13
addss xmm2, xmm5
movss dword [rdi + 0x260], xmm2
jp 0x180041825
jne 0x180041825
movss xmm4, dword [rdi + 0x34]
movaps xmm0, xmm9
addss xmm0, xmm9
movaps xmm1, xmm7
addss xmm1, dword [rdi + 0x74]
subss xmm4, xmm0
subss xmm4, xmm1
xor r15d, r15d
addss xmm3, xmm4
cvtps2pd xmm2, xmm12
lea rcx, [rdi + 0x17c]
movaps xmm12, xmmword [rsp + 0x160]
movaps xmm0, xmm6
movss dword [rdi + 0x264], xmm3
addss xmm0, xmm8
cvtps2pd xmm3, xmm14
movaps xmm14, xmmword [rsp + 0x140]
subss xmm0, xmm10
cvtps2pd xmm1, xmm10
movss dword [rdi + 0x154], xmm0
movaps xmm10, xmmword [rsp + 0x180]
mov qword [rdi + 0x158], r15
cvtps2pd xmm0, xmm8
addsd xmm2, xmm0
cvtps2pd xmm0, xmm6
subsd xmm2, xmm1
xorps xmm1, xmm1
addsd xmm2, xmm0
cvtps2pd xmm0, xmm9
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 + 0x120], xmm1
addsd xmm3, xmm0
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0x124], xmm0
movss xmm0, dword [rdi + 0x120]
movss xmm1, dword [rdi + 0x124]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
subsd xmm2, xmm0
subsd xmm3, xmm1
cvtpd2ps xmm2, xmm2
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0x160], xmm2
movss dword [rdi + 0x164], xmm0
movss xmm0, dword [rdi + 0x124]
movss xmm1, dword [rdi + 0x120]
movss dword [rdi + 0x110], xmm1
movss dword [rdi + 0x114], xmm0
movss dword [rdi + 0x118], xmm1
movss dword [rdi + 0x11c], xmm0
movss dword [rdi + 0x128], xmm1
movss dword [rdi + 0x12c], xmm0
movss dword [rdi + 0x130], xmm1
movss dword [rdi + 0x134], xmm0
mov qword [rdi + 0x140], r15
mov qword [rdi + 0x138], r15
mov qword [rdi + 0x148], r15
mov word [rdi + 0x150], r15w
mov dword [rdi + 0x168], r15d
movzx eax, word [rdi + 0x16e]
mov word [rdi + 0x16c], ax
mov dword [rdi + 0x16e], 0x10000
movss xmm0, dword [rdi + 0x98]
comiss xmm0, xmm13
seta al
mov byte [rdi + 0x172], al
mov byte [rdi + 0x173], r15b
movss xmm0, dword [rsi + 0x393c]
cmp byte [rsp + 0x41], r15b
je 0x1800419c3
xor eax, eax
mov qword [rcx + 0x12], rax
cvttss2si eax, xmm0
mov word [rcx + 8], ax
call fcn.180076bf0
xor r11d, r11d
mov qword [rcx + 0x12], r11
mov eax, dword [rcx + 4]
mov dword [rcx], eax
mov dword [rcx + 4], r15d
mov qword [rdi + 0x198], r15
mov ecx, dword [rdi + 0x1a4]
test ecx, ecx
jns 0x180041a0e
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1a0]
test eax, eax
cmovg edx, eax
call fcn.18004e270
mov dword [rdi + 0x1a0], r15d
lea rax, [rdi + 0x280]
mov qword [rdi + 0x1b0], rax
mov eax, 1
mov qword [rdi + 0x1b8], r15
mov dword [rdi + 0x1c4], eax
test r13, r13
je 0x180041a41
mov eax, dword [r13 + 0x1c4]
mov dword [rdi + 0x1c8], eax
mov eax, dword [rdi + 0x278]
mov dword [rdi + 0x1cc], eax
mov dword [rdi + 0x1d0], 0xbf800000
mov ecx, dword [rdi + 0x1dc]
test ecx, ecx
jns 0x180041a84
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1d8]
test eax, eax
cmovg edx, eax
call fcn.18004edd0
mov dword [rdi + 0x1d8], r15d
mov ecx, dword [rdi + 0x1ec]
test ecx, ecx
jns 0x180041ab2
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1e8]
test eax, eax
cmovg edx, eax
call fcn.18004edd0
mov dword [rdi + 0x1e8], r15d
movzx eax, byte [rdi + 0xdc]
test al, al
jle 0x180041acc
dec al
mov byte [rdi + 0xdc], al
movzx eax, byte [rdi + 0xdd]
test al, al
jle 0x180041adf
dec al
mov byte [rdi + 0xdd], al
test r12b, r12b
je 0x180041b04
mov edx, 2
mov rcx, rdi
call fcn.1800421f0
cmp rdi, qword [rsi + 0x4b08]
jne 0x180041b04
xor edx, edx
mov rcx, rdi
call fcn.180048590
movss xmm6, dword [rsp + 0x5c]
movss xmm7, dword [rsp + 0x58]
movss xmm8, dword [rsp + 0x54]
movss xmm9, dword [rsp + 0x50]
test r14b, 1
jne 0x180041b5b
mov r8, qword [rsp + 0x78]
lea rdx, [rbp - 8]
movaps xmm0, xmm9
movss dword [rbp - 4], xmm8
addss xmm0, dword [rdi + 0x64]
movaps xmm1, xmm7
movss dword [rbp + 4], xmm6
subss xmm1, dword [rdi + 0x64]
mov rcx, rdi
movss dword [rbp - 8], xmm0
movss dword [rbp], xmm1
call fcn.18003f7c0
mov rdx, qword [0x1802982c8]
mov dword [rdi + 0x268], r15d
movss xmm3, dword [rdx + 0x3954]
movss xmm2, dword [rdx + 0xe48]
subss xmm9, xmm3
comiss xmm2, xmm9
movaps xmm9, xmmword [rsp + 0x190]
jb 0x180041bc4
movss xmm1, dword [rdx + 0x3958]
movss xmm0, dword [rdx + 0xe4c]
subss xmm8, xmm1
comiss xmm0, xmm8
jb 0x180041bc4
addss xmm7, xmm3
comiss xmm7, xmm2
jbe 0x180041bc4
addss xmm6, xmm1
comiss xmm6, xmm0
jbe 0x180041bc4
mov ebx, 1
mov r8d, ebx
jmp 0x180041bcc
mov r8d, r15d
mov ebx, 1
mov eax, dword [rdi + 0x84]
mov ecx, dword [rsi + 0x4980]
movups xmm0, xmmword [rsp + 0x50]
mov dword [rdx + 0x49a8], eax
movaps xmm8, xmmword [rsp + 0x1a0]
movaps xmm7, xmmword [rsp + 0x1b0]
movaps xmm6, xmmword [rsp + 0x1c0]
movups xmmword [rdx + 0x49c4], xmm0
mov dword [rdx + 0x49ac], ecx
movups xmmword [rdx + 0x49b4], xmm0
mov dword [rdx + 0x49b0], r8d
mov eax, dword [rsi + 0x4984]
test eax, eax
je 0x180041cd5
cmp dword [rdi + 0x10], eax
je 0x180041c36
cmp dword [rdi + 0x84], eax
jne 0x180041cd5
call fcn.18004d340
jmp 0x180041cd5
mov rcx, qword [0x1802982c8]
mov qword [rcx + 0x4038], rdi
movsxd rax, dword [rdi + 0x1c0]
cmp eax, 0xffffffff
je 0x180041c6d
imul rdx, rax, 0x250
add rdx, qword [rcx + 0x4e00]
xor r15d, r15d
jmp 0x180041c73
xor r15d, r15d
mov edx, r15d
mov qword [rcx + 0x4dd8], rdx
mov rax, qword [rdi]
movss xmm0, dword [rax + 0x3d64]
mov rax, qword [rdi + 0x378]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x180041ca1
mulss xmm0, dword [rax + 0x2a0]
movss dword [rcx + 0x3d78], xmm0
movss dword [rcx + 0x3d60], xmm0
test rdx, rdx
jne 0x180041cc5
cmp qword [rdi + 0x1b8], rdx
jne 0x180041cc5
movzx eax, r8b
jmp 0x180041cc7
xor al, al
mov r13, qword [rsp + 0x70]
mov ebx, r8d
mov byte [rdi + 0x170], al
lea rdx, [rdi + 0x220]
mov r8b, 1
lea rcx, [rdi + 0x218]
call fcn.18003ac70
mov eax, dword [rsp + 0x4c]
mov r12, qword [rsp + 0x1e8]
mov byte [rdi + 0xc0], 0
inc word [rdi + 0xcc]
mov dword [rsi + 0x49e8], r15d
mov r15, qword [rsp + 0x1d0]
cmp eax, dword [rsp + 0x60]
je 0x180041e7d
mov eax, r14d
and eax, 0x11000000
cmp eax, 0x1000000
jne 0x180041def
bt r14d, 0x17
jae 0x180041d61
cmp byte [rsi + 0x4b54], 0
je 0x180041d61
mov rcx, qword [rsi + 0x4b08]
test rcx, rcx
je 0x180041d61
mov rax, qword [rdi + 0x3a0]
cmp qword [rcx + 0x3a0], rax
jne 0x180041d61
mov al, 1
jmp 0x180041d63
xor al, al
cmp byte [rsi + 0x5fb8], 0
jne 0x180041db4
test al, al
jne 0x180041db4
movss xmm0, dword [rdi + 0x1f8]
comiss xmm0, dword [rdi + 0x200]
jae 0x180041d92
movss xmm0, dword [rdi + 0x1fc]
comiss xmm0, dword [rdi + 0x204]
jb 0x180041db4
cmp byte [rdi + 0xdc], 0
jg 0x180041dad
cmp byte [rdi + 0xdd], 0
jg 0x180041dad
mov byte [rdi + 0xe4], 1
jmp 0x180041db4
mov byte [rdi + 0xe5], 1
test r13, r13
je 0x180041def
cmp byte [r13 + 0xc1], 0
jne 0x180041dcd
cmp byte [r13 + 0xe4], 0
jle 0x180041dd4
mov byte [rdi + 0xe4], 1
cmp byte [r13 + 0xc1], 0
jne 0x180041de8
cmp byte [r13 + 0xe5], 0
jle 0x180041def
mov byte [rdi + 0xe5], 1
comiss xmm13, dword [rsi + 0x38f0]
jb 0x180041e00
mov byte [rdi + 0xe4], 1
cmp byte [rdi + 0xe4], 0
jg 0x180041e20
cmp byte [rdi + 0xe5], 0
jg 0x180041e20
xor cl, cl
cmp byte [rdi + 0xe6], cl
jg 0x180041e22
xor al, al
jmp 0x180041e24
mov cl, 1
mov al, 1
mov byte [rdi + 0xc5], al
movzx eax, byte [rdi + 0xe7]
test al, al
jle 0x180041e44
dec al
mov byte [rdi + 0xe7], al
or dword [rdi + 0x14], 0x30200
xor al, al
cmp byte [rdi + 0xc1], al
jne 0x180041e5a
cmp byte [rdi + 0xbe], al
je 0x180041e5a
test cl, cl
je 0x180041e77
cmp byte [rdi + 0xdc], al
jg 0x180041e77
cmp byte [rdi + 0xdd], al
jg 0x180041e77
cmp byte [rdi + 0xe5], 0
movzx eax, al
cmovle eax, ebx
mov byte [rdi + 0xc3], al
cmp byte [rdi + 0xc6], 0
movaps xmm13, xmmword [rsp + 0x150]
mov r14, qword [rsp + 0x1d8]
mov r13, qword [rsp + 0x1e0]
mov rbx, qword [rsp + 0x218]
jne 0x180041ef4
cmp byte [rsi + 0x78], 0
je 0x180041eb5
cmp qword [rsp + 0x68], 0
je 0x180041eca
cmp byte [rsi + 0x79], 0
je 0x180041ef4
movsx eax, byte [rsi + 0x602a]
cmp eax, dword [rsi + 0x4008]
jne 0x180041ef4
movzx eax, byte [rdi + 0xdc]
test al, al
jle 0x180041edd
inc al
mov byte [rdi + 0xdc], al
movzx eax, byte [rdi + 0xdd]
test al, al
jle 0x180041ef0
inc al
mov byte [rdi + 0xdd], al
xor al, al
jmp 0x180041efe
cmp byte [rdi + 0xc3], 0
sete al
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.18008bc20
add rsp, 0x1f0
pop rdi
pop rsi
pop rbp
ret