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

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r14
lea rbp, [r11 - 0x108]
sub rsp, 0x1d8
movaps xmmword [r11 - 0xb8], xmm13
mov rax, qword [0x180085028]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rsi, qword [0x180086010]
mov ebx, r8d
mov qword [r11 + 0x10], r13
mov r14, rcx
mov qword [r11 - 0x38], r15
mov qword [rbp - 0x60], rcx
call fcn.18001d1a0
test rax, rax
mov qword [rsp + 0x48], rax
mov rdi, rax
sete byte [rsp + 0x30]
test rax, rax
jne 0x18001f84f
mov edx, ebx
mov rcx, r14
call fcn.18001d270
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 + 0x68], r13d
and ecx, 0xc0200
mov dword [rsp + 0x64], r12d
cmp ecx, 0xc0200
cmovne r14d, ebx
lea rbx, [rsi + 0x1bd8]
cmp dword [rbx], 0
jne 0x18001f899
cmp byte [rsi + 0x1b95], 0
je 0x18001f899
mov al, 1
jmp 0x18001f89b
xor al, al
mov byte [rdi + 0x96], al
lea eax, [r13 - 1]
cmp r12d, eax
setl r8b
mov byte [rsp + 0x31], r8b
bt r14d, 0x1a
jae 0x18001f8ea
movsxd rax, dword [rsi + 0x1dd0]
lea rdx, [rax + rax*2]
shl rdx, 4
add rdx, qword [rsi + 0x1dc8]
cmp rdi, qword [rdx + 8]
mov eax, dword [rdx]
setne cl
cmp dword [rdi + 0xa4], eax
setne al
or cl, al
or r8b, cl
mov byte [rsp + 0x31], r8b
mov byte [rdi + 0x94], r8b
test r8b, r8b
je 0x18001f90b
or byte [rdi + 0xb4], 8
or byte [rdi + 0xb5], 8
or byte [rdi + 0xb6], 8
xor ecx, ecx
cmp r12d, r13d
je 0x18001f94e
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 0x18001f952
mov r14d, dword [rdi + 0xc]
movsxd rax, dword [rbx]
test eax, eax
jne 0x18001f95e
mov rax, rcx
jmp 0x18001f970
imul rcx, rax, 0x38
mov rax, qword [rsi + 0x1be0]
mov rax, qword [rcx + rax - 0x38]
xor ecx, ecx
cmp r12d, r13d
je 0x18001f985
test r14d, 0x5000000
mov r15, rcx
cmovne r15, rax
jmp 0x18001f98c
mov r15, qword [rdi + 0x350]
cmp dword [rdi + 0xc8], 0
mov qword [rsp + 0x58], r15
jne 0x18001f9aa
lea rdx, [rdi + 8]
lea rcx, [rdi + 0xc8]
call fcn.180029870
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 - 0x50], rdi
mov dword [rbp - 0x20], eax
movups xmmword [rbp - 0x48], xmm0
movsd xmm0, qword [rsi + 0x1ce0]
movsd qword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x38], xmm1
cmp ecx, r8d
jne 0x18001fa0d
inc ecx
test r8d, r8d
je 0x18001f9f9
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18001f9fe
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180029ef0
movsxd rax, dword [rbx]
xor r10d, r10d
mov rdx, qword [0x180086010]
movups xmm0, xmmword [rbp - 0x50]
movups xmm1, xmmword [rbp - 0x40]
imul rcx, rax, 0x38
mov rax, qword [rbx + 8]
movups xmmword [rcx + rax], xmm0
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rcx + rax + 0x10], xmm1
movsd xmm1, qword [rbp - 0x20]
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 0x18001fafe
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.180029200
mov eax, dword [rbx]
xor r10d, r10d
mov dword [rdi + 0xa4], eax
cmp r12d, r13d
je 0x18001fb8a
mov qword [rdi + 0x350], r15
mov qword [rdi + 0x368], rdi
mov qword [rdi + 0x360], rdi
mov qword [rdi + 0x358], rdi
test r15, r15
je 0x18001fb63
mov eax, r14d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x18001fb45
mov rax, qword [r15 + 0x358]
mov qword [rdi + 0x358], rax
bt r14d, 0x1b
jb 0x18001fb63
test r14d, 0x5000000
je 0x18001fb63
mov rax, qword [r15 + 0x360]
mov qword [rdi + 0x360], rax
test dword [rdi + 0xc], 0x800000
je 0x18001fb8a
mov rcx, rdi
nop
mov rax, qword [rcx + 0x350]
mov qword [rdi + 0x368], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x18001fb70
xor dl, dl
xor r12b, r12b
xor r13b, r13b
mov byte [rsp + 0x33], dl
test byte [rsi + 0x1cf0], 1
je 0x18001fc32
mov r8d, dword [rsi + 0x1cf4]
movzx ecx, byte [rdi + 0xb4]
movsx eax, cl
test r8d, eax
setne dl
mov byte [rsp + 0x33], dl
test r8d, eax
je 0x18001fc23
movss xmm0, dword [rsi + 0x1d0c]
movss xmm1, dword [rsi + 0x1d08]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x18007a6d8]
jbe 0x18001fc23
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 0x18001fc32
lea rdx, [rsi + 0x1d00]
mov rcx, rdi
call fcn.180022080
test byte [rsi + 0x1cf0], 2
xorps xmm13, xmm13
je 0x18001fc85
movsx eax, byte [rdi + 0xb5]
lea rdx, [rsi + 0x1d10]
mov r8d, dword [rsi + 0x1cf8]
and eax, r8d
je 0x18001fc68
movss xmm0, dword [rdx]
comiss xmm0, xmm13
jbe 0x18001fc68
mov r12b, 1
jmp 0x18001fc6c
test eax, eax
je 0x18001fc7d
movss xmm0, dword [rsi + 0x1d14]
comiss xmm0, xmm13
jbe 0x18001fc7d
mov r13b, 1
mov rcx, rdi
call fcn.1800221b0
test byte [rsi + 0x1cf0], 0x80
je 0x18001fcbc
movss xmm0, dword [rsi + 0x1d20]
comiss xmm0, xmm13
jb 0x18001fca5
movss dword [rdi + 0x6c], xmm0
mov dword [rdi + 0x74], r10d
movss xmm0, dword [rsi + 0x1d24]
comiss xmm0, xmm13
jb 0x18001fcbc
movss dword [rdi + 0x70], xmm0
mov dword [rdi + 0x78], r10d
test byte [rsi + 0x1cf0], 4
mov ebx, dword [rsp + 0x68]
mov r15d, dword [rsp + 0x64]
je 0x18001fcdd
movsd xmm0, qword [rsi + 0x1d18]
movsd qword [rdi + 0x38], xmm0
jmp 0x18001fcea
cmp r15d, ebx
je 0x18001fcea
mov qword [rdi + 0x38], 0
test byte [rsi + 0x1cf0], 8
je 0x18001fd38
mov ecx, dword [rsi + 0x1cfc]
movzx edx, byte [rsi + 0x1d28]
test ecx, ecx
je 0x18001fd0f
movsx eax, byte [rdi + 0xb6]
test ecx, eax
je 0x18001fd38
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 0x18001fd49
mov rcx, rdi
call fcn.180021bc0
cmp byte [rdi + 0x94], 0
je 0x18001fd67
and byte [rdi + 0xb4], 0xf7
and byte [rdi + 0xb5], 0xf7
and byte [rdi + 0xb6], 0xf7
mov ecx, 1
cmp r15d, ebx
je 0x1800217dc
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 + 0x3c], eax
call fcn.180029940
mov rcx, qword [rdi + 0x280]
call fcn.1800314e0
cmp byte [rdi + 0x3a8], 0
mov dword [rdi + 0x180], 0xffffffff
je 0x18001fe6e
mov rcx, qword [rdi + 0x280]
mov edx, dword [rdi + 0x3a0]
add rcx, 0x10
mov byte [rdi + 0x3a8], 0
call fcn.180029d30
mov rcx, qword [rdi + 0x280]
mov edx, dword [rdi + 0x3a4]
add rcx, 0x20
call fcn.180029a20
xor eax, eax
mov qword [rdi + 0x3a0], rax
cmp qword [rsi + 0x1f30], 0
mov r9, qword [rsp + 0x48]
je 0x18001ff43
test dword [rdi + 0xc], 0x80000
jne 0x18001ff43
test r9, r9
je 0x18001ff43
mov r10, qword [rbp - 0x60]
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 0x18001fec3
inc rax
test ecx, ecx
jne 0x18001feb0
test edx, edx
je 0x18001ff3e
movsxd r15, dword [rdi + 0x50]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x18001fed2
inc rbx
cmp r15, rbx
jae 0x18001ff29
test r9, r9
je 0x18001fefb
mov rax, qword [0x180086010]
test rax, rax
je 0x18001fefb
dec dword [rax + 0x3b0]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x180086010]
test rax, rax
je 0x18001ff16
inc dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r10, qword [rbp - 0x60]
mov r15, rbx
mov r9, rax
mov r8, rbx
mov rdx, r10
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi], rax
mov dword [rdi + 0x50], r15d
mov r9, qword [rsp + 0x48]
movzx eax, byte [rdi + 0xb1]
lea r8, [rdi + 0x30]
lea rdx, [rdi + 0x28]
mov byte [rsp + 0x38], al
mov rcx, rdi
call fcn.18001d900
movzx eax, byte [rdi + 0xb0]
test al, al
jle 0x18001ff71
dec al
mov byte [rdi + 0xb0], al
movzx eax, byte [rdi + 0xb1]
test al, al
jle 0x18001ff84
dec al
mov byte [rdi + 0xb1], al
movzx eax, byte [rdi + 0xb2]
test al, al
jle 0x18001ff97
dec al
mov byte [rdi + 0xb2], al
test r9, r9
jne 0x18001ffad
test r12b, r12b
je 0x18001ffa6
test r13b, r13b
jne 0x18001ffad
mov byte [rdi + 0xb1], 1
xor r9d, r9d
cmp byte [rsp + 0x31], r9b
je 0x18001fff5
test r14d, 0x6000000
je 0x18001fff5
mov byte [rdi + 0xb1], 1
test r14b, 0x40
je 0x18001fff5
test r12b, r12b
jne 0x18001ffda
mov dword [rdi + 0x20], r9d
mov dword [rdi + 0x18], r9d
test r13b, r13b
jne 0x18001ffe7
mov dword [rdi + 0x24], r9d
mov dword [rdi + 0x1c], r9d
mov qword [r8], 0
mov qword [rdx], 0
mov rcx, qword [0x180086010]
mov qword [rcx + 0x1c08], rdi
movsxd rax, dword [rdi + 0x180]
cmp eax, 0xffffffff
je 0x18002001f
imul rdx, rax, 0x208
add rdx, qword [rcx + 0x2030]
jmp 0x180020022
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 0x18002004d
mulss xmm0, dword [rax + 0x278]
mov eax, r14d
movss dword [rcx + 0x1990], xmm0
and eax, 0x1000000
movss dword [rcx + 0x1978], xmm0
mov dword [rsp + 0x50], eax
je 0x180020075
movss xmm1, dword [rsi + 0x1588]
jmp 0x180020097
test r14d, 0x6000000
je 0x18002008f
bt r14d, 0x1b
jb 0x18002008f
movss xmm1, dword [rsi + 0x1590]
jmp 0x180020097
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 0x1800200de
ucomiss xmm1, xmm13
jp 0x1800200de
jne 0x1800200de
bt r14d, 0xa
jae 0x1800200d1
movss xmm0, dword [rsi + 0x1564]
jmp 0x1800200d5
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 0x18002023f
mov edx, dword [rdi + 0xc]
test dl, 1
je 0x18002011f
movaps xmm2, xmm13
jmp 0x180020153
mov rax, qword [rdi + 0x350]
movss xmm0, dword [rdi + 0x278]
mulss xmm0, dword [rcx + 0x197c]
test rax, rax
je 0x180020143
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 0x18002020b
cmp dword [rsi + 0x1c3c], 0
jne 0x18002020b
cmp dword [rsi + 0x1c40], 0
jne 0x18002020b
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 0x18002020b
movss xmm0, dword [rcx + 0x12c]
comiss xmm0, xmm5
jb 0x18002020b
comiss xmm3, xmm1
jbe 0x18002020b
comiss xmm2, xmm0
jbe 0x18002020b
cmp byte [rsi + 0x425], 0
je 0x18002020b
mov byte [rdi + 0x92], 1
cmp byte [rdi + 0x92], 0
je 0x18002024a
cmp byte [rdi + 0x91], 0
sete al
mov byte [rdi + 0x91], al
bt edx, 8
jb 0x18002024a
comiss xmm13, dword [rcx + 0x3094]
jb 0x18002024a
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x3094], eax
jmp 0x18002024a
mov byte [rdi + 0x91], 0
lea rbx, [rdi + 0x20]
mov rdx, rdi
mov byte [rdi + 0x92], 0
lea rcx, [rbp - 8]
call fcn.18001da10
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x32], al
mov eax, r14d
and eax, 0x40
mov dword [rbp - 0x64], eax
je 0x1800202a8
cmp byte [rdi + 0x91], 0
jne 0x1800202a8
test r12b, r12b
jne 0x18002028d
movss xmm0, dword [rbp - 8]
movss dword [rbx], xmm0
mov byte [rsp + 0x30], 1
test r13b, r13b
jne 0x180020359
movss xmm0, dword [rbp - 4]
mov r12b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x18002035f
movzx eax, byte [rdi + 0xa8]
test al, al
jg 0x1800202c0
cmp byte [rdi + 0xa9], 0
jle 0x180020359
test r12b, r12b
jne 0x1800202eb
test al, al
jle 0x1800202eb
cmp byte [rdi + 0xab], r12b
je 0x1800202dd
movss xmm0, dword [rbx]
maxss xmm0, dword [rbp - 8]
jmp 0x1800202e2
movss xmm0, dword [rbp - 8]
movss dword [rbx], xmm0
mov byte [rsp + 0x30], 1
test r13b, r13b
jne 0x180020325
cmp byte [rdi + 0xa9], r13b
jle 0x180020325
cmp byte [rdi + 0xab], r13b
je 0x180020316
movss xmm0, dword [rdi + 0x24]
mov r12b, 1
maxss xmm0, dword [rbp - 4]
movss dword [rdi + 0x24], xmm0
jmp 0x18002032b
movss xmm0, dword [rbp - 4]
mov r12b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x18002032b
movzx r12d, byte [rsp + 0x32]
cmp byte [rdi + 0x91], 0
jne 0x18002035f
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x180086010]
jne 0x18002035f
comiss xmm13, dword [rcx + 0x3094]
jb 0x18002035f
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x3094], eax
jmp 0x18002035f
movzx r12d, byte [rsp + 0x32]
mov r8, rbx
lea rcx, [rsp + 0x78]
mov rdx, rdi
call fcn.18001d6b0
cmp byte [rdi + 0x91], 0
mov r15, qword [0x180086010]
mov edx, dword [rsp + 0x50]
movss xmm3, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rbx], xmm3
movss dword [rbx + 4], xmm0
je 0x180020403
test edx, edx
jne 0x180020403
test byte [rdi + 0xc], 1
je 0x1800203a5
movaps xmm2, xmm13
jmp 0x1800203db
mov rax, qword [rdi + 0x350]
movss xmm0, dword [r15 + 0x197c]
mulss xmm0, dword [rdi + 0x278]
test rax, rax
je 0x1800203ca
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 [rsp + 0x44], xmm2
movss dword [rsp + 0x40], xmm0
jmp 0x18002040d
movsd xmm0, qword [rbx]
movsd qword [rsp + 0x40], xmm0
mov ecx, dword [rdi + 0xc]
lea rax, [rsp + 0x40]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x18], xmm0
test cl, 1
je 0x180020429
movaps xmm1, xmm13
jmp 0x18002045f
mov rax, qword [rdi + 0x350]
movss xmm0, dword [r15 + 0x197c]
mulss xmm0, dword [rdi + 0x278]
test rax, rax
je 0x18002044e
mulss xmm0, dword [rax + 0x278]
movss xmm1, dword [r15 + 0x1598]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x1800204a9
mov rax, qword [rdi + 0x350]
movss xmm14, dword [r15 + 0x197c]
mulss xmm14, dword [rdi + 0x278]
test rax, rax
je 0x18002048c
mulss xmm14, dword [rax + 0x278]
movss xmm0, dword [r15 + 0x1598]
addss xmm14, dword [rdi + 0x138]
addss xmm0, xmm0
addss xmm14, xmm0
jmp 0x1800204ad
movaps xmm14, xmm13
cmp byte [rsp + 0x31], 0
addss xmm14, xmm1
movzx r13d, byte [rsp + 0x33]
je 0x180020508
mov eax, r14d
mov dword [rdi + 0xac], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180020508
test r13b, r13b
jne 0x180020508
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 0x1800205a6
mov rdx, qword [rsp + 0x58]
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 0x180020566
inc r8d
test ecx, ecx
je 0x180020543
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180020548
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180029550
mov rdx, qword [rsp + 0x58]
mov r15, qword [0x180086010]
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 + 0x3c]
test r8d, r8d
jne 0x1800205a0
test r13b, r13b
jne 0x1800205a0
lea rbx, [rdi + 0x20]
cmp eax, 0x3000000
je 0x1800205af
movsd xmm0, qword [rdx + 0xd8]
movsd qword [rdi + 0x10], xmm0
jmp 0x1800205af
lea rbx, [rdi + 0x20]
jmp 0x1800205af
mov r8d, dword [rsp + 0x34]
mov eax, dword [rsp + 0x3c]
movss xmm1, dword [rdi + 0xb8]
ucomiss xmm1, dword [0x18007a800]
jp 0x1800205c2
je 0x180020613
cmp byte [rdi + 0xb1], 0
jne 0x180020613
movss xmm0, dword [rdi + 0x18]
lea rdx, [rsp + 0x40]
mulss xmm0, dword [rdi + 0xc0]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xbc]
movss dword [rsp + 0x40], xmm1
movss xmm1, dword [rdi + 0x1c]
mulss xmm1, dword [rdi + 0xc4]
subss xmm0, xmm1
movss dword [rsp + 0x44], xmm0
call fcn.180022080
jmp 0x18002065d
bt r14d, 0x1c
jb 0x18002063e
test r8d, r8d
je 0x18002062b
test r13b, r13b
jne 0x18002062b
cmp byte [rsp + 0x38], r13b
jg 0x18002063e
bt r14d, 0x19
jae 0x180020662
test r13b, r13b
jne 0x180020662
cmp eax, 0x3000000
je 0x180020662
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.180024080
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 xmm8, dword [rcx + 4]
movss xmm7, dword [rcx + 8]
movaps xmm15, xmm8
movss xmm0, dword [rcx + 0x14]
movaps xmm6, xmm7
movss xmm1, dword [rcx + 0x18]
movaps xmm5, xmm0
movss dword [rsp + 0x6c], xmm8
movaps xmm4, xmm1
movss dword [rbp - 0x18], xmm8
movss dword [rsp + 0x70], xmm7
movss dword [rbp - 0x14], xmm7
addss xmm6, dword [rcx + 0x10]
addss xmm5, dword [rcx + 0x1c]
addss xmm4, dword [rcx + 0x20]
addss xmm15, dword [rcx + 0xc]
mov ecx, dword [rsp + 0x50]
movss dword [rsp + 0x34], xmm6
movss dword [rbp - 0xc], xmm6
subss xmm5, xmm2
subss xmm4, xmm3
movss dword [rbp - 0x10], xmm15
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [rbp + 0x10], xmm5
movss dword [rbp + 0x14], xmm4
movss dword [rbp + 8], xmm2
movss dword [rbp + 0xc], xmm3
test r13b, r13b
jne 0x1800207de
test ecx, ecx
jne 0x1800207de
cmp byte [rdi + 0xa8], r13b
jg 0x1800207de
cmp byte [rdi + 0xa9], r13b
jg 0x1800207de
movaps xmm0, xmm15
subss xmm0, xmm8
comiss xmm0, xmm13
jbe 0x1800207de
movaps xmm0, xmm6
subss xmm0, xmm7
comiss xmm0, xmm13
jbe 0x1800207de
movss xmm0, dword [rdi + 0x1c]
cmp byte [r15 + 0xcd], r13b
je 0x1800207a9
test byte [rdi + 0xc], 1
jne 0x1800207a9
mov rax, qword [rdi + 0x350]
movss xmm1, dword [r15 + 0x197c]
mulss xmm1, dword [rdi + 0x278]
test rax, rax
je 0x180020798
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 0x1800207c3
movaps xmm3, xmm4
minss xmm3, xmm0
movss xmm0, dword [rdi + 0x10]
comiss xmm2, xmm0
ja 0x1800207d4
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 0x18002080e
movss xmm2, dword [rsi + 0x1584]
jmp 0x18002082f
mov eax, r14d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180020827
movss xmm2, dword [rsi + 0x158c]
jmp 0x18002082f
movss xmm2, dword [rsi + 0x1568]
xor dl, dl
movss dword [rdi + 0x48], xmm2
mov dword [rsp + 0x60], edx
cmp byte [rsp + 0x31], dl
je 0x18002086c
bt r14d, 0xc
jb 0x18002086c
mov r13d, dword [rsp + 0x3c]
test r8d, r8d
je 0x180020858
mov byte [rsp + 0x60], 1
jmp 0x180020871
test r13d, r13d
movzx edx, dl
mov ecx, 1
cmove edx, ecx
mov dword [rsp + 0x60], edx
jmp 0x180020871
mov r13d, dword [rsp + 0x3c]
addss xmm2, dword [0x18007a750]
xorps xmm0, xmm0
mov dword [rbp], 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 [0x18007a700]
setne cl
mulss xmm1, dword [0x18007a754]
inc ecx
cmp byte [rdi + 0x91], 0
addss xmm2, xmm0
mov dword [rsp + 0x40], ecx
maxss xmm1, xmm2
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x68], xmm0
jne 0x18002090d
lea rax, [rbp + 8]
mov r9d, ecx
mov qword [rsp + 0x28], rax
lea r8, [rbp]
lea rax, [rbp + 0x18]
mov rcx, rdi
lea rdx, [rbp - 8]
mov qword [rsp + 0x20], rax
call fcn.18001de10
mov r15, qword [0x180086010]
test al, al
je 0x18002090d
mov r12b, 1
movzx ecx, r12b
jmp 0x180020912
movzx ecx, byte [rsp + 0x30]
cmp byte [rdi + 0x91], 0
movzx eax, byte [rbp]
mov byte [rdi + 0x98], al
jne 0x180020a65
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 [rbx]
subss xmm4, xmm14
addss xmm2, dword [rdi + 0x84]
addss xmm3, dword [rdi + 0x88]
jne 0x18002097d
mov qword [rbp - 0x58], 0
lea rax, [rbp - 0x58]
jmp 0x1800209aa
movss xmm0, dword [rdi + 0x40]
lea rax, [rsp + 0x48]
movss xmm1, dword [rdi + 0x44]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x28]
addss xmm1, dword [rdi + 0x2c]
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test cl, cl
jne 0x1800209ba
movaps xmm5, xmm2
test r12b, r12b
jne 0x1800209c2
movaps xmm4, xmm3
bt r14d, 0xe
jb 0x1800209d8
comiss xmm1, xmm4
jbe 0x1800209d4
test r14b, 8
je 0x1800209d8
xor cl, cl
jmp 0x1800209da
mov cl, 1
mov byte [rdi + 0x8d], cl
lea rdx, [rsi + 0x15cc]
bt r14d, 0xf
jb 0x180020a21
test cl, cl
je 0x1800209f8
movss xmm0, dword [rdx]
jmp 0x1800209fc
movaps xmm0, xmm13
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x180020a14
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
je 0x180020a21
mov byte [rdi + 0x8c], 0
movaps xmm1, xmm13
jmp 0x180020a47
mov byte [rdi + 0x8c], 1
test cl, cl
jne 0x180020a43
comiss xmm1, xmm4
jbe 0x180020a3b
test r14b, 8
jne 0x180020a3b
mov cl, 1
jmp 0x180020a3d
xor cl, cl
mov byte [rdi + 0x8d], cl
movss xmm1, dword [rdx]
test cl, cl
je 0x180020a51
movss xmm0, dword [rdx]
jmp 0x180020a55
movaps xmm0, xmm13
movss dword [rdi + 0x84], xmm0
movss dword [rdi + 0x88], xmm1
mov r12d, r14d
and r12d, 0x5000000
cmp r12d, 0x1000000
jne 0x180020a8e
cmp r13d, 0x3000000
je 0x180020a8e
mov rax, qword [rsp + 0x58]
add rax, 0x220
jmp 0x180020a92
lea rax, [rbp - 0x18]
test byte [rdi + 0xc], 1
movss xmm7, dword [rdi + 0x10]
movss xmm5, dword [rdi + 0x14]
movaps xmm3, xmm7
addss xmm3, dword [rdi + 0x18]
movups xmm6, xmmword [rax]
movaps xmm4, xmm5
addss xmm4, dword [rdi + 0x1c]
je 0x180020abb
movaps xmm0, xmm13
jmp 0x180020af1
mov rax, qword [rdi + 0x350]
movss xmm1, dword [r15 + 0x197c]
mulss xmm1, dword [rdi + 0x278]
test rax, rax
je 0x180020ae0
mulss xmm1, dword [rax + 0x278]
movss xmm0, dword [r15 + 0x1598]
addss xmm0, xmm0
addss xmm0, xmm1
movss dword [rsp + 0x78], xmm7
movaps xmm1, xmm5
addss xmm1, xmm0
movaps xmm2, xmm7
movss xmm0, dword [rdi + 0x14]
movaps xmm8, xmm6
addss xmm2, dword [rbx]
movss dword [rsp + 0x7c], xmm0
mov eax, r14d
shufps xmm8, xmm6, 0xff
and eax, 0x401
movss dword [rbp - 0x7c], xmm1
movss dword [rbp - 0x80], xmm2
movss dword [rdi + 0x1d0], xmm7
movss dword [rdi + 0x1d4], xmm5
movss dword [rdi + 0x1d8], xmm3
movaps xmm3, xmm6
movss dword [rdi + 0x1dc], xmm4
movaps xmm4, xmm6
movss xmm0, dword [rdi + 0x1d0]
shufps xmm4, xmm6, 0x55
maxss xmm0, xmm6
shufps xmm3, xmm6, 0xaa
maxss xmm5, xmm4
movss dword [rdi + 0x1d0], xmm0
movss dword [rdi + 0x1d4], xmm5
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 xmm10, dword [rdi + 0x10]
movss xmm5, dword [rdi + 0x14]
movaps xmm7, xmm10
movss dword [rdi + 0x1e0], xmm10
movaps xmm9, xmm5
addss xmm9, xmm14
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 0x180020c03
movss xmm11, dword [rdi + 0x4c]
jmp 0x180020c0c
movss xmm11, dword [rsi + 0x15a0]
movss xmm12, dword [0x18007a718]
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 0x180020cbf
movaps xmm1, xmm4
jmp 0x180020cc7
movaps xmm1, xmm8
minss xmm1, xmm0
comiss xmm6, xmm10
jbe 0x180020cd2
movaps xmm0, xmm6
jmp 0x180020cda
movaps xmm0, xmm3
minss xmm0, xmm10
movss dword [r13], xmm0
movss dword [r13 + 4], xmm1
movss xmm0, dword [r13 + 0xc]
comiss xmm4, xmm0
ja 0x180020cfa
minss xmm8, xmm0
movaps xmm4, xmm8
movss xmm0, dword [r13 + 8]
comiss xmm6, xmm0
jbe 0x180020d0a
movaps xmm3, xmm6
jmp 0x180020d0e
minss xmm3, xmm0
movss dword [r13 + 8], xmm3
movss dword [r13 + 0xc], xmm4
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm13
jbe 0x180020d38
test r14d, 0x2000040
jne 0x180020d38
mulss xmm0, dword [0x18007a720]
jmp 0x180020d48
movss xmm0, dword [rsi + 0x1978]
mulss xmm0, dword [0x18007a7b0]
cvttss2si eax, xmm0
mov rdx, rdi
lea rcx, [rbp - 0x78]
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.180022f00
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.180031b70
mov rcx, qword [0x180086010]
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.180031a50
mov rax, qword [rbx + 0x280]
mov rcx, qword [rax + 0x60]
movsxd rdx, dword [rax + 0x58]
add rdx, rdx
movss xmm0, dword [rcx + rdx*8 - 0xc]
movss xmm1, dword [rcx + rdx*8 - 8]
movss xmm2, dword [rcx + rdx*8 - 4]
mov eax, dword [rcx + rdx*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 [0x180086010]
bt r14d, 0x1b
jae 0x180020eea
mov eax, dword [r9 + 0x1dc0]
sub eax, 1
js 0x180020ed1
movsxd rdx, eax
mov rax, qword [r9 + 0x1dc8]
add rax, 8
lea r8, [rdx + rdx*2]
shl r8, 4
add r8, rax
mov rax, qword [r8]
test rax, rax
je 0x180020ec7
test dword [rax + 0xc], 0x8000000
jne 0x180020ed3
sub r8, 0x30
sub rdx, 1
jns 0x180020eb6
xor eax, eax
cmp rdi, rax
jne 0x180020eea
cmp byte [rdi + 0xb1], 0
jg 0x180020eea
mov cl, 1
mov edx, 0x408
jmp 0x180020ef1
xor cl, cl
mov edx, 0x3f8
mov rax, qword [rsi + 0x1f28]
test rax, rax
je 0x180020f0a
cmp rdi, qword [rax + 0x358]
jne 0x180020f0a
mov bl, 1
jmp 0x180020f0c
xor bl, bl
test cl, cl
jne 0x180020f18
test bl, bl
je 0x180021065
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.180016940
mov rcx, qword [rdi + 0x280]
lea rdx, [rbp - 0x18]
mov r9d, eax
mov dword [rsp + 0x28], 0
lea r8, [rbp - 0x10]
movss dword [rsp + 0x20], xmm13
call fcn.180034410
test bl, bl
je 0x180021065
cmp rdi, qword [rsi + 0x1f28]
jne 0x180021065
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 [rsp + 0x34]
subss xmm1, xmm0
movaps xmm4, xmm3
addss xmm3, dword [rdi + 0x1c]
subss xmm4, xmm0
addss xmm2, xmm0
movss dword [rbp - 0x18], xmm1
addss xmm3, xmm0
movss xmm0, dword [rsp + 0x6c]
comiss xmm0, xmm1
movss dword [rbp - 0x10], xmm2
movss dword [rbp - 0xc], xmm3
movss dword [rbp - 0x14], xmm4
jb 0x180020ff6
movss xmm0, dword [rsp + 0x70]
comiss xmm0, xmm4
jb 0x180020ff6
comiss xmm2, xmm15
jb 0x180020ff6
comiss xmm3, xmm11
jae 0x18002106c
mov rax, qword [0x180086010]
lea rcx, [rbp - 0x78]
movss xmm0, dword [rsi + 0x1f3c]
mulss xmm0, dword [0x18007a704]
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.180016940
movss xmm0, dword [rsi + 0x1568]
lea r8, [rbp - 0x10]
mov rcx, qword [rdi + 0x280]
lea rdx, [rbp - 0x18]
mov r9d, eax
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm0
call fcn.180034410
jmp 0x18002106c
movss xmm11, dword [rsp + 0x34]
xor bl, bl
cmp r12d, 0x1000000
jne 0x1800210b5
cmp dword [rsp + 0x3c], 0x3000000
je 0x1800210b5
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 0x1800210b5
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x280]
cmp dword [rax + 0x20], 0
jle 0x1800210b5
mov bl, 1
mov qword [rdi + 0x280], rax
mov rax, qword [rsi + 0x1f20]
test rax, rax
jne 0x1800210c8
mov rax, qword [rsi + 0x1df0]
mov r12d, dword [rsp + 0x60]
test r12b, r12b
jne 0x1800210ec
test rax, rax
je 0x1800210e7
mov rax, qword [rax + 0x360]
cmp qword [rdi + 0x360], rax
je 0x1800210ec
xor r8b, r8b
jmp 0x1800210ef
mov r8b, 1
movss xmm0, dword [rbp - 0x68]
lea rax, [rbp + 0x18]
mov r9d, dword [rsp + 0x40]
lea rdx, [rsp + 0x78]
movss dword [rsp + 0x28], xmm0
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.18001ece0
test bl, bl
je 0x180021127
lea rax, [rdi + 0x288]
mov qword [rdi + 0x280], rax
cmp qword [rsi + 0x1f28], rdi
jne 0x1800212c1
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 + 0x6c]
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 0x1800211ce
movss xmm0, dword [rsp + 0x70]
comiss xmm0, xmm8
jb 0x1800211ce
comiss xmm7, xmm15
jb 0x1800211ce
comiss xmm6, xmm11
jb 0x1800211ce
xorps xmm1, xmmword [0x18007ace0]
movaps xmm10, xmm2
subss xmm1, dword [0x18007a750]
movaps xmm0, xmm1
subss xmm9, xmm1
subss xmm8, xmm1
addss xmm0, xmm7
addss xmm1, xmm6
movaps xmm7, xmm0
movaps xmm6, xmm1
mov rax, qword [0x180086010]
lea rcx, [rbp - 0x18]
movss xmm0, dword [rsi + 0x1f3c]
mov rbx, qword [rdi + 0x280]
movups xmm1, xmmword [rax + 0x1940]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x18], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0xc], xmm1
call fcn.180016940
mov r15d, eax
test eax, 0xff000000
je 0x1800212ba
test byte [rbx + 0x30], 1
addss xmm9, xmm12
addss xmm8, xmm12
mov dword [rsp + 0x20], 0
movaps xmm3, xmm10
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov rcx, rbx
movss dword [rsp + 0x40], xmm9
movss dword [rsp + 0x44], xmm8
je 0x18002125e
subss xmm7, xmm12
subss xmm6, xmm12
jmp 0x18002126e
subss xmm7, dword [0x18007a714]
subss xmm6, dword [0x18007a714]
movss dword [rsp + 0x48], xmm7
movss dword [rsp + 0x4c], xmm6
call fcn.180033c30
movss xmm0, dword [0x18007a780]
mov eax, 1
mov r8d, dword [rbx + 0x78]
mov r9d, r15d
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], eax
call fcn.180031e60
xor edx, edx
lea r15, [rdi + 0x1f8]
mov dword [rbx + 0x78], edx
jmp 0x1800212c3
lea r15, [rdi + 0x1f8]
xor edx, edx
movss xmm7, dword [rdi + 0x38]
mov ecx, r14d
movaps xmm15, xmmword [rsp + 0x130]
movaps xmm12, xmmword [rsp + 0x160]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm7, xmm13
jp 0x18002132e
jne 0x18002132e
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 0x180021323
movss xmm9, dword [rdi + 0x28]
maxss xmm9, xmm1
jmp 0x180021332
movaps xmm9, xmm13
maxss xmm9, xmm1
jmp 0x180021332
movaps xmm9, xmm7
movss xmm5, dword [rdi + 0x3c]
ucomiss xmm5, xmm13
jp 0x18002137a
jne 0x18002137a
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 0x18002136f
movss xmm8, dword [rdi + 0x2c]
maxss xmm8, xmm1
jmp 0x18002137e
movaps xmm8, xmm13
maxss xmm8, xmm1
jmp 0x18002137e
movaps xmm8, xmm5
ucomiss xmm7, xmm13
movss xmm4, dword [rdi + 0x40]
movss xmm10, dword [rdi + 0x5c]
movaps xmm1, xmm4
maxss xmm1, dword [rdi + 0x4c]
movss xmm0, dword [rdi + 0x1e0]
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]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm9
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
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, xmm11
subss xmm1, xmm10
addss xmm2, xmm6
addss xmm1, xmm4
addss xmm2, xmm14
movss dword [rdi + 0x230], xmm1
movss dword [rdi + 0x234], xmm2
jp 0x180021466
jne 0x180021466
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 0x180021497
jne 0x180021497
movss xmm5, dword [rdi + 0x1c]
movaps xmm0, xmm6
addss xmm0, xmm6
subss xmm5, xmm0
subss xmm5, xmm14
subss xmm5, dword [rdi + 0x88]
addss xmm4, xmm13
addss xmm6, xmm14
movaps xmm14, xmmword [rsp + 0x140]
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 [rsp + 0x31], 0
mov byte [rdi + 0x131], al
mov byte [rdi + 0x132], 0
movss xmm0, dword [rsi + 0x15a4]
je 0x1800215cb
xor eax, eax
mov qword [rbx + 0x12], rax
cvttss2si eax, xmm0
mov rcx, rbx
mov word [rbx + 8], ax
call fcn.1800489f0
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 0x18002161e
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.180029550
xor r8d, r8d
mov dword [rdi + 0x160], r8d
lea rax, [rdi + 0x258]
mov qword [rdi + 0x170], rax
mov ecx, 1
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x178], r8
mov dword [rdi + 0x184], ecx
test rax, rax
je 0x180021657
mov eax, dword [rax + 0x184]
jmp 0x180021659
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.1800296d0
lea rcx, [rdi + 0x1b0]
call fcn.1800296d0
movzx eax, byte [rdi + 0xa8]
test al, al
jle 0x1800216ab
dec al
mov byte [rdi + 0xa8], al
movzx eax, byte [rdi + 0xa9]
test al, al
jle 0x1800216be
dec al
mov byte [rdi + 0xa9], al
test r12b, r12b
je 0x1800216d5
mov rcx, rdi
call fcn.180021bc0
xor edx, edx
mov rcx, rdi
call fcn.180024bd0
movss xmm8, dword [rbp - 0x7c]
movss xmm7, dword [rbp - 0x80]
movss xmm6, dword [rsp + 0x7c]
movss xmm9, dword [rsp + 0x78]
test r14b, 1
jne 0x180021729
mov r8, qword [rbp - 0x60]
lea rdx, [rbp - 0x18]
movaps xmm0, xmm9
movss dword [rbp - 0x14], xmm6
addss xmm0, dword [rdi + 0x4c]
movaps xmm1, xmm7
movss dword [rbp - 0xc], xmm8
subss xmm1, dword [rdi + 0x4c]
mov rcx, rdi
movss dword [rbp - 0x18], xmm0
movss dword [rbp - 0x10], xmm1
call fcn.18001f3a0
mov rbx, qword [0x180086010]
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 xmm9, xmm1
addss xmm7, xmm1
movss xmm1, dword [rbx + 0x128]
addss xmm8, xmm0
subss xmm6, xmm0
comiss xmm1, xmm9
movaps xmm9, xmmword [rsp + 0x190]
jb 0x1800217a1
movss xmm0, dword [rbx + 0x12c]
comiss xmm0, xmm6
jb 0x1800217a1
comiss xmm7, xmm1
jbe 0x1800217a1
comiss xmm8, xmm0
lea eax, [rcx + 1]
ja 0x1800217a3
mov eax, ecx
movups xmm0, xmmword [rsp + 0x78]
mov r12d, dword [rsp + 0x50]
mov r14d, dword [rbp - 0x64]
movaps xmm8, xmmword [rsp + 0x1a0]
movaps xmm7, xmmword [rsp + 0x1b0]
movaps xmm6, xmmword [rsp + 0x1c0]
movups xmmword [rsi + 0x1ccc], xmm0
mov dword [rsi + 0x1cc8], eax
jmp 0x180021861
mov rbx, qword [0x180086010]
mov qword [rbx + 0x1c08], rdi
movsxd rax, dword [rdi + 0x180]
cmp eax, 0xffffffff
je 0x180021806
imul rcx, rax, 0x208
add rcx, qword [rbx + 0x2030]
jmp 0x18002180a
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 0x180021835
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 0x180021873
mov rbx, qword [rsp + 0x58]
mov eax, dword [rbx + 0x12c]
jmp 0x1800218b6
movsxd rcx, dword [rdi + 0xc8]
xor edx, edx
mov rax, qword [rdi + 0xd0]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.FOCUSSCOPE
call fcn.1800163b0
cmp dword [rbx + 0x1c50], eax
jne 0x1800218a2
mov dword [rbx + 0x1c54], eax
cmp dword [rbx + 0x1c90], eax
jne 0x1800218b1
mov byte [rbx + 0x1c94], 1
mov rbx, qword [rsp + 0x58]
mov r8b, 1
mov dword [rdi + 0x12c], eax
mov rdx, r15
mov rcx, r13
call fcn.18001bfd0
mov r15, qword [rsp + 0x1d0]
xor eax, eax
mov r13, qword [rsp + 0x218]
mov byte [rdi + 0x90], 0
inc word [rdi + 0x9a]
mov dword [rsi + 0x1cf0], eax
mov eax, dword [rsp + 0x64]
cmp eax, dword [rsp + 0x68]
je 0x180021a17
test r12d, r12d
je 0x180021987
test r14d, r14d
jne 0x180021950
cmp byte [rdi + 0xa8], r14b
jg 0x180021950
cmp byte [rdi + 0xa9], r14b
jg 0x180021950
cmp byte [rsi + 0x30ec], r14b
jne 0x180021950
movss xmm0, dword [rdi + 0x1d0]
comiss xmm0, dword [rdi + 0x1d8]
jae 0x180021949
movss xmm0, dword [rdi + 0x1d4]
comiss xmm0, dword [rdi + 0x1dc]
jb 0x180021950
mov byte [rdi + 0xb0], 1
test rbx, rbx
je 0x180021987
cmp byte [rbx + 0x91], 0
jne 0x180021967
cmp byte [rbx + 0xb0], 0
jle 0x18002196e
mov byte [rdi + 0xb0], 1
cmp byte [rbx + 0x91], 0
jne 0x180021980
cmp byte [rbx + 0xb1], 0
jle 0x180021987
mov byte [rdi + 0xb1], 1
comiss xmm13, dword [rsi + 0x1558]
jb 0x180021998
mov byte [rdi + 0xb0], 1
cmp byte [rdi + 0xb0], 0
jg 0x1800219b7
cmp byte [rdi + 0xb1], 0
jg 0x1800219b7
cmp byte [rdi + 0xb2], 0
jg 0x1800219b7
xor cl, cl
jmp 0x1800219b9
mov cl, 1
mov byte [rdi + 0x95], cl
movzx eax, byte [rdi + 0xb3]
test al, al
jle 0x1800219d9
dec al
mov byte [rdi + 0xb3], al
or dword [rdi + 0xc], 0xc0200
xor al, al
cmp byte [rdi + 0x91], al
jne 0x1800219ef
cmp byte [rdi + 0x8e], al
je 0x1800219ef
test cl, cl
je 0x180021a11
cmp byte [rdi + 0xa8], al
jg 0x180021a11
cmp byte [rdi + 0xa9], al
jg 0x180021a11
cmp byte [rdi + 0xb1], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [rdi + 0x93], al
cmp byte [rdi + 0x93], 0
sete al
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.1800523a0
movaps xmm13, xmmword [rsp + 0x150]
add rsp, 0x1d8
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret