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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r14
lea rbp, [rax - 0xf8]
sub rsp, 0x1d8
mov rsi, qword [0x1800a79f0]
mov r14, rcx
movaps xmmword [rax - 0xa8], xmm11
mov qword [rax - 0x28], rbx
mov ebx, r8d
mov qword [rax - 0x30], r12
mov qword [rax - 0x38], r13
call fcn.18001e300
test rax, rax
mov qword [rsp + 0x48], rax
mov rdi, rax
sete byte [rbp + 0x110]
test rax, rax
jne 0x180020898
mov edx, ebx
mov rcx, r14
call fcn.18001e3d0
mov rdi, rax
mov r13d, dword [rsi + 0x1b88]
mov ecx, ebx
mov r12d, dword [rdi + 0x248]
mov r14d, ebx
or r14d, 6
mov dword [rsp + 0x58], r13d
and ecx, 0xc0200
mov dword [rsp + 0x54], r12d
cmp ecx, 0xc0200
cmovne r14d, ebx
lea rbx, [rsi + 0x1bd8]
cmp dword [rbx], 0
jne 0x1800208e2
cmp byte [rsi + 0x1b95], 0
je 0x1800208e2
mov al, 1
jmp 0x1800208e4
xor al, al
mov byte [rdi + 0x96], al
lea eax, [r13 - 1]
cmp r12d, eax
setl dl
mov byte [rbp + 0x108], dl
bt r14d, 0x1a
jae 0x180020933
movsxd rax, dword [rsi + 0x1dd0]
lea rax, [rax + rax*2]
shl rax, 4
add rax, qword [rsi + 0x1dc8]
cmp rdi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rdi + 0xa4], eax
setne al
or cl, al
or dl, cl
mov byte [rbp + 0x108], dl
mov byte [rdi + 0x94], dl
test dl, dl
je 0x180020952
or byte [rdi + 0xb4], 8
or byte [rdi + 0xb5], 8
or byte [rdi + 0xb6], 8
xor ecx, ecx
cmp r12d, r13d
je 0x180020995
mov dword [rdi + 0xc], r14d
mov dword [rdi + 0x248], r13d
movsd xmm0, qword [rsi + 0x1b80]
mov word [rdi + 0x9c], cx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x24c], xmm0
movzx eax, word [rsi + 0x1bf8]
inc dword [rsi + 0x1bf8]
mov word [rdi + 0x9e], ax
jmp 0x180020999
mov r14d, dword [rdi + 0xc]
movsxd rax, dword [rbx]
test eax, eax
jne 0x1800209a5
mov rax, rcx
jmp 0x1800209b7
imul rcx, rax, 0x38
mov rax, qword [rsi + 0x1be0]
mov rax, qword [rcx + rax - 0x38]
xor ecx, ecx
mov qword [rsp + 0x1b8], r15
cmp r12d, r13d
je 0x1800209d4
test r14d, 0x5000000
mov r15, rcx
cmovne r15, rax
jmp 0x1800209db
mov r15, qword [rdi + 0x350]
lea rcx, [rdi + 0xc8]
mov qword [rsp + 0x70], r15
cmp dword [rcx], 0
jne 0x1800209f5
lea rdx, [rdi + 8]
call fcn.18002a4a0
movups xmm0, xmmword [rsi + 0x1cc0]
mov ecx, dword [rbx]
movups xmm1, xmmword [rsi + 0x1cd0]
mov r8d, dword [rbx + 4]
mov eax, dword [rsi + 0x1ce8]
mov qword [rbp - 0x38], rdi
mov dword [rbp - 8], eax
movups xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [rsi + 0x1ce0]
movsd qword [rbp - 0x10], xmm0
movups xmmword [rbp - 0x20], xmm1
cmp ecx, r8d
jne 0x180020a58
inc ecx
test r8d, r8d
je 0x180020a44
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180020a49
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.18002ab20
movsxd rax, dword [rbx]
xor r11d, r11d
mov rdx, qword [0x1800a79f0]
movups xmm0, xmmword [rbp - 0x38]
movups xmm1, xmmword [rbp - 0x28]
imul rcx, rax, 0x38
mov rax, qword [rbx + 8]
movups xmmword [rcx + rax], xmm0
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rcx + rax + 0x10], xmm1
movsd xmm1, qword [rbp - 8]
movups xmmword [rcx + rax + 0x20], xmm0
movsd qword [rcx + rax + 0x30], xmm1
inc dword [rbx]
mov qword [rsi + 0x1c08], rdi
mov rax, qword [rdx + 0x1c08]
movzx ecx, word [rax + 0xc8]
mov word [rdi + 0x1c0], cx
movzx eax, word [rdx + 0x1d60]
mov word [rdi + 0x1c2], ax
movzx eax, word [rdx + 0x1d70]
mov word [rdi + 0x1c4], ax
movzx eax, word [rdx + 0x1d80]
mov word [rdi + 0x1c6], ax
movzx eax, word [rdx + 0x1d90]
mov word [rdi + 0x1c8], ax
movzx eax, word [rdx + 0x1db0]
mov word [rdi + 0x1ca], ax
movzx eax, word [rdx + 0x1dd0]
mov word [rdi + 0x1cc], ax
mov qword [rsi + 0x1c08], r11
bt r14d, 0x1a
jae 0x180020b42
lea rcx, [rsi + 0x1dd0]
movsxd rax, dword [rcx]
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [rsi + 0x1dc8]
mov rdx, rbx
mov qword [rbx + 8], rdi
call fcn.180029e40
mov eax, dword [rbx]
xor r11d, r11d
mov dword [rdi + 0xa4], eax
cmp r12d, r13d
je 0x180020bda
mov qword [rdi + 0x350], r15
mov qword [rdi + 0x368], rdi
mov qword [rdi + 0x360], rdi
mov qword [rdi + 0x358], rdi
test r15, r15
je 0x180020ba7
mov eax, r14d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x180020b89
mov rax, qword [r15 + 0x358]
mov qword [rdi + 0x358], rax
bt r14d, 0x1b
jb 0x180020ba7
test r14d, 0x5000000
je 0x180020ba7
mov rax, qword [r15 + 0x360]
mov qword [rdi + 0x360], rax
test dword [rdi + 0xc], 0x800000
je 0x180020bda
mov rcx, rdi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx + 0x350]
mov qword [rdi + 0x368], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x180020bc0
xor dl, dl
xor r12b, r12b
xor r13b, r13b
mov byte [rsp + 0x30], dl
test byte [rsi + 0x1cf0], 1
je 0x180020c7f
movsx ecx, byte [rdi + 0xb4]
mov r8d, dword [rsi + 0x1cf4]
test r8d, ecx
setne dl
mov byte [rsp + 0x30], dl
test r8d, ecx
je 0x180020c70
movss xmm0, dword [rsi + 0x1d0c]
movss xmm1, dword [rsi + 0x1d08]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x1800961f0]
jbe 0x180020c70
movsd xmm0, qword [rsi + 0x1d00]
and ecx, 0xf1
mov eax, dword [rdi + 0xb4]
and eax, 0xffffff00
movsd qword [rdi + 0xb8], xmm0
movsd xmm1, qword [rsi + 0x1d08]
or ecx, eax
mov dword [rdi + 0xb4], ecx
movsd qword [rdi + 0xc0], xmm1
jmp 0x180020c7f
lea rdx, [rsi + 0x1d00]
mov rcx, rdi
call fcn.180023060
test byte [rsi + 0x1cf0], 2
xorps xmm11, xmm11
je 0x180020cd6
movsx eax, byte [rdi + 0xb5]
mov r8d, dword [rsi + 0x1cf8]
and eax, r8d
je 0x180020cb2
movss xmm0, dword [rsi + 0x1d10]
comiss xmm0, xmm11
jbe 0x180020cb2
mov r12b, 1
jmp 0x180020cb6
test eax, eax
je 0x180020cc7
movss xmm0, dword [rsi + 0x1d14]
comiss xmm0, xmm11
jbe 0x180020cc7
mov r13b, 1
lea rdx, [rsi + 0x1d10]
mov rcx, rdi
call fcn.180023190
test byte [rsi + 0x1cf0], 0x80
je 0x180020d0d
movss xmm0, dword [rsi + 0x1d20]
comiss xmm0, xmm11
jb 0x180020cf6
movss dword [rdi + 0x6c], xmm0
mov dword [rdi + 0x74], r11d
movss xmm0, dword [rsi + 0x1d24]
comiss xmm0, xmm11
jb 0x180020d0d
movss dword [rdi + 0x70], xmm0
mov dword [rdi + 0x78], r11d
test byte [rsi + 0x1cf0], 4
mov ebx, dword [rsp + 0x58]
je 0x180020d29
movsd xmm0, qword [rsi + 0x1d18]
movsd qword [rdi + 0x38], xmm0
jmp 0x180020d37
cmp dword [rsp + 0x54], ebx
je 0x180020d37
mov qword [rdi + 0x38], 0
test byte [rsi + 0x1cf0], 8
je 0x180020d85
mov ecx, dword [rsi + 0x1cfc]
movzx edx, byte [rsi + 0x1d28]
test ecx, ecx
je 0x180020d5c
movsx eax, byte [rdi + 0xb6]
test ecx, eax
je 0x180020d85
movzx ecx, byte [rdi + 0xb6]
mov eax, dword [rdi + 0xb4]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [rdi + 0x91], dl
mov dword [rdi + 0xb4], ecx
test byte [rsi + 0x1cf0], 0x20
je 0x180020d96
mov rcx, rdi
call fcn.180022c40
cmp byte [rdi + 0x94], 0
je 0x180020db4
and byte [rdi + 0xb4], 0xf7
and byte [rdi + 0xb5], 0xf7
and byte [rdi + 0xb6], 0xf7
mov edx, 1
cmp dword [rsp + 0x54], ebx
je 0x180022873
movaps xmmword [rsp + 0x1a0], xmm6
lea rcx, [rdi + 0xc8]
movaps xmmword [rsp + 0x190], xmm7
mov eax, r14d
movaps xmmword [rsp + 0x180], xmm8
and eax, 0x3000000
movaps xmmword [rsp + 0x170], xmm9
movaps xmmword [rsp + 0x160], xmm10
movaps xmmword [rsp + 0x140], xmm12
movaps xmmword [rsp + 0x130], xmm13
movaps xmmword [rsp + 0x120], xmm14
movaps xmmword [rsp + 0x110], xmm15
mov byte [rdi + 0x8e], dl
mov byte [rdi + 0x97], 0
mov dword [rdi + 0x220], 0xff7fffff
mov dword [rdi + 0x224], 0xff7fffff
mov dword [rdi + 0x228], 0x7f7fffff
mov dword [rdi + 0x22c], 0x7f7fffff
mov dword [rsp + 0x34], eax
call fcn.18002a570
mov rcx, qword [rdi + 0x280]
call fcn.1800327d0
cmp byte [rdi + 0x3a8], 0
mov dword [rdi + 0x180], 0xffffffff
je 0x180020eba
mov rcx, qword [rdi + 0x280]
mov edx, dword [rdi + 0x3a0]
add rcx, 0x10
mov byte [rdi + 0x3a8], 0
call fcn.18002a970
mov rcx, qword [rdi + 0x280]
mov edx, dword [rdi + 0x3a4]
add rcx, 0x20
call fcn.18002a650
xor eax, eax
mov qword [rdi + 0x3a0], rax
cmp qword [rsi + 0x1f30], 0
mov r9, qword [rsp + 0x48]
je 0x180020f94
test dword [rdi + 0xc], 0x80000
jne 0x180020f94
test r9, r9
je 0x180020f94
mov r10, qword [rbp + 0x100]
mov r9, qword [rdi]
mov rax, r10
mov r8, r9
sub r8, r10
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180020f13
inc rax
test ecx, ecx
jne 0x180020f00
test edx, edx
je 0x180020f8f
movsxd r15, dword [rdi + 0x50]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x180020f22
inc rbx
cmp r15, rbx
jae 0x180020f7a
test r9, r9
je 0x180020f4b
mov rax, qword [0x1800a79f0]
test rax, rax
je 0x180020f4b
dec dword [rax + 0x3b0]
mov rcx, r9
call fcn.180063828
mov rax, qword [0x1800a79f0]
test rax, rax
je 0x180020f65
inc dword [rax + 0x3b0]
mov rcx, rbx
call fcn.180067b28
mov r10, qword [rbp + 0x100]
mov r9, rax
mov r15, rbx
mov r8, rbx
mov rdx, r10
mov rcx, r9
call fcn.180080d70
mov qword [rdi], rax
mov dword [rdi + 0x50], r15d
mov r9, qword [rsp + 0x48]
movzx eax, byte [rdi + 0xb1]
lea r8, [rdi + 0x30]
lea rdx, [rdi + 0x28]
mov byte [rsp + 0x31], al
mov rcx, rdi
call fcn.18001e9b0
movzx eax, byte [rdi + 0xb0]
test al, al
jle 0x180020fc2
dec al
mov byte [rdi + 0xb0], al
movzx eax, byte [rdi + 0xb1]
test al, al
jle 0x180020fd5
dec al
mov byte [rdi + 0xb1], al
movzx eax, byte [rdi + 0xb2]
test al, al
jle 0x180020fe8
dec al
mov byte [rdi + 0xb2], al
test r9, r9
jne 0x180020ffe
test r12b, r12b
je 0x180020ff7
test r13b, r13b
jne 0x180020ffe
mov byte [rdi + 0xb1], 1
xor r8d, r8d
cmp byte [rbp + 0x108], r8b
je 0x18002104a
test r14d, 0x6000000
je 0x18002104a
mov byte [rdi + 0xb1], 1
test r14b, 0x40
je 0x18002104a
test r12b, r12b
jne 0x18002102d
mov dword [rdi + 0x20], r8d
mov dword [rdi + 0x18], r8d
test r13b, r13b
jne 0x18002103a
mov dword [rdi + 0x24], r8d
mov dword [rdi + 0x1c], r8d
mov qword [rdi + 0x30], 0
mov qword [rdi + 0x28], 0
mov rcx, qword [0x1800a79f0]
mov qword [rcx + 0x1c08], rdi
movsxd rax, dword [rdi + 0x180]
cmp eax, 0xffffffff
je 0x180021074
imul rdx, rax, 0x208
add rdx, qword [rcx + 0x2030]
jmp 0x180021077
mov rdx, r8
movss xmm0, dword [rcx + 0x197c]
mov qword [rcx + 0x2018], rdx
mov rax, qword [rdi + 0x350]
mulss xmm0, dword [rdi + 0x278]
test rax, rax
je 0x1800210a2
mulss xmm0, dword [rax + 0x278]
movss dword [rcx + 0x1990], xmm0
movss dword [rcx + 0x1978], xmm0
bt r14d, 0x18
jae 0x1800210c3
movss xmm1, dword [rsi + 0x1588]
jmp 0x1800210e5
test r14d, 0x6000000
je 0x1800210dd
bt r14d, 0x1b
jb 0x1800210dd
movss xmm1, dword [rsi + 0x1590]
jmp 0x1800210e5
movss xmm1, dword [rsi + 0x156c]
mov rax, rdi
movss dword [rax + 0x4c], xmm1
mov eax, r14d
movsd xmm0, qword [rsi + 0x1560]
and eax, 0x5010000
movsd qword [rdi + 0x40], xmm0
cmp eax, 0x1000000
jne 0x18002112f
ucomiss xmm1, xmm11
jp 0x18002112f
jne 0x18002112f
bt r14d, 0xa
jae 0x180021122
movss xmm0, dword [rsi + 0x1564]
jmp 0x180021126
movaps xmm0, xmm11
movss dword [rdi + 0x44], xmm0
mov dword [rdi + 0x40], r8d
movss xmm0, dword [rdi + 0x40]
maxss xmm0, dword [rsi + 0x15a4]
maxss xmm0, dword [rsi + 0x1d54]
movss dword [rdi + 0x134], xmm0
mov eax, dword [rsi + 0x1d58]
mov dword [rdi + 0x138], eax
test r14b, 0x21
jne 0x18002128e
test byte [rdi + 0xc], 1
je 0x18002116e
movaps xmm2, xmm11
jmp 0x1800211a2
mov rax, qword [rdi + 0x350]
movss xmm0, dword [rcx + 0x197c]
mulss xmm0, dword [rdi + 0x278]
test rax, rax
je 0x180021192
mulss xmm0, dword [rax + 0x278]
movss xmm2, dword [rcx + 0x1598]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm4, dword [rdi + 0x10]
movaps xmm3, xmm4
movss xmm5, dword [rdi + 0x14]
addss xmm3, dword [rdi + 0x20]
addss xmm2, dword [rdi + 0x14]
cmp qword [rsi + 0x1c10], rdi
jne 0x180021257
cmp dword [rsi + 0x1c3c], 0
jne 0x180021257
cmp dword [rsi + 0x1c40], 0
jne 0x180021257
mov rax, qword [rcx + 0x1c08]
movss xmm1, dword [rcx + 0x15bc]
movss xmm0, dword [rcx + 0x15c0]
maxss xmm4, dword [rax + 0x220]
minss xmm3, dword [rax + 0x228]
maxss xmm5, dword [rax + 0x224]
minss xmm2, dword [rax + 0x22c]
subss xmm4, xmm1
addss xmm3, xmm1
movss xmm1, dword [rcx + 0x128]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x180021257
movss xmm0, dword [rcx + 0x12c]
comiss xmm0, xmm5
jb 0x180021257
comiss xmm3, xmm1
jbe 0x180021257
comiss xmm2, xmm0
jbe 0x180021257
cmp byte [rsi + 0x425], 0
je 0x180021257
mov byte [rdi + 0x92], 1
cmp byte [rdi + 0x92], 0
je 0x180021295
cmp byte [rdi + 0x91], 0
sete al
test dword [rdi + 0xc], 0x100
mov byte [rdi + 0x91], al
jne 0x180021295
comiss xmm11, dword [rcx + 0x3094]
jb 0x180021295
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x3094], eax
jmp 0x180021295
mov byte [rdi + 0x91], 0
lea r8, [rdi + 0x30]
mov byte [rdi + 0x92], 0
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.18001eac0
movzx eax, byte [rbp + 0x110]
mov byte [rbp + 0x118], al
test r14b, 0x40
je 0x1800212fc
cmp byte [rdi + 0x91], 0
jne 0x1800212fc
test r12b, r12b
jne 0x1800212e0
movss xmm0, dword [rsp + 0x68]
movss dword [rdi + 0x20], xmm0
mov byte [rbp + 0x110], 1
test r13b, r13b
jne 0x1800213b7
movss xmm0, dword [rsp + 0x6c]
mov r12b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x1800213c5
movzx eax, byte [rdi + 0xa8]
test al, al
jg 0x180021314
cmp byte [rdi + 0xa9], 0
jle 0x1800213bd
test r12b, r12b
jne 0x180021345
test al, al
jle 0x180021345
cmp byte [rdi + 0xab], r12b
je 0x180021333
movss xmm0, dword [rdi + 0x20]
maxss xmm0, dword [rsp + 0x68]
jmp 0x180021339
movss xmm0, dword [rsp + 0x68]
movss dword [rdi + 0x20], xmm0
mov byte [rbp + 0x110], 1
test r13b, r13b
jne 0x180021381
cmp byte [rdi + 0xa9], r13b
jle 0x180021381
cmp byte [rdi + 0xab], r13b
je 0x180021371
movss xmm0, dword [rdi + 0x24]
mov r12b, 1
maxss xmm0, dword [rsp + 0x6c]
movss dword [rdi + 0x24], xmm0
jmp 0x180021389
movss xmm0, dword [rsp + 0x6c]
mov r12b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x180021389
movzx r12d, byte [rbp + 0x118]
cmp byte [rdi + 0x91], 0
jne 0x1800213c5
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x1800a79f0]
jne 0x1800213c5
comiss xmm11, dword [rcx + 0x3094]
jb 0x1800213c5
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x3094], eax
jmp 0x1800213c5
movzx r12d, al
jmp 0x1800213c5
movzx r12d, byte [rbp + 0x118]
lea r8, [rdi + 0x20]
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.18001e780
cmp byte [rdi + 0x91], 0
mov r15, qword [0x1800a79f0]
movss xmm3, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rdi + 0x20], xmm3
movss dword [rdi + 0x24], xmm0
je 0x18002146d
bt r14d, 0x18
jb 0x18002146d
test byte [rdi + 0xc], 1
je 0x18002140b
movaps xmm2, xmm11
jmp 0x180021441
mov rax, qword [rdi + 0x350]
movss xmm0, dword [r15 + 0x197c]
mulss xmm0, dword [rdi + 0x278]
test rax, rax
je 0x180021430
mulss xmm0, dword [rax + 0x278]
movss xmm2, dword [r15 + 0x1598]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm1, dword [rdi + 0x10]
addss xmm2, dword [rdi + 0x14]
movaps xmm0, xmm1
addss xmm0, xmm3
subss xmm2, dword [rdi + 0x14]
subss xmm0, xmm1
movss dword [rbp + 0x11c], xmm2
movss dword [rbp + 0x118], xmm0
jmp 0x18002147a
movsd xmm0, qword [rdi + 0x20]
movsd qword [rbp + 0x118], xmm0
mov ecx, dword [rdi + 0xc]
lea rax, [rbp + 0x118]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x18], xmm0
test cl, 1
je 0x180021498
movaps xmm1, xmm11
jmp 0x1800214ce
mov rax, qword [rdi + 0x350]
movss xmm0, dword [r15 + 0x197c]
mulss xmm0, dword [rdi + 0x278]
test rax, rax
je 0x1800214bd
mulss xmm0, dword [rax + 0x278]
movss xmm1, dword [r15 + 0x1598]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x180021518
mov rax, qword [rdi + 0x350]
movss xmm14, dword [r15 + 0x197c]
mulss xmm14, dword [rdi + 0x278]
test rax, rax
je 0x1800214fb
mulss xmm14, dword [rax + 0x278]
movss xmm0, dword [r15 + 0x1598]
addss xmm14, dword [rdi + 0x138]
addss xmm0, xmm0
addss xmm14, xmm0
jmp 0x18002151c
movaps xmm14, xmm11
cmp byte [rbp + 0x108], 0
addss xmm14, xmm1
movzx r13d, byte [rsp + 0x30]
je 0x180021579
mov eax, r14d
mov dword [rdi + 0xac], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180021579
test r13b, r13b
jne 0x180021579
movsxd rax, dword [rsi + 0x1dd0]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x1dd8]
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 0x18002160e
mov rdx, qword [rsp + 0x70]
lea rbx, [rdx + 0x160]
movzx eax, word [rbx]
mov word [rdi + 0x9c], ax
mov r8d, dword [rbx]
mov ecx, dword [rbx + 4]
cmp r8d, ecx
jne 0x1800215da
inc r8d
test ecx, ecx
je 0x1800215b7
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800215bc
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18002a190
mov rdx, qword [rsp + 0x70]
mov r15, qword [0x1800a79f0]
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov ebx, dword [rsp + 0x34]
bt r14d, 0x1a
jb 0x180021612
test r13b, r13b
jne 0x180021612
cmp ebx, 0x3000000
je 0x180021612
movsd xmm0, qword [rdx + 0xd8]
movsd qword [rdi + 0x10], xmm0
jmp 0x180021612
mov ebx, dword [rsp + 0x34]
movss xmm1, dword [rdi + 0xb8]
ucomiss xmm1, dword [0x18009631c]
jp 0x180021625
je 0x18002167c
cmp byte [rdi + 0xb1], 0
jne 0x18002167c
movss xmm0, dword [rdi + 0xc0]
lea rdx, [rbp + 0x118]
mulss xmm0, dword [rdi + 0x18]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xbc]
movss dword [rbp + 0x118], xmm1
movss xmm1, dword [rdi + 0x1c]
mulss xmm1, dword [rdi + 0xc4]
subss xmm0, xmm1
movss dword [rbp + 0x11c], xmm0
call fcn.180023060
jmp 0x1800216c9
bt r14d, 0x1c
jb 0x1800216aa
bt r14d, 0x1a
jae 0x180021696
test r13b, r13b
jne 0x180021696
cmp byte [rsp + 0x31], r13b
jg 0x1800216aa
bt r14d, 0x19
jae 0x1800216c9
test r13b, r13b
jne 0x1800216c9
cmp ebx, 0x3000000
je 0x1800216c9
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.180024fc0
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
mov rax, qword [r15 + 0x1de8]
movss xmm3, dword [rsi + 0x1604]
movss xmm2, dword [rsi + 0x1600]
maxss xmm3, dword [rsi + 0x160c]
mov rcx, qword [rax]
maxss xmm2, dword [rsi + 0x1608]
movss xmm9, dword [rcx + 4]
movss xmm8, dword [rcx + 8]
movaps xmm6, xmm9
movss xmm0, dword [rcx + 0x14]
movaps xmm7, xmm8
movss xmm1, dword [rcx + 0x18]
movaps xmm5, xmm0
movss dword [rsp + 0x7c], xmm9
movaps xmm4, xmm1
movss dword [rsp + 0x38], xmm9
movss dword [rbp - 0x80], xmm8
movss dword [rsp + 0x3c], xmm8
addss xmm6, dword [rcx + 0xc]
addss xmm7, dword [rcx + 0x10]
addss xmm5, dword [rcx + 0x1c]
addss xmm4, dword [rcx + 0x20]
movss dword [rbp + 0x118], xmm6
movss dword [rsp + 0x40], xmm6
movss dword [rbp - 0x7c], xmm7
subss xmm5, xmm2
movss dword [rsp + 0x44], xmm7
subss xmm4, xmm3
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [rbp - 0x40], xmm5
movss dword [rbp - 0x3c], xmm4
movss dword [rbp - 0x48], xmm2
movss dword [rbp - 0x44], xmm3
test r13b, r13b
jne 0x180021850
bt r14d, 0x18
jb 0x180021850
cmp byte [rdi + 0xa8], r13b
jg 0x180021850
cmp byte [rdi + 0xa9], r13b
jg 0x180021850
movaps xmm0, xmm6
subss xmm0, xmm9
comiss xmm0, xmm11
jbe 0x180021850
movaps xmm0, xmm7
subss xmm0, xmm8
comiss xmm0, xmm11
jbe 0x180021850
movss xmm0, dword [rdi + 0x1c]
cmp byte [r15 + 0xcd], r13b
je 0x18002181b
test byte [rdi + 0xc], 1
jne 0x18002181b
mov rax, qword [rdi + 0x350]
movss xmm1, dword [r15 + 0x197c]
mulss xmm1, dword [rdi + 0x278]
test rax, rax
je 0x18002180a
mulss xmm1, dword [rax + 0x278]
movss xmm0, dword [r15 + 0x1598]
addss xmm0, xmm0
addss xmm0, xmm1
subss xmm2, dword [rdi + 0x18]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x14]
comiss xmm3, xmm0
ja 0x180021835
movaps xmm3, xmm4
minss xmm3, xmm0
movss xmm0, dword [rdi + 0x10]
comiss xmm2, xmm0
ja 0x180021846
movaps xmm2, xmm5
minss xmm2, xmm0
movss dword [rdi + 0x10], xmm2
movss dword [rdi + 0x14], xmm3
cvttss2si eax, dword [rdi + 0x10]
movd xmm1, eax
cvttss2si eax, dword [rdi + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rdi + 0x10], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x14], xmm0
bt r14d, 0x18
jae 0x180021883
movss xmm2, dword [rsi + 0x1584]
jmp 0x1800218a4
mov eax, r14d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18002189c
movss xmm2, dword [rsi + 0x158c]
jmp 0x1800218a4
movss xmm2, dword [rsi + 0x1568]
xor cl, cl
movss dword [rdi + 0x48], xmm2
mov dword [rsp + 0x50], ecx
cmp byte [rbp + 0x108], cl
je 0x1800218e2
bt r14d, 0xc
jb 0x1800218e2
bt r14d, 0x1a
jae 0x1800218cc
mov byte [rsp + 0x50], 1
jmp 0x1800218e2
test r14d, 0x3000000
movzx ecx, cl
mov edx, 1
cmove ecx, edx
mov dword [rsp + 0x50], ecx
addss xmm2, dword [0x18009626c]
xorps xmm0, xmm0
mov dword [rsp + 0x78], 0xffffffff
movups xmmword [rbp], xmm0
xor r13d, r13d
movss xmm0, dword [rsi + 0x1978]
cmp byte [rsi + 0xcc], r13b
movaps xmm1, xmm0
mulss xmm0, dword [0x18009621c]
setne r13b
cmp byte [rdi + 0x91], 0
mulss xmm1, dword [0x180096270]
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x5c], xmm0
jne 0x180021980
lea rax, [rbp - 0x48]
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea r9d, [r13 + 1]
lea rax, [rbp]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x68]
call fcn.18001ee80
mov r15, qword [0x1800a79f0]
test al, al
je 0x180021980
mov r12b, 1
movzx ecx, r12b
jmp 0x180021987
movzx ecx, byte [rbp + 0x110]
cmp byte [rdi + 0x91], 0
movzx eax, byte [rsp + 0x78]
mov byte [rdi + 0x98], al
jne 0x180021ade
cmp qword [rsp + 0x48], 0
movss xmm2, dword [rdi + 0x1e8]
movss xmm3, dword [rdi + 0x1ec]
subss xmm2, dword [rdi + 0x1e0]
subss xmm3, dword [rdi + 0x1e4]
movss xmm4, dword [rdi + 0x24]
movss xmm5, dword [rdi + 0x20]
subss xmm4, xmm14
addss xmm2, dword [rdi + 0x84]
addss xmm3, dword [rdi + 0x88]
jne 0x1800219f4
mov qword [rbp - 0x58], 0
lea rax, [rbp - 0x58]
jmp 0x180021a1e
movss xmm0, dword [rdi + 0x40]
lea rax, [rbp - 0x50]
movss xmm1, dword [rdi + 0x44]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x28]
addss xmm1, dword [rdi + 0x2c]
movss dword [rbp - 0x50], xmm0
movss dword [rbp - 0x4c], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test cl, cl
jne 0x180021a2e
movaps xmm5, xmm2
test r12b, r12b
jne 0x180021a36
movaps xmm4, xmm3
bt r14d, 0xe
jb 0x180021a4c
comiss xmm1, xmm4
jbe 0x180021a48
test r14b, 8
je 0x180021a4c
xor cl, cl
jmp 0x180021a4e
mov cl, 1
mov byte [rdi + 0x8d], cl
bt r14d, 0xf
jb 0x180021a92
test cl, cl
je 0x180021a69
movss xmm0, dword [rsi + 0x15cc]
jmp 0x180021a6d
movaps xmm0, xmm11
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x180021a85
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
je 0x180021a92
mov byte [rdi + 0x8c], 0
movaps xmm1, xmm11
jmp 0x180021abc
mov byte [rdi + 0x8c], 1
test cl, cl
jne 0x180021ab4
comiss xmm1, xmm4
jbe 0x180021aac
test r14b, 8
jne 0x180021aac
mov cl, 1
jmp 0x180021aae
xor cl, cl
mov byte [rdi + 0x8d], cl
movss xmm1, dword [rsi + 0x15cc]
test cl, cl
je 0x180021aca
movss xmm0, dword [rsi + 0x15cc]
jmp 0x180021ace
movaps xmm0, xmm11
movss dword [rdi + 0x84], xmm0
movss dword [rdi + 0x88], xmm1
mov eax, r14d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x180021b04
cmp ebx, 0x3000000
je 0x180021b04
mov r12, qword [rsp + 0x70]
lea rax, [r12 + 0x220]
jmp 0x180021b0e
mov r12, qword [rsp + 0x70]
lea rax, [rsp + 0x38]
test byte [rdi + 0xc], 1
movss xmm15, dword [rdi + 0x10]
movss xmm5, dword [rdi + 0x14]
movaps xmm2, xmm15
addss xmm2, dword [rdi + 0x18]
movups xmm6, xmmword [rax]
movaps xmm3, xmm5
addss xmm3, dword [rdi + 0x1c]
je 0x180021b39
movaps xmm0, xmm11
jmp 0x180021b6f
mov rax, qword [rdi + 0x350]
movss xmm1, dword [r15 + 0x197c]
mulss xmm1, dword [rdi + 0x278]
test rax, rax
je 0x180021b5e
mulss xmm1, dword [rax + 0x278]
movss xmm0, dword [r15 + 0x1598]
addss xmm0, xmm0
addss xmm0, xmm1
movaps xmm4, xmm5
movss dword [rbp - 0x68], xmm15
addss xmm4, xmm0
movaps xmm1, xmm15
addss xmm1, dword [rdi + 0x20]
movss xmm0, dword [rdi + 0x14]
mov eax, r14d
movss dword [rbp - 0x64], xmm0
and eax, 0x401
movss dword [rbp - 0x5c], xmm4
movss dword [rbp - 0x60], xmm1
movss dword [rdi + 0x1d0], xmm15
movss dword [rdi + 0x1d4], xmm5
movss dword [rdi + 0x1d8], xmm2
movss dword [rdi + 0x1dc], xmm3
movaps xmm3, xmm6
movss xmm0, dword [rdi + 0x1d0]
movss dword [rsp + 0x48], xmm4
maxss xmm0, xmm6
movss dword [rbp + 0x110], xmm1
movaps xmm4, xmm6
shufps xmm4, xmm6, 0x55
shufps xmm3, xmm6, 0xaa
maxss xmm5, xmm4
movss dword [rdi + 0x1d0], xmm0
movss dword [rdi + 0x1d4], xmm5
movaps xmm5, xmm6
movss xmm1, dword [rdi + 0x1d8]
movss xmm0, dword [rdi + 0x1dc]
minss xmm1, xmm3
shufps xmm5, xmm6, 0xff
minss xmm0, xmm5
movss dword [rdi + 0x1d8], xmm1
movss dword [rdi + 0x1dc], xmm0
movss xmm9, dword [rdi + 0x10]
movss xmm7, dword [rdi + 0x14]
movaps xmm8, xmm9
movss dword [rdi + 0x1e0], xmm9
movaps xmm12, xmm7
addss xmm12, xmm14
addss xmm8, dword [rdi + 0x18]
addss xmm7, dword [rdi + 0x1c]
movss dword [rdi + 0x1e4], xmm12
subss xmm8, dword [rdi + 0x84]
subss xmm7, dword [rdi + 0x88]
movss dword [rdi + 0x1e8], xmm8
movss dword [rdi + 0x1ec], xmm7
cmp eax, 1
jne 0x180021c91
movss xmm10, dword [rdi + 0x4c]
jmp 0x180021c9a
movss xmm10, dword [rsi + 0x15a0]
movss xmm13, dword [0x180096234]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x40]
addss xmm9, xmm13
mulss xmm0, xmm13
addss xmm12, xmm13
addss xmm8, xmm13
addss xmm7, xmm13
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm12, xmm10
subss xmm7, dword [rdi + 0x4c]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x4c]
addss xmm9, xmm1
subss xmm8, xmm1
cvttss2si eax, xmm9
xorps xmm9, xmm9
cvtsi2ss xmm9, eax
cvttss2si eax, xmm12
movss dword [rdi + 0x1f0], xmm9
cvtsi2ss xmm0, eax
cvttss2si eax, xmm8
movss dword [rdi + 0x1f4], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm7
movss dword [rdi + 0x1f8], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x1fc], xmm0
movss xmm0, dword [rdi + 0x1f4]
comiss xmm4, xmm0
jbe 0x180021d49
movaps xmm1, xmm4
jmp 0x180021d50
movaps xmm1, xmm5
minss xmm1, xmm0
comiss xmm6, xmm9
jbe 0x180021d5b
movaps xmm0, xmm6
jmp 0x180021d63
movaps xmm0, xmm3
minss xmm0, xmm9
movss dword [rdi + 0x1f0], xmm0
movss dword [rdi + 0x1f4], xmm1
movss xmm0, dword [rdi + 0x1fc]
comiss xmm4, xmm0
ja 0x180021d87
minss xmm5, xmm0
movaps xmm4, xmm5
movss xmm0, dword [rdi + 0x1f8]
comiss xmm6, xmm0
jbe 0x180021d99
movaps xmm3, xmm6
jmp 0x180021d9d
minss xmm3, xmm0
movss dword [rdi + 0x1f8], xmm3
movss dword [rdi + 0x1fc], xmm4
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm11
jbe 0x180021dcb
test r14d, 0x2000040
jne 0x180021dcb
mulss xmm0, dword [0x18009623c]
jmp 0x180021ddb
movss xmm0, dword [rsi + 0x1978]
mulss xmm0, dword [0x1800962d8]
cvttss2si eax, xmm0
mov rcx, rdi
mov rdx, rdi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x250], xmm0
lea rcx, [rbp - 0x78]
movss xmm0, dword [rdi + 0x1e8]
subss xmm0, dword [rdi + 0x1e0]
movss xmm1, dword [rdi + 0x40]
movss xmm2, dword [rdi + 0x44]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rdi + 0x28]
addss xmm2, dword [rdi + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm11
maxss xmm0, xmm1
movss dword [rdi + 0x64], xmm0
movss xmm0, dword [rdi + 0x1ec]
subss xmm0, dword [rdi + 0x1e4]
subss xmm2, xmm0
movaps xmm0, xmm11
maxss xmm0, xmm2
movss dword [rdi + 0x68], xmm0
call fcn.180023f00
mov rcx, qword [rdi + 0x280]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x5c], xmm0
movss dword [rdi + 0x60], xmm1
mov dword [rdi + 0x6c], 0x7f7fffff
mov dword [rdi + 0x70], 0x7f7fffff
mov rax, qword [rsi + 0x1970]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.180032e60
mov rcx, qword [0x1800a79f0]
movaps xmm0, xmm6
unpckhpd xmm0, xmm6
xor r9d, r9d
movq r8, xmm0
movq rdx, xmm6
mov rax, qword [rcx + 0x1c08]
mov byte [rax + 0x90], 1
mov rbx, qword [rcx + 0x1c08]
mov rcx, qword [rbx + 0x280]
call fcn.180032d40
mov rax, qword [rbx + 0x280]
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 + 0x220], eax
movss dword [rbx + 0x224], xmm0
movss dword [rbx + 0x228], xmm1
movss dword [rbx + 0x22c], xmm2
mov r9, qword [0x1800a79f0]
bt r14d, 0x1b
jae 0x180021f84
mov eax, dword [r9 + 0x1dc0]
sub eax, 1
js 0x180021f6b
movsxd rdx, eax
mov rax, qword [r9 + 0x1dc8]
add rax, 8
lea r8, [rdx + rdx*2]
shl r8, 4
add r8, rax
nop dword [rax]
mov rax, qword [r8]
test rax, rax
je 0x180021f61
test dword [rax + 0xc], 0x8000000
jne 0x180021f6d
sub r8, 0x30
sub rdx, 1
jns 0x180021f50
xor eax, eax
cmp rdi, rax
jne 0x180021f84
cmp byte [rdi + 0xb1], 0
jg 0x180021f84
mov cl, 1
mov edx, 0x408
jmp 0x180021f8b
xor cl, cl
mov edx, 0x3f8
mov rax, qword [rsi + 0x1f28]
test rax, rax
je 0x180021fa4
cmp rdi, qword [rax + 0x358]
jne 0x180021fa4
mov bl, 1
jmp 0x180021fa6
xor bl, bl
test cl, cl
jne 0x180021fb2
test bl, bl
je 0x180022105
movups xmm1, xmmword [rdx + r9 + 0x1558]
lea rcx, [rbp - 0x78]
movss xmm0, dword [rsi + 0x1f6c]
mulss xmm0, dword [r9 + 0x1558]
movups xmmword [rbp - 0x78], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x6c], xmm1
call fcn.180017ad0
mov rcx, qword [rdi + 0x280]
lea r8, [rsp + 0x40]
xor r15d, r15d
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x28], r15d
mov r9d, eax
movss dword [rsp + 0x20], xmm11
call fcn.1800356f0
test bl, bl
je 0x180022105
cmp rdi, qword [rsi + 0x1f28]
jne 0x180022105
movss xmm0, dword [rsi + 0x1978]
movss xmm2, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
movaps xmm1, xmm2
addss xmm2, dword [rdi + 0x18]
movss xmm12, dword [rbp + 0x118]
subss xmm1, xmm0
movaps xmm4, xmm3
addss xmm3, dword [rdi + 0x1c]
subss xmm4, xmm0
addss xmm2, xmm0
movss dword [rsp + 0x38], xmm1
addss xmm3, xmm0
movss xmm0, dword [rsp + 0x7c]
comiss xmm0, xmm1
movss dword [rsp + 0x40], xmm2
movss dword [rsp + 0x44], xmm3
movss dword [rsp + 0x3c], xmm4
jb 0x180022097
movss xmm0, dword [rbp - 0x80]
comiss xmm0, xmm4
jb 0x180022097
comiss xmm2, xmm12
jb 0x180022097
comiss xmm3, dword [rbp - 0x7c]
jae 0x18002210e
mov rax, qword [0x1800a79f0]
lea rcx, [rbp - 0x78]
movss xmm0, dword [rsi + 0x1f3c]
mulss xmm0, dword [0x180096220]
movups xmm1, xmmword [rax + 0x1940]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x78], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x6c], xmm1
call fcn.180017ad0
movss xmm0, dword [rsi + 0x1568]
lea r8, [rsp + 0x40]
mov rcx, qword [rdi + 0x280]
lea rdx, [rsp + 0x38]
mov r9d, eax
mov dword [rsp + 0x28], r15d
movss dword [rsp + 0x20], xmm0
call fcn.1800356f0
jmp 0x18002210e
movss xmm12, dword [rbp + 0x118]
mov eax, r14d
xor bl, bl
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x180022159
cmp dword [rsp + 0x34], 0x3000000
je 0x180022159
mov rdx, qword [rdi + 0x280]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x180022159
mov rax, qword [r12 + 0x280]
cmp dword [rax + 0x20], 0
jle 0x180022159
mov bl, 1
mov qword [rdi + 0x280], rax
mov rax, qword [rsi + 0x1f20]
test rax, rax
jne 0x18002216c
mov rax, qword [rsi + 0x1df0]
mov r12d, dword [rsp + 0x50]
test r12b, r12b
jne 0x180022190
test rax, rax
je 0x18002218b
mov rax, qword [rax + 0x360]
cmp qword [rdi + 0x360], rax
je 0x180022190
xor r8b, r8b
jmp 0x180022193
mov r8b, 1
movss xmm0, dword [rsp + 0x5c]
lea rax, [rbp]
movss dword [rsp + 0x28], xmm0
lea r9d, [r13 + 1]
lea rdx, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.18001fd50
test bl, bl
je 0x1800221ca
lea rax, [rdi + 0x288]
mov qword [rdi + 0x280], rax
cmp qword [rsi + 0x1f28], rdi
jne 0x18002235c
movss xmm1, dword [rsi + 0x1978]
movss xmm7, dword [rdi + 0x10]
movss xmm6, dword [rdi + 0x14]
movaps xmm9, xmm7
addss xmm7, dword [rdi + 0x18]
movss xmm2, dword [rdi + 0x48]
subss xmm9, xmm1
movss xmm0, dword [rsp + 0x7c]
movaps xmm8, xmm6
addss xmm6, dword [rdi + 0x1c]
movaps xmm10, xmm2
subss xmm8, xmm1
maxss xmm10, dword [rsi + 0x1568]
comiss xmm0, xmm9
addss xmm7, xmm1
addss xmm6, xmm1
jb 0x180022270
movss xmm0, dword [rbp - 0x80]
comiss xmm0, xmm8
jb 0x180022270
comiss xmm7, xmm12
jb 0x180022270
comiss xmm6, dword [rbp - 0x7c]
jb 0x180022270
xorps xmm1, xmmword [0x1800965c0]
movaps xmm10, xmm2
subss xmm1, dword [0x18009626c]
movaps xmm0, xmm1
subss xmm9, xmm1
subss xmm8, xmm1
addss xmm0, xmm7
addss xmm1, xmm6
movaps xmm7, xmm0
movaps xmm6, xmm1
mov rax, qword [0x1800a79f0]
lea rcx, [rsp + 0x38]
movss xmm0, dword [rsi + 0x1f3c]
mov rbx, qword [rdi + 0x280]
movups xmm1, xmmword [rax + 0x1940]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rsp + 0x38], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x44], xmm1
call fcn.180017ad0
mov r15d, eax
test eax, 0xff000000
je 0x18002235c
xor r13d, r13d
addss xmm9, xmm13
test byte [rbx + 0x30], 1
addss xmm8, xmm13
movaps xmm3, xmm10
mov dword [rsp + 0x20], r13d
lea r8, [rbp + 0x118]
mov rcx, rbx
lea rdx, [rsp + 0x5c]
movss dword [rsp + 0x5c], xmm9
movss dword [rsp + 0x60], xmm8
je 0x180022305
subss xmm7, xmm13
subss xmm6, xmm13
jmp 0x180022315
subss xmm7, dword [0x180096230]
subss xmm6, dword [0x180096230]
movss dword [rbp + 0x118], xmm7
movss dword [rbp + 0x11c], xmm6
call fcn.180034f10
movss xmm0, dword [0x1800962a8]
mov r9d, r15d
mov r8d, dword [rbx + 0x78]
mov rcx, rbx
mov rdx, qword [rbx + 0x80]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
call fcn.180033150
mov dword [rbx + 0x78], r13d
jmp 0x18002235f
xor r13d, r13d
movss xmm6, dword [rdi + 0x38]
mov ecx, r14d
movaps xmm13, xmmword [rsp + 0x130]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm6, xmm11
jp 0x1800223c1
jne 0x1800223c1
movss xmm0, dword [rdi + 0x40]
mov eax, r14d
movss xmm1, dword [rdi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [rdi + 0x84]
cmp eax, 0x800
jne 0x1800223b6
movss xmm9, dword [rdi + 0x28]
maxss xmm9, xmm1
jmp 0x1800223c5
movaps xmm9, xmm11
maxss xmm9, xmm1
jmp 0x1800223c5
movaps xmm9, xmm6
movss xmm4, dword [rdi + 0x3c]
ucomiss xmm4, xmm11
jp 0x18002240d
jne 0x18002240d
movss xmm0, dword [rdi + 0x44]
movss xmm1, dword [rdi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm14
subss xmm1, dword [rdi + 0x88]
test cl, cl
je 0x180022402
movss xmm8, dword [rdi + 0x2c]
maxss xmm8, xmm1
jmp 0x180022411
movaps xmm8, xmm11
maxss xmm8, xmm1
jmp 0x180022411
movaps xmm8, xmm4
ucomiss xmm6, xmm11
movss xmm5, dword [rdi + 0x40]
xorps xmm2, xmm2
movss xmm10, dword [rdi + 0x5c]
xorps xmm3, xmm3
movss xmm1, dword [rdi + 0x1e0]
movaps xmm0, xmm5
maxss xmm0, dword [rdi + 0x4c]
movss xmm7, dword [rdi + 0x44]
subss xmm1, xmm10
movss xmm12, dword [rdi + 0x60]
addss xmm1, xmm0
movaps xmm0, xmm7
maxss xmm0, dword [rdi + 0x4c]
cvttss2si eax, xmm1
movss xmm1, dword [rdi + 0x1e4]
subss xmm1, xmm12
cvtsi2ss xmm3, eax
addss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm9
movaps xmm9, xmmword [rsp + 0x170]
cvttss2si eax, xmm1
cvtsi2ss xmm2, eax
movaps xmm1, xmm2
shufps xmm2, xmm2, 0
movss xmm2, xmm0
addss xmm1, xmm8
shufps xmm2, xmm2, 0x27
movss xmm2, xmm1
shufps xmm2, xmm2, 0x39
movss xmm2, xmm3
movss xmm3, dword [rdi + 0x10]
movups xmmword [rdi + 0x200], xmm2
movups xmmword [rdi + 0x210], xmm2
movss xmm2, dword [rdi + 0x14]
movaps xmm1, xmm3
subss xmm2, xmm12
subss xmm1, xmm10
addss xmm2, xmm7
addss xmm1, xmm5
addss xmm2, xmm14
movss dword [rdi + 0x230], xmm1
movss dword [rdi + 0x234], xmm2
jp 0x180022502
jne 0x180022502
movss xmm6, dword [rdi + 0x18]
movaps xmm0, xmm5
addss xmm0, xmm5
subss xmm6, xmm0
subss xmm6, dword [rdi + 0x84]
ucomiss xmm4, xmm11
addss xmm1, xmm6
movss dword [rdi + 0x238], xmm1
jp 0x180022533
jne 0x180022533
movss xmm4, dword [rdi + 0x1c]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm4, xmm0
subss xmm4, xmm14
subss xmm4, dword [rdi + 0x88]
addss xmm5, xmm11
addss xmm7, xmm14
movaps xmm14, xmmword [rsp + 0x120]
addss xmm2, xmm4
lea rbx, [rdi + 0x13c]
subss xmm5, xmm10
movaps xmm10, xmmword [rsp + 0x160]
subss xmm7, xmm12
movaps xmm12, xmmword [rsp + 0x140]
movss dword [rdi + 0x23c], xmm2
movss dword [rdi + 0x118], xmm5
addss xmm5, xmm11
mov qword [rdi + 0x11c], 0
addss xmm7, dword [rdi + 0x14]
addss xmm5, xmm3
movss dword [rdi + 0xe8], xmm5
movss dword [rdi + 0xec], xmm7
movss dword [rdi + 0xd8], xmm5
movss dword [rdi + 0xdc], xmm7
movss dword [rdi + 0xe0], xmm5
movss dword [rdi + 0xe4], xmm7
movss xmm0, dword [rdi + 0xe8]
movss xmm1, dword [rdi + 0xec]
movss dword [rdi + 0xf0], xmm0
movss dword [rdi + 0xf4], xmm1
movss dword [rdi + 0xf8], xmm0
movss dword [rdi + 0xfc], xmm1
mov qword [rdi + 0x108], 0
mov qword [rdi + 0x100], 0
mov qword [rdi + 0x110], 0
mov dword [rdi + 0x124], r13d
movzx eax, word [rdi + 0x12a]
mov word [rdi + 0x128], ax
mov word [rdi + 0x12a], r13w
mov byte [rdi + 0x130], 0
movss xmm0, dword [rdi + 0x68]
comiss xmm0, xmm11
seta al
cmp byte [rbp + 0x108], 0
mov byte [rdi + 0x131], al
mov byte [rdi + 0x132], 0
movss xmm0, dword [rsi + 0x15a4]
je 0x18002266b
xor eax, eax
mov qword [rbx + 0x12], rax
cvttss2si eax, xmm0
mov rcx, rbx
mov word [rbx + 8], ax
call fcn.180049a30
xor eax, eax
mov qword [rbx + 0x12], rax
mov eax, dword [rbx + 4]
mov dword [rbx], eax
mov dword [rbx + 4], r13d
mov qword [rdi + 0x158], 0
mov ecx, dword [rdi + 0x164]
test ecx, ecx
jns 0x1800226bc
mov eax, ecx
cdq
sub eax, edx
mov edx, r13d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x160]
test eax, eax
cmovg edx, eax
call fcn.18002a190
mov r15, qword [rsp + 0x70]
lea rax, [rdi + 0x258]
mov dword [rdi + 0x160], r13d
mov qword [rdi + 0x170], rax
mov eax, 1
mov qword [rdi + 0x178], r13
mov dword [rdi + 0x184], eax
test r15, r15
je 0x1800226f4
mov eax, dword [r15 + 0x184]
mov dword [rdi + 0x188], eax
lea rcx, [rdi + 0x1a0]
mov qword [rdi + 0x18c], 0xffffffffffffffff
mov eax, dword [rdi + 0x250]
mov dword [rdi + 0x194], eax
mov dword [rdi + 0x198], 0xbf800000
call fcn.18002a300
lea rcx, [rdi + 0x1b0]
call fcn.18002a300
movzx eax, byte [rdi + 0xa8]
test al, al
jle 0x180022746
dec al
mov byte [rdi + 0xa8], al
movzx eax, byte [rdi + 0xa9]
test al, al
jle 0x180022759
dec al
mov byte [rdi + 0xa9], al
test r12b, r12b
je 0x180022770
mov rcx, rdi
call fcn.180022c40
xor edx, edx
mov rcx, rdi
call fcn.180025ac0
movss xmm8, dword [rbp - 0x64]
movss xmm6, dword [rbp + 0x110]
movss xmm7, dword [rsp + 0x48]
test r14b, 1
jne 0x1800227c8
mov r8, qword [rbp + 0x100]
lea rdx, [rsp + 0x38]
movaps xmm0, xmm15
movss dword [rsp + 0x3c], xmm8
addss xmm0, dword [rdi + 0x4c]
movaps xmm1, xmm6
movss dword [rsp + 0x44], xmm7
subss xmm1, dword [rdi + 0x4c]
mov rcx, rdi
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x40], xmm1
call fcn.1800203e0
mov rbx, qword [0x1800a79f0]
mov dword [rdi + 0x240], 0
mov eax, dword [rdi + 0x54]
mov dword [rsi + 0x1cc0], eax
mov eax, dword [rsi + 0x1ca8]
mov dword [rsi + 0x1cc4], eax
movss xmm1, dword [rbx + 0x15bc]
movss xmm0, dword [rbx + 0x15c0]
subss xmm15, xmm1
addss xmm6, xmm1
movss xmm1, dword [rbx + 0x128]
addss xmm7, xmm0
subss xmm8, xmm0
comiss xmm1, xmm15
movaps xmm15, xmmword [rsp + 0x110]
jb 0x180022844
movss xmm0, dword [rbx + 0x12c]
comiss xmm0, xmm8
jb 0x180022844
comiss xmm6, xmm1
jbe 0x180022844
comiss xmm7, xmm0
mov eax, 1
ja 0x180022847
mov eax, r13d
movups xmm0, xmmword [rbp - 0x68]
mov dword [rsi + 0x1cc8], eax
movaps xmm8, xmmword [rsp + 0x180]
movaps xmm7, xmmword [rsp + 0x190]
movaps xmm6, xmmword [rsp + 0x1a0]
movups xmmword [rsi + 0x1ccc], xmm0
jmp 0x1800228e1
mov rbx, qword [0x1800a79f0]
mov qword [rbx + 0x1c08], rdi
movsxd rax, dword [rdi + 0x180]
cmp eax, 0xffffffff
je 0x1800228a0
imul rcx, rax, 0x208
add rcx, qword [rbx + 0x2030]
xor r13d, r13d
jmp 0x1800228a6
xor r13d, r13d
mov ecx, r13d
movss xmm0, dword [rbx + 0x197c]
mov qword [rbx + 0x2018], rcx
mov rax, qword [rdi + 0x350]
mulss xmm0, dword [rdi + 0x278]
test rax, rax
je 0x1800228d1
mulss xmm0, dword [rax + 0x278]
movss dword [rbx + 0x1990], xmm0
movss dword [rbx + 0x1978], xmm0
mov r12, qword [rsp + 0x1c8]
bt r14d, 0x18
jae 0x1800228f9
mov eax, dword [r15 + 0x12c]
jmp 0x180022937
movsxd rax, dword [rdi + 0xc8]
lea rcx, str.FOCUSSCOPE
mov r8, qword [rdi + 0xd0]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.180017550
cmp dword [rbx + 0x1c50], eax
jne 0x180022928
mov dword [rbx + 0x1c54], eax
cmp dword [rbx + 0x1c90], eax
jne 0x180022937
mov byte [rbx + 0x1c94], 1
lea rdx, [rdi + 0x1f8]
mov dword [rdi + 0x12c], eax
lea rcx, [rdi + 0x1f0]
mov r8b, 1
call fcn.18001d160
mov eax, dword [rsp + 0x54]
mov rbx, qword [rsp + 0x1d0]
mov byte [rdi + 0x90], 0
inc word [rdi + 0x9a]
mov dword [rsi + 0x1cf0], r13d
mov r13, qword [rsp + 0x1c0]
cmp eax, dword [rsp + 0x58]
je 0x180022aa6
bt r14d, 0x18
jae 0x180022a16
test r14b, 0x40
jne 0x1800229db
cmp byte [rdi + 0xa8], 0
jg 0x1800229db
cmp byte [rdi + 0xa9], 0
jg 0x1800229db
cmp byte [rsi + 0x30ec], 0
jne 0x1800229db
movss xmm0, dword [rdi + 0x1d0]
comiss xmm0, dword [rdi + 0x1d8]
jae 0x1800229d4
movss xmm0, dword [rdi + 0x1d4]
comiss xmm0, dword [rdi + 0x1dc]
jb 0x1800229db
mov byte [rdi + 0xb0], 1
test r15, r15
je 0x180022a16
cmp byte [r15 + 0x91], 0
jne 0x1800229f4
cmp byte [r15 + 0xb0], 0
jle 0x1800229fb
mov byte [rdi + 0xb0], 1
cmp byte [r15 + 0x91], 0
jne 0x180022a0f
cmp byte [r15 + 0xb1], 0
jle 0x180022a16
mov byte [rdi + 0xb1], 1
comiss xmm11, dword [rsi + 0x1558]
jb 0x180022a27
mov byte [rdi + 0xb0], 1
cmp byte [rdi + 0xb0], 0
jg 0x180022a46
cmp byte [rdi + 0xb1], 0
jg 0x180022a46
cmp byte [rdi + 0xb2], 0
jg 0x180022a46
xor cl, cl
jmp 0x180022a48
mov cl, 1
mov byte [rdi + 0x95], cl
movzx eax, byte [rdi + 0xb3]
test al, al
jle 0x180022a68
dec al
mov byte [rdi + 0xb3], al
or dword [rdi + 0xc], 0xc0200
xor al, al
cmp byte [rdi + 0x91], al
jne 0x180022a7e
cmp byte [rdi + 0x8e], al
je 0x180022a7e
test cl, cl
je 0x180022aa0
cmp byte [rdi + 0xa8], al
jg 0x180022aa0
cmp byte [rdi + 0xa9], al
jg 0x180022aa0
cmp byte [rdi + 0xb1], 0
mov edx, 1
movzx eax, al
cmovle eax, edx
mov byte [rdi + 0x93], al
cmp byte [rdi + 0x93], 0
mov r15, qword [rsp + 0x1b8]
movaps xmm11, xmmword [rsp + 0x150]
sete al
add rsp, 0x1d8
pop r14
pop rdi
pop rsi
pop rbp
ret