Function at 0x180020150
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 rsi
push rdi
push r12
push r14
lea rbp, [rax - 0x118]
sub rsp, 0x1e8
mov rsi, qword [0x1800a5cf0]
mov ebx, r8d
movaps xmmword [rax - 0xc8], xmm13
mov r14, rcx
mov qword [rax - 0x38], r13
mov qword [rax - 0x40], r15
call fcn.18001dc10
test rax, rax
mov qword [rsp + 0x40], rax
mov rdi, rax
sete byte [rbp + 0x130]
test rax, rax
jne 0x1800201b7
mov edx, ebx
mov rcx, r14
call fcn.18001dce0
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 + 0x6c], r13d
and ecx, 0xc0200
mov dword [rsp + 0x68], r12d
cmp ecx, 0xc0200
cmovne r14d, ebx
lea rbx, [rsi + 0x1bd8]
cmp dword [rbx], 0
jne 0x180020201
cmp byte [rsi + 0x1b95], 0
je 0x180020201
mov al, 1
jmp 0x180020203
xor al, al
mov byte [rdi + 0x96], al
lea eax, [r13 - 1]
cmp r12d, eax
setl dl
mov byte [rbp + 0x128], dl
bt r14d, 0x1a
jae 0x180020252
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 + 0x128], dl
mov byte [rdi + 0x94], dl
test dl, dl
je 0x180020271
or byte [rdi + 0xb4], 8
or byte [rdi + 0xb5], 8
or byte [rdi + 0xb6], 8
xor ecx, ecx
cmp r12d, r13d
je 0x1800202b4
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 0x1800202b8
mov r14d, dword [rdi + 0xc]
movsxd rax, dword [rbx]
test eax, eax
jne 0x1800202c4
mov rax, rcx
jmp 0x1800202d6
imul rcx, rax, 0x38
mov rax, qword [rsi + 0x1be0]
mov rax, qword [rcx + rax - 0x38]
xor ecx, ecx
cmp r12d, r13d
je 0x1800202eb
test r14d, 0x5000000
mov r15, rcx
cmovne r15, rax
jmp 0x1800202f2
mov r15, qword [rdi + 0x350]
cmp dword [rdi + 0xc8], 0
mov qword [rsp + 0x60], r15
jne 0x180020310
lea rdx, [rdi + 8]
lea rcx, [rdi + 0xc8]
call fcn.180029de0
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 - 0x20], rdi
mov dword [rbp + 0x10], eax
movups xmmword [rbp - 0x18], xmm0
movsd xmm0, qword [rsi + 0x1ce0]
movsd qword [rbp + 8], xmm0
movups xmmword [rbp - 8], xmm1
cmp ecx, r8d
jne 0x180020373
inc ecx
test r8d, r8d
je 0x18002035f
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180020364
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.18002a440
movsxd rax, dword [rbx]
xor r10d, r10d
mov rdx, qword [0x1800a5cf0]
movups xmm0, xmmword [rbp - 0x20]
movups xmm1, xmmword [rbp - 0x10]
imul rcx, rax, 0x38
mov rax, qword [rbx + 8]
movups xmmword [rcx + rax], xmm0
movups xmm0, xmmword [rbp]
movups xmmword [rcx + rax + 0x10], xmm1
movsd xmm1, qword [rbp + 0x10]
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 eax, r14d
and eax, 0x4000000
mov qword [rsi + 0x1c08], r10
mov dword [rsp + 0x34], eax
je 0x180020464
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.180029780
mov eax, dword [rbx]
xor r10d, r10d
mov dword [rdi + 0xa4], eax
cmp r12d, r13d
je 0x1800204fa
mov qword [rdi + 0x350], r15
mov qword [rdi + 0x368], rdi
mov qword [rdi + 0x360], rdi
mov qword [rdi + 0x358], rdi
test r15, r15
je 0x1800204c9
mov eax, r14d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x1800204ab
mov rax, qword [r15 + 0x358]
mov qword [rdi + 0x358], rax
bt r14d, 0x1b
jb 0x1800204c9
test r14d, 0x5000000
je 0x1800204c9
mov rax, qword [r15 + 0x360]
mov qword [rdi + 0x360], rax
test dword [rdi + 0xc], 0x800000
je 0x1800204fa
mov rcx, rdi
nop word [rax + rax]
mov rax, qword [rcx + 0x350]
mov qword [rdi + 0x368], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x1800204e0
xor dl, dl
xor r12b, r12b
xor r13b, r13b
mov byte [rsp + 0x30], dl
test byte [rsi + 0x1cf0], 1
je 0x1800205a2
mov r8d, dword [rsi + 0x1cf4]
movzx ecx, byte [rdi + 0xb4]
movsx eax, cl
test r8d, eax
setne dl
mov byte [rsp + 0x30], dl
test r8d, eax
je 0x180020593
movss xmm0, dword [rsi + 0x1d0c]
movss xmm1, dword [rsi + 0x1d08]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x180094188]
jbe 0x180020593
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 0x1800205a2
lea rdx, [rsi + 0x1d00]
mov rcx, rdi
call fcn.1800229a0
test byte [rsi + 0x1cf0], 2
xorps xmm13, xmm13
je 0x1800205f5
movsx eax, byte [rdi + 0xb5]
lea rdx, [rsi + 0x1d10]
mov r8d, dword [rsi + 0x1cf8]
and eax, r8d
je 0x1800205d8
movss xmm0, dword [rdx]
comiss xmm0, xmm13
jbe 0x1800205d8
mov r12b, 1
jmp 0x1800205dc
test eax, eax
je 0x1800205ed
movss xmm0, dword [rsi + 0x1d14]
comiss xmm0, xmm13
jbe 0x1800205ed
mov r13b, 1
mov rcx, rdi
call fcn.180022ad0
test byte [rsi + 0x1cf0], 0x80
je 0x18002062c
movss xmm0, dword [rsi + 0x1d20]
comiss xmm0, xmm13
jb 0x180020615
movss dword [rdi + 0x6c], xmm0
mov dword [rdi + 0x74], r10d
movss xmm0, dword [rsi + 0x1d24]
comiss xmm0, xmm13
jb 0x18002062c
movss dword [rdi + 0x70], xmm0
mov dword [rdi + 0x78], r10d
test byte [rsi + 0x1cf0], 4
mov ebx, dword [rsp + 0x6c]
mov r15d, dword [rsp + 0x68]
je 0x18002064d
movsd xmm0, qword [rsi + 0x1d18]
movsd qword [rdi + 0x38], xmm0
jmp 0x18002065a
cmp r15d, ebx
je 0x18002065a
mov qword [rdi + 0x38], 0
test byte [rsi + 0x1cf0], 8
je 0x1800206a8
mov ecx, dword [rsi + 0x1cfc]
movzx edx, byte [rsi + 0x1d28]
test ecx, ecx
je 0x18002067f
movsx eax, byte [rdi + 0xb6]
test ecx, eax
je 0x1800206a8
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 0x1800206b9
mov rcx, rdi
call fcn.180022580
cmp byte [rdi + 0x94], 0
je 0x1800206d7
and byte [rdi + 0xb4], 0xf7
and byte [rdi + 0xb5], 0xf7
and byte [rdi + 0xb6], 0xf7
mov ecx, 1
cmp r15d, ebx
je 0x1800221b0
movaps xmmword [rsp + 0x1c0], xmm6
mov eax, r14d
movaps xmmword [rsp + 0x1b0], xmm7
and eax, 0x3000000
movaps xmmword [rsp + 0x1a0], xmm8
mov edx, ecx
movaps xmmword [rsp + 0x190], xmm9
movaps xmmword [rsp + 0x180], xmm10
movaps xmmword [rsp + 0x170], xmm11
movaps xmmword [rsp + 0x160], xmm12
movaps xmmword [rsp + 0x140], xmm14
mov byte [rdi + 0x8e], cl
lea rcx, [rdi + 0xc8]
movaps xmmword [rsp + 0x130], xmm15
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 + 0x38], eax
call fcn.180029eb0
mov rcx, qword [rdi + 0x280]
call fcn.1800321a0
cmp byte [rdi + 0x3a8], 0
mov dword [rdi + 0x180], 0xffffffff
je 0x1800207de
mov rcx, qword [rdi + 0x280]
mov edx, dword [rdi + 0x3a0]
add rcx, 0x10
mov byte [rdi + 0x3a8], 0
call fcn.18002a290
mov rcx, qword [rdi + 0x280]
mov edx, dword [rdi + 0x3a4]
add rcx, 0x20
call fcn.180029f90
xor eax, eax
mov qword [rdi + 0x3a0], rax
cmp qword [rsi + 0x1f30], 0
mov r9, qword [rsp + 0x40]
je 0x1800208b4
test dword [rdi + 0xc], 0x80000
jne 0x1800208b4
test r9, r9
je 0x1800208b4
mov r10, qword [rbp + 0x120]
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 0x180020833
inc rax
test ecx, ecx
jne 0x180020820
test edx, edx
je 0x1800208af
movsxd r15, dword [rdi + 0x50]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x180020842
inc rbx
cmp r15, rbx
jae 0x18002089a
test r9, r9
je 0x18002086b
mov rax, qword [0x1800a5cf0]
test rax, rax
je 0x18002086b
dec dword [rax + 0x3b0]
mov rcx, r9
call fcn.180062b08
mov rax, qword [0x1800a5cf0]
test rax, rax
je 0x180020885
inc dword [rax + 0x3b0]
mov rcx, rbx
call fcn.180066e08
mov r10, qword [rbp + 0x120]
mov r9, rax
mov r15, rbx
mov r8, rbx
mov rdx, r10
mov rcx, r9
call fcn.180056ae0
mov qword [rdi], rax
mov dword [rdi + 0x50], r15d
mov r9, qword [rsp + 0x40]
movzx eax, byte [rdi + 0xb1]
lea r8, [rdi + 0x30]
lea rdx, [rdi + 0x28]
mov byte [rsp + 0x3c], al
mov rcx, rdi
call fcn.18001e2d0
movzx eax, byte [rdi + 0xb0]
test al, al
jle 0x1800208e2
dec al
mov byte [rdi + 0xb0], al
movzx eax, byte [rdi + 0xb1]
test al, al
jle 0x1800208f5
dec al
mov byte [rdi + 0xb1], al
movzx eax, byte [rdi + 0xb2]
test al, al
jle 0x180020908
dec al
mov byte [rdi + 0xb2], al
test r9, r9
jne 0x18002091e
test r12b, r12b
je 0x180020917
test r13b, r13b
jne 0x18002091e
mov byte [rdi + 0xb1], 1
xor r9d, r9d
cmp byte [rbp + 0x128], r9b
je 0x180020968
test r14d, 0x6000000
je 0x180020968
mov byte [rdi + 0xb1], 1
test r14b, 0x40
je 0x180020968
test r12b, r12b
jne 0x18002094d
mov dword [rdi + 0x20], r9d
mov dword [rdi + 0x18], r9d
test r13b, r13b
jne 0x18002095a
mov dword [rdi + 0x24], r9d
mov dword [rdi + 0x1c], r9d
mov qword [r8], 0
mov qword [rdx], 0
mov rcx, qword [0x1800a5cf0]
mov qword [rcx + 0x1c08], rdi
movsxd rax, dword [rdi + 0x180]
cmp eax, 0xffffffff
je 0x180020992
imul rdx, rax, 0x208
add rdx, qword [rcx + 0x2030]
jmp 0x180020995
mov rdx, r9
mov qword [rcx + 0x2018], rdx
mov rax, qword [rdi + 0x350]
movss xmm0, dword [rdi + 0x278]
mulss xmm0, dword [rcx + 0x197c]
test rax, rax
je 0x1800209c0
mulss xmm0, dword [rax + 0x278]
mov eax, r14d
movss dword [rcx + 0x1990], xmm0
and eax, 0x1000000
movss dword [rcx + 0x1978], xmm0
mov dword [rsp + 0x48], eax
je 0x1800209e8
movss xmm1, dword [rsi + 0x1588]
jmp 0x180020a0a
test r14d, 0x6000000
je 0x180020a02
bt r14d, 0x1b
jb 0x180020a02
movss xmm1, dword [rsi + 0x1590]
jmp 0x180020a0a
movss xmm1, dword [rsi + 0x156c]
movss dword [rdi + 0x4c], xmm1
mov eax, r14d
movsd xmm0, qword [rsi + 0x1560]
and eax, 0x5010000
movsd qword [rdi + 0x40], xmm0
cmp eax, 0x1000000
jne 0x180020a51
ucomiss xmm1, xmm13
jp 0x180020a51
jne 0x180020a51
bt r14d, 0xa
jae 0x180020a44
movss xmm0, dword [rsi + 0x1564]
jmp 0x180020a48
movaps xmm0, xmm13
movss dword [rdi + 0x44], xmm0
mov dword [rdi + 0x40], r9d
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 0x180020bb2
mov edx, dword [rdi + 0xc]
test dl, 1
je 0x180020a92
movaps xmm2, xmm13
jmp 0x180020ac6
mov rax, qword [rdi + 0x350]
movss xmm0, dword [rcx + 0x197c]
mulss xmm0, dword [rdi + 0x278]
test rax, rax
je 0x180020ab6
mulss xmm0, dword [rax + 0x278]
movss xmm2, dword [rcx + 0x1598]
addss xmm2, xmm2
addss xmm2, xmm0
lea rbx, [rdi + 0x20]
movss xmm4, dword [rdi + 0x10]
movaps xmm3, xmm4
movss xmm5, dword [rdi + 0x14]
addss xmm3, dword [rbx]
addss xmm2, dword [rdi + 0x14]
cmp qword [rsi + 0x1c10], rdi
jne 0x180020b7e
cmp dword [rsi + 0x1c3c], 0
jne 0x180020b7e
cmp dword [rsi + 0x1c40], 0
jne 0x180020b7e
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 0x180020b7e
movss xmm0, dword [rcx + 0x12c]
comiss xmm0, xmm5
jb 0x180020b7e
comiss xmm3, xmm1
jbe 0x180020b7e
comiss xmm2, xmm0
jbe 0x180020b7e
cmp byte [rsi + 0x425], 0
je 0x180020b7e
mov byte [rdi + 0x92], 1
cmp byte [rdi + 0x92], 0
je 0x180020bbd
cmp byte [rdi + 0x91], 0
sete al
mov byte [rdi + 0x91], al
bt edx, 8
jb 0x180020bbd
comiss xmm13, dword [rcx + 0x3094]
jb 0x180020bbd
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x3094], eax
jmp 0x180020bbd
mov byte [rdi + 0x91], 0
lea rbx, [rdi + 0x20]
mov rdx, rdi
mov byte [rdi + 0x92], 0
lea rcx, [rsp + 0x70]
call fcn.18001e3e0
movzx eax, byte [rbp + 0x130]
mov byte [rbp + 0x138], al
mov eax, r14d
and eax, 0x40
mov dword [rbp - 0x48], eax
je 0x180020c24
cmp byte [rdi + 0x91], 0
jne 0x180020c24
test r12b, r12b
jne 0x180020c08
movss xmm0, dword [rsp + 0x70]
movss dword [rbx], xmm0
mov byte [rbp + 0x130], 1
test r13b, r13b
jne 0x180020cdd
movss xmm0, dword [rsp + 0x74]
mov r12b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x180020ce5
movzx eax, byte [rdi + 0xa8]
test al, al
jg 0x180020c3c
cmp byte [rdi + 0xa9], 0
jle 0x180020cdd
test r12b, r12b
jne 0x180020c6b
test al, al
jle 0x180020c6b
cmp byte [rdi + 0xab], r12b
je 0x180020c5a
movss xmm0, dword [rbx]
maxss xmm0, dword [rsp + 0x70]
jmp 0x180020c60
movss xmm0, dword [rsp + 0x70]
movss dword [rbx], xmm0
mov byte [rbp + 0x130], 1
test r13b, r13b
jne 0x180020ca7
cmp byte [rdi + 0xa9], r13b
jle 0x180020ca7
cmp byte [rdi + 0xab], r13b
je 0x180020c97
movss xmm0, dword [rdi + 0x24]
mov r12b, 1
maxss xmm0, dword [rsp + 0x74]
movss dword [rdi + 0x24], xmm0
jmp 0x180020caf
movss xmm0, dword [rsp + 0x74]
mov r12b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x180020caf
movzx r12d, byte [rbp + 0x138]
cmp byte [rdi + 0x91], 0
jne 0x180020ce5
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x1800a5cf0]
jne 0x180020ce5
comiss xmm13, dword [rcx + 0x3094]
jb 0x180020ce5
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x3094], eax
jmp 0x180020ce5
movzx r12d, byte [rbp + 0x138]
mov r8, rbx
lea rcx, [rbp - 0x60]
mov rdx, rdi
call fcn.18001e0a0
cmp byte [rdi + 0x91], 0
mov r15, qword [0x1800a5cf0]
mov edx, dword [rsp + 0x48]
movss xmm3, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rbx], xmm3
movss dword [rbx + 4], xmm0
je 0x180020d8c
test edx, edx
jne 0x180020d8c
test byte [rdi + 0xc], 1
je 0x180020d2a
movaps xmm2, xmm13
jmp 0x180020d60
mov rax, qword [rdi + 0x350]
movss xmm0, dword [r15 + 0x197c]
mulss xmm0, dword [rdi + 0x278]
test rax, rax
je 0x180020d4f
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 + 0x13c], xmm2
movss dword [rbp + 0x138], xmm0
jmp 0x180020d98
movsd xmm0, qword [rbx]
movsd qword [rbp + 0x138], xmm0
mov ecx, dword [rdi + 0xc]
lea rax, [rbp + 0x138]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x18], xmm0
test cl, 1
je 0x180020db6
movaps xmm1, xmm13
jmp 0x180020dec
mov rax, qword [rdi + 0x350]
movss xmm0, dword [r15 + 0x197c]
mulss xmm0, dword [rdi + 0x278]
test rax, rax
je 0x180020ddb
mulss xmm0, dword [rax + 0x278]
movss xmm1, dword [r15 + 0x1598]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x180020e32
mov rax, qword [rdi + 0x350]
movss xmm0, dword [r15 + 0x197c]
mulss xmm0, dword [rdi + 0x278]
test rax, rax
je 0x180020e17
mulss xmm0, dword [rax + 0x278]
movss xmm7, dword [r15 + 0x1598]
addss xmm0, dword [rdi + 0x138]
addss xmm7, xmm7
addss xmm7, xmm0
jmp 0x180020e36
movaps xmm7, xmm13
cmp byte [rbp + 0x128], 0
addss xmm7, xmm1
movzx r13d, byte [rsp + 0x30]
movss dword [rbp - 0x78], xmm7
je 0x180020e97
mov eax, r14d
mov dword [rdi + 0xac], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180020e97
test r13b, r13b
jne 0x180020e97
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
test edx, edx
je 0x180020f35
mov rdx, qword [rsp + 0x60]
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 0x180020ef5
inc r8d
test ecx, ecx
je 0x180020ed2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180020ed7
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180029ad0
mov rdx, qword [rsp + 0x60]
mov r15, qword [0x1800a5cf0]
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov r8d, dword [rsp + 0x34]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov eax, dword [rsp + 0x38]
test r8d, r8d
jne 0x180020f2f
test r13b, r13b
jne 0x180020f2f
lea rbx, [rdi + 0x20]
cmp eax, 0x3000000
je 0x180020f3e
movsd xmm0, qword [rdx + 0xd8]
movsd qword [rdi + 0x10], xmm0
jmp 0x180020f3e
lea rbx, [rdi + 0x20]
jmp 0x180020f3e
mov r8d, dword [rsp + 0x34]
mov eax, dword [rsp + 0x38]
movss xmm1, dword [rdi + 0xb8]
ucomiss xmm1, dword [0x1800942c0]
jp 0x180020f51
je 0x180020fa8
cmp byte [rdi + 0xb1], 0
jne 0x180020fa8
movss xmm0, dword [rdi + 0xc0]
lea rdx, [rbp + 0x138]
mulss xmm0, dword [rdi + 0x18]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xbc]
movss dword [rbp + 0x138], xmm1
movss xmm1, dword [rdi + 0x1c]
mulss xmm1, dword [rdi + 0xc4]
subss xmm0, xmm1
movss dword [rbp + 0x13c], xmm0
call fcn.1800229a0
jmp 0x180020ff2
bt r14d, 0x1c
jb 0x180020fd3
test r8d, r8d
je 0x180020fc0
test r13b, r13b
jne 0x180020fc0
cmp byte [rsp + 0x3c], r13b
jg 0x180020fd3
bt r14d, 0x19
jae 0x180020ff7
test r13b, r13b
jne 0x180020ff7
cmp eax, 0x3000000
je 0x180020ff7
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.1800248e0
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
mov r8d, dword [rsp + 0x34]
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 xmm10, dword [rcx + 4]
movss xmm9, dword [rcx + 8]
movaps xmm6, xmm10
movss xmm0, dword [rcx + 0x14]
movaps xmm8, xmm9
movss xmm1, dword [rcx + 0x18]
movaps xmm5, xmm0
movss dword [rsp + 0x7c], xmm10
movaps xmm4, xmm1
movss dword [rsp + 0x50], xmm10
movss dword [rbp - 0x80], xmm9
movss dword [rsp + 0x54], xmm9
addss xmm6, dword [rcx + 0xc]
addss xmm8, dword [rcx + 0x10]
addss xmm5, dword [rcx + 0x1c]
addss xmm4, dword [rcx + 0x20]
mov ecx, dword [rsp + 0x48]
movss dword [rbp + 0x138], xmm6
movss dword [rsp + 0x58], xmm6
movss dword [rbp - 0x7c], xmm8
subss xmm5, xmm2
movss dword [rsp + 0x5c], xmm8
subss xmm4, xmm3
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [rbp - 0x28], xmm5
movss dword [rbp - 0x24], xmm4
movss dword [rbp - 0x30], xmm2
movss dword [rbp - 0x2c], xmm3
test r13b, r13b
jne 0x180021183
test ecx, ecx
jne 0x180021183
cmp byte [rdi + 0xa8], r13b
jg 0x180021183
cmp byte [rdi + 0xa9], r13b
jg 0x180021183
movaps xmm0, xmm6
subss xmm0, xmm10
comiss xmm0, xmm13
jbe 0x180021183
movaps xmm0, xmm8
subss xmm0, xmm9
comiss xmm0, xmm13
jbe 0x180021183
movss xmm0, dword [rdi + 0x1c]
cmp byte [r15 + 0xcd], r13b
je 0x18002114e
test byte [rdi + 0xc], 1
jne 0x18002114e
mov rax, qword [rdi + 0x350]
movss xmm1, dword [r15 + 0x197c]
mulss xmm1, dword [rdi + 0x278]
test rax, rax
je 0x18002113d
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 0x180021168
movaps xmm3, xmm4
minss xmm3, xmm0
movss xmm0, dword [rdi + 0x10]
comiss xmm2, xmm0
ja 0x180021179
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
test ecx, ecx
je 0x1800211b3
movss xmm2, dword [rsi + 0x1584]
jmp 0x1800211d4
mov eax, r14d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1800211cc
movss xmm2, dword [rsi + 0x158c]
jmp 0x1800211d4
movss xmm2, dword [rsi + 0x1568]
xor dl, dl
movss dword [rdi + 0x48], xmm2
mov dword [rsp + 0x34], edx
cmp byte [rbp + 0x128], dl
je 0x180021213
bt r14d, 0xc
jb 0x180021213
mov r13d, dword [rsp + 0x38]
test r8d, r8d
je 0x1800211ff
mov byte [rsp + 0x34], 1
jmp 0x180021218
test r13d, r13d
movzx edx, dl
mov ecx, 1
cmove edx, ecx
mov dword [rsp + 0x34], edx
jmp 0x180021218
mov r13d, dword [rsp + 0x38]
addss xmm2, dword [0x180094204]
xorps xmm0, xmm0
mov dword [rsp + 0x78], 0xffffffff
movups xmmword [rbp + 0x18], xmm0
xor ecx, ecx
movss xmm0, dword [rsi + 0x1978]
cmp byte [rsi + 0xcc], cl
movaps xmm1, xmm0
mulss xmm0, dword [0x1800941b4]
setne cl
mulss xmm1, dword [0x180094208]
inc ecx
cmp byte [rdi + 0x91], 0
addss xmm2, xmm0
mov dword [rbp - 0x4c], ecx
maxss xmm1, xmm2
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x50], xmm0
jne 0x1800212b6
lea rax, [rbp - 0x30]
mov r9d, ecx
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x78]
lea rax, [rbp + 0x18]
mov rcx, rdi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.18001e7b0
mov r15, qword [0x1800a5cf0]
test al, al
je 0x1800212b6
mov r12b, 1
movzx ecx, r12b
jmp 0x1800212bd
movzx ecx, byte [rbp + 0x130]
cmp byte [rdi + 0x91], 0
movzx eax, byte [rsp + 0x78]
mov byte [rdi + 0x98], al
jne 0x18002140d
cmp qword [rsp + 0x40], 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 [rbx]
subss xmm4, xmm7
addss xmm2, dword [rdi + 0x84]
addss xmm3, dword [rdi + 0x88]
jne 0x180021328
mov qword [rbp - 0x44], 0
lea rax, [rbp - 0x44]
jmp 0x180021352
movss xmm0, dword [rdi + 0x40]
lea rax, [rbp - 0x3c]
movss xmm1, dword [rdi + 0x44]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x28]
addss xmm1, dword [rdi + 0x2c]
movss dword [rbp - 0x3c], xmm0
movss dword [rbp - 0x38], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test cl, cl
jne 0x180021362
movaps xmm5, xmm2
test r12b, r12b
jne 0x18002136a
movaps xmm4, xmm3
bt r14d, 0xe
jb 0x180021380
comiss xmm1, xmm4
jbe 0x18002137c
test r14b, 8
je 0x180021380
xor cl, cl
jmp 0x180021382
mov cl, 1
mov byte [rdi + 0x8d], cl
lea rdx, [rsi + 0x15cc]
bt r14d, 0xf
jb 0x1800213c9
test cl, cl
je 0x1800213a0
movss xmm0, dword [rdx]
jmp 0x1800213a4
movaps xmm0, xmm13
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x1800213bc
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
je 0x1800213c9
mov byte [rdi + 0x8c], 0
movaps xmm1, xmm13
jmp 0x1800213ef
mov byte [rdi + 0x8c], 1
test cl, cl
jne 0x1800213eb
comiss xmm1, xmm4
jbe 0x1800213e3
test r14b, 8
jne 0x1800213e3
mov cl, 1
jmp 0x1800213e5
xor cl, cl
mov byte [rdi + 0x8d], cl
movss xmm1, dword [rdx]
test cl, cl
je 0x1800213f9
movss xmm0, dword [rdx]
jmp 0x1800213fd
movaps xmm0, xmm13
movss dword [rdi + 0x84], xmm0
movss dword [rdi + 0x88], xmm1
mov r12d, r14d
and r12d, 0x5000000
cmp r12d, 0x1000000
jne 0x180021436
cmp r13d, 0x3000000
je 0x180021436
mov rax, qword [rsp + 0x60]
add rax, 0x220
jmp 0x18002143b
lea rax, [rsp + 0x50]
test byte [rdi + 0xc], 1
movss xmm14, dword [rdi + 0x10]
movss xmm5, dword [rdi + 0x14]
movaps xmm2, xmm14
addss xmm2, dword [rdi + 0x18]
movups xmm6, xmmword [rax]
movaps xmm3, xmm5
addss xmm3, dword [rdi + 0x1c]
je 0x180021466
movaps xmm0, xmm13
jmp 0x18002149c
mov rax, qword [rdi + 0x350]
movss xmm1, dword [r15 + 0x197c]
mulss xmm1, dword [rdi + 0x278]
test rax, rax
je 0x18002148b
mulss xmm1, dword [rax + 0x278]
movss xmm0, dword [r15 + 0x1598]
addss xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm5
movss dword [rbp - 0x60], xmm14
addss xmm1, xmm0
movaps xmm15, xmm14
movss xmm0, dword [rdi + 0x14]
movaps xmm4, xmm6
addss xmm15, dword [rbx]
movss dword [rbp - 0x5c], xmm0
movaps xmm8, xmm6
shufps xmm4, xmm6, 0x55
mov eax, r14d
movss dword [rbp - 0x54], xmm1
and eax, 0x401
movss dword [rbp + 0x130], xmm1
movss dword [rbp - 0x58], xmm15
movss dword [rdi + 0x1d0], xmm14
movss dword [rdi + 0x1d4], xmm5
maxss xmm5, xmm4
movss dword [rdi + 0x1d8], xmm2
movss dword [rdi + 0x1dc], xmm3
movaps xmm3, xmm6
movss xmm0, dword [rdi + 0x1d0]
shufps xmm3, xmm6, 0xaa
maxss xmm0, xmm6
movss dword [rdi + 0x1d4], xmm5
shufps xmm8, xmm6, 0xff
movss dword [rdi + 0x1d0], xmm0
movss xmm1, dword [rdi + 0x1d8]
movss xmm0, dword [rdi + 0x1dc]
minss xmm1, xmm3
minss xmm0, xmm8
movss dword [rdi + 0x1d8], xmm1
movss dword [rdi + 0x1dc], xmm0
movss xmm5, dword [rdi + 0x14]
movss xmm10, dword [rdi + 0x10]
movaps xmm9, xmm5
movss dword [rdi + 0x1e0], xmm10
addss xmm9, xmm7
movaps xmm7, xmm10
addss xmm7, dword [rdi + 0x18]
addss xmm5, dword [rdi + 0x1c]
movss dword [rdi + 0x1e4], xmm9
subss xmm7, dword [rdi + 0x84]
subss xmm5, dword [rdi + 0x88]
movss dword [rdi + 0x1e8], xmm7
movss dword [rdi + 0x1ec], xmm5
cmp eax, 1
jne 0x1800215b9
movss xmm11, dword [rdi + 0x4c]
jmp 0x1800215c2
movss xmm11, dword [rsi + 0x15a0]
movss xmm12, dword [0x1800941cc]
lea r13, [rdi + 0x1f0]
movss xmm0, dword [rdi + 0x40]
addss xmm10, xmm12
mulss xmm0, xmm12
addss xmm9, xmm12
lea r15, [rdi + 0x1f8]
addss xmm7, xmm12
addss xmm5, xmm12
cvttss2si eax, xmm0
subss xmm5, dword [rdi + 0x4c]
addss xmm9, xmm11
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [rdi + 0x4c]
addss xmm10, xmm1
subss xmm7, xmm1
cvttss2si eax, xmm10
movd xmm10, eax
cvttss2si eax, xmm9
cvtdq2ps xmm10, xmm10
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm7
movss dword [rdi + 0x1f4], xmm0
movss dword [r13], xmm10
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm5
movss dword [r15], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x1fc], xmm0
movss xmm0, dword [r13 + 4]
comiss xmm4, xmm0
jbe 0x180021675
movaps xmm1, xmm4
jmp 0x18002167d
movaps xmm1, xmm8
minss xmm1, xmm0
comiss xmm6, xmm10
jbe 0x180021688
movaps xmm0, xmm6
jmp 0x180021690
movaps xmm0, xmm3
minss xmm0, xmm10
movss dword [r13], xmm0
movss dword [r13 + 4], xmm1
movss xmm0, dword [r13 + 0xc]
comiss xmm4, xmm0
ja 0x1800216b0
minss xmm8, xmm0
movaps xmm4, xmm8
movss xmm0, dword [r13 + 8]
comiss xmm6, xmm0
jbe 0x1800216c0
movaps xmm3, xmm6
jmp 0x1800216c4
minss xmm3, xmm0
movss dword [r13 + 8], xmm3
movss dword [r13 + 0xc], xmm4
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm13
jbe 0x1800216ee
test r14d, 0x2000040
jne 0x1800216ee
mulss xmm0, dword [0x1800941d4]
jmp 0x1800216fe
movss xmm0, dword [rsi + 0x1978]
mulss xmm0, dword [0x180094270]
cvttss2si eax, xmm0
mov rdx, rdi
lea rcx, [rbp - 0x70]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x250], xmm0
movss xmm0, dword [rdi + 0x1e8]
subss xmm0, dword [rdi + 0x1e0]
movss xmm1, dword [rdi + 0x40]
addss xmm1, xmm1
addss xmm1, dword [rdi + 0x28]
subss xmm1, xmm0
movaps xmm0, xmm13
maxss xmm0, xmm1
movss xmm1, dword [rdi + 0x44]
addss xmm1, xmm1
movss dword [rdi + 0x64], xmm0
movss xmm0, dword [rdi + 0x1ec]
subss xmm0, dword [rdi + 0x1e4]
addss xmm1, dword [rdi + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm13
maxss xmm0, xmm1
movss dword [rdi + 0x68], xmm0
call fcn.180023830
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.180032830
mov rcx, qword [0x1800a5cf0]
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.180032710
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 [0x1800a5cf0]
bt r14d, 0x1b
jae 0x1800218a4
mov eax, dword [r9 + 0x1dc0]
sub eax, 1
js 0x18002188b
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 0x180021881
test dword [rax + 0xc], 0x8000000
jne 0x18002188d
sub r8, 0x30
sub rdx, 1
jns 0x180021870
xor eax, eax
cmp rdi, rax
jne 0x1800218a4
cmp byte [rdi + 0xb1], 0
jg 0x1800218a4
mov cl, 1
mov edx, 0x408
jmp 0x1800218ab
xor cl, cl
mov edx, 0x3f8
mov rax, qword [rsi + 0x1f28]
test rax, rax
je 0x1800218c4
cmp rdi, qword [rax + 0x358]
jne 0x1800218c4
mov bl, 1
jmp 0x1800218c6
xor bl, bl
test cl, cl
jne 0x1800218d2
test bl, bl
je 0x180021a28
movups xmm1, xmmword [rdx + r9 + 0x1558]
lea rcx, [rbp - 0x70]
movss xmm0, dword [rsi + 0x1f6c]
mulss xmm0, dword [r9 + 0x1558]
movups xmmword [rbp - 0x70], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x64], xmm1
call fcn.180017420
mov rcx, qword [rdi + 0x280]
lea rdx, [rsp + 0x50]
mov r9d, eax
mov dword [rsp + 0x28], 0
lea r8, [rsp + 0x58]
movss dword [rsp + 0x20], xmm13
call fcn.1800350a0
test bl, bl
je 0x180021a28
cmp rdi, qword [rsi + 0x1f28]
jne 0x180021a28
movss xmm0, dword [rsi + 0x1978]
movss xmm2, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
movaps xmm1, xmm2
addss xmm2, dword [rdi + 0x18]
movss xmm11, dword [rbp + 0x138]
subss xmm1, xmm0
movaps xmm4, xmm3
addss xmm3, dword [rdi + 0x1c]
subss xmm4, xmm0
addss xmm2, xmm0
movss dword [rsp + 0x50], xmm1
addss xmm3, xmm0
movss xmm0, dword [rsp + 0x7c]
comiss xmm0, xmm1
movss dword [rsp + 0x58], xmm2
movss dword [rsp + 0x5c], xmm3
movss dword [rsp + 0x54], xmm4
jb 0x1800219b7
movss xmm0, dword [rbp - 0x80]
comiss xmm0, xmm4
jb 0x1800219b7
comiss xmm2, xmm11
jb 0x1800219b7
comiss xmm3, dword [rbp - 0x7c]
jae 0x180021a31
mov rax, qword [0x1800a5cf0]
lea rcx, [rbp - 0x70]
movss xmm0, dword [rsi + 0x1f3c]
mulss xmm0, dword [0x1800941b8]
movups xmm1, xmmword [rax + 0x1940]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x70], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x64], xmm1
call fcn.180017420
movss xmm0, dword [rsi + 0x1568]
lea r8, [rsp + 0x58]
mov rcx, qword [rdi + 0x280]
lea rdx, [rsp + 0x50]
mov r9d, eax
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm0
call fcn.1800350a0
jmp 0x180021a31
movss xmm11, dword [rbp + 0x138]
xor bl, bl
cmp r12d, 0x1000000
jne 0x180021a7a
cmp dword [rsp + 0x38], 0x3000000
je 0x180021a7a
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 0x180021a7a
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x280]
cmp dword [rax + 0x20], 0
jle 0x180021a7a
mov bl, 1
mov qword [rdi + 0x280], rax
mov rax, qword [rsi + 0x1f20]
test rax, rax
jne 0x180021a8d
mov rax, qword [rsi + 0x1df0]
mov r12d, dword [rsp + 0x34]
test r12b, r12b
jne 0x180021ab1
test rax, rax
je 0x180021aac
mov rax, qword [rax + 0x360]
cmp qword [rdi + 0x360], rax
je 0x180021ab1
xor r8b, r8b
jmp 0x180021ab4
mov r8b, 1
movss xmm0, dword [rbp - 0x50]
lea rax, [rbp + 0x18]
mov r9d, dword [rbp - 0x4c]
lea rdx, [rbp - 0x60]
movss dword [rsp + 0x28], xmm0
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.18001f680
test bl, bl
je 0x180021aea
lea rax, [rdi + 0x288]
mov qword [rdi + 0x280], rax
cmp qword [rsi + 0x1f28], rdi
jne 0x180021c8b
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 0x180021b90
movss xmm0, dword [rbp - 0x80]
comiss xmm0, xmm8
jb 0x180021b90
comiss xmm7, xmm11
jb 0x180021b90
comiss xmm6, dword [rbp - 0x7c]
jb 0x180021b90
xorps xmm1, xmmword [0x180094470]
movaps xmm10, xmm2
subss xmm1, dword [0x180094204]
movaps xmm0, xmm1
subss xmm9, xmm1
subss xmm8, xmm1
addss xmm0, xmm7
addss xmm1, xmm6
movaps xmm7, xmm0
movaps xmm6, xmm1
mov rax, qword [0x1800a5cf0]
lea rcx, [rsp + 0x50]
movss xmm0, dword [rsi + 0x1f3c]
mov rbx, qword [rdi + 0x280]
movups xmm1, xmmword [rax + 0x1940]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rsp + 0x50], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x5c], xmm1
call fcn.180017420
mov r15d, eax
test eax, 0xff000000
je 0x180021c84
test byte [rbx + 0x30], 1
addss xmm9, xmm12
addss xmm8, xmm12
mov dword [rsp + 0x20], 0
movaps xmm3, xmm10
lea r8, [rbp + 0x138]
lea rdx, [rsp + 0x40]
mov rcx, rbx
movss dword [rsp + 0x40], xmm9
movss dword [rsp + 0x44], xmm8
je 0x180021c25
subss xmm7, xmm12
subss xmm6, xmm12
jmp 0x180021c35
subss xmm7, dword [0x1800941c8]
subss xmm6, dword [0x1800941c8]
movss dword [rbp + 0x138], xmm7
movss dword [rbp + 0x13c], xmm6
call fcn.1800348c0
movss xmm0, dword [0x180094240]
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.180032b20
xor edx, edx
lea r15, [rdi + 0x1f8]
mov dword [rbx + 0x78], edx
jmp 0x180021c8d
lea r15, [rdi + 0x1f8]
xor edx, edx
movss xmm7, dword [rdi + 0x38]
mov ecx, r14d
shr ecx, 3
not cl
and cl, 1
ucomiss xmm7, xmm13
jp 0x180021ce6
jne 0x180021ce6
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 0x180021cdb
movss xmm9, dword [rdi + 0x28]
maxss xmm9, xmm1
jmp 0x180021cea
movaps xmm9, xmm13
maxss xmm9, xmm1
jmp 0x180021cea
movaps xmm9, xmm7
movss xmm5, dword [rdi + 0x3c]
ucomiss xmm5, xmm13
jp 0x180021d38
jne 0x180021d38
movss xmm0, dword [rdi + 0x44]
movss xmm1, dword [rdi + 0x1c]
addss xmm0, xmm0
movss xmm12, dword [rbp - 0x78]
subss xmm1, xmm0
subss xmm1, xmm12
subss xmm1, dword [rdi + 0x88]
test cl, cl
je 0x180021d2d
movss xmm8, dword [rdi + 0x2c]
maxss xmm8, xmm1
jmp 0x180021d42
movaps xmm8, xmm13
maxss xmm8, xmm1
jmp 0x180021d42
movss xmm12, dword [rbp - 0x78]
movaps xmm8, xmm5
ucomiss xmm7, xmm13
movss xmm4, dword [rdi + 0x40]
xorps xmm2, xmm2
movss xmm10, dword [rdi + 0x5c]
xorps xmm3, xmm3
movss xmm0, dword [rdi + 0x1e0]
movaps xmm1, xmm4
maxss xmm1, dword [rdi + 0x4c]
movss xmm6, dword [rdi + 0x44]
subss xmm0, xmm10
movss xmm11, dword [rdi + 0x60]
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x1e4]
subss xmm0, xmm11
cvttss2si eax, xmm1
movaps xmm1, xmm6
maxss xmm1, dword [rdi + 0x4c]
cvtsi2ss xmm3, eax
addss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm9
movaps xmm9, xmmword [rsp + 0x190]
cvttss2si eax, xmm1
cvtsi2ss xmm2, eax
movaps xmm1, xmm2
shufps xmm2, xmm2, 0
movss xmm2, xmm0
addss xmm1, xmm8
movaps xmm8, xmmword [rsp + 0x1a0]
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, xmm11
subss xmm1, xmm10
addss xmm2, xmm6
addss xmm1, xmm4
addss xmm2, xmm12
movss dword [rdi + 0x230], xmm1
movss dword [rdi + 0x234], xmm2
jp 0x180021e3c
jne 0x180021e3c
movss xmm7, dword [rdi + 0x18]
movaps xmm0, xmm4
addss xmm0, xmm4
subss xmm7, xmm0
subss xmm7, dword [rdi + 0x84]
ucomiss xmm5, xmm13
addss xmm1, xmm7
movss dword [rdi + 0x238], xmm1
jp 0x180021e6d
jne 0x180021e6d
movss xmm5, dword [rdi + 0x1c]
movaps xmm0, xmm6
addss xmm0, xmm6
subss xmm5, xmm0
subss xmm5, xmm12
subss xmm5, dword [rdi + 0x88]
addss xmm4, xmm13
addss xmm6, xmm12
movaps xmm12, xmmword [rsp + 0x160]
addss xmm2, xmm5
lea rbx, [rdi + 0x13c]
subss xmm4, xmm10
movaps xmm10, xmmword [rsp + 0x180]
subss xmm6, xmm11
movaps xmm11, xmmword [rsp + 0x170]
movss dword [rdi + 0x23c], xmm2
movss dword [rdi + 0x118], xmm4
addss xmm4, xmm13
mov qword [rdi + 0x11c], 0
addss xmm6, dword [rdi + 0x14]
addss xmm4, xmm3
movss dword [rdi + 0xe8], xmm4
movss dword [rdi + 0xec], xmm6
movss dword [rdi + 0xd8], xmm4
movss dword [rdi + 0xdc], xmm6
movss dword [rdi + 0xe0], xmm4
movss dword [rdi + 0xe4], xmm6
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], edx
movzx eax, word [rdi + 0x12a]
mov word [rdi + 0x128], ax
mov word [rdi + 0x12a], dx
mov byte [rdi + 0x130], 0
movss xmm0, dword [rdi + 0x68]
comiss xmm0, xmm13
seta al
cmp byte [rbp + 0x128], 0
mov byte [rdi + 0x131], al
mov byte [rdi + 0x132], 0
movss xmm0, dword [rsi + 0x15a4]
je 0x180021fa3
xor eax, eax
mov qword [rbx + 0x12], rax
cvttss2si eax, xmm0
mov rcx, rbx
mov word [rbx + 8], ax
call fcn.180049030
xor eax, eax
xor r8d, r8d
mov qword [rbx + 0x12], rax
mov eax, dword [rbx + 4]
mov dword [rbx], eax
mov dword [rbx + 4], r8d
mov qword [rdi + 0x158], r8
mov ecx, dword [rdi + 0x164]
test ecx, ecx
jns 0x180021ff6
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x160]
test eax, eax
cmovg edx, eax
call fcn.180029ad0
xor r8d, r8d
mov dword [rdi + 0x160], r8d
lea rax, [rdi + 0x258]
mov qword [rdi + 0x170], rax
mov ecx, 1
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x178], r8
mov dword [rdi + 0x184], ecx
test rax, rax
je 0x18002202f
mov eax, dword [rax + 0x184]
jmp 0x180022031
mov eax, ecx
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.180029c40
lea rcx, [rdi + 0x1b0]
call fcn.180029c40
movzx eax, byte [rdi + 0xa8]
test al, al
jle 0x180022083
dec al
mov byte [rdi + 0xa8], al
movzx eax, byte [rdi + 0xa9]
test al, al
jle 0x180022096
dec al
mov byte [rdi + 0xa9], al
test r12b, r12b
je 0x1800220ad
mov rcx, rdi
call fcn.180022580
xor edx, edx
mov rcx, rdi
call fcn.1800253e0
movss xmm7, dword [rbp - 0x5c]
movss xmm6, dword [rbp + 0x130]
test r14b, 1
jne 0x1800220fe
mov r8, qword [rbp + 0x120]
lea rdx, [rsp + 0x50]
movaps xmm0, xmm14
movss dword [rsp + 0x54], xmm7
addss xmm0, dword [rdi + 0x4c]
movaps xmm1, xmm15
movss dword [rsp + 0x5c], xmm6
subss xmm1, dword [rdi + 0x4c]
mov rcx, rdi
movss dword [rsp + 0x50], xmm0
movss dword [rsp + 0x58], xmm1
call fcn.18001fd10
mov rbx, qword [0x1800a5cf0]
xor ecx, ecx
mov dword [rdi + 0x240], ecx
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 xmm14, xmm1
addss xmm15, xmm1
movss xmm1, dword [rbx + 0x128]
addss xmm6, xmm0
subss xmm7, xmm0
comiss xmm1, xmm14
movaps xmm14, xmmword [rsp + 0x140]
jb 0x180022176
movss xmm0, dword [rbx + 0x12c]
comiss xmm0, xmm7
jb 0x180022176
comiss xmm15, xmm1
jbe 0x180022176
comiss xmm6, xmm0
lea eax, [rcx + 1]
ja 0x180022178
mov eax, ecx
movups xmm0, xmmword [rbp - 0x60]
mov r12d, dword [rsp + 0x48]
mov r14d, dword [rbp - 0x48]
movaps xmm15, xmmword [rsp + 0x130]
movaps xmm7, xmmword [rsp + 0x1b0]
movaps xmm6, xmmword [rsp + 0x1c0]
movups xmmword [rsi + 0x1ccc], xmm0
mov dword [rsi + 0x1cc8], eax
jmp 0x180022235
mov rbx, qword [0x1800a5cf0]
mov qword [rbx + 0x1c08], rdi
movsxd rax, dword [rdi + 0x180]
cmp eax, 0xffffffff
je 0x1800221da
imul rcx, rax, 0x208
add rcx, qword [rbx + 0x2030]
jmp 0x1800221de
xor eax, eax
mov ecx, eax
movss xmm0, dword [rbx + 0x197c]
mov qword [rbx + 0x2018], rcx
mov rax, qword [rdi + 0x350]
mulss xmm0, dword [rdi + 0x278]
test rax, rax
je 0x180022209
mulss xmm0, dword [rax + 0x278]
mov r12d, r14d
movss dword [rbx + 0x1990], xmm0
and r12d, 0x1000000
movss dword [rbx + 0x1978], xmm0
and r14d, 0x40
lea r15, [rdi + 0x1f8]
lea r13, [rdi + 0x1f0]
test r12d, r12d
je 0x180022247
mov rbx, qword [rsp + 0x60]
mov eax, dword [rbx + 0x12c]
jmp 0x18002228a
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.180016ea0
cmp dword [rbx + 0x1c50], eax
jne 0x180022276
mov dword [rbx + 0x1c54], eax
cmp dword [rbx + 0x1c90], eax
jne 0x180022285
mov byte [rbx + 0x1c94], 1
mov rbx, qword [rsp + 0x60]
mov r8b, 1
mov dword [rdi + 0x12c], eax
mov rdx, r15
mov rcx, r13
call fcn.18001ca70
mov r15, qword [rsp + 0x1d8]
xor eax, eax
mov r13, qword [rsp + 0x1e0]
mov byte [rdi + 0x90], 0
inc word [rdi + 0x9a]
mov dword [rsi + 0x1cf0], eax
mov eax, dword [rsp + 0x68]
cmp eax, dword [rsp + 0x6c]
je 0x1800223eb
test r12d, r12d
je 0x18002235b
test r14d, r14d
jne 0x180022324
cmp byte [rdi + 0xa8], r14b
jg 0x180022324
cmp byte [rdi + 0xa9], r14b
jg 0x180022324
cmp byte [rsi + 0x30ec], r14b
jne 0x180022324
movss xmm0, dword [rdi + 0x1d0]
comiss xmm0, dword [rdi + 0x1d8]
jae 0x18002231d
movss xmm0, dword [rdi + 0x1d4]
comiss xmm0, dword [rdi + 0x1dc]
jb 0x180022324
mov byte [rdi + 0xb0], 1
test rbx, rbx
je 0x18002235b
cmp byte [rbx + 0x91], 0
jne 0x18002233b
cmp byte [rbx + 0xb0], 0
jle 0x180022342
mov byte [rdi + 0xb0], 1
cmp byte [rbx + 0x91], 0
jne 0x180022354
cmp byte [rbx + 0xb1], 0
jle 0x18002235b
mov byte [rdi + 0xb1], 1
comiss xmm13, dword [rsi + 0x1558]
jb 0x18002236c
mov byte [rdi + 0xb0], 1
cmp byte [rdi + 0xb0], 0
jg 0x18002238b
cmp byte [rdi + 0xb1], 0
jg 0x18002238b
cmp byte [rdi + 0xb2], 0
jg 0x18002238b
xor cl, cl
jmp 0x18002238d
mov cl, 1
mov byte [rdi + 0x95], cl
movzx eax, byte [rdi + 0xb3]
test al, al
jle 0x1800223ad
dec al
mov byte [rdi + 0xb3], al
or dword [rdi + 0xc], 0xc0200
xor al, al
cmp byte [rdi + 0x91], al
jne 0x1800223c3
cmp byte [rdi + 0x8e], al
je 0x1800223c3
test cl, cl
je 0x1800223e5
cmp byte [rdi + 0xa8], al
jg 0x1800223e5
cmp byte [rdi + 0xa9], al
jg 0x1800223e5
cmp byte [rdi + 0xb1], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [rdi + 0x93], al
cmp byte [rdi + 0x93], 0
movaps xmm13, xmmword [rsp + 0x150]
sete al
add rsp, 0x1e8
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret