Function at 0x18002b770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rdi
lea rbp, [rax - 0xa8]
sub rsp, 0x190
mov qword [rax - 0x20], rsi
mov ebx, r8d
mov rsi, qword [0x180202968]
mov qword [rax - 0x28], r12
mov qword [rax - 0x38], r14
mov r14, rcx
mov qword [rax - 0x40], r15
movaps xmmword [rax - 0xc8], xmm13
call fcn.180031040
test rax, rax
mov qword [rbp - 0x78], rax
mov rdi, rax
xorps xmm13, xmm13
sete byte [rbp + 0xc8]
test rax, rax
jne 0x18002b823
mov ecx, dword [rsi + 0x1b90]
and ecx, 2
je 0x18002b7eb
movsd xmm0, qword [rsi + 0x1bb0]
movsd qword [rsp + 0x48], xmm0
jmp 0x18002b7f4
mov qword [rsp + 0x58], 0
test ecx, ecx
lea rdx, [rsp + 0x48]
lea rax, [rsp + 0x58]
mov r8d, ebx
cmovne rax, rdx
mov rcx, r14
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
unpcklps xmm0, xmm1
movq rdx, xmm0
call fcn.18002f670
mov rdi, rax
mov r15d, dword [rsi + 0x1a88]
mov ecx, ebx
mov r12d, dword [rdi + 0x278]
and ecx, 0xc0200
mov r14d, ebx
or r14d, 6
cmp ecx, 0xc0200
cmovne r14d, ebx
cmp dword [rsi + 0x1ac8], 0
jne 0x18002b860
cmp byte [rsi + 0x1a95], 0
je 0x18002b860
mov al, 1
jmp 0x18002b862
xor al, al
mov byte [rdi + 0x86], al
lea eax, [r15 - 1]
cmp r12d, eax
mov eax, dword [rdi + 0xa0]
mov dword [rsp + 0x64], eax
setl dl
mov byte [rsp + 0x42], dl
bt r14d, 0x1a
jae 0x18002b8bb
movsxd rax, dword [rsi + 0x1c50]
lea rax, [rax + rax*2]
shl rax, 4
add rax, qword [rsi + 0x1c48]
cmp rdi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rdi + 0x90], eax
setne al
or cl, al
mov eax, dword [rsp + 0x64]
or dl, cl
mov byte [rsp + 0x42], dl
test dl, dl
jne 0x18002b8cb
test eax, eax
jg 0x18002b8cb
mov byte [rdi + 0x84], dl
jmp 0x18002b8e7
or dword [rdi + 0xa4], 8
or dword [rdi + 0xa8], 8
or dword [rdi + 0xac], 8
mov byte [rdi + 0x84], 1
xor ecx, ecx
cmp r12d, r15d
je 0x18002b92a
mov dword [rdi + 0xc], r14d
mov dword [rdi + 0x278], r15d
movsd xmm0, qword [rsi + 0x1a80]
mov word [rdi + 0x8c], cx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x27c], xmm0
movzx eax, word [rsi + 0x1ae8]
inc dword [rsi + 0x1ae8]
mov word [rdi + 0x8e], ax
jmp 0x18002b92e
mov r14d, dword [rdi + 0xc]
movsxd rax, dword [rsi + 0x1ac8]
test eax, eax
jne 0x18002b93e
mov rax, rcx
jmp 0x18002b94f
mov rcx, rax
mov rax, qword [rsi + 0x1ad0]
mov rax, qword [rax + rcx*8 - 8]
xor ecx, ecx
mov qword [rsp + 0x178], r13
cmp r12d, r15d
je 0x18002b96c
test r14d, 0x5000000
mov r13, rcx
cmovne r13, rax
jmp 0x18002b973
mov r13, qword [rdi + 0x360]
lea rbx, [rdi + 0xc0]
mov eax, 8
cmp dword [rbx], 0
jne 0x18002b9a8
cmp dword [rbx + 4], 0
jne 0x18002b994
mov edx, eax
mov rcx, rbx
call fcn.18003ee50
mov eax, dword [rdi + 8]
movsxd rdx, dword [rbx]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
mov eax, 8
inc dword [rbx]
lea rbx, [rsi + 0x1ac8]
mov r8d, dword [rbx]
mov ecx, dword [rbx + 4]
cmp r8d, ecx
jne 0x18002b9dc
inc r8d
test ecx, ecx
je 0x18002b9ca
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18003eef0
movsxd rcx, dword [rbx]
lea rdx, [rdi + 0x208]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
xor ebx, ebx
mov qword [rsi + 0x1af0], rbx
mov rcx, qword [0x180202968]
movzx eax, word [rdi + 0xc0]
mov word [rdx], ax
movzx eax, word [rdi + 0x1f8]
mov word [rdx + 2], ax
movzx eax, word [rcx + 0x1c50]
mov word [rdx + 4], ax
movzx eax, word [rcx + 0x1c10]
mov word [rdx + 6], ax
movzx eax, word [rcx + 0x1c20]
mov word [rdx + 8], ax
movzx eax, word [rcx + 0x1c30]
mov word [rdx + 0xa], ax
bt r14d, 0x1a
jae 0x18002ba77
lea rcx, [rsi + 0x1c50]
movsxd rax, dword [rcx]
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [rsi + 0x1c48]
mov rdx, rbx
mov qword [rbx + 8], rdi
call fcn.18003eb90
mov eax, dword [rbx]
xor ebx, ebx
mov dword [rdi + 0x90], eax
cmp dword [rsp + 0x64], 0
jle 0x18002ba8b
bt r14d, 0x18
jb 0x18002ba8b
mov dword [rdi + 0x388], ebx
cmp r12d, r15d
je 0x18002bb1a
mov qword [rdi + 0x360], r13
mov qword [rdi + 0x378], rdi
mov qword [rdi + 0x370], rdi
mov qword [rdi + 0x368], rdi
test r13, r13
je 0x18002baf0
mov eax, r14d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x18002bad2
mov rax, qword [r13 + 0x368]
mov qword [rdi + 0x368], rax
bt r14d, 0x1b
jb 0x18002baf0
test r14d, 0x5000000
je 0x18002baf0
mov rax, qword [r13 + 0x370]
mov qword [rdi + 0x370], rax
test dword [rdi + 0xc], 0x800000
je 0x18002bb1a
mov rcx, rdi
nop dword [rax]
mov rax, qword [rcx + 0x360]
mov qword [rdi + 0x378], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x18002bb00
xor dl, dl
test byte [rsi + 0x1b90], 1
mov byte [rsp + 0x41], dl
mov byte [rsp + 0x40], dl
mov byte [rbp + 0xc0], dl
je 0x18002bbae
mov r8d, dword [rsi + 0x1b94]
mov ecx, dword [rdi + 0xa4]
test r8d, ecx
setne dl
mov byte [rsp + 0x41], dl
test r8d, ecx
je 0x18002bb9f
movss xmm0, dword [rsi + 0x1bac]
movss xmm1, dword [rsi + 0x1ba8]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x18006f634]
jbe 0x18002bb9f
movsd xmm0, qword [rsi + 0x1ba0]
and ecx, 0xfffffff1
movsd qword [rdi + 0xb0], xmm0
movsd xmm1, qword [rsi + 0x1ba8]
movsd qword [rdi + 0xb8], xmm1
mov dword [rdi + 0xa4], ecx
jmp 0x18002bbae
lea rdx, [rsi + 0x1ba0]
mov rcx, rdi
call fcn.18003c9a0
test byte [rsi + 0x1b90], 2
je 0x18002bc0b
mov r8d, dword [rsi + 0x1b98]
mov eax, r8d
and eax, dword [rdi + 0xa8]
je 0x18002bbda
comiss xmm13, dword [rsi + 0x1bb0]
jae 0x18002bbda
mov byte [rsp + 0x40], 1
jmp 0x18002bbe4
xor cl, cl
mov byte [rsp + 0x40], cl
test eax, eax
je 0x18002bbf5
comiss xmm13, dword [rsi + 0x1bb4]
mov byte [rbp + 0xc0], 1
jb 0x18002bbfc
mov byte [rbp + 0xc0], 0
lea rdx, [rsi + 0x1bb0]
mov rcx, rdi
call fcn.18003ca70
test byte [rsi + 0x1b90], 4
je 0x18002bc23
movsd xmm0, qword [rsi + 0x1bb8]
movsd qword [rdi + 0x30], xmm0
jmp 0x18002bc30
cmp r12d, r15d
je 0x18002bc30
mov qword [rdi + 0x30], 0
test byte [rsi + 0x1b90], 8
je 0x18002bc5f
mov eax, dword [rsi + 0x1b9c]
movzx ecx, byte [rsi + 0x1bc0]
test eax, eax
je 0x18002bc52
test dword [rdi + 0xac], eax
je 0x18002bc5f
and dword [rdi + 0xac], 0xfffffff1
mov byte [rdi + 0x81], cl
test byte [rsi + 0x1b90], 0x20
je 0x18002bc70
mov rcx, rdi
call fcn.180031260
cmp byte [rdi + 0x84], 0
je 0x18002bc8e
and dword [rdi + 0xa4], 0xfffffff7
and dword [rdi + 0xa8], 0xfffffff7
and dword [rdi + 0xac], 0xfffffff7
mov ebx, 1
cmp r12d, r15d
je 0x18002d786
movaps xmmword [rsp + 0x150], xmm6
mov eax, r14d
movaps xmmword [rsp + 0x140], xmm7
and eax, 0x3000000
cmp qword [rbp + 0xb8], 0
movaps xmmword [rsp + 0x130], xmm8
movaps xmmword [rsp + 0x120], xmm9
movaps xmmword [rsp + 0x110], xmm10
movaps xmmword [rsp + 0x100], xmm11
movaps xmmword [rsp + 0xf0], xmm12
movaps xmmword [rsp + 0xd0], xmm14
mov byte [rdi + 0x7e], bl
movaps xmmword [rsp + 0xc0], xmm15
mov dword [rsp + 0x60], eax
setne al
mov byte [rdi + 0x87], al
mov dword [rdi + 0x258], 0xff7fffff
mov dword [rdi + 0x25c], 0xff7fffff
mov dword [rdi + 0x260], 0x7f7fffff
mov dword [rdi + 0x264], 0x7f7fffff
mov ecx, dword [rdi + 0xc4]
cmp ecx, ebx
jge 0x18002bd69
test ecx, ecx
je 0x18002bd4c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002bd51
mov eax, 8
cmp eax, ebx
lea rcx, [rdi + 0xc0]
mov edx, ebx
mov r12d, ebx
cmovg edx, eax
call fcn.18003ee50
jmp 0x18002bd6c
mov r12d, ebx
mov dword [rdi + 0xc0], r12d
cmp byte [rdi + 0x3c8], 0
je 0x18002be33
mov rcx, qword [rdi + 0x2b0]
mov edx, dword [rdi + 0x3cc]
add rcx, 0x10
mov byte [rdi + 0x3c8], 0
call fcn.18003edb0
mov rbx, qword [rdi + 0x2b0]
movsxd r15, dword [rdi + 0x3d0]
cmp r15d, dword [rbx + 0x24]
jle 0x18002be28
mov rax, qword [0x180202968]
test rax, rax
je 0x18002bdc3
inc dword [rax + 0x3bc]
mov rdx, qword [0x180202978]
lea rcx, [r15 + r15*4]
shl rcx, 2
call qword [0x1802019f0]
mov rdx, qword [rbx + 0x28]
mov r12, rax
test rdx, rdx
je 0x18002be20
movsxd rcx, dword [rbx + 0x20]
lea r8, [rcx + rcx*4]
mov rcx, rax
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x18002be13
mov rax, qword [0x180202968]
test rax, rax
je 0x18002be13
dec dword [rax + 0x3bc]
mov rdx, qword [0x180202978]
call qword [0x1802019f8]
mov qword [rbx + 0x28], r12
mov dword [rbx + 0x24], r15d
mov qword [rdi + 0x3cc], 0
cmp qword [rsi + 0x1d88], 0
mov rcx, qword [rbp - 0x78]
je 0x18002bf10
test dword [rdi + 0xc], 0x80000
jne 0x18002bf10
test rcx, rcx
je 0x18002bf10
mov r12, qword [rbp + 0xb0]
mov r9, qword [rdi]
mov rax, r12
mov r8, r9
sub r8, r12
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18002be83
inc rax
test ecx, ecx
jne 0x18002be70
test edx, edx
je 0x18002bf0c
movsxd r15, dword [rdi + 0x48]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r12 + rbx], 0
jne 0x18002be96
inc rbx
cmp r15, rbx
jae 0x18002bef7
test r9, r9
je 0x18002bebf
mov rax, qword [0x180202968]
test rax, rax
je 0x18002bebf
dec dword [rax + 0x3bc]
mov rdx, qword [0x180202978]
mov rcx, r9
call qword [0x1802019f8]
mov rax, qword [0x180202968]
test rax, rax
je 0x18002bee1
inc dword [rax + 0x3bc]
mov rdx, qword [0x180202978]
mov rcx, rbx
call qword [0x1802019f0]
mov r9, rax
mov r15, rbx
mov r8, rbx
mov rdx, r12
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi], rax
mov dword [rdi + 0x48], r15d
mov rcx, qword [rbp - 0x78]
cmp byte [rdi + 0x81], 0
je 0x18002bf50
cmp byte [rdi + 0x94], 0
jg 0x18002bf50
cmp byte [rdi + 0x95], 0
jg 0x18002bf50
movss xmm0, dword [rdi + 0x2c]
movss xmm1, dword [rdi + 0x28]
unpcklps xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x58], xmm1
movss xmm1, dword [rsp + 0x58]
shufps xmm0, xmm0, 0x55
jmp 0x18002bfdc
cmp byte [rdi + 0x85], 0
je 0x18002bf90
cmp dword [rdi + 0xa0], 0
jne 0x18002bf90
cmp dword [rdi + 0x9c], 0
jle 0x18002bf90
movss xmm0, dword [rdi + 0x2c]
movss xmm1, dword [rdi + 0x28]
unpcklps xmm1, xmm0
movaps xmm3, xmm1
movsd qword [rsp + 0x58], xmm1
movss xmm1, dword [rsp + 0x58]
shufps xmm3, xmm3, 0x55
movaps xmm0, xmm3
jmp 0x18002bfdc
movss xmm1, dword [rdi + 0x30]
ucomiss xmm1, xmm13
jne 0x18002bfab
movss xmm1, dword [rdi + 0xe8]
subss xmm1, dword [rdi + 0xe0]
movss xmm0, dword [rdi + 0x34]
ucomiss xmm0, xmm13
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
jne 0x18002bfd1
movss xmm0, dword [rdi + 0xec]
subss xmm0, dword [rdi + 0xe4]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [rdi + 0x9c]
movss dword [rdi + 0x28], xmm1
movss dword [rdi + 0x2c], xmm0
test eax, eax
jle 0x18002bff8
dec eax
mov dword [rdi + 0x9c], eax
mov eax, dword [rdi + 0xa0]
test eax, eax
jle 0x18002c00a
dec eax
mov dword [rdi + 0xa0], eax
movzx r15d, byte [rsp + 0x40]
test rcx, rcx
jne 0x18002c02f
test r15b, r15b
je 0x18002c022
cmp byte [rbp + 0xc0], cl
jne 0x18002c02f
mov eax, 1
mov dword [rdi + 0xa0], eax
jmp 0x18002c034
mov eax, 1
xor edx, edx
cmp byte [rsp + 0x42], dl
je 0x18002c079
test r14d, 0x6000000
je 0x18002c079
mov dword [rdi + 0xa0], eax
test r14b, 0x40
je 0x18002c079
test r15b, r15b
jne 0x18002c05c
mov dword [rdi + 0x20], edx
mov dword [rdi + 0x18], edx
movzx r12d, byte [rbp + 0xc0]
test r12b, r12b
jne 0x18002c06f
mov dword [rdi + 0x24], edx
mov dword [rdi + 0x1c], edx
mov qword [rdi + 0x28], 0
jmp 0x18002c081
movzx r12d, byte [rbp + 0xc0]
mov rcx, qword [0x180202968]
mov qword [rcx + 0x1af0], rdi
mov rax, qword [0x180202968]
movss xmm0, dword [rax + 0x19ac]
mov rax, qword [rdi + 0x360]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18002c0ba
mulss xmm0, dword [rax + 0x2a8]
movss dword [rcx + 0x19c0], xmm0
movss dword [rcx + 0x19a8], xmm0
bt r14d, 0x18
jae 0x18002c0db
movss xmm1, dword [rsi + 0x1584]
jmp 0x18002c0fd
test r14d, 0x6000000
je 0x18002c0f5
bt r14d, 0x1b
jb 0x18002c0f5
movss xmm1, dword [rsi + 0x158c]
jmp 0x18002c0fd
movss xmm1, dword [rsi + 0x1568]
mov rax, rdi
movss dword [rax + 0x44], xmm1
mov eax, r14d
movsd xmm0, qword [rsi + 0x155c]
and eax, 0x5010000
movsd qword [rdi + 0x38], xmm0
cmp eax, 0x1000000
jne 0x18002c144
ucomiss xmm1, xmm13
jne 0x18002c144
bt r14d, 0xa
jae 0x18002c138
movss xmm0, dword [rsi + 0x1560]
jmp 0x18002c13c
movaps xmm0, xmm13
movss dword [rdi + 0x3c], xmm0
mov dword [rdi + 0x38], edx
test r14b, 0x21
jne 0x18002c29e
test byte [rdi + 0xc], 1
mov rcx, qword [0x180202968]
je 0x18002c161
movaps xmm0, xmm13
jmp 0x18002c195
mov rax, qword [rdi + 0x360]
movss xmm1, dword [rcx + 0x19ac]
mulss xmm1, dword [rdi + 0x2a8]
test rax, rax
je 0x18002c185
mulss xmm1, dword [rax + 0x2a8]
movss xmm0, dword [rcx + 0x1594]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm3, dword [rdi + 0x10]
movaps xmm4, xmm3
addss xmm4, dword [rdi + 0x20]
addss xmm0, dword [rdi + 0x14]
cmp qword [rsi + 0x1af8], rdi
jne 0x18002c258
cmp dword [rsi + 0x1b24], 0
jne 0x18002c258
cmp dword [rsi + 0x1b2c], 0
jne 0x18002c258
mov rax, qword [rcx + 0x1af0]
movss xmm1, dword [rcx + 0x15b0]
movaps xmm6, xmm1
minss xmm4, dword [rax + 0x260]
maxss xmm3, dword [rax + 0x258]
movss xmm5, dword [rax + 0x25c]
movss xmm2, dword [rax + 0x264]
maxss xmm5, dword [rdi + 0x14]
minss xmm2, xmm0
movss xmm0, dword [rcx + 0x15b4]
subss xmm3, xmm1
movss xmm1, dword [rcx + 0x130]
addss xmm6, xmm4
movaps xmm4, xmm0
subss xmm5, xmm0
addss xmm4, xmm2
comiss xmm1, xmm3
jb 0x18002c258
movss xmm0, dword [rcx + 0x134]
comiss xmm0, xmm5
jb 0x18002c258
comiss xmm1, xmm6
jae 0x18002c258
comiss xmm0, xmm4
jae 0x18002c258
cmp byte [rsi + 0x425], 0
je 0x18002c258
mov byte [rdi + 0x82], 1
cmp byte [rdi + 0x82], 0
je 0x18002c2a5
cmp byte [rdi + 0x81], 0
sete al
test dword [rdi + 0xc], 0x100
mov byte [rdi + 0x81], al
mov rcx, qword [0x180202968]
jne 0x18002c294
comiss xmm13, dword [rcx + 0x2fd4]
jb 0x18002c294
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2fd4], eax
mov rcx, rdi
call fcn.180031260
jmp 0x18002c2a5
mov byte [rdi + 0x81], 0
lea r8, [rdi + 0x28]
mov byte [rdi + 0x82], 0
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.18002e7d0
movzx ebx, byte [rbp + 0xc8]
mov byte [rbp + 0xc0], bl
test r14b, 0x40
je 0x18002c311
cmp byte [rdi + 0x81], 0
jne 0x18002c311
test r15b, r15b
jne 0x18002c2f0
movss xmm0, dword [rsp + 0x58]
movss dword [rdi + 0x20], xmm0
mov byte [rbp + 0xc8], 1
test r12b, r12b
jne 0x18002c3bd
movss xmm0, dword [rsp + 0x5c]
mov bl, 1
movss dword [rdi + 0x24], xmm0
mov byte [rbp + 0xc0], bl
jmp 0x18002c3bd
movzx eax, byte [rdi + 0x94]
test al, al
jg 0x18002c329
cmp byte [rdi + 0x95], 0
jle 0x18002c3bd
test r15b, r15b
jne 0x18002c35a
test al, al
jle 0x18002c35a
cmp byte [rdi + 0x97], r15b
je 0x18002c348
movss xmm0, dword [rdi + 0x20]
maxss xmm0, dword [rsp + 0x58]
jmp 0x18002c34e
movss xmm0, dword [rsp + 0x58]
movss dword [rdi + 0x20], xmm0
mov byte [rbp + 0xc8], 1
test r12b, r12b
jne 0x18002c391
cmp byte [rdi + 0x95], r12b
jle 0x18002c391
cmp byte [rdi + 0x97], r12b
je 0x18002c37e
movss xmm0, dword [rdi + 0x24]
maxss xmm0, dword [rsp + 0x5c]
jmp 0x18002c384
movss xmm0, dword [rsp + 0x5c]
mov bl, 1
movss dword [rdi + 0x24], xmm0
mov byte [rbp + 0xc0], bl
cmp byte [rdi + 0x81], 0
jne 0x18002c3bd
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x180202968]
jne 0x18002c3bd
comiss xmm13, dword [rcx + 0x2fd4]
jb 0x18002c3bd
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2fd4], eax
mov r8, qword [rdi + 0x20]
lea rcx, [rsp + 0x48]
mov rdx, rdi
call fcn.18002eb60
cmp byte [rdi + 0x81], 0
movss xmm2, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rdi + 0x20], xmm2
movss dword [rdi + 0x24], xmm0
je 0x18002c45a
bt r14d, 0x18
jb 0x18002c45a
test byte [rdi + 0xc], 1
mov rcx, qword [0x180202968]
je 0x18002c404
movaps xmm1, xmm13
jmp 0x18002c438
mov rax, qword [rdi + 0x360]
movss xmm0, dword [rcx + 0x19ac]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18002c428
mulss xmm0, dword [rax + 0x2a8]
movss xmm1, dword [rcx + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [rdi + 0x10]
addss xmm1, dword [rdi + 0x14]
subss xmm2, dword [rdi + 0x10]
subss xmm1, dword [rdi + 0x14]
movss dword [rsp + 0x48], xmm2
movss dword [rsp + 0x4c], xmm1
jmp 0x18002c465
movsd xmm0, qword [rdi + 0x20]
movsd qword [rsp + 0x48], xmm0
mov edx, dword [rdi + 0xc]
lea rax, [rsp + 0x48]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x18], xmm0
mov rax, qword [0x180202968]
test dl, 1
je 0x18002c488
movaps xmm1, xmm13
jmp 0x18002c4bc
mov rcx, qword [rdi + 0x360]
movss xmm0, dword [rax + 0x19ac]
mulss xmm0, dword [rdi + 0x2a8]
test rcx, rcx
je 0x18002c4ac
mulss xmm0, dword [rcx + 0x2a8]
movss xmm1, dword [rax + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
bt edx, 0xa
jae 0x18002c505
mov rcx, qword [rdi + 0x360]
movss xmm10, dword [rax + 0x19ac]
mulss xmm10, dword [rdi + 0x2a8]
test rcx, rcx
je 0x18002c4e9
mulss xmm10, dword [rcx + 0x2a8]
movss xmm0, dword [rax + 0x1594]
addss xmm10, dword [rdi + 0x158]
addss xmm0, xmm0
addss xmm10, xmm0
jmp 0x18002c509
movaps xmm10, xmm13
movzx r12d, byte [rsp + 0x42]
addss xmm10, xmm1
movzx r15d, byte [rsp + 0x41]
test r12b, r12b
je 0x18002c560
mov dword [rdi + 0x98], 0xffffffff
bt r14d, 0x1a
jae 0x18002c560
test r15b, r15b
jne 0x18002c560
movsxd rax, dword [rsi + 0x1c50]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x1c58]
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 0x18002c5f4
lea rbx, [r13 + 0x188]
movzx eax, word [rbx]
mov word [rdi + 0x8c], ax
mov r8d, dword [rbx]
mov ecx, dword [rbx + 4]
cmp r8d, ecx
jne 0x18002c5b0
inc r8d
test ecx, ecx
je 0x18002c599
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002c59e
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18003eef0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov eax, dword [rsp + 0x60]
bt r14d, 0x1a
jb 0x18002c5eb
test r15b, r15b
jne 0x18002c5eb
movzx ebx, byte [rbp + 0xc0]
cmp eax, 0x3000000
je 0x18002c5f8
movsd xmm0, qword [r13 + 0xd0]
movsd qword [rdi + 0x10], xmm0
jmp 0x18002c5f8
movzx ebx, byte [rbp + 0xc0]
jmp 0x18002c5f8
mov eax, dword [rsp + 0x60]
movss xmm1, dword [rdi + 0xb0]
ucomiss xmm1, dword [0x18006ea34]
je 0x18002c65a
cmp dword [rdi + 0xa0], 0
jne 0x18002c65a
movss xmm0, dword [rdi + 0x20]
lea rdx, [rsp + 0x48]
mulss xmm0, dword [rdi + 0xb8]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xb4]
movss dword [rsp + 0x48], xmm1
movss xmm1, dword [rdi + 0xbc]
mulss xmm1, dword [rdi + 0x24]
subss xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
call fcn.18003c9a0
jmp 0x18002c6a7
bt r14d, 0x1c
jb 0x18002c687
bt r14d, 0x1a
jae 0x18002c674
test r15b, r15b
jne 0x18002c674
cmp dword [rsp + 0x64], 0
jg 0x18002c687
bt r14d, 0x19
jae 0x18002c6a7
test r15b, r15b
jne 0x18002c6a7
cmp eax, 0x3000000
je 0x18002c6a7
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1800308f0
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
mov rax, qword [0x180202968]
movss xmm3, dword [rax + 0x14]
movss xmm4, dword [rax + 0x10]
movss dword [rsp + 0x70], xmm4
movss dword [rsp + 0x74], xmm3
mov qword [rsp + 0x68], 0
test r15b, r15b
jne 0x18002c7d8
bt r14d, 0x18
jb 0x18002c7d8
cmp byte [rdi + 0x94], r15b
jg 0x18002c7d8
cmp byte [rdi + 0x95], r15b
jg 0x18002c7d8
comiss xmm4, xmm13
movss xmm5, dword [rsi + 0x15ec]
movss xmm6, dword [rsi + 0x15f0]
maxss xmm5, dword [rsi + 0x15f4]
maxss xmm6, dword [rsi + 0x15f8]
jbe 0x18002c7d8
comiss xmm3, xmm13
jbe 0x18002c7d8
cmp byte [rax + 0xcc], r15b
je 0x18002c785
test byte [rdi + 0xc], 1
jne 0x18002c785
mov rcx, qword [rdi + 0x360]
movss xmm0, dword [rax + 0x19ac]
mulss xmm0, dword [rdi + 0x2a8]
test rcx, rcx
je 0x18002c762
mulss xmm0, dword [rcx + 0x2a8]
movss xmm1, dword [rax + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x18]
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
jmp 0x18002c790
movsd xmm0, qword [rdi + 0x18]
movsd qword [rsp + 0x48], xmm0
lea rax, [rsp + 0x48]
movss xmm0, dword [rax]
subss xmm4, xmm5
movss xmm1, dword [rax + 4]
subss xmm3, xmm6
movaps xmm2, xmm0
addss xmm2, dword [rdi + 0x10]
maxss xmm2, xmm5
subss xmm2, xmm0
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x14]
minss xmm2, xmm4
maxss xmm0, xmm6
movss dword [rdi + 0x10], xmm2
subss xmm0, xmm1
minss xmm0, xmm3
movss dword [rdi + 0x14], xmm0
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 0x18002c80b
movss xmm2, dword [rsi + 0x1580]
jmp 0x18002c82c
mov eax, r14d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18002c824
movss xmm2, dword [rsi + 0x1588]
jmp 0x18002c82c
movss xmm2, dword [rsi + 0x1564]
xor r15b, r15b
movss dword [rdi + 0x40], xmm2
test r12b, r12b
je 0x18002c861
bt r14d, 0xc
jb 0x18002c861
bt r14d, 0x1a
jae 0x18002c84c
mov r15b, 1
jmp 0x18002c861
test r14d, 0x3000000
movzx r15d, r15b
mov r12d, 1
cmove r15d, r12d
movss xmm15, dword [0x18006e5d0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xor r12d, r12d
mov dword [rbp + 0xc0], 0xffffffff
movss xmm0, dword [rsi + 0x19a8]
cmp byte [rsi + 0xcb], r12b
movaps xmm1, xmm0
mulss xmm1, dword [0x18006e478]
setne r12b
cmp byte [rdi + 0x81], 0
mulss xmm0, dword [0x18006f660]
addss xmm1, xmm2
addss xmm1, xmm15
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x64], xmm0
jne 0x18002c8f8
lea rax, [rbp - 0x58]
mov rcx, rdi
lea r9d, [r12 + 1]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0xc0]
lea rdx, [rsp + 0x58]
call fcn.18003d0c0
test al, al
je 0x18002c8f8
mov bl, 1
movzx ecx, bl
jmp 0x18002c8ff
movzx ecx, byte [rbp + 0xc8]
cmp byte [rdi + 0x81], 0
movzx eax, byte [rbp + 0xc0]
mov byte [rdi + 0x88], al
jne 0x18002ca3e
cmp qword [rbp - 0x78], 0
movss xmm2, dword [rdi + 0x230]
movss xmm3, dword [rdi + 0x234]
subss xmm2, dword [rdi + 0x228]
subss xmm3, dword [rdi + 0x22c]
movss xmm4, dword [rdi + 0x24]
movss xmm5, dword [rdi + 0x20]
subss xmm4, xmm10
addss xmm2, dword [rdi + 0x74]
addss xmm3, dword [rdi + 0x78]
jne 0x18002c967
mov qword [rbp - 0x68], 0
lea rax, [rbp - 0x68]
jmp 0x18002c991
movss xmm0, dword [rdi + 0x38]
lea rax, [rbp - 0x60]
movss xmm1, dword [rdi + 0x3c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x28]
addss xmm1, dword [rdi + 0x2c]
movss dword [rbp - 0x60], xmm0
movss dword [rbp - 0x5c], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test cl, cl
jne 0x18002c9a1
movaps xmm5, xmm2
test bl, bl
jne 0x18002c9a8
movaps xmm4, xmm3
bt r14d, 0xe
jb 0x18002c9be
comiss xmm1, xmm4
jbe 0x18002c9ba
test r14b, 8
je 0x18002c9be
xor cl, cl
jmp 0x18002c9c0
mov cl, 1
mov byte [rdi + 0x7d], cl
bt r14d, 0xf
jb 0x18002c9fe
test cl, cl
je 0x18002c9d8
movss xmm0, dword [rsi + 0x15c0]
jmp 0x18002c9dc
movaps xmm0, xmm13
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x18002c9f4
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
je 0x18002c9fe
mov byte [rdi + 0x7c], 0
movaps xmm1, xmm13
jmp 0x18002ca22
mov byte [rdi + 0x7c], 1
test cl, cl
jne 0x18002ca1a
comiss xmm1, xmm4
jbe 0x18002ca15
test r14b, 8
jne 0x18002ca15
mov cl, 1
jmp 0x18002ca17
xor cl, cl
mov byte [rdi + 0x7d], cl
movss xmm1, dword [rsi + 0x15c0]
test cl, cl
je 0x18002ca30
movss xmm0, dword [rsi + 0x15c0]
jmp 0x18002ca34
movaps xmm0, xmm13
movss dword [rdi + 0x74], xmm0
movss dword [rdi + 0x78], xmm1
mov eax, r14d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18002ca5e
cmp dword [rsp + 0x60], 0x3000000
lea rax, [r13 + 0x258]
jne 0x18002ca63
lea rax, [rsp + 0x68]
test byte [rdi + 0xc], 1
movss xmm5, dword [rdi + 0x10]
movss xmm7, dword [rdi + 0x14]
movaps xmm3, xmm5
addss xmm3, dword [rdi + 0x18]
movups xmm6, xmmword [rax]
mov rcx, qword [0x180202968]
movaps xmm4, xmm7
addss xmm4, dword [rdi + 0x1c]
je 0x18002ca93
movaps xmm2, xmm13
jmp 0x18002cac7
mov rax, qword [rdi + 0x360]
movss xmm0, dword [rcx + 0x19ac]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18002cab7
mulss xmm0, dword [rax + 0x2a8]
movss xmm2, dword [rcx + 0x1594]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [rdi + 0x14]
addss xmm2, xmm7
movss dword [rsp + 0x7c], xmm0
movaps xmm1, xmm5
addss xmm1, dword [rdi + 0x20]
movss dword [rsp + 0x78], xmm5
mov eax, r14d
and eax, 0x401
movss dword [rbp - 0x7c], xmm2
movss dword [rbp - 0x80], xmm1
movaps xmm1, xmm6
movss dword [rdi + 0x218], xmm5
movaps xmm5, xmm6
movss dword [rdi + 0x21c], xmm7
movss dword [rdi + 0x220], xmm3
movss dword [rdi + 0x224], xmm4
movaps xmm4, xmm6
shufps xmm5, xmm6, 0x55
shufps xmm4, xmm6, 0xaa
movaps xmm0, xmm5
maxss xmm0, xmm7
movaps xmm7, xmm6
shufps xmm7, xmm6, 0xff
maxss xmm1, dword [rdi + 0x218]
movss dword [rdi + 0x21c], xmm0
movaps xmm0, xmm7
movss dword [rdi + 0x218], xmm1
movaps xmm1, xmm4
minss xmm0, dword [rdi + 0x224]
minss xmm1, dword [rdi + 0x220]
movss dword [rdi + 0x224], xmm0
movss dword [rdi + 0x220], xmm1
movss xmm12, dword [rdi + 0x10]
movss xmm8, dword [rdi + 0x14]
movaps xmm9, xmm12
movss dword [rdi + 0x228], xmm12
movaps xmm11, xmm8
addss xmm11, xmm10
addss xmm9, dword [rdi + 0x18]
addss xmm8, dword [rdi + 0x1c]
movss dword [rdi + 0x22c], xmm11
subss xmm9, dword [rdi + 0x74]
subss xmm8, dword [rdi + 0x78]
movss dword [rdi + 0x230], xmm9
movss dword [rdi + 0x234], xmm8
cmp eax, 1
jne 0x18002cbd5
movss xmm14, dword [rdi + 0x44]
jmp 0x18002cbde
movss xmm14, dword [rsi + 0x159c]
movss xmm2, dword [0x18006e4c4]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x38]
addss xmm12, xmm2
mulss xmm0, xmm2
addss xmm11, xmm2
addss xmm9, xmm2
addss xmm8, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm11, xmm14
subss xmm8, dword [rdi + 0x44]
movaps xmm14, xmmword [rsp + 0xd0]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x44]
addss xmm12, xmm1
subss xmm9, xmm1
cvttss2si eax, xmm12
xorps xmm12, xmm12
cvtsi2ss xmm12, eax
cvttss2si eax, xmm11
movss dword [rdi + 0x238], xmm12
cvtsi2ss xmm0, eax
cvttss2si eax, xmm9
movss dword [rdi + 0x23c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm8
movss dword [rdi + 0x240], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x244], xmm0
movss xmm0, dword [rdi + 0x23c]
comiss xmm0, xmm5
jae 0x18002cc96
movaps xmm1, xmm5
jmp 0x18002cc9d
movaps xmm1, xmm7
minss xmm1, xmm0
comiss xmm12, xmm6
jae 0x18002cca8
movaps xmm0, xmm6
jmp 0x18002ccb0
movaps xmm0, xmm4
minss xmm0, xmm12
movss dword [rdi + 0x238], xmm0
movss dword [rdi + 0x23c], xmm1
movss xmm0, dword [rdi + 0x244]
comiss xmm0, xmm5
jb 0x18002ccd4
minss xmm7, xmm0
movaps xmm5, xmm7
movss xmm0, dword [rdi + 0x240]
comiss xmm0, xmm6
jae 0x18002cce6
movaps xmm4, xmm6
jmp 0x18002ccea
minss xmm4, xmm0
movss dword [rdi + 0x240], xmm4
movss dword [rdi + 0x244], xmm5
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm13
jbe 0x18002cd18
test r14d, 0x2000040
jne 0x18002cd18
mulss xmm0, dword [0x18006e4f8]
jmp 0x18002cd28
movss xmm0, dword [rsi + 0x19a8]
mulss xmm0, dword [0x18006e8d0]
cvttss2si eax, xmm0
mov rcx, rdi
mov r8b, 1
mov rdx, rdi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x280], xmm0
lea rcx, [rbp + 0xc8]
movss xmm0, dword [rdi + 0x230]
subss xmm0, dword [rdi + 0x228]
movss xmm1, dword [rdi + 0x38]
movss xmm2, dword [rdi + 0x3c]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rdi + 0x28]
addss xmm2, dword [rdi + 0x2c]
subss xmm1, xmm0
maxss xmm1, xmm13
movss dword [rdi + 0x5c], xmm1
movss xmm0, dword [rdi + 0x234]
subss xmm0, dword [rdi + 0x22c]
subss xmm2, xmm0
maxss xmm2, xmm13
movss dword [rdi + 0x60], xmm2
call fcn.18002e490
mov rcx, qword [rdi + 0x2b0]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x54], xmm0
movss dword [rdi + 0x58], xmm1
mov dword [rdi + 0x64], 0x7f7fffff
mov dword [rdi + 0x68], 0x7f7fffff
call fcn.180042940
mov rax, qword [rsi + 0x19a0]
mov rcx, qword [rdi + 0x2b0]
mov rdx, qword [rax + 0x48]
mov rdx, qword [rdx + 8]
call fcn.180045780
mov rcx, qword [0x180202968]
movaps xmm0, xmm6
unpckhpd xmm0, xmm6
xor r9d, r9d
movq r8, xmm0
movq rdx, xmm6
mov rax, qword [rcx + 0x1af0]
mov byte [rax + 0x80], 1
mov rbx, qword [rcx + 0x1af0]
mov rcx, qword [rbx + 0x2b0]
call fcn.180045590
mov rax, qword [rbx + 0x2b0]
movsxd rcx, dword [rax + 0x60]
mov rax, qword [rax + 0x68]
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 + 0x258], eax
movss dword [rbx + 0x25c], xmm0
movss dword [rbx + 0x260], xmm1
movss dword [rbx + 0x264], xmm2
bt r14d, 0x1b
jae 0x18002ce95
call fcn.180032460
cmp rdi, rax
jne 0x18002ce95
cmp dword [rdi + 0xa0], 0
jg 0x18002ce95
mov cl, 1
mov edx, 0x434
jmp 0x18002ce9c
xor cl, cl
mov edx, 0x424
mov rax, qword [rsi + 0x1d80]
test rax, rax
je 0x18002ceb5
cmp rdi, qword [rax + 0x368]
jne 0x18002ceb5
mov bl, 1
jmp 0x18002ceb7
xor bl, bl
test cl, cl
jne 0x18002cec3
test bl, bl
je 0x18002d021
mov rax, qword [0x180202968]
lea rcx, [rsp + 0x48]
movss xmm0, dword [rsi + 0x1e20]
movups xmm1, xmmword [rdx + rax + 0x1558]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rsp + 0x48], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x54], xmm1
call fcn.18002f2e0
mov rcx, qword [rdi + 0x2b0]
lea r8, [rsp + 0x70]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea rdx, [rsp + 0x68]
movss dword [rsp + 0x20], xmm13
call fcn.180041c10
test bl, bl
je 0x18002d021
cmp rdi, qword [rsi + 0x1d80]
jne 0x18002d021
movss xmm0, dword [rsi + 0x19a8]
movss xmm2, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
movaps xmm1, xmm2
addss xmm2, dword [rdi + 0x18]
movaps xmm4, xmm3
subss xmm1, xmm0
addss xmm3, dword [rdi + 0x1c]
subss xmm4, xmm0
addss xmm2, xmm0
movss dword [rsp + 0x48], xmm1
addss xmm3, xmm0
movss xmm0, dword [rsp + 0x68]
comiss xmm0, xmm1
movss dword [rsp + 0x50], xmm2
movss dword [rsp + 0x54], xmm3
movss dword [rsp + 0x4c], xmm4
jb 0x18002cfb2
movss xmm0, dword [rsp + 0x6c]
comiss xmm0, xmm4
jb 0x18002cfb2
movss xmm0, dword [rsp + 0x70]
comiss xmm0, xmm2
ja 0x18002cfb2
movss xmm0, dword [rsp + 0x74]
comiss xmm0, xmm3
jbe 0x18002d021
mov rax, qword [0x180202968]
lea rcx, [rbp - 0x78]
movss xmm0, dword [rsi + 0x1d94]
mulss xmm0, dword [0x18006e490]
movups xmm1, xmmword [rax + 0x196c]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x78], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x6c], xmm1
call fcn.18002f2e0
movss xmm0, dword [rsi + 0x1564]
lea r8, [rsp + 0x50]
mov rcx, qword [rdi + 0x2b0]
lea rdx, [rsp + 0x48]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
movss dword [rsp + 0x20], xmm0
call fcn.180041c10
mov eax, r14d
xor bl, bl
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18002d06b
cmp dword [rsp + 0x60], 0x3000000
je 0x18002d06b
mov rdx, qword [rdi + 0x2b0]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x38], 0
jne 0x18002d06b
mov rax, qword [r13 + 0x2b0]
cmp dword [rax + 0x20], 0
jle 0x18002d06b
mov bl, 1
mov qword [rdi + 0x2b0], rax
mov rax, qword [rsi + 0x1d78]
test rax, rax
jne 0x18002d07e
mov rax, qword [rsi + 0x1c60]
test r15b, r15b
jne 0x18002d09d
test rax, rax
je 0x18002d098
mov rax, qword [rax + 0x370]
cmp qword [rdi + 0x370], rax
je 0x18002d09d
xor r8b, r8b
jmp 0x18002d0a0
mov r8b, 1
movss xmm0, dword [rsp + 0x64]
lea rax, [rbp - 0x58]
movss dword [rsp + 0x28], xmm0
lea r9d, [r12 + 1]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.18003a900
test bl, bl
je 0x18002d0d9
lea rax, [rdi + 0x2b8]
mov qword [rdi + 0x2b0], rax
cmp qword [rsi + 0x1d80], rdi
jne 0x18002d211
movss xmm1, dword [rsi + 0x19a8]
movss xmm2, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
movaps xmm5, xmm2
addss xmm2, dword [rdi + 0x18]
movss xmm0, dword [rsp + 0x68]
subss xmm5, xmm1
movss xmm7, dword [rdi + 0x40]
movaps xmm4, xmm3
addss xmm3, dword [rdi + 0x1c]
movss xmm6, dword [rsi + 0x1564]
subss xmm4, xmm1
addss xmm2, xmm1
comiss xmm0, xmm5
movss dword [rsp + 0x48], xmm5
maxss xmm6, xmm7
addss xmm3, xmm1
movss dword [rsp + 0x50], xmm2
movss dword [rsp + 0x4c], xmm4
movss dword [rsp + 0x54], xmm3
jb 0x18002d1a4
movss xmm0, dword [rsp + 0x6c]
comiss xmm0, xmm4
jb 0x18002d1a4
movss xmm0, dword [rsp + 0x70]
comiss xmm0, xmm2
ja 0x18002d1a4
movss xmm0, dword [rsp + 0x74]
comiss xmm0, xmm3
ja 0x18002d1a4
xorps xmm1, xmmword [0x18006eef0]
movaps xmm6, xmm7
subss xmm1, xmm15
subss xmm5, xmm1
subss xmm4, xmm1
addss xmm2, xmm1
addss xmm3, xmm1
movss dword [rsp + 0x48], xmm5
movss dword [rsp + 0x4c], xmm4
movss dword [rsp + 0x50], xmm2
movss dword [rsp + 0x54], xmm3
mov rax, qword [0x180202968]
lea rcx, [rbp - 0x58]
movss xmm0, dword [rsi + 0x1d94]
movups xmm1, xmmword [rax + 0x196c]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x58], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x4c], xmm1
call fcn.18002f2e0
movss xmm0, dword [0x18006e88c]
lea r8, [rsp + 0x50]
mov rcx, qword [rdi + 0x2b0]
lea rdx, [rsp + 0x48]
movss dword [rsp + 0x30], xmm0
mov r9d, eax
mov dword [rsp + 0x28], 0xffffffff
movss dword [rsp + 0x20], xmm6
call fcn.180041b00
movss xmm6, dword [rdi + 0x30]
mov ecx, r14d
movaps xmm15, xmmword [rsp + 0xc0]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm6, xmm13
je 0x18002d235
movaps xmm7, xmm6
jmp 0x18002d26a
movss xmm0, dword [rdi + 0x38]
mov eax, r14d
movss xmm7, dword [rdi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm7, xmm0
subss xmm7, dword [rdi + 0x74]
cmp eax, 0x800
jne 0x18002d262
movss xmm0, dword [rdi + 0x28]
jmp 0x18002d266
movaps xmm0, xmm13
maxss xmm7, xmm0
movss xmm4, dword [rdi + 0x34]
ucomiss xmm4, xmm13
je 0x18002d27a
movaps xmm5, xmm4
jmp 0x18002d2a9
movss xmm0, dword [rdi + 0x3c]
movss xmm5, dword [rdi + 0x1c]
addss xmm0, xmm0
subss xmm5, xmm0
subss xmm5, xmm10
subss xmm5, dword [rdi + 0x78]
test cl, cl
je 0x18002d2a1
movss xmm0, dword [rdi + 0x2c]
jmp 0x18002d2a5
movaps xmm0, xmm13
maxss xmm5, xmm0
ucomiss xmm6, xmm13
movss xmm3, dword [rdi + 0x44]
movss xmm9, dword [rdi + 0x38]
movaps xmm1, xmm3
movss xmm11, dword [rdi + 0x54]
maxss xmm1, xmm9
movss xmm0, dword [rdi + 0x228]
movss xmm8, dword [rdi + 0x3c]
subss xmm0, xmm11
movss xmm12, dword [rdi + 0x58]
maxss xmm3, xmm8
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x22c]
subss xmm0, xmm12
cvttss2si eax, xmm1
addss xmm0, xmm3
movss xmm3, dword [rdi + 0x10]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
cvttss2si eax, xmm0
addss xmm7, xmm2
movss dword [rdi + 0x248], xmm2
movaps xmm2, xmm3
subss xmm2, xmm11
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm2, xmm9
movss dword [rdi + 0x250], xmm7
movaps xmm7, xmmword [rsp + 0x140]
addss xmm5, xmm1
movss dword [rdi + 0x24c], xmm1
movss xmm1, dword [rdi + 0x14]
subss xmm1, xmm12
movss dword [rdi + 0x268], xmm2
movss dword [rdi + 0x254], xmm5
addss xmm1, xmm8
addss xmm1, xmm10
movss dword [rdi + 0x26c], xmm1
jne 0x18002d38e
movss xmm6, dword [rdi + 0x18]
movaps xmm0, xmm9
addss xmm0, xmm9
subss xmm6, xmm0
subss xmm6, dword [rdi + 0x74]
ucomiss xmm4, xmm13
addss xmm6, xmm2
movss dword [rdi + 0x270], xmm6
movaps xmm6, xmmword [rsp + 0x150]
jne 0x18002d3c4
movss xmm4, dword [rdi + 0x1c]
movaps xmm0, xmm8
addss xmm0, xmm8
subss xmm4, xmm0
subss xmm4, xmm10
subss xmm4, dword [rdi + 0x78]
movzx r9d, byte [rsp + 0x42]
addss xmm8, xmm10
xor r12d, r12d
subss xmm9, xmm11
addss xmm4, xmm1
lea rcx, [rdi + 0x15c]
subss xmm8, xmm12
movss dword [rdi + 0x108], xmm9
addss xmm3, xmm9
movss dword [rdi + 0x274], xmm4
lea edx, [r12 + 3]
mov qword [rdi + 0x10c], r12
addss xmm8, dword [rdi + 0x14]
movss dword [rdi + 0xe0], xmm3
movss dword [rdi + 0xe4], xmm8
movss dword [rdi + 0xd0], xmm3
movss dword [rdi + 0xd4], xmm8
movss dword [rdi + 0xd8], xmm3
movss dword [rdi + 0xdc], xmm8
movsd xmm0, qword [rdi + 0xe0]
movsd qword [rdi + 0xe8], xmm0
mov qword [rdi + 0xf8], r12
mov qword [rdi + 0xf0], r12
mov qword [rdi + 0x100], r12
mov dword [rdi + 0x13c], r12d
mov dword [rdi + 0x140], 1
mov eax, dword [rdi + 0x148]
mov dword [rdi + 0x144], eax
mov qword [rdi + 0x148], r12
mov byte [rdi + 0x150], r12b
comiss xmm13, dword [rdi + 0x60]
setb al
mov byte [rdi + 0x151], al
mov byte [rdi + 0x152], r12b
movss xmm0, dword [rdi + 0x38]
maxss xmm0, dword [rsi + 0x15a0]
maxss xmm0, dword [rsi + 0x1bec]
movss dword [rdi + 0x154], xmm0
mov eax, dword [rsi + 0x1bf0]
mov dword [rdi + 0x158], eax
movss xmm2, dword [rsi + 0x15a0]
call fcn.1800607f0
movaps xmm12, xmmword [rsp + 0xf0]
movaps xmm11, xmmword [rsp + 0x100]
movaps xmm10, xmmword [rsp + 0x110]
movaps xmm9, xmmword [rsp + 0x120]
movaps xmm8, xmmword [rsp + 0x130]
mov qword [rdi + 0x180], r12
mov ecx, dword [rdi + 0x18c]
test ecx, ecx
jns 0x18002d538
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x188]
test eax, eax
cmovg edx, eax
call fcn.18003eef0
mov dword [rdi + 0x188], r12d
lea rax, [rdi + 0x288]
mov qword [rdi + 0x198], rax
mov eax, 1
mov qword [rdi + 0x1a0], r12
mov dword [rdi + 0x1a8], eax
test r13, r13
je 0x18002d585
mov eax, dword [r13 + 0x1a8]
mov dword [rdi + 0x1ac], eax
mov qword [rdi + 0x1b0], 0xffffffffffffffff
mov eax, dword [r13 + 0x1b8]
jmp 0x18002d599
mov dword [rdi + 0x1ac], eax
mov eax, r12d
mov qword [rdi + 0x1b0], 0xffffffffffffffff
mov dword [rdi + 0x1b8], eax
mov eax, dword [rdi + 0x280]
mov dword [rdi + 0x1bc], eax
mov dword [rdi + 0x1c0], 0xbf800000
mov ecx, dword [rdi + 0x1cc]
test ecx, ecx
jns 0x18002d5dc
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1c8]
test eax, eax
cmovg edx, eax
call fcn.18003ee50
mov dword [rdi + 0x1c8], r12d
mov ecx, dword [rdi + 0x1dc]
test ecx, ecx
jns 0x18002d60a
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1d8]
test eax, eax
cmovg edx, eax
call fcn.18003ee50
mov dword [rdi + 0x1d8], r12d
mov ecx, dword [rdi + 0x1ec]
test ecx, ecx
jns 0x18002d638
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1e8]
test eax, eax
cmovg edx, eax
call fcn.18003ee50
lea rcx, [rdi + 0x1f8]
mov dword [rdi + 0x1e8], r12d
xor edx, edx
call fcn.18003f120
bt r14d, 0x18
jae 0x18002d67c
mov eax, dword [r13 + 0x1b8]
cmp dword [rdi + 0x1b8], eax
je 0x18002d67c
lea rdx, [rdi + 0x1b8]
mov dword [rdi + 0x1b8], eax
lea rcx, [rdi + 0x1c8]
call fcn.18003ea30
movzx eax, byte [rdi + 0x94]
test al, al
jle 0x18002d68f
dec al
mov byte [rdi + 0x94], al
movzx eax, byte [rdi + 0x95]
test al, al
jle 0x18002d6a2
dec al
mov byte [rdi + 0x95], al
test r15b, r15b
je 0x18002d6b9
mov rcx, rdi
call fcn.180031260
xor edx, edx
mov rcx, rdi
call fcn.180034810
test r14b, 1
jne 0x18002d6da
mov r9, qword [rbp + 0xb8]
lea rdx, [rsp + 0x78]
mov r8, qword [rbp + 0xb0]
mov rcx, rdi
call fcn.18003b630
mov eax, dword [rdi + 0x4c]
movss xmm1, dword [rsp + 0x78]
movss xmm4, dword [rbp - 0x80]
movss xmm3, dword [rbp - 0x7c]
movss xmm5, dword [rsp + 0x7c]
mov dword [rdi + 0x114], eax
mov rax, qword [0x180202968]
movss xmm2, dword [rax + 0x15b0]
movss xmm0, dword [rax + 0x15b4]
subss xmm1, xmm2
addss xmm4, xmm2
movss xmm2, dword [rax + 0x130]
addss xmm3, xmm0
subss xmm5, xmm0
comiss xmm2, xmm1
jb 0x18002d74d
movss xmm0, dword [rax + 0x134]
comiss xmm0, xmm5
jb 0x18002d74d
comiss xmm2, xmm4
jae 0x18002d74d
comiss xmm0, xmm3
jae 0x18002d74d
mov ebx, 1
mov eax, ebx
jmp 0x18002d755
mov eax, r12d
mov ebx, 1
movups xmm0, xmmword [rsp + 0x78]
mov dword [rdi + 0x118], eax
lea rdx, [rdi + 0x240]
lea rcx, [rdi + 0x238]
mov r8b, 1
movups xmmword [rdi + 0x11c], xmm0
call fcn.180038f20
mov byte [rdi + 0x80], r12b
jmp 0x18002d7e9
mov rcx, qword [0x180202968]
mov qword [rcx + 0x1af0], rdi
mov rax, qword [0x180202968]
movss xmm0, dword [rax + 0x19ac]
mov rax, qword [rdi + 0x360]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18002d7bf
mulss xmm0, dword [rax + 0x2a8]
movss dword [rcx + 0x19c0], xmm0
lea rdx, [rdi + 0x240]
movss dword [rcx + 0x19a8], xmm0
movzx r8d, bl
lea rcx, [rdi + 0x238]
call fcn.180038f20
xor r12d, r12d
inc word [rdi + 0x8a]
mov r15, qword [rsp + 0x168]
mov dword [rsi + 0x1b90], r12d
mov r12, qword [rsp + 0x180]
bt r14d, 0x18
jae 0x18002d887
test r14b, 0x40
jne 0x18002d84e
cmp byte [rdi + 0x94], 0
jg 0x18002d84e
cmp byte [rdi + 0x95], 0
jg 0x18002d84e
movss xmm0, dword [rdi + 0x220]
comiss xmm0, dword [rdi + 0x218]
jbe 0x18002d848
movss xmm0, dword [rdi + 0x224]
comiss xmm0, dword [rdi + 0x21c]
ja 0x18002d84e
mov dword [rdi + 0x9c], ebx
test r13, r13
je 0x18002d887
cmp byte [r13 + 0x81], 0
jne 0x18002d867
cmp dword [r13 + 0x9c], 0
jle 0x18002d86d
mov dword [rdi + 0x9c], ebx
cmp byte [r13 + 0x81], 0
jne 0x18002d881
cmp dword [r13 + 0xa0], 0
jle 0x18002d887
mov dword [rdi + 0xa0], ebx
comiss xmm13, dword [rsi + 0x1558]
mov rsi, qword [rsp + 0x188]
mov r14, qword [rsp + 0x170]
mov r13, qword [rsp + 0x178]
movaps xmm13, xmmword [rsp + 0xe0]
jb 0x18002d8b8
mov dword [rdi + 0x9c], ebx
cmp dword [rdi + 0x9c], 0
jg 0x18002d8ce
cmp dword [rdi + 0xa0], 0
jg 0x18002d8ce
xor cl, cl
jmp 0x18002d8d0
mov cl, 1
xor al, al
mov byte [rdi + 0x85], cl
cmp byte [rdi + 0x81], al
jne 0x18002d8e9
cmp byte [rdi + 0x7e], al
je 0x18002d8e9
test cl, cl
je 0x18002d906
cmp byte [rdi + 0x94], al
jg 0x18002d906
cmp byte [rdi + 0x95], al
jg 0x18002d906
cmp dword [rdi + 0xa0], 0
movzx eax, al
cmovle eax, ebx
mov byte [rdi + 0x83], al
xor al, 1
add rsp, 0x190
pop rdi
pop rbx
pop rbp
ret