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

Disassembly:
mov r11, rsp
push rbp
push rdi
push r12
push r13
push r14
push r15
lea rbp, [r11 - 0x128]
sub rsp, 0x1f8
movaps xmmword [r11 - 0xd8], xmm15
mov rax, qword [0x180056040]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r14, qword [0x180056b58]
mov r12d, r8d
mov qword [r11 + 0x20], rbx
mov rbx, rcx
mov qword [r11 - 0x38], rsi
mov qword [rbp - 0x70], rdx
mov qword [rsp + 0x70], rcx
call fcn.180014130
test rax, rax
mov qword [rsp + 0x50], rax
mov rcx, rax
mov rdi, rax
sete al
mov byte [rsp + 0x31], al
test rcx, rcx
jne 0x1800168ce
mov edx, r12d
mov rcx, rbx
call fcn.180014390
mov rdi, rax
jmp 0x1800168d9
mov r8d, r12d
movzx edx, al
call fcn.180014200
mov eax, r12d
and eax, 0xc0200
cmp eax, 0xc0200
jne 0x1800168ec
or r12d, 6
mov r8d, dword [r14 + 0x31b0]
lea rbx, [r14 + 0x3200]
cmp dword [rbx], 0
mov r9d, dword [rdi + 0x238]
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x58], r9d
jne 0x18001691e
cmp byte [r14 + 0x31bd], 0
je 0x18001691e
mov al, 1
jmp 0x180016920
xor al, al
mov byte [rdi + 0x96], al
lea eax, [r8 - 1]
cmp r9d, eax
setl dl
mov byte [rsp + 0x30], dl
bt r12d, 0x1a
jae 0x18001696b
movsxd rax, dword [r14 + 0x3410]
lea rax, [rax + rax*2]
shl rax, 4
add rax, qword [r14 + 0x3408]
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 [rsp + 0x30], dl
mov byte [rdi + 0x94], dl
test dl, dl
je 0x18001698a
or byte [rdi + 0xb4], 8
or byte [rdi + 0xb5], 8
or byte [rdi + 0xb6], 8
xor esi, esi
cmp r9d, r8d
je 0x1800169d0
mov dword [rdi + 0xc], r12d
mov dword [rdi + 0x238], r8d
movsd xmm0, qword [r14 + 0x31a8]
mov word [rdi + 0x9c], si
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x23c], xmm0
movzx eax, word [r14 + 0x3220]
inc dword [r14 + 0x3220]
mov word [rdi + 0x9e], ax
jmp 0x1800169d4
mov r12d, dword [rdi + 0xc]
movsxd rax, dword [rbx]
test eax, eax
jne 0x1800169e0
mov r15, rsi
jmp 0x1800169f0
imul rcx, rax, 0x58
mov rax, qword [r14 + 0x3208]
mov r15, qword [rcx + rax - 0x58]
cmp r9d, r8d
je 0x180016a05
test r12d, 0x5000000
mov r13, rsi
cmovne r13, r15
jmp 0x180016a0c
mov r13, qword [rdi + 0x340]
lea rcx, [rdi + 0xc8]
mov qword [rsp + 0x40], r13
cmp dword [rcx], esi
jne 0x180016a25
lea rdx, [rdi + 8]
call fcn.1800215f0
mov rdx, qword [0x180056b58]
xorps xmm0, xmm0
mov eax, dword [r14 + 0x3328]
movups xmm1, xmmword [r14 + 0x3300]
mov qword [r14 + 0x3230], rdi
mov r8d, dword [rbx + 4]
movups xmmword [rbp - 0x1c], xmm0
mov dword [rbp - 0x20], eax
mov rax, qword [rdx + 0x3230]
movups xmm0, xmmword [r14 + 0x32f0]
mov qword [rbp - 0x60], rdi
movups xmmword [rbp - 0x48], xmm1
movzx ecx, word [rax + 0xc8]
movzx eax, word [rdx + 0x33a0]
movsd xmm1, qword [r14 + 0x3320]
mov word [rbp - 0x1a], ax
movzx eax, word [rdx + 0x33b0]
mov word [rbp - 0x18], ax
movzx eax, word [rdx + 0x33c0]
mov word [rbp - 0x16], ax
movzx eax, word [rdx + 0x33d0]
mov word [rbp - 0x14], ax
movzx eax, word [rdx + 0x33f0]
mov word [rbp - 0x12], ax
movzx eax, word [rdx + 0x33e0]
mov word [rbp - 0x10], ax
movzx eax, word [rdx + 0x3410]
movups xmmword [rbp - 0x58], xmm0
mov word [rbp - 0xe], ax
movups xmm0, xmmword [r14 + 0x3310]
movzx eax, word [rdx + 0x46ac]
mov word [rbp - 0x1c], cx
mov ecx, dword [rbx]
mov word [rbp - 0xc], ax
movsd qword [rbp - 0x28], xmm1
movups xmmword [rbp - 0x38], xmm0
cmp ecx, r8d
jne 0x180016b17
inc ecx
test r8d, r8d
je 0x180016b03
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180016b08
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180021c30
movsxd rax, dword [rbx]
movaps xmm0, xmmword [rbp - 0x60]
movaps xmm1, xmmword [rbp - 0x50]
imul rcx, rax, 0x58
mov rax, qword [rbx + 8]
movups xmmword [rcx + rax], xmm0
movaps xmm0, xmmword [rbp - 0x40]
movups xmmword [rcx + rax + 0x10], xmm1
movaps xmm1, xmmword [rbp - 0x30]
movups xmmword [rcx + rax + 0x20], xmm0
movaps xmm0, xmmword [rbp - 0x20]
movups xmmword [rcx + rax + 0x30], xmm1
movsd xmm1, qword [rbp - 0x10]
movups xmmword [rcx + rax + 0x40], xmm0
movsd qword [rcx + rax + 0x50], xmm1
inc dword [rbx]
mov qword [r14 + 0x3230], rsi
bt r12d, 0x1c
jae 0x180016b70
inc dword [r14 + 0x3420]
mov esi, r12d
and esi, 0x4000000
je 0x180016ba8
lea rcx, [r14 + 0x3410]
movsxd rax, dword [rcx]
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [r14 + 0x3408]
mov rdx, rbx
mov qword [rbx + 8], rdi
call fcn.180020f80
mov eax, dword [rbx]
mov dword [rdi + 0xa4], eax
mov r11d, dword [rsp + 0x48]
mov ebx, dword [rsp + 0x58]
cmp ebx, r11d
je 0x180016c61
mov qword [rdi + 0x340], r13
mov qword [rdi + 0x368], rdi
mov qword [rdi + 0x360], rdi
mov qword [rdi + 0x358], rdi
mov qword [rdi + 0x350], rdi
test r13, r13
je 0x180016c2f
mov eax, r12d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x180016bff
mov rax, qword [r13 + 0x350]
mov qword [rdi + 0x350], rax
test esi, esi
je 0x180016c11
mov rax, qword [r13 + 0x358]
mov qword [rdi + 0x358], rax
bt r12d, 0x1b
jb 0x180016c2f
test r12d, 0x5000000
je 0x180016c2f
mov rax, qword [r13 + 0x360]
mov qword [rdi + 0x360], rax
test dword [rdi + 0xc], 0x800000
je 0x180016c5a
mov rcx, rdi
nop dword [rax + rax]
mov rax, qword [rcx + 0x340]
mov qword [rdi + 0x368], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x180016c40
mov qword [rdi + 0x348], r15
xor dl, dl
xor r15b, r15b
xor r13b, r13b
mov byte [rsp + 0x33], dl
test byte [r14 + 0x3330], 1
je 0x180016d0b
movsx ecx, byte [rdi + 0xb4]
mov r8d, dword [r14 + 0x3334]
test r8d, ecx
setne dl
mov byte [rsp + 0x33], dl
test r8d, ecx
je 0x180016cfc
movss xmm0, dword [r14 + 0x334c]
movss xmm1, dword [r14 + 0x3348]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x18004d94c]
jbe 0x180016cfc
movsd xmm0, qword [r14 + 0x3340]
and ecx, 0xf1
mov eax, dword [rdi + 0xb4]
and eax, 0xffffff00
movsd qword [rdi + 0xb8], xmm0
movsd xmm1, qword [r14 + 0x3348]
or ecx, eax
mov dword [rdi + 0xb4], ecx
movsd qword [rdi + 0xc0], xmm1
jmp 0x180016d0b
lea rdx, [r14 + 0x3340]
mov rcx, rdi
call fcn.180019120
test byte [r14 + 0x3330], 2
xorps xmm15, xmm15
je 0x180016d68
movsx eax, byte [rdi + 0xb5]
mov r8d, dword [r14 + 0x3338]
and eax, r8d
je 0x180016d40
movss xmm0, dword [r14 + 0x3350]
comiss xmm0, xmm15
jbe 0x180016d40
mov r15b, 1
jmp 0x180016d47
xor r15b, r15b
test eax, eax
je 0x180016d59
movss xmm0, dword [r14 + 0x3354]
comiss xmm0, xmm15
jbe 0x180016d59
mov r13b, 1
lea rdx, [r14 + 0x3350]
mov rcx, rdi
call fcn.180019250
test byte [r14 + 0x3330], 0x80
je 0x180016da2
movss xmm0, dword [r14 + 0x3360]
xor eax, eax
comiss xmm0, xmm15
jb 0x180016d8b
movss dword [rdi + 0x6c], xmm0
mov dword [rdi + 0x74], eax
movss xmm0, dword [r14 + 0x3364]
comiss xmm0, xmm15
jb 0x180016da2
movss dword [rdi + 0x70], xmm0
mov dword [rdi + 0x78], eax
test byte [r14 + 0x3330], 4
je 0x1800170fd
movsd xmm0, qword [r14 + 0x3358]
movsd qword [rdi + 0x38], xmm0
xor esi, esi
test byte [r14 + 0x3330], 8
je 0x180016e11
mov ecx, dword [r14 + 0x333c]
movzx edx, byte [r14 + 0x3368]
test ecx, ecx
je 0x180016de8
movsx eax, byte [rdi + 0xb6]
test ecx, eax
je 0x180016e11
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 [r14 + 0x3330], 0x20
je 0x180016e28
mov rcx, rdi
call fcn.180018c20
mov r11d, dword [rsp + 0x48]
cmp byte [rdi + 0x94], 0
je 0x180016e46
and byte [rdi + 0xb4], 0xf7
and byte [rdi + 0xb5], 0xf7
and byte [rdi + 0xb6], 0xf7
mov edx, 1
cmp ebx, r11d
je 0x1800187e9
movaps xmmword [rsp + 0x1e0], xmm6
lea rcx, [rdi + 0xc8]
movaps xmmword [rsp + 0x1d0], xmm7
mov eax, r12d
movaps xmmword [rsp + 0x1c0], xmm8
and eax, 0x3000000
cmp qword [rbp - 0x70], 0
movaps xmmword [rsp + 0x1b0], xmm9
movaps xmmword [rsp + 0x1a0], xmm10
movaps xmmword [rsp + 0x190], xmm11
movaps xmmword [rsp + 0x180], xmm12
movaps xmmword [rsp + 0x170], xmm13
movaps xmmword [rsp + 0x160], xmm14
mov byte [rdi + 0x8e], dl
mov dword [rsp + 0x3c], eax
setne al
mov byte [rdi + 0x98], al
mov dword [rdi + 0x210], 0xff7fffff
mov dword [rdi + 0x214], 0xff7fffff
mov dword [rdi + 0x218], 0x7f7fffff
mov dword [rdi + 0x21c], 0x7f7fffff
call fcn.1800216c0
mov rcx, qword [rdi + 0x270]
call fcn.180029c30
cmp byte [rdi + 0x3a8], 0
mov dword [rdi + 0x188], 0xffffffff
je 0x180016f54
mov rcx, qword [rdi + 0x270]
mov edx, dword [rdi + 0x3a0]
add rcx, 0x10
mov byte [rdi + 0x3a8], 0
call fcn.180021a00
mov rcx, qword [rdi + 0x270]
mov edx, dword [rdi + 0x3a4]
add rcx, 0x20
call fcn.1800217a0
mov qword [rdi + 0x3a0], 0
cmp qword [r14 + 0x35b0], 0
mov r9, qword [rsp + 0x50]
je 0x180017023
test dword [rdi + 0xc], 0x80000
jne 0x180017023
test r9, r9
je 0x180017023
mov r10, qword [rsp + 0x70]
mov r9, qword [rdi]
mov rax, r10
mov r8, r9
sub r8, r10
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180016fa3
inc rax
test ecx, ecx
jne 0x180016f90
test edx, edx
je 0x18001701e
movsxd rsi, dword [rdi + 0x50]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x180016fb2
inc rbx
cmp rsi, rbx
jae 0x18001700a
test r9, r9
je 0x180016fdb
mov rax, qword [0x180056b58]
test rax, rax
je 0x180016fdb
dec dword [rax + 0x158]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x180056b58]
test rax, rax
je 0x180016ff6
inc dword [rax + 0x158]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r10, qword [rsp + 0x70]
mov rsi, 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], esi
mov r9, qword [rsp + 0x50]
movzx esi, byte [rdi + 0xb1]
lea r8, [rdi + 0x30]
lea rdx, [rdi + 0x28]
mov rcx, rdi
call fcn.1800149d0
movzx eax, byte [rdi + 0xb0]
test al, al
jle 0x18001704d
dec al
mov byte [rdi + 0xb0], al
movzx eax, byte [rdi + 0xb1]
test al, al
jle 0x180017060
dec al
mov byte [rdi + 0xb1], al
movzx eax, byte [rdi + 0xb2]
test al, al
jle 0x180017073
dec al
mov byte [rdi + 0xb2], al
test r9, r9
jne 0x180017089
test r15b, r15b
je 0x180017082
test r13b, r13b
jne 0x180017089
mov byte [rdi + 0xb1], 1
xor r8d, r8d
cmp byte [rsp + 0x30], r8b
je 0x1800170d3
test r12d, 0x6000000
je 0x1800170d3
mov byte [rdi + 0xb1], 1
test r12b, 0x40
je 0x1800170d3
test r15b, r15b
jne 0x1800170b6
mov dword [rdi + 0x20], r8d
mov dword [rdi + 0x18], r8d
test r13b, r13b
jne 0x1800170c3
mov dword [rdi + 0x24], r8d
mov dword [rdi + 0x1c], r8d
mov qword [rdi + 0x30], 0
mov qword [rdi + 0x28], 0
mov rcx, qword [0x180056b58]
mov qword [rcx + 0x3230], rdi
movsxd rax, dword [rdi + 0x188]
cmp eax, 0xffffffff
je 0x180017111
imul rdx, rax, 0x208
add rdx, qword [rcx + 0x36b0]
jmp 0x180017114
cmp ebx, r11d
je 0x180016dbe
xor esi, esi
mov qword [rdi + 0x38], rsi
jmp 0x180016dc0
mov rdx, r8
movss xmm0, dword [rcx + 0x2fa4]
mov qword [rcx + 0x3688], rdx
mov rax, qword [rdi + 0x340]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x18001713f
mulss xmm0, dword [rax + 0x268]
movss dword [rcx + 0x2fb8], xmm0
movss dword [rcx + 0x2fa0], xmm0
bt r12d, 0x18
jae 0x180017161
movss xmm1, dword [r14 + 0x2bb0]
jmp 0x180017185
test r12d, 0x6000000
je 0x18001717c
bt r12d, 0x1b
jb 0x18001717c
movss xmm1, dword [r14 + 0x2bb8]
jmp 0x180017185
movss xmm1, dword [r14 + 0x2b94]
mov rax, rdi
movss dword [rax + 0x4c], xmm1
mov eax, r12d
movsd xmm0, qword [r14 + 0x2b88]
and eax, 0x5010000
movsd qword [rdi + 0x40], xmm0
cmp eax, 0x1000000
jne 0x1800171d1
ucomiss xmm1, xmm15
jp 0x1800171d1
jne 0x1800171d1
bt r12d, 0xa
jae 0x1800171c4
movss xmm0, dword [r14 + 0x2b8c]
jmp 0x1800171c8
movaps xmm0, xmm15
movss dword [rdi + 0x44], xmm0
mov dword [rdi + 0x40], r8d
movss xmm0, dword [rdi + 0x40]
maxss xmm0, dword [r14 + 0x2bcc]
maxss xmm0, dword [r14 + 0x3394]
movss dword [rdi + 0x13c], xmm0
mov eax, dword [r14 + 0x3398]
mov dword [rdi + 0x140], eax
test r12b, 0x21
jne 0x180017337
test byte [rdi + 0xc], 1
je 0x180017213
movaps xmm2, xmm15
jmp 0x180017247
mov rax, qword [rdi + 0x340]
movss xmm0, dword [rcx + 0x2fa4]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x180017237
mulss xmm0, dword [rax + 0x268]
movss xmm2, dword [rcx + 0x2bc0]
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 [r14 + 0x3238], rdi
jne 0x180017300
cmp dword [r14 + 0x3268], 0
jne 0x180017300
cmp dword [r14 + 0x326c], 0
jne 0x180017300
mov rax, qword [rcx + 0x3230]
movss xmm1, dword [rcx + 0x2be4]
movss xmm0, dword [rcx + 0x2be8]
maxss xmm4, dword [rax + 0x210]
minss xmm3, dword [rax + 0x218]
maxss xmm5, dword [rax + 0x214]
minss xmm2, dword [rax + 0x21c]
subss xmm4, xmm1
addss xmm3, xmm1
movss xmm1, dword [rcx + 0xd0]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x180017300
movss xmm0, dword [rcx + 0xd4]
comiss xmm0, xmm5
jb 0x180017300
comiss xmm3, xmm1
jbe 0x180017300
comiss xmm2, xmm0
jbe 0x180017300
cmp word [r14 + 0x2a62], 2
jne 0x180017300
mov byte [rdi + 0x92], 1
cmp byte [rdi + 0x92], 0
je 0x18001733e
cmp byte [rdi + 0x91], 0
sete al
test dword [rdi + 0xc], 0x100
mov byte [rdi + 0x91], al
jne 0x18001733e
comiss xmm15, dword [rcx + 0x46fc]
jb 0x18001733e
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x46fc], eax
jmp 0x18001733e
mov byte [rdi + 0x91], 0
lea r8, [rdi + 0x30]
mov byte [rdi + 0x92], 0
mov rdx, rdi
lea rcx, [rbp]
call fcn.180014ae0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x32], al
test r12b, 0x40
je 0x18001739e
cmp byte [rdi + 0x91], 0
jne 0x18001739e
test r15b, r15b
jne 0x180017381
movss xmm0, dword [rbp]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x31], 1
test r13b, r13b
jne 0x180017441
movss xmm0, dword [rbp + 4]
movss dword [rdi + 0x24], xmm0
mov byte [rsp + 0x32], 1
jmp 0x180017441
movzx eax, byte [rdi + 0xa8]
test al, al
jg 0x1800173b6
cmp byte [rdi + 0xa9], 0
jle 0x180017441
test r15b, r15b
jne 0x1800173e3
test al, al
jle 0x1800173e3
cmp byte [rdi + 0xab], r15b
je 0x1800173d4
movss xmm0, dword [rdi + 0x20]
maxss xmm0, dword [rbp]
jmp 0x1800173d9
movss xmm0, dword [rbp]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x31], 1
test r13b, r13b
jne 0x180017415
cmp byte [rdi + 0xa9], r13b
jle 0x180017415
cmp byte [rdi + 0xab], r13b
je 0x180017406
movss xmm0, dword [rdi + 0x24]
maxss xmm0, dword [rbp + 4]
jmp 0x18001740b
movss xmm0, dword [rbp + 4]
movss dword [rdi + 0x24], xmm0
mov byte [rsp + 0x32], 1
cmp byte [rdi + 0x91], 0
jne 0x180017441
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x180056b58]
jne 0x180017441
comiss xmm15, dword [rcx + 0x46fc]
jb 0x180017441
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x46fc], eax
lea r8, [rdi + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.180014780
cmp byte [rdi + 0x91], 0
mov r13, qword [0x180056b58]
movss xmm2, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rdi + 0x20], xmm2
movss dword [rdi + 0x24], xmm0
je 0x1800174e0
bt r12d, 0x18
jb 0x1800174e0
test byte [rdi + 0xc], 1
je 0x180017488
movaps xmm1, xmm15
jmp 0x1800174be
mov rax, qword [rdi + 0x340]
movss xmm0, dword [r13 + 0x2fa4]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x1800174ad
mulss xmm0, dword [rax + 0x268]
movss xmm1, dword [r13 + 0x2bc0]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [rdi + 0x10]
addss xmm1, dword [rdi + 0x14]
subss xmm2, dword [rdi + 0x10]
subss xmm1, dword [rdi + 0x14]
movss dword [rsp + 0x34], xmm2
movss dword [rsp + 0x38], xmm1
jmp 0x1800174eb
movsd xmm0, qword [rdi + 0x20]
movsd qword [rsp + 0x34], xmm0
mov ecx, dword [rdi + 0xc]
lea rax, [rsp + 0x34]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x18], xmm0
test cl, 1
je 0x180017507
movaps xmm1, xmm15
jmp 0x18001753d
mov rax, qword [rdi + 0x340]
movss xmm0, dword [r13 + 0x2fa4]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x18001752c
mulss xmm0, dword [rax + 0x268]
movss xmm1, dword [r13 + 0x2bc0]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x180017587
mov rax, qword [rdi + 0x340]
movss xmm14, dword [r13 + 0x2fa4]
mulss xmm14, dword [rdi + 0x268]
test rax, rax
je 0x18001756a
mulss xmm14, dword [rax + 0x268]
movss xmm0, dword [r13 + 0x2bc0]
addss xmm14, dword [rdi + 0x140]
addss xmm0, xmm0
addss xmm14, xmm0
jmp 0x18001758b
movaps xmm14, xmm15
movzx ebx, byte [rsp + 0x30]
addss xmm14, xmm1
movzx r15d, byte [rsp + 0x33]
test bl, bl
je 0x1800175e8
mov eax, r12d
mov dword [rdi + 0xac], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1800175e8
test r15b, r15b
jne 0x1800175e8
movsxd rax, dword [r14 + 0x3410]
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 0x3418]
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 r12d, 0x18
jae 0x180017681
mov rdx, qword [rsp + 0x40]
lea rbx, [rdx + 0x168]
movzx eax, word [rbx]
mov word [rdi + 0x9c], ax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x180017649
inc r8d
test ecx, ecx
je 0x180017626
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18001762b
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.1800212d0
mov rdx, qword [rsp + 0x40]
mov r13, qword [0x180056b58]
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov eax, dword [rsp + 0x3c]
movzx ebx, byte [rsp + 0x30]
bt r12d, 0x1a
jb 0x180017685
test r15b, r15b
jne 0x180017685
cmp eax, 0x3000000
je 0x180017685
movsd xmm0, qword [rdx + 0xd8]
movsd qword [rdi + 0x10], xmm0
jmp 0x180017685
mov eax, dword [rsp + 0x3c]
movss xmm1, dword [rdi + 0xb8]
ucomiss xmm1, dword [0x18004dae8]
jp 0x180017698
je 0x1800176e9
cmp byte [rdi + 0xb1], 0
jne 0x1800176e9
movss xmm0, dword [rdi + 0xc0]
lea rdx, [rsp + 0x34]
mulss xmm0, dword [rdi + 0x18]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xbc]
movss dword [rsp + 0x34], xmm1
movss xmm1, dword [rdi + 0xc4]
mulss xmm1, dword [rdi + 0x1c]
subss xmm0, xmm1
movss dword [rsp + 0x38], xmm0
call fcn.180019120
jmp 0x180017734
bt r12d, 0x1c
jb 0x180017714
bt r12d, 0x1a
jae 0x180017701
test r15b, r15b
jne 0x180017701
test sil, sil
jg 0x180017714
bt r12d, 0x19
jae 0x180017734
test r15b, r15b
jne 0x180017734
cmp eax, 0x3000000
je 0x180017734
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.18001b320
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
mov rax, qword [r13 + 0x3430]
movss xmm3, dword [r14 + 0x2c2c]
movss xmm2, dword [r14 + 0x2c28]
maxss xmm3, dword [r14 + 0x2c34]
mov rcx, qword [rax]
maxss xmm2, dword [r14 + 0x2c30]
movss xmm0, dword [rcx + 0x14]
movss xmm1, dword [rcx + 0x18]
movaps xmm7, xmm0
movss xmm8, dword [rcx + 4]
movaps xmm6, xmm1
movss xmm9, dword [rcx + 8]
movaps xmm5, xmm8
movss dword [rbp + 0x10], xmm8
movaps xmm4, xmm9
movss dword [rbp + 0x14], xmm9
addss xmm7, dword [rcx + 0x1c]
addss xmm6, dword [rcx + 0x20]
addss xmm5, dword [rcx + 0xc]
addss xmm4, dword [rcx + 0x10]
subss xmm7, xmm2
subss xmm6, xmm3
movss dword [rbp + 0x18], xmm5
addss xmm2, xmm0
movss dword [rbp + 0x1c], xmm4
addss xmm3, xmm1
movss dword [rbp + 0x28], xmm7
movss dword [rbp + 0x2c], xmm6
movss dword [rbp + 0x20], xmm2
movss dword [rbp + 0x24], xmm3
test r15b, r15b
jne 0x180017898
bt r12d, 0x18
jb 0x180017898
cmp byte [rdi + 0xa8], r15b
jg 0x180017898
cmp byte [rdi + 0xa9], r15b
jg 0x180017898
subss xmm5, xmm8
comiss xmm5, xmm15
jbe 0x180017898
subss xmm4, xmm9
comiss xmm4, xmm15
jbe 0x180017898
movss xmm0, dword [rdi + 0x1c]
cmp byte [r13 + 0x75], r15b
je 0x180017863
test byte [rdi + 0xc], 1
jne 0x180017863
mov rax, qword [rdi + 0x340]
movss xmm1, dword [r13 + 0x2fa4]
mulss xmm1, dword [rdi + 0x268]
test rax, rax
je 0x180017852
mulss xmm1, dword [rax + 0x268]
movss xmm0, dword [r13 + 0x2bc0]
addss xmm0, xmm0
addss xmm0, xmm1
subss xmm2, dword [rdi + 0x18]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x14]
comiss xmm3, xmm0
ja 0x18001787d
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [rdi + 0x10]
comiss xmm2, xmm0
ja 0x18001788e
movaps xmm2, xmm7
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 r12d, 0x18
jae 0x1800178cc
movss xmm0, dword [r14 + 0x2bac]
jmp 0x1800178ef
mov eax, r12d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1800178e6
movss xmm0, dword [r14 + 0x2bb4]
jmp 0x1800178ef
movss xmm0, dword [r14 + 0x2b90]
xor cl, cl
movss dword [rdi + 0x48], xmm0
mov dword [rsp + 0x34], ecx
test bl, bl
je 0x180017b33
bt r12d, 0xc
jb 0x180017b33
bt r12d, 0x1a
jae 0x18001791b
mov byte [rsp + 0x34], 1
jmp 0x180017933
test r12d, 0x3000000
movzx ecx, cl
mov r15d, 1
cmove ecx, r15d
mov dword [rsp + 0x34], ecx
mov eax, dword [r13 + 0x3400]
sub eax, 1
js 0x180017b33
movsxd rdx, eax
lea r8, [rdx + rdx*2]
shl r8, 4
add r8, 8
add r8, qword [r13 + 0x3408]
nop dword [rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x180017971
test dword [rcx + 0xc], 0x8000000
jne 0x180017980
sub r8, 0x30
sub rdx, 1
jns 0x180017960
jmp 0x180017b33
mov rax, rdi
cmp qword [rdi + 0x350], rcx
je 0x180017b33
cmp rax, rcx
je 0x180017b33
mov rax, qword [rax + 0x348]
test rax, rax
jne 0x180017990
mov r8, qword [rdi + 0x350]
xor r15b, r15b
mov dword [rsp + 0x34], r15d
cmp rdi, r8
jne 0x180017b38
movsxd r9, dword [r13 + 0x3400]
dec r9
lea r10, [r9 + r9*2]
shl r10, 4
add r10, 8
add r10, qword [r13 + 0x3408]
nop word [rax + rax]
mov rdx, qword [r10]
test rdx, rdx
je 0x180017a54
cmp byte [rdx + 0x8f], 0
je 0x180017a54
test dword [rdx + 0xc], 0x8000000
je 0x180017a54
mov rax, rdi
cmp r8, rdx
je 0x180017a5e
cmp rax, rdx
je 0x180017a5e
mov rax, qword [rax + 0x348]
test rax, rax
jne 0x180017a02
mov rax, qword [rdx + 0x348]
mov rcx, qword [rax + 0x350]
test rcx, rcx
je 0x180017a54
mov rax, rdi
cmp r8, rcx
je 0x180017a60
nop
cmp rax, rcx
je 0x180017a60
mov rax, qword [rax + 0x348]
test rax, rax
jne 0x180017a30
mov rax, qword [rcx + 0x348]
mov rcx, qword [rax + 0x350]
test rcx, rcx
jne 0x180017a26
sub r10, 0x30
sub r9, 1
jns 0x1800179e0
xor edx, edx
mov r9, qword [r13 + 0x31d8]
movsxd rax, dword [r13 + 0x31d0]
mov r15, qword [rdi + 0x350]
mov r8, qword [rdx + 0x350]
lea rcx, [r9 + rax*8]
cmp r9, rcx
jae 0x180017a93
cmp qword [r9], r15
je 0x180017a93
add r9, 8
cmp r9, rcx
jb 0x180017a85
mov rsi, qword [r13 + 0x31d8]
movsxd rax, dword [r13 + 0x31d0]
sub r9, rsi
sar r9, 3
lea rcx, [rsi + rax*8]
cmp rsi, rcx
jae 0x180017abf
cmp qword [rsi], r8
je 0x180017abf
add rsi, 8
cmp rsi, rcx
jb 0x180017ab1
mov r10, qword [r13 + 0x31d8]
sub rsi, r10
sar rsi, 3
cmp r9d, esi
jge 0x180017b08
mov eax, esi
sub eax, r9d
dec eax
movsxd r8, eax
lea eax, [r9 + 1]
movsxd rcx, eax
movsxd rax, r9d
shl r8, 3
lea rdx, [r10 + rcx*8]
lea rcx, [r10 + rax*8]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r13 + 0x31d8]
movsxd rcx, esi
mov qword [rax + rcx*8 - 8], r15
jmp 0x180017b33
lea eax, [rsi + 1]
movsxd rbx, esi
movsxd rcx, eax
sub r9d, esi
movsxd r8, r9d
shl r8, 3
lea rdx, [r10 + rbx*8]
lea rcx, [r10 + rcx*8]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r13 + 0x31d8]
mov qword [rax + rbx*8], r15
mov r15d, dword [rsp + 0x34]
movss xmm1, dword [r14 + 0x2fa0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xor esi, esi
mov dword [rbp + 8], 0xffffffff
movss xmm0, dword [rdi + 0x48]
movaps xmm2, xmm1
cmp byte [r14 + 0x74], sil
addss xmm0, dword [0x18004d9c0]
mulss xmm1, dword [0x18004d970]
setne sil
cmp byte [rdi + 0x91], 0
mulss xmm2, dword [0x18004d9c4]
addss xmm0, xmm1
maxss xmm2, xmm0
cvttss2si eax, xmm2
movd xmm13, eax
cvtdq2ps xmm13, xmm13
jne 0x180017bcf
lea rax, [rbp + 0x20]
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea r9d, [rsi + 1]
lea rax, [rbp + 0x30]
lea r8, [rbp + 8]
mov qword [rsp + 0x20], rax
lea rdx, [rbp]
call fcn.180014ec0
mov r13, qword [0x180056b58]
test al, al
je 0x180017bcf
mov cl, 1
movzx edx, cl
jmp 0x180017bd9
movzx edx, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x32]
cmp byte [rdi + 0x91], 0
movzx eax, byte [rbp + 8]
mov byte [rdi + 0x99], al
jne 0x180017d31
cmp qword [rsp + 0x50], 0
movss xmm2, dword [rdi + 0x1d8]
movss xmm3, dword [rdi + 0x1dc]
subss xmm2, dword [rdi + 0x1d0]
subss xmm3, dword [rdi + 0x1d4]
movss xmm4, dword [rdi + 0x24]
movss xmm5, dword [rdi + 0x20]
subss xmm4, xmm14
addss xmm2, dword [rdi + 0x84]
addss xmm3, dword [rdi + 0x88]
jne 0x180017c45
mov qword [rbp - 0x80], 0
lea rax, [rbp - 0x80]
jmp 0x180017c6f
movss xmm0, dword [rdi + 0x40]
lea rax, [rbp - 0x78]
movss xmm1, dword [rdi + 0x44]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x28]
addss xmm1, dword [rdi + 0x2c]
movss dword [rbp - 0x78], xmm0
movss dword [rbp - 0x74], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test dl, dl
jne 0x180017c7f
movaps xmm5, xmm2
test cl, cl
jne 0x180017c86
movaps xmm4, xmm3
bt r12d, 0xe
jb 0x180017c9c
comiss xmm1, xmm4
jbe 0x180017c98
test r12b, 8
je 0x180017c9c
xor cl, cl
jmp 0x180017c9e
mov cl, 1
mov byte [rdi + 0x8d], cl
bt r12d, 0xf
jb 0x180017ce3
test cl, cl
je 0x180017cba
movss xmm0, dword [r14 + 0x2bf4]
jmp 0x180017cbe
movaps xmm0, xmm15
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x180017cd6
mov eax, r12d
and eax, 0x808
cmp eax, 0x800
je 0x180017ce3
mov byte [rdi + 0x8c], 0
movaps xmm1, xmm15
jmp 0x180017d0e
mov byte [rdi + 0x8c], 1
test cl, cl
jne 0x180017d05
comiss xmm1, xmm4
jbe 0x180017cfd
test r12b, 8
jne 0x180017cfd
mov cl, 1
jmp 0x180017cff
xor cl, cl
mov byte [rdi + 0x8d], cl
movss xmm1, dword [r14 + 0x2bf4]
test cl, cl
je 0x180017d1d
movss xmm0, dword [r14 + 0x2bf4]
jmp 0x180017d21
movaps xmm0, xmm15
movss dword [rdi + 0x84], xmm0
movss dword [rdi + 0x88], xmm1
mov eax, r12d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x180017d57
cmp dword [rsp + 0x3c], 0x3000000
je 0x180017d57
mov rax, qword [rsp + 0x40]
add rax, 0x210
jmp 0x180017d5b
lea rax, [rbp + 0x10]
test byte [rdi + 0xc], 1
movss xmm5, dword [rdi + 0x10]
movss xmm7, dword [rdi + 0x14]
movaps xmm3, xmm5
addss xmm3, dword [rdi + 0x18]
movups xmm6, xmmword [rax]
movaps xmm4, xmm7
addss xmm4, dword [rdi + 0x1c]
je 0x180017d84
movaps xmm2, xmm15
jmp 0x180017dba
mov rax, qword [rdi + 0x340]
movss xmm0, dword [r13 + 0x2fa4]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x180017da9
mulss xmm0, dword [rax + 0x268]
movss xmm2, dword [r13 + 0x2bc0]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [rdi + 0x14]
addss xmm2, xmm7
movss dword [rsp + 0x64], xmm0
movaps xmm1, xmm5
addss xmm1, dword [rdi + 0x20]
movss dword [rsp + 0x60], xmm5
mov eax, r12d
and eax, 0x401
movss dword [rsp + 0x6c], xmm2
movss dword [rsp + 0x68], xmm1
movss dword [rdi + 0x1c0], xmm5
movaps xmm5, xmm6
movss dword [rdi + 0x1c4], xmm7
movss dword [rdi + 0x1c8], xmm3
movss dword [rdi + 0x1cc], xmm4
movaps xmm4, xmm6
movss xmm0, dword [rdi + 0x1c0]
shufps xmm5, xmm6, 0x55
maxss xmm0, xmm6
shufps xmm4, xmm6, 0xaa
maxss xmm7, xmm5
movss dword [rdi + 0x1c0], xmm0
movss dword [rdi + 0x1c4], xmm7
movaps xmm7, xmm6
movss xmm1, dword [rdi + 0x1c8]
movss xmm0, dword [rdi + 0x1cc]
minss xmm1, xmm4
shufps xmm7, xmm6, 0xff
minss xmm0, xmm7
movss dword [rdi + 0x1c8], xmm1
movss dword [rdi + 0x1cc], xmm0
movss xmm9, dword [rdi + 0x10]
movss xmm8, dword [rdi + 0x14]
movaps xmm10, xmm9
movss dword [rdi + 0x1d0], xmm9
movaps xmm12, xmm8
addss xmm12, xmm14
addss xmm10, dword [rdi + 0x18]
addss xmm8, dword [rdi + 0x1c]
movss dword [rdi + 0x1d4], xmm12
subss xmm10, dword [rdi + 0x84]
subss xmm8, dword [rdi + 0x88]
movss dword [rdi + 0x1d8], xmm10
movss dword [rdi + 0x1dc], xmm8
cmp eax, 1
jne 0x180017ed0
movss xmm11, dword [rdi + 0x4c]
jmp 0x180017ed9
movss xmm11, dword [r14 + 0x2bc8]
movss xmm2, dword [0x18004d988]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x40]
addss xmm9, xmm2
mulss xmm0, xmm2
addss xmm12, xmm2
addss xmm10, xmm2
addss xmm8, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm12, xmm11
subss xmm8, dword [rdi + 0x4c]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x4c]
addss xmm9, xmm1
subss xmm10, xmm1
cvttss2si eax, xmm9
xorps xmm9, xmm9
cvtsi2ss xmm9, eax
cvttss2si eax, xmm12
movaps xmm12, xmmword [rsp + 0x180]
movss dword [rdi + 0x1e0], xmm9
cvtsi2ss xmm0, eax
cvttss2si eax, xmm10
movss dword [rdi + 0x1e4], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm8
movss dword [rdi + 0x1e8], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x1ec], xmm0
movss xmm0, dword [rdi + 0x1e4]
comiss xmm5, xmm0
jbe 0x180017f91
movaps xmm1, xmm5
jmp 0x180017f98
movaps xmm1, xmm7
minss xmm1, xmm0
comiss xmm6, xmm9
jbe 0x180017fa3
movaps xmm0, xmm6
jmp 0x180017fab
movaps xmm0, xmm4
minss xmm0, xmm9
movss dword [rdi + 0x1e0], xmm0
movss dword [rdi + 0x1e4], xmm1
movss xmm0, dword [rdi + 0x1ec]
comiss xmm5, xmm0
ja 0x180017fcf
minss xmm7, xmm0
movaps xmm5, xmm7
movss xmm0, dword [rdi + 0x1e8]
comiss xmm6, xmm0
jbe 0x180017fe1
movaps xmm4, xmm6
jmp 0x180017fe5
minss xmm4, xmm0
movss dword [rdi + 0x1e8], xmm4
movss dword [rdi + 0x1ec], xmm5
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm15
jbe 0x180018013
test r12d, 0x2000040
jne 0x180018013
mulss xmm0, dword [0x18004d990]
jmp 0x180018024
movss xmm0, dword [r14 + 0x2fa0]
mulss xmm0, dword [0x18004da78]
cvttss2si eax, xmm0
mov rcx, rdi
mov rdx, rdi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x240], xmm0
lea rcx, [rsp + 0x78]
movss xmm0, dword [rdi + 0x1d8]
subss xmm0, dword [rdi + 0x1d0]
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, xmm15
maxss xmm0, xmm1
movss dword [rdi + 0x64], xmm0
movss xmm0, dword [rdi + 0x1dc]
subss xmm0, dword [rdi + 0x1d4]
subss xmm2, xmm0
movaps xmm0, xmm15
maxss xmm0, xmm2
movss dword [rdi + 0x68], xmm0
call fcn.18001a160
mov rcx, qword [rdi + 0x270]
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 [r14 + 0x2f98]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.18002a2c0
mov rcx, qword [0x180056b58]
movaps xmm0, xmm6
unpckhpd xmm0, xmm6
xor r9d, r9d
movq r8, xmm0
movq rdx, xmm6
mov rax, qword [rcx + 0x3230]
mov byte [rax + 0x90], 1
mov rbx, qword [rcx + 0x3230]
mov rcx, qword [rbx + 0x270]
call fcn.18002a1a0
mov rax, qword [rbx + 0x270]
mov r13, qword [rsp + 0x40]
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 + 0x210], eax
mov eax, r12d
movss dword [rbx + 0x214], xmm0
and eax, 0x5000000
movss dword [rbx + 0x218], xmm1
movss dword [rbx + 0x21c], xmm2
xor bl, bl
cmp eax, 0x1000000
jne 0x18001822f
cmp dword [rsp + 0x3c], 0x3000000
je 0x18001822f
movsxd rax, dword [r13 + 0x168]
cmp eax, 2
jl 0x1800181f8
mov rcx, rax
mov rax, qword [r13 + 0x170]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x1800181f8
movss xmm1, dword [rdi + 0x14]
movss xmm5, dword [rdx + 0x14]
movaps xmm2, xmm1
movss xmm7, dword [rdx + 0x10]
movaps xmm0, xmm5
addss xmm0, dword [rdx + 0x1c]
movss xmm6, dword [rdi + 0x10]
movaps xmm3, xmm7
addss xmm3, dword [rdx + 0x18]
addss xmm2, dword [rdi + 0x1c]
movaps xmm4, xmm6
comiss xmm0, xmm1
addss xmm4, dword [rdi + 0x18]
jbe 0x1800181f8
comiss xmm2, xmm5
jbe 0x1800181f8
comiss xmm3, xmm6
jbe 0x1800181f8
comiss xmm4, xmm7
jbe 0x1800181f8
mov r8b, 1
jmp 0x1800181fb
xor r8b, r8b
mov rdx, qword [rdi + 0x270]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x18001822f
mov rax, qword [r13 + 0x270]
cmp dword [rax + 0x20], 0
jle 0x18001822f
test r8b, r8b
jne 0x18001822f
mov bl, 1
mov qword [rdi + 0x270], rax
mov rax, qword [r14 + 0x35a0]
test rax, rax
jne 0x180018242
mov rax, qword [r14 + 0x3438]
test r15b, r15b
jne 0x180018261
test rax, rax
je 0x18001825c
mov rax, qword [rax + 0x360]
cmp qword [rdi + 0x360], rax
je 0x180018261
xor r8b, r8b
jmp 0x180018264
mov r8b, 1
lea rax, [rbp + 0x30]
movss dword [rsp + 0x28], xmm13
lea r9d, [rsi + 1]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.180015d20
movaps xmm13, xmmword [rsp + 0x170]
test bl, bl
je 0x1800182a0
lea rax, [rdi + 0x278]
mov qword [rdi + 0x270], rax
movss xmm5, dword [rdi + 0x38]
mov ecx, r12d
shr ecx, 3
not cl
and cl, 1
ucomiss xmm5, xmm15
jp 0x1800182f6
jne 0x1800182f6
movss xmm0, dword [rdi + 0x40]
mov eax, r12d
movss xmm1, dword [rdi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [rdi + 0x84]
cmp eax, 0x800
jne 0x1800182ec
movss xmm7, dword [rdi + 0x28]
maxss xmm7, xmm1
jmp 0x1800182f9
movaps xmm7, xmm15
maxss xmm7, xmm1
jmp 0x1800182f9
movaps xmm7, xmm5
movss xmm4, dword [rdi + 0x3c]
ucomiss xmm4, xmm15
jp 0x18001833e
jne 0x18001833e
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 0x180018334
movss xmm6, dword [rdi + 0x2c]
maxss xmm6, xmm1
jmp 0x180018341
movaps xmm6, xmm15
maxss xmm6, xmm1
jmp 0x180018341
movaps xmm6, xmm4
ucomiss xmm5, xmm15
movss xmm8, dword [rdi + 0x40]
xorps xmm2, xmm2
movss xmm10, dword [rdi + 0x5c]
movaps xmm0, xmm8
maxss xmm0, dword [rdi + 0x4c]
movss xmm1, dword [rdi + 0x1d0]
xorps xmm3, xmm3
movss xmm9, dword [rdi + 0x44]
subss xmm1, xmm10
movss xmm11, dword [rdi + 0x60]
addss xmm1, xmm0
movaps xmm0, xmm9
maxss xmm0, dword [rdi + 0x4c]
cvttss2si eax, xmm1
movss xmm1, dword [rdi + 0x1d4]
subss xmm1, xmm11
cvtsi2ss xmm3, eax
addss xmm1, xmm0
addss xmm7, xmm3
cvttss2si eax, xmm1
cvtsi2ss xmm2, eax
addss xmm6, xmm2
shufps xmm2, xmm2, 0
movss xmm2, xmm7
shufps xmm2, xmm2, 0x27
movss xmm2, xmm6
movss xmm6, dword [rdi + 0x14]
shufps xmm2, xmm2, 0x39
movss xmm2, xmm3
movss xmm3, dword [rdi + 0x10]
movups xmmword [rdi + 0x1f0], xmm2
movups xmmword [rdi + 0x200], xmm2
movaps xmm2, xmm6
movaps xmm1, xmm3
subss xmm2, xmm11
subss xmm1, xmm10
addss xmm2, xmm9
addss xmm1, xmm8
addss xmm2, xmm14
movss dword [rdi + 0x220], xmm1
movss dword [rdi + 0x224], xmm2
jp 0x18001842c
jne 0x18001842c
movss xmm5, dword [rdi + 0x18]
movaps xmm0, xmm8
addss xmm0, xmm8
subss xmm5, xmm0
subss xmm5, dword [rdi + 0x84]
ucomiss xmm4, xmm15
addss xmm5, xmm1
movss dword [rdi + 0x228], xmm5
jp 0x18001845f
jne 0x18001845f
movss xmm4, dword [rdi + 0x1c]
movaps xmm0, xmm9
addss xmm0, xmm9
subss xmm4, xmm0
subss xmm4, xmm14
subss xmm4, dword [rdi + 0x88]
xor ecx, ecx
addss xmm2, xmm4
cvtps2pd xmm1, xmm10
lea rbx, [rdi + 0x144]
movss dword [rdi + 0x22c], xmm2
movaps xmm0, xmm8
addss xmm0, xmm15
cvtps2pd xmm2, xmm8
subss xmm0, xmm10
movaps xmm10, xmmword [rsp + 0x1a0]
movss dword [rdi + 0x118], xmm0
mov qword [rdi + 0x11c], rcx
cvtps2pd xmm0, xmm3
cvtps2pd xmm3, xmm9
addsd xmm2, xmm0
xorps xmm0, xmm0
subsd xmm2, xmm1
cvtps2pd xmm1, xmm11
movaps xmm11, xmmword [rsp + 0x190]
addsd xmm2, xmm0
cvtps2pd xmm0, xmm6
addsd xmm3, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm14
movaps xmm14, xmmword [rsp + 0x160]
subsd xmm3, xmm1
cvtpd2ps xmm1, xmm2
addsd xmm3, xmm0
movss dword [rdi + 0xe8], xmm1
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0xec], xmm0
movss xmm0, dword [rdi + 0xe8]
movss xmm1, dword [rdi + 0xec]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
subsd xmm2, xmm0
subsd xmm3, xmm1
cvtpd2ps xmm2, xmm2
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0x124], xmm2
movss dword [rdi + 0x128], xmm0
movss xmm0, dword [rdi + 0xec]
movss xmm1, dword [rdi + 0xe8]
movss dword [rdi + 0xd8], xmm1
movss dword [rdi + 0xdc], xmm0
movss dword [rdi + 0xe0], xmm1
movss dword [rdi + 0xe4], xmm0
movss dword [rdi + 0xf0], xmm1
movss dword [rdi + 0xf4], xmm0
movss dword [rdi + 0xf8], xmm1
movss dword [rdi + 0xfc], xmm0
mov qword [rdi + 0x108], rcx
mov qword [rdi + 0x100], rcx
mov qword [rdi + 0x110], rcx
mov dword [rdi + 0x12c], ecx
movzx eax, word [rdi + 0x132]
mov word [rdi + 0x130], ax
mov word [rdi + 0x132], cx
mov byte [rdi + 0x138], cl
movss xmm0, dword [rdi + 0x68]
comiss xmm0, xmm15
seta al
mov byte [rdi + 0x139], al
mov byte [rdi + 0x13a], cl
movss xmm0, dword [r14 + 0x2bcc]
cmp byte [rsp + 0x30], cl
je 0x1800185e6
xor eax, eax
mov qword [rbx + 0x12], rax
cvttss2si eax, xmm0
mov rcx, rbx
mov word [rbx + 8], ax
call fcn.18003fda0
xor eax, eax
xor esi, esi
mov qword [rbx + 0x12], rax
mov eax, dword [rbx + 4]
mov dword [rbx], eax
mov dword [rbx + 4], esi
mov qword [rdi + 0x160], rsi
mov ecx, dword [rdi + 0x16c]
test ecx, ecx
jns 0x180018633
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x168]
test eax, eax
cmovg edx, eax
call fcn.1800212d0
mov dword [rdi + 0x168], esi
lea rax, [rdi + 0x248]
mov qword [rdi + 0x178], rax
mov eax, 1
mov qword [rdi + 0x180], rsi
mov dword [rdi + 0x18c], eax
test r13, r13
je 0x180018665
mov eax, dword [r13 + 0x18c]
mov dword [rdi + 0x190], eax
lea rcx, [rdi + 0x1a0]
mov eax, dword [rdi + 0x240]
mov dword [rdi + 0x194], eax
mov dword [rdi + 0x198], 0xbf800000
call fcn.180021450
lea rcx, [rdi + 0x1b0]
call fcn.180021450
movzx eax, byte [rdi + 0xa8]
test al, al
jle 0x1800186ac
dec al
mov byte [rdi + 0xa8], al
movzx eax, byte [rdi + 0xa9]
test al, al
jle 0x1800186bf
dec al
mov byte [rdi + 0xa9], al
test r15b, r15b
je 0x1800186d6
mov rcx, rdi
call fcn.180018c20
xor edx, edx
mov rcx, rdi
call fcn.18001c320
movss xmm8, dword [rsp + 0x6c]
movss xmm9, dword [rsp + 0x68]
movss xmm6, dword [rsp + 0x64]
movss xmm7, dword [rsp + 0x60]
test r12b, 1
jne 0x180018731
mov r9, qword [rbp - 0x70]
lea rdx, [rbp + 0x10]
mov r8, qword [rsp + 0x70]
movaps xmm0, xmm7
addss xmm0, dword [rdi + 0x4c]
movaps xmm1, xmm9
movss dword [rbp + 0x14], xmm6
subss xmm1, dword [rdi + 0x4c]
mov rcx, rdi
movss dword [rbp + 0x1c], xmm8
movss dword [rbp + 0x10], xmm0
movss dword [rbp + 0x18], xmm1
call fcn.180016350
mov rbx, qword [0x180056b58]
mov dword [rdi + 0x230], esi
movss xmm1, dword [rbx + 0x2be4]
movss xmm0, dword [rbx + 0x2be8]
subss xmm7, xmm1
movaps xmm2, xmm1
subss xmm6, xmm0
movss xmm1, dword [rbx + 0xd0]
addss xmm2, xmm9
movaps xmm9, xmmword [rsp + 0x1b0]
movaps xmm3, xmm0
addss xmm3, xmm8
movaps xmm8, xmmword [rsp + 0x1c0]
comiss xmm1, xmm7
movaps xmm7, xmmword [rsp + 0x1d0]
jb 0x1800187af
movss xmm0, dword [rbx + 0xd4]
comiss xmm0, xmm6
jb 0x1800187af
comiss xmm2, xmm1
jbe 0x1800187af
comiss xmm3, xmm0
jbe 0x1800187af
mov r15d, 1
mov edx, r15d
jmp 0x1800187b7
mov edx, esi
mov r15d, 1
mov ecx, dword [r14 + 0x32d8]
mov eax, dword [rdi + 0x54]
movups xmm0, xmmword [rsp + 0x60]
mov dword [rbx + 0x32f0], eax
movaps xmm6, xmmword [rsp + 0x1e0]
movups xmmword [rbx + 0x32fc], xmm0
mov dword [rbx + 0x32f4], ecx
mov dword [rbx + 0x32f8], edx
jmp 0x180018859
mov rbx, qword [0x180056b58]
mov qword [rbx + 0x3230], rdi
movsxd rax, dword [rdi + 0x188]
cmp eax, 0xffffffff
je 0x180018813
imul rcx, rax, 0x208
add rcx, qword [rbx + 0x36b0]
jmp 0x180018816
mov rcx, rsi
movss xmm0, dword [rbx + 0x2fa4]
mov qword [rbx + 0x3688], rcx
mov rax, qword [rdi + 0x340]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x180018841
mulss xmm0, dword [rax + 0x268]
mov r13, qword [rsp + 0x40]
mov r15d, edx
movss dword [rbx + 0x2fb8], xmm0
movss dword [rbx + 0x2fa0], xmm0
bt r12d, 0x18
jae 0x180018869
mov esi, dword [r13 + 0x134]
jmp 0x1800188c4
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.18000c4f0
mov esi, eax
cmp dword [rbx + 0x327c], eax
jne 0x18001889a
mov dword [rbx + 0x3280], eax
cmp dword [rbx + 0x32c0], eax
jne 0x1800188a9
mov byte [rbx + 0x32c4], 1
cmp dword [rbx + 0x3264], eax
jne 0x1800188c4
lea r8, str.FOCUSSCOPE
mov edx, 0xb
mov ecx, eax
call fcn.180020950
lea rdx, [rdi + 0x1e8]
mov dword [rdi + 0x134], esi
lea rcx, [rdi + 0x1e0]
mov r8b, 1
call fcn.1800129b0
mov rsi, qword [rsp + 0x1f0]
xor eax, eax
mov rbx, qword [rsp + 0x248]
mov byte [rdi + 0x90], 0
inc word [rdi + 0x9a]
mov dword [r14 + 0x3330], eax
mov eax, dword [rsp + 0x58]
cmp eax, dword [rsp + 0x48]
je 0x180018a6c
bt r12d, 0x18
jae 0x1800189dd
test r12b, 0x40
jne 0x1800189a2
cmp byte [rdi + 0xa8], 0
jg 0x1800189a2
cmp byte [rdi + 0xa9], 0
jg 0x1800189a2
bt r12d, 0x17
jae 0x180018969
cmp byte [r14 + 0x347c], 0
je 0x180018969
mov rcx, qword [r14 + 0x3438]
test rcx, rcx
je 0x180018969
mov rax, qword [rdi + 0x368]
cmp qword [rcx + 0x368], rax
jne 0x180018969
mov al, 1
jmp 0x18001896b
xor al, al
cmp byte [r14 + 0x4754], 0
jne 0x1800189a2
test al, al
jne 0x1800189a2
movss xmm0, dword [rdi + 0x1c0]
comiss xmm0, dword [rdi + 0x1c8]
jae 0x18001899b
movss xmm0, dword [rdi + 0x1c4]
comiss xmm0, dword [rdi + 0x1cc]
jb 0x1800189a2
mov byte [rdi + 0xb0], 1
test r13, r13
je 0x1800189dd
cmp byte [r13 + 0x91], 0
jne 0x1800189bb
cmp byte [r13 + 0xb0], 0
jle 0x1800189c2
mov byte [rdi + 0xb0], 1
cmp byte [r13 + 0x91], 0
jne 0x1800189d6
cmp byte [r13 + 0xb1], 0
jle 0x1800189dd
mov byte [rdi + 0xb1], 1
comiss xmm15, dword [r14 + 0x2b80]
jb 0x1800189ee
mov byte [rdi + 0xb0], 1
cmp byte [rdi + 0xb0], 0
jg 0x180018a0e
cmp byte [rdi + 0xb1], 0
jg 0x180018a0e
xor cl, cl
cmp byte [rdi + 0xb2], cl
jg 0x180018a10
xor al, al
jmp 0x180018a12
mov cl, 1
mov al, 1
mov byte [rdi + 0x95], al
movzx eax, byte [rdi + 0xb3]
test al, al
jle 0x180018a32
dec al
mov byte [rdi + 0xb3], al
or dword [rdi + 0xc], 0xc0200
xor al, al
cmp byte [rdi + 0x91], al
jne 0x180018a48
cmp byte [rdi + 0x8e], al
je 0x180018a48
test cl, cl
je 0x180018a66
cmp byte [rdi + 0xa8], al
jg 0x180018a66
cmp byte [rdi + 0xa9], al
jg 0x180018a66
cmp byte [rdi + 0xb1], 0
movzx eax, al
cmovle eax, r15d
mov byte [rdi + 0x93], al
cmp byte [rdi + 0x93], 0
sete al
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.180045620
movaps xmm15, xmmword [rsp + 0x150]
add rsp, 0x1f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret