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

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
push r12
push r14
lea rbp, [r11 - 0x128]
sub rsp, 0x200
movaps xmmword [r11 - 0xd8], xmm15
mov rax, qword [0x180077010]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r14, qword [0x180077ba8]
mov ebx, r8d
mov qword [r11 + 0x20], rsi
mov rsi, rcx
mov qword [r11 - 0x30], r13
mov qword [r11 - 0x38], r15
mov qword [rbp - 0x78], rdx
mov qword [rbp - 0x80], rcx
call fcn.18001fb20
test rax, rax
mov qword [rsp + 0x68], rax
mov rcx, rax
mov rdi, rax
sete al
mov byte [rsp + 0x30], al
test rcx, rcx
jne 0x1800222bd
mov edx, ebx
mov rcx, rsi
call fcn.18001fd60
mov rdi, rax
jmp 0x1800222c8
mov r8d, ebx
movzx edx, al
call fcn.18001fbf0
mov r13d, dword [r14 + 0x1ba0]
mov eax, ebx
mov r12d, dword [rdi + 0x238]
mov edx, ebx
or edx, 6
mov dword [rsp + 0x64], r13d
and eax, 0xc0200
mov dword [rsp + 0x60], r12d
cmp eax, 0xc0200
cmovne edx, ebx
lea rbx, [r14 + 0x1bf0]
cmp dword [rbx], 0
mov dword [rsp + 0x34], edx
jne 0x180022312
cmp byte [r14 + 0x1bad], 0
je 0x180022312
mov al, 1
jmp 0x180022314
xor al, al
mov byte [rdi + 0x96], al
lea eax, [r13 - 1]
cmp r12d, eax
setl r8b
mov byte [rsp + 0x31], r8b
bt edx, 0x1a
jae 0x180022366
movsxd rax, dword [r14 + 0x1df8]
lea rdx, [rax + rax*2]
shl rdx, 4
add rdx, qword [r14 + 0x1df0]
cmp rdi, qword [rdx + 8]
mov eax, dword [rdx]
mov edx, dword [rsp + 0x34]
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 0x180022387
or byte [rdi + 0xb4], 8
or byte [rdi + 0xb5], 8
or byte [rdi + 0xb6], 8
xor ecx, ecx
cmp r12d, r13d
je 0x1800223cc
mov dword [rdi + 0xc], edx
mov dword [rdi + 0x238], r13d
movsd xmm0, qword [r14 + 0x1b98]
mov word [rdi + 0x9c], cx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x23c], xmm0
movzx eax, word [r14 + 0x1c10]
inc dword [r14 + 0x1c10]
mov word [rdi + 0x9e], ax
jmp 0x1800223d3
mov edx, dword [rdi + 0xc]
mov dword [rsp + 0x34], edx
movsxd rax, dword [rbx]
test eax, eax
jne 0x1800223df
mov rsi, rcx
jmp 0x1800223f1
imul rcx, rax, 0x58
mov rax, qword [r14 + 0x1bf8]
mov rsi, qword [rcx + rax - 0x58]
xor ecx, ecx
cmp r12d, r13d
je 0x180022405
test edx, 0x5000000
mov r15, rcx
cmovne r15, rsi
jmp 0x18002240c
mov r15, qword [rdi + 0x340]
cmp dword [rdi + 0xc8], 0
mov qword [rsp + 0x58], r15
jne 0x18002242a
lea rdx, [rdi + 8]
lea rcx, [rdi + 0xc8]
call fcn.18002cc60
mov rdx, qword [0x180077ba8]
xor eax, eax
movups xmm1, xmmword [r14 + 0x1ce8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], eax
xorps xmm0, xmm0
mov eax, dword [r14 + 0x1d10]
mov qword [r14 + 0x1c20], rdi
mov r8d, dword [rbx + 4]
movups xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x20], eax
mov rax, qword [rdx + 0x1c20]
movups xmm0, xmmword [r14 + 0x1cd8]
mov qword [rbp - 0x60], rdi
movups xmmword [rbp - 0x48], xmm1
movzx ecx, word [rax + 0xc8]
movzx eax, word [rdx + 0x1d88]
movsd xmm1, qword [r14 + 0x1d08]
mov word [rbp - 0x1a], ax
movzx eax, word [rdx + 0x1d98]
mov word [rbp - 0x18], ax
movzx eax, word [rdx + 0x1da8]
mov word [rbp - 0x16], ax
movzx eax, word [rdx + 0x1db8]
mov word [rbp - 0x14], ax
movzx eax, word [rdx + 0x1dd8]
mov word [rbp - 0x12], ax
movzx eax, word [rdx + 0x1dc8]
mov word [rbp - 0x10], ax
movzx eax, word [rdx + 0x1df8]
movups xmmword [rbp - 0x58], xmm0
mov word [rbp - 0xe], ax
movups xmm0, xmmword [r14 + 0x1cf8]
movzx eax, word [rdx + 0x3094]
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 0x180022525
inc ecx
test r8d, r8d
je 0x180022511
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180022516
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.18002d420
movsxd rax, dword [rbx]
xor r10d, r10d
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 ebx, dword [rsp + 0x34]
mov eax, ebx
and eax, 0x10000000
mov qword [r14 + 0x1c20], r10
mov dword [rsp + 0x74], eax
je 0x18002258b
inc dword [r14 + 0x1e08]
mov ecx, ebx
and ecx, 0x4000000
mov dword [rsp + 0x38], ecx
je 0x1800225d1
lea rcx, [r14 + 0x1df8]
movsxd rax, dword [rcx]
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [r14 + 0x1df0]
mov rdx, rbx
mov qword [rbx + 8], rdi
call fcn.18002c790
mov eax, dword [rbx]
xor r10d, r10d
mov ebx, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x38]
mov dword [rdi + 0xa4], eax
cmp r12d, r13d
je 0x180022681
mov qword [rdi + 0x340], r15
mov qword [rdi + 0x368], rdi
mov qword [rdi + 0x360], rdi
mov qword [rdi + 0x358], rdi
mov qword [rdi + 0x350], rdi
test r15, r15
je 0x18002264c
mov eax, ebx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x18002261e
mov rax, qword [r15 + 0x350]
mov qword [rdi + 0x350], rax
test ecx, ecx
je 0x180022630
mov rax, qword [r15 + 0x358]
mov qword [rdi + 0x358], rax
bt ebx, 0x1b
jb 0x18002264c
test ebx, 0x5000000
je 0x18002264c
mov rax, qword [r15 + 0x360]
mov qword [rdi + 0x360], rax
test dword [rdi + 0xc], 0x800000
je 0x18002267a
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 0x180022660
mov qword [rdi + 0x348], rsi
xor r13b, r13b
xor r15b, r15b
xor r12b, r12b
test byte [r14 + 0x1d18], 1
je 0x180022728
mov r8d, dword [r14 + 0x1d1c]
movzx ecx, byte [rdi + 0xb4]
movsx eax, cl
test r8d, eax
setne r13b
test r8d, eax
je 0x180022719
movss xmm0, dword [r14 + 0x1d34]
movss xmm1, dword [r14 + 0x1d30]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x18006e57c]
jbe 0x180022719
movsd xmm0, qword [r14 + 0x1d28]
and ecx, 0xf1
mov eax, dword [rdi + 0xb4]
and eax, 0xffffff00
movsd qword [rdi + 0xb8], xmm0
movsd xmm1, qword [r14 + 0x1d30]
or ecx, eax
mov dword [rdi + 0xb4], ecx
movsd qword [rdi + 0xc0], xmm1
jmp 0x180022728
lea rdx, [r14 + 0x1d28]
mov rcx, rdi
call fcn.180024b50
test byte [r14 + 0x1d18], 2
xorps xmm15, xmm15
je 0x18002277d
movsx eax, byte [rdi + 0xb5]
lea rdx, [r14 + 0x1d38]
mov r8d, dword [r14 + 0x1d20]
and eax, r8d
je 0x18002275f
movss xmm0, dword [rdx]
comiss xmm0, xmm15
jbe 0x18002275f
mov r15b, 1
jmp 0x180022763
test eax, eax
je 0x180022775
movss xmm0, dword [r14 + 0x1d3c]
comiss xmm0, xmm15
jbe 0x180022775
mov r12b, 1
mov rcx, rdi
call fcn.180024c80
test byte [r14 + 0x1d18], 0x80
je 0x1800227b7
movss xmm0, dword [r14 + 0x1d48]
comiss xmm0, xmm15
jb 0x18002279f
movss dword [rdi + 0x6c], xmm0
mov dword [rdi + 0x74], r10d
movss xmm0, dword [r14 + 0x1d4c]
comiss xmm0, xmm15
jb 0x1800227b7
movss dword [rdi + 0x70], xmm0
mov dword [rdi + 0x78], r10d
test byte [r14 + 0x1d18], 4
mov esi, dword [rsp + 0x64]
je 0x1800227d5
movsd xmm0, qword [r14 + 0x1d40]
movsd qword [rdi + 0x38], xmm0
jmp 0x1800227e3
cmp dword [rsp + 0x60], esi
je 0x1800227e3
mov qword [rdi + 0x38], 0
test byte [r14 + 0x1d18], 8
je 0x180022834
mov ecx, dword [r14 + 0x1d24]
movzx edx, byte [r14 + 0x1d50]
test ecx, ecx
je 0x18002280b
movsx eax, byte [rdi + 0xb6]
test ecx, eax
je 0x180022834
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 + 0x1d18], 0x20
je 0x180022846
mov rcx, rdi
call fcn.180024710
cmp byte [rdi + 0x94], 0
je 0x180022864
and byte [rdi + 0xb4], 0xf7
and byte [rdi + 0xb5], 0xf7
and byte [rdi + 0xb6], 0xf7
mov ecx, 1
cmp dword [rsp + 0x60], esi
je 0x1800241d4
movaps xmmword [rsp + 0x1e0], xmm6
mov eax, ebx
movaps xmmword [rsp + 0x1d0], xmm7
and eax, 0x3000000
cmp qword [rbp - 0x78], 0
mov edx, ecx
movaps xmmword [rsp + 0x1c0], xmm8
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
mov byte [rdi + 0x8e], cl
lea rcx, [rdi + 0xc8]
movaps xmmword [rsp + 0x160], xmm14
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.18002ced0
mov rcx, qword [rdi + 0x270]
call fcn.1800350f0
cmp byte [rdi + 0x3a8], 0
mov dword [rdi + 0x188], 0xffffffff
je 0x180022972
mov rcx, qword [rdi + 0x270]
mov edx, dword [rdi + 0x3a0]
add rcx, 0x10
mov byte [rdi + 0x3a8], 0
call fcn.18002d1f0
mov rcx, qword [rdi + 0x270]
mov edx, dword [rdi + 0x3a4]
add rcx, 0x20
call fcn.18002cfb0
xor eax, eax
mov qword [rdi + 0x3a0], rax
cmp qword [r14 + 0x1f98], 0
mov r9, qword [rsp + 0x68]
je 0x180022a46
test dword [rdi + 0xc], 0x80000
jne 0x180022a46
test r9, r9
je 0x180022a46
mov r10, qword [rbp - 0x80]
mov r9, qword [rdi]
mov rax, r10
mov r8, r9
sub r8, r10
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800229c3
inc rax
test ecx, ecx
jne 0x1800229b0
test edx, edx
je 0x180022a41
movsxd rsi, dword [rdi + 0x50]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x1800229d2
inc rbx
cmp rsi, rbx
jae 0x180022a29
test r9, r9
je 0x1800229fb
mov rax, qword [0x180077ba8]
test rax, rax
je 0x1800229fb
dec dword [rax + 0x3b0]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x180077ba8]
test rax, rax
je 0x180022a16
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 - 0x80]
mov rsi, rbx
mov r9, rax
mov r8, rbx
mov rdx, r10
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov ebx, dword [rsp + 0x34]
mov qword [rdi], rax
mov dword [rdi + 0x50], esi
mov r9, qword [rsp + 0x68]
movzx esi, byte [rdi + 0xb1]
lea r8, [rdi + 0x30]
lea rdx, [rdi + 0x28]
mov rcx, rdi
call fcn.1800203c0
movzx eax, byte [rdi + 0xb0]
test al, al
jle 0x180022a70
dec al
mov byte [rdi + 0xb0], al
movzx eax, byte [rdi + 0xb1]
test al, al
jle 0x180022a83
dec al
mov byte [rdi + 0xb1], al
movzx eax, byte [rdi + 0xb2]
test al, al
jle 0x180022a96
dec al
mov byte [rdi + 0xb2], al
test r9, r9
jne 0x180022aac
test r15b, r15b
je 0x180022aa5
test r12b, r12b
jne 0x180022aac
mov byte [rdi + 0xb1], 1
xor r9d, r9d
cmp byte [rsp + 0x31], r9b
je 0x180022af2
test ebx, 0x6000000
je 0x180022af2
mov byte [rdi + 0xb1], 1
test bl, 0x40
je 0x180022af2
test r15b, r15b
jne 0x180022ad7
mov dword [rdi + 0x20], r9d
mov dword [rdi + 0x18], r9d
test r12b, r12b
jne 0x180022ae4
mov dword [rdi + 0x24], r9d
mov dword [rdi + 0x1c], r9d
mov qword [r8], 0
mov qword [rdx], 0
mov rcx, qword [0x180077ba8]
mov qword [rcx + 0x1c20], rdi
movsxd rax, dword [rdi + 0x188]
cmp eax, 0xffffffff
je 0x180022b1c
imul rdx, rax, 0x208
add rdx, qword [rcx + 0x2098]
jmp 0x180022b1f
mov rdx, r9
movss xmm0, dword [rcx + 0x1994]
mov qword [rcx + 0x2070], rdx
mov rax, qword [rdi + 0x340]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x180022b4a
mulss xmm0, dword [rax + 0x268]
mov eax, ebx
movss dword [rcx + 0x19a8], xmm0
and eax, 0x1000000
movss dword [rcx + 0x1990], xmm0
mov dword [rsp + 0x40], eax
je 0x180022b72
movss xmm1, dword [r14 + 0x15a0]
jmp 0x180022b94
test ebx, 0x6000000
je 0x180022b8b
bt ebx, 0x1b
jb 0x180022b8b
movss xmm1, dword [r14 + 0x15a8]
jmp 0x180022b94
movss xmm1, dword [r14 + 0x1584]
movss dword [rdi + 0x4c], xmm1
mov eax, ebx
movsd xmm0, qword [r14 + 0x1578]
and eax, 0x5010000
movsd qword [rdi + 0x40], xmm0
cmp eax, 0x1000000
jne 0x180022bdb
ucomiss xmm1, xmm15
jp 0x180022bdb
jne 0x180022bdb
bt ebx, 0xa
jae 0x180022bce
movss xmm0, dword [r14 + 0x157c]
jmp 0x180022bd2
movaps xmm0, xmm15
movss dword [rdi + 0x44], xmm0
mov dword [rdi + 0x40], r9d
movss xmm0, dword [rdi + 0x40]
maxss xmm0, dword [r14 + 0x15bc]
maxss xmm0, dword [r14 + 0x1d7c]
movss dword [rdi + 0x13c], xmm0
mov eax, dword [r14 + 0x1d80]
mov dword [rdi + 0x140], eax
test bl, 0x21
jne 0x180022d3f
mov edx, dword [rdi + 0xc]
test dl, 1
je 0x180022c1e
movaps xmm2, xmm15
jmp 0x180022c52
mov rax, qword [rdi + 0x340]
movss xmm0, dword [rdi + 0x268]
mulss xmm0, dword [rcx + 0x1994]
test rax, rax
je 0x180022c42
mulss xmm0, dword [rax + 0x268]
movss xmm2, dword [rcx + 0x15b0]
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 + 0x1c28], rdi
jne 0x180022d0b
cmp dword [r14 + 0x1c58], 0
jne 0x180022d0b
cmp dword [r14 + 0x1c5c], 0
jne 0x180022d0b
mov rax, qword [rcx + 0x1c20]
movss xmm1, dword [rcx + 0x15d4]
movss xmm0, dword [rcx + 0x15d8]
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 + 0x128]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x180022d0b
movss xmm0, dword [rcx + 0x12c]
comiss xmm0, xmm5
jb 0x180022d0b
comiss xmm3, xmm1
jbe 0x180022d0b
comiss xmm2, xmm0
jbe 0x180022d0b
cmp word [r14 + 0x42a], 2
jne 0x180022d0b
mov byte [rdi + 0x92], 1
cmp byte [rdi + 0x92], 0
je 0x180022d46
cmp byte [rdi + 0x91], 0
sete al
mov byte [rdi + 0x91], al
bt edx, 8
jb 0x180022d46
comiss xmm15, dword [rcx + 0x30d4]
jb 0x180022d46
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x30d4], eax
jmp 0x180022d46
mov byte [rdi + 0x91], 0
mov rdx, rdi
mov byte [rdi + 0x92], 0
lea rcx, [rbp]
call fcn.1800204d0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x32], al
mov eax, ebx
and eax, 0x40
mov dword [rsp + 0x70], eax
je 0x180022da7
cmp byte [rdi + 0x91], 0
jne 0x180022da7
test r15b, r15b
jne 0x180022d8a
movss xmm0, dword [rbp]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x30], 1
test r12b, r12b
jne 0x180022e4a
movss xmm0, dword [rbp + 4]
movss dword [rdi + 0x24], xmm0
mov byte [rsp + 0x32], 1
jmp 0x180022e4a
movzx eax, byte [rdi + 0xa8]
test al, al
jg 0x180022dbf
cmp byte [rdi + 0xa9], 0
jle 0x180022e4a
test r15b, r15b
jne 0x180022dec
test al, al
jle 0x180022dec
cmp byte [rdi + 0xab], r15b
je 0x180022ddd
movss xmm0, dword [rdi + 0x20]
maxss xmm0, dword [rbp]
jmp 0x180022de2
movss xmm0, dword [rbp]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x30], 1
test r12b, r12b
jne 0x180022e1e
cmp byte [rdi + 0xa9], r12b
jle 0x180022e1e
cmp byte [rdi + 0xab], r12b
je 0x180022e0f
movss xmm0, dword [rdi + 0x24]
maxss xmm0, dword [rbp + 4]
jmp 0x180022e14
movss xmm0, dword [rbp + 4]
movss dword [rdi + 0x24], xmm0
mov byte [rsp + 0x32], 1
cmp byte [rdi + 0x91], 0
jne 0x180022e4a
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x180077ba8]
jne 0x180022e4a
comiss xmm15, dword [rcx + 0x30d4]
jb 0x180022e4a
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x30d4], eax
lea r15, [rdi + 0x20]
mov rdx, rdi
mov r8, r15
lea rcx, [rbp - 0x70]
call fcn.180020170
cmp byte [rdi + 0x91], 0
mov r8d, dword [rsp + 0x40]
movss xmm2, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [r15], xmm2
movss dword [r15 + 4], xmm0
je 0x180022eed
test r8d, r8d
jne 0x180022eed
test byte [rdi + 0xc], 1
mov rdx, qword [0x180077ba8]
je 0x180022e97
movaps xmm1, xmm15
jmp 0x180022ecb
mov rax, qword [rdi + 0x340]
movss xmm0, dword [rdx + 0x1994]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x180022ebb
mulss xmm0, dword [rax + 0x268]
movss xmm1, dword [rdx + 0x15b0]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [rdi + 0x10]
addss xmm1, dword [rdi + 0x14]
subss xmm2, dword [rdi + 0x10]
subss xmm1, dword [rdi + 0x14]
movss dword [rsp + 0x48], xmm2
movss dword [rsp + 0x4c], xmm1
jmp 0x180022eff
movsd xmm0, qword [r15]
mov rdx, qword [0x180077ba8]
movsd qword [rsp + 0x48], xmm0
mov ecx, dword [rdi + 0xc]
lea rax, [rsp + 0x48]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x18], xmm0
test cl, 1
je 0x180022f1b
movaps xmm1, xmm15
jmp 0x180022f4f
mov rax, qword [rdi + 0x340]
movss xmm0, dword [rdx + 0x1994]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x180022f3f
mulss xmm0, dword [rax + 0x268]
movss xmm1, dword [rdx + 0x15b0]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x180022f96
mov rax, qword [rdi + 0x340]
movss xmm0, dword [rdx + 0x1994]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x180022f79
mulss xmm0, dword [rax + 0x268]
movss xmm14, dword [rdx + 0x15b0]
addss xmm0, dword [rdi + 0x140]
addss xmm14, xmm14
addss xmm14, xmm0
jmp 0x180022f9a
movaps xmm14, xmm15
cmp byte [rsp + 0x31], 0
addss xmm14, xmm1
je 0x180022fee
mov eax, ebx
mov dword [rdi + 0xac], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180022fee
test r13b, r13b
jne 0x180022fee
movsxd rax, dword [r14 + 0x1df8]
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 0x1e00]
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 r8d, r8d
je 0x18002307a
mov rdx, qword [rsp + 0x58]
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 0x180023046
inc r8d
test ecx, ecx
je 0x18002302a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002302f
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18002cae0
mov rdx, qword [rsp + 0x58]
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov ebx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x3c]
test ebx, ebx
jne 0x180023082
test r13b, r13b
jne 0x180023082
cmp eax, 0x3000000
je 0x180023082
movsd xmm0, qword [rdx + 0xd8]
movsd qword [rdi + 0x10], xmm0
jmp 0x180023082
mov ebx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x3c]
movss xmm1, dword [rdi + 0xb8]
ucomiss xmm1, dword [0x18006e6d0]
jp 0x180023095
je 0x1800230e6
cmp byte [rdi + 0xb1], 0
jne 0x1800230e6
movss xmm0, dword [rdi + 0xc0]
lea rdx, [rsp + 0x48]
mulss xmm0, dword [rdi + 0x18]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xbc]
movss dword [rsp + 0x48], xmm1
movss xmm1, dword [rdi + 0xc4]
mulss xmm1, dword [rdi + 0x1c]
subss xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
call fcn.180024b50
jmp 0x180023131
cmp dword [rsp + 0x74], 0
jne 0x180023111
test ebx, ebx
je 0x1800230fb
test r13b, r13b
jne 0x1800230fb
test sil, sil
jg 0x180023111
test dword [rsp + 0x34], 0x2000000
je 0x180023131
test r13b, r13b
jne 0x180023131
cmp eax, 0x3000000
je 0x180023131
mov rdx, rdi
lea rcx, [rsp + 0x74]
call fcn.180026bd0
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
mov r12, qword [0x180077ba8]
movss xmm3, dword [r14 + 0x161c]
movss xmm2, dword [r14 + 0x1618]
maxss xmm3, dword [r14 + 0x1624]
mov rax, qword [r12 + 0x1e18]
maxss xmm2, dword [r14 + 0x1620]
mov rcx, qword [rax]
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 xmm4, xmm8
movss dword [rbp + 0x10], xmm8
movaps xmm5, xmm9
movss dword [rbp + 0x14], xmm9
addss xmm7, dword [rcx + 0x1c]
addss xmm6, dword [rcx + 0x20]
addss xmm4, dword [rcx + 0xc]
addss xmm5, dword [rcx + 0x10]
mov ecx, dword [rsp + 0x40]
subss xmm7, xmm2
subss xmm6, xmm3
movss dword [rbp + 0x18], xmm4
addss xmm2, xmm0
movss dword [rbp + 0x1c], xmm5
addss xmm3, xmm1
movss dword [rbp + 0x28], xmm7
movss dword [rbp + 0x2c], xmm6
movss dword [rbp + 0x20], xmm2
movss dword [rbp + 0x24], xmm3
test r13b, r13b
jne 0x1800232a8
test ecx, ecx
jne 0x1800232a8
cmp byte [rdi + 0xa8], r13b
jg 0x1800232a8
cmp byte [rdi + 0xa9], r13b
jg 0x1800232a8
subss xmm4, xmm8
comiss xmm4, xmm15
jbe 0x1800232a8
subss xmm5, xmm9
comiss xmm5, xmm15
jbe 0x1800232a8
movss xmm0, dword [rdi + 0x1c]
cmp byte [r12 + 0xcd], r13b
je 0x180023273
test byte [rdi + 0xc], 1
jne 0x180023273
mov rax, qword [rdi + 0x340]
movss xmm1, dword [r12 + 0x1994]
mulss xmm1, dword [rdi + 0x268]
test rax, rax
je 0x180023261
mulss xmm1, dword [rax + 0x268]
movss xmm0, dword [r12 + 0x15b0]
addss xmm0, xmm0
addss xmm0, xmm1
subss xmm2, dword [rdi + 0x18]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x14]
comiss xmm3, xmm0
ja 0x18002328d
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [rdi + 0x10]
comiss xmm2, xmm0
ja 0x18002329e
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [rdi + 0x10], xmm2
movss dword [rdi + 0x14], xmm3
mov r13d, dword [rsp + 0x34]
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 0x1800232de
movss xmm0, dword [r14 + 0x159c]
jmp 0x180023301
mov eax, r13d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1800232f8
movss xmm0, dword [r14 + 0x15a4]
jmp 0x180023301
movss xmm0, dword [r14 + 0x1580]
xor cl, cl
movss dword [rdi + 0x48], xmm0
mov dword [rsp + 0x38], ecx
cmp byte [rsp + 0x31], cl
je 0x180023524
bt r13d, 0xc
jb 0x180023524
test ebx, ebx
je 0x18002332c
mov byte [rsp + 0x38], 1
jmp 0x180023340
cmp dword [rsp + 0x3c], 0
mov edx, 1
movzx ecx, cl
cmove ecx, edx
mov dword [rsp + 0x38], ecx
mov eax, dword [r12 + 0x1de8]
sub eax, 1
js 0x180023524
mov r8, qword [r12 + 0x1df0]
movsxd r10, eax
add r8, 8
mov rdx, r10
lea r9, [r10 + r10*2]
shl r9, 4
add r8, r9
nop
mov rcx, qword [r8]
test rcx, rcx
je 0x180023381
test dword [rcx + 0xc], 0x8000000
jne 0x180023390
sub r8, 0x30
sub rdx, 1
jns 0x180023370
jmp 0x180023524
mov r15, qword [rdi + 0x350]
mov rax, rdi
cmp r15, rcx
je 0x180023520
cmp rax, rcx
je 0x180023520
mov rax, qword [rax + 0x348]
test rax, rax
jne 0x1800233a3
mov byte [rsp + 0x38], al
cmp rdi, r15
jne 0x180023520
mov r8, qword [r12 + 0x1df0]
add r8, 8
add r8, r9
mov rdx, qword [r8]
test rdx, rdx
je 0x18002344c
cmp byte [rdx + 0x8f], 0
je 0x18002344c
test dword [rdx + 0xc], 0x8000000
je 0x18002344c
mov rax, rdi
cmp r15, rdx
je 0x18002345a
cmp rax, rdx
je 0x18002345a
mov rax, qword [rax + 0x348]
test rax, rax
jne 0x1800233f6
mov rax, qword [rdx + 0x348]
mov rcx, qword [rax + 0x350]
test rcx, rcx
je 0x18002344c
nop word [rax + rax]
mov rax, rdi
cmp r15, rcx
je 0x18002345c
cmp rax, rcx
je 0x18002345c
mov rax, qword [rax + 0x348]
test rax, rax
jne 0x180023428
mov rax, qword [rcx + 0x348]
mov rcx, qword [rax + 0x350]
test rcx, rcx
jne 0x180023420
sub r8, 0x30
sub r10, 1
jns 0x1800233d4
xor edx, edx
mov r8, qword [rdx + 0x350]
mov rdx, qword [r12 + 0x1bc8]
movsxd rax, dword [r12 + 0x1bc0]
mov r9, rdx
lea rcx, [rdx + rax*8]
cmp rdx, rcx
jae 0x18002348e
nop
cmp qword [r9], r15
je 0x18002348e
add r9, 8
cmp r9, rcx
jb 0x180023480
sub r9, rdx
mov rsi, rdx
sar r9, 3
cmp rdx, rcx
jae 0x1800234ae
nop dword [rax]
cmp qword [rsi], r8
je 0x1800234ae
add rsi, 8
cmp rsi, rcx
jb 0x1800234a0
sub rsi, rdx
mov r10, rdx
sar rsi, 3
cmp r9d, esi
jge 0x1800234f4
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, [rdx + rcx*8]
lea rcx, [r10 + rax*8]
call fcn.180052280
mov rax, qword [r12 + 0x1bc8]
movsxd rcx, esi
mov qword [rax + rcx*8 - 8], r15
jmp 0x180023520
lea eax, [rsi + 1]
movsxd rbx, esi
movsxd rcx, eax
sub r9d, esi
movsxd r8, r9d
shl r8, 3
lea rdx, [rdx + rbx*8]
lea rcx, [r10 + rcx*8]
call fcn.180052280
mov rax, qword [r12 + 0x1bc8]
mov qword [rax + rbx*8], r15
lea r15, [rdi + 0x20]
movss xmm1, dword [r14 + 0x1990]
xorps xmm0, xmm0
movaps xmm2, xmm1
mov dword [rbp + 8], 0xffffffff
mulss xmm1, dword [0x18006e5a0]
xor r12d, r12d
cmp byte [r14 + 0xcc], r12b
mulss xmm2, dword [0x18006e610]
setne r12b
cmp byte [rdi + 0x91], 0
movups xmmword [rbp + 0x30], xmm0
movss xmm0, dword [rdi + 0x48]
addss xmm0, dword [0x18006e60c]
addss xmm1, xmm0
maxss xmm2, xmm1
cvttss2si eax, xmm2
movd xmm13, eax
cvtdq2ps xmm13, xmm13
jne 0x1800235b9
lea rax, [rbp + 0x20]
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea r9d, [r12 + 1]
lea rax, [rbp + 0x30]
lea r8, [rbp + 8]
mov qword [rsp + 0x20], rax
lea rdx, [rbp]
call fcn.1800208d0
test al, al
je 0x1800235b9
mov cl, 1
movzx edx, cl
jmp 0x1800235c3
movzx edx, byte [rsp + 0x30]
movzx ecx, byte [rsp + 0x32]
cmp byte [rdi + 0x91], 0
movzx eax, byte [rbp + 8]
mov byte [rdi + 0x99], al
jne 0x180023713
cmp qword [rsp + 0x68], 0
lea rax, [rsp + 0x48]
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 [r15]
subss xmm4, xmm14
addss xmm2, dword [rdi + 0x84]
addss xmm3, dword [rdi + 0x88]
jne 0x180023631
mov qword [rsp + 0x48], 0
jmp 0x180023659
movss xmm0, dword [rdi + 0x40]
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 dl, dl
jne 0x180023669
movaps xmm5, xmm2
test cl, cl
jne 0x180023670
movaps xmm4, xmm3
bt r13d, 0xe
jb 0x180023686
comiss xmm1, xmm4
jbe 0x180023682
test r13b, 8
je 0x180023686
xor cl, cl
jmp 0x180023688
mov cl, 1
mov byte [rdi + 0x8d], cl
lea rdx, [r14 + 0x15e4]
bt r13d, 0xf
jb 0x1800236cf
test cl, cl
je 0x1800236a6
movss xmm0, dword [rdx]
jmp 0x1800236aa
movaps xmm0, xmm15
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x1800236c2
mov eax, r13d
and eax, 0x808
cmp eax, 0x800
je 0x1800236cf
mov byte [rdi + 0x8c], 0
movaps xmm1, xmm15
jmp 0x1800236f5
mov byte [rdi + 0x8c], 1
test cl, cl
jne 0x1800236f1
comiss xmm1, xmm4
jbe 0x1800236e9
test r13b, 8
jne 0x1800236e9
mov cl, 1
jmp 0x1800236eb
xor cl, cl
mov byte [rdi + 0x8d], cl
movss xmm1, dword [rdx]
test cl, cl
je 0x1800236ff
movss xmm0, dword [rdx]
jmp 0x180023703
movaps xmm0, xmm15
movss dword [rdi + 0x84], xmm0
movss dword [rdi + 0x88], xmm1
mov esi, r13d
and esi, 0x5000000
cmp esi, 0x1000000
jne 0x18002373b
cmp dword [rsp + 0x3c], 0x3000000
je 0x18002373b
mov rax, qword [rsp + 0x58]
add rax, 0x210
jmp 0x18002373f
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 0x180023768
movaps xmm2, xmm15
jmp 0x1800237a3
mov rdx, qword [0x180077ba8]
mov rax, qword [rdi + 0x340]
movss xmm0, dword [rdx + 0x1994]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x180023793
mulss xmm0, dword [rax + 0x268]
movss xmm2, dword [rdx + 0x15b0]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [rdi + 0x14]
addss xmm2, xmm7
movss dword [rsp + 0x4c], xmm0
movaps xmm1, xmm5
addss xmm1, dword [r15]
movss dword [rsp + 0x48], xmm5
mov eax, r13d
and eax, 0x401
movss dword [rsp + 0x54], xmm2
movss dword [rsp + 0x50], 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 xmm11, dword [rdi + 0x10]
movss xmm8, dword [rdi + 0x14]
movaps xmm9, xmm11
movss dword [rdi + 0x1d0], xmm11
movaps xmm10, xmm8
addss xmm10, xmm14
addss xmm9, dword [rdi + 0x18]
addss xmm8, dword [rdi + 0x1c]
movss dword [rdi + 0x1d4], xmm10
subss xmm9, dword [rdi + 0x84]
subss xmm8, dword [rdi + 0x88]
movss dword [rdi + 0x1d8], xmm9
movss dword [rdi + 0x1dc], xmm8
cmp eax, 1
jne 0x1800238b9
movss xmm12, dword [rdi + 0x4c]
jmp 0x1800238c2
movss xmm12, dword [r14 + 0x15b8]
movss xmm2, dword [0x18006e5bc]
lea r15, [rdi + 0x1e0]
movss xmm0, dword [rdi + 0x40]
addss xmm11, xmm2
mulss xmm0, xmm2
addss xmm10, xmm2
lea r13, [rdi + 0x1e8]
xorps xmm1, xmm1
addss xmm9, xmm2
addss xmm8, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm10, xmm12
subss xmm8, dword [rdi + 0x4c]
movaps xmm12, xmmword [rsp + 0x180]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x4c]
addss xmm11, xmm1
subss xmm9, xmm1
cvttss2si eax, xmm11
xorps xmm11, xmm11
cvtsi2ss xmm11, eax
cvttss2si eax, xmm10
movss dword [r15], xmm11
cvtsi2ss xmm0, eax
cvttss2si eax, xmm9
movss dword [rdi + 0x1e4], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm8
movss dword [r13], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x1ec], xmm0
movss xmm0, dword [r15 + 4]
comiss xmm5, xmm0
jbe 0x180023980
movaps xmm1, xmm5
jmp 0x180023987
movaps xmm1, xmm7
minss xmm1, xmm0
comiss xmm6, xmm11
jbe 0x180023992
movaps xmm0, xmm6
jmp 0x18002399a
movaps xmm0, xmm4
minss xmm0, xmm11
movss dword [r15], xmm0
movss dword [r15 + 4], xmm1
movss xmm0, dword [r15 + 0xc]
comiss xmm5, xmm0
ja 0x1800239b7
minss xmm7, xmm0
movaps xmm5, xmm7
movss xmm0, dword [r15 + 8]
comiss xmm6, xmm0
jbe 0x1800239c7
movaps xmm4, xmm6
jmp 0x1800239cb
minss xmm4, xmm0
movss dword [r15 + 8], xmm4
movss dword [r15 + 0xc], xmm5
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm15
jbe 0x1800239f6
test dword [rsp + 0x34], 0x2000040
jne 0x1800239f6
mulss xmm0, dword [0x18006e5c4]
jmp 0x180023a07
movss xmm0, dword [r14 + 0x1990]
mulss xmm0, dword [0x18006e65c]
cvttss2si eax, xmm0
mov rdx, rdi
lea rcx, [rbp - 0x70]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x240], xmm0
movss xmm0, dword [rdi + 0x1d8]
subss xmm0, dword [rdi + 0x1d0]
movss xmm1, dword [rdi + 0x40]
addss xmm1, xmm1
addss xmm1, dword [rdi + 0x28]
subss xmm1, xmm0
movaps xmm0, xmm15
maxss xmm0, xmm1
movss xmm1, dword [rdi + 0x44]
addss xmm1, xmm1
movss dword [rdi + 0x64], xmm0
movss xmm0, dword [rdi + 0x1dc]
subss xmm0, dword [rdi + 0x1d4]
addss xmm1, dword [rdi + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm15
maxss xmm0, xmm1
movss dword [rdi + 0x68], xmm0
call fcn.1800259e0
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 + 0x1988]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.180035780
mov rcx, qword [0x180077ba8]
movaps xmm0, xmm6
unpckhpd xmm0, xmm6
xor r9d, r9d
movq r8, xmm0
movq rdx, xmm6
mov rax, qword [rcx + 0x1c20]
mov byte [rax + 0x90], 1
mov rbx, qword [rcx + 0x1c20]
mov rcx, qword [rbx + 0x270]
call fcn.180035660
mov rax, qword [rbx + 0x270]
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 + 0x210], eax
movss dword [rbx + 0x214], xmm0
movss dword [rbx + 0x218], xmm1
movss dword [rbx + 0x21c], xmm2
xor bl, bl
cmp esi, 0x1000000
jne 0x180023c07
cmp dword [rsp + 0x3c], 0x3000000
je 0x180023c07
mov r9, qword [rsp + 0x58]
movsxd rax, dword [r9 + 0x168]
cmp eax, 2
jl 0x180023bd0
mov rcx, rax
mov rax, qword [r9 + 0x170]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x180023bd0
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 0x180023bd0
comiss xmm2, xmm5
jbe 0x180023bd0
comiss xmm3, xmm6
jbe 0x180023bd0
comiss xmm4, xmm7
jbe 0x180023bd0
mov r8b, 1
jmp 0x180023bd3
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 0x180023c07
mov rax, qword [r9 + 0x270]
cmp dword [rax + 0x20], 0
jle 0x180023c07
test r8b, r8b
jne 0x180023c07
mov bl, 1
mov qword [rdi + 0x270], rax
mov rax, qword [r14 + 0x1f88]
test rax, rax
jne 0x180023c1a
mov rax, qword [r14 + 0x1e20]
mov esi, dword [rsp + 0x38]
test sil, sil
jne 0x180023c3d
test rax, rax
je 0x180023c38
mov rax, qword [rax + 0x360]
cmp qword [rdi + 0x360], rax
je 0x180023c3d
xor r8b, r8b
jmp 0x180023c40
mov r8b, 1
lea rax, [rbp + 0x30]
movss dword [rsp + 0x28], xmm13
lea r9d, [r12 + 1]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.180021730
movaps xmm13, xmmword [rsp + 0x170]
test bl, bl
je 0x180023c7d
lea rax, [rdi + 0x278]
mov qword [rdi + 0x270], rax
mov r12d, dword [rsp + 0x34]
mov ecx, r12d
movss xmm5, dword [rdi + 0x38]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm5, xmm15
jp 0x180023cd8
jne 0x180023cd8
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 0x180023cce
movss xmm7, dword [rdi + 0x28]
maxss xmm7, xmm1
jmp 0x180023cdb
movaps xmm7, xmm15
maxss xmm7, xmm1
jmp 0x180023cdb
movaps xmm7, xmm5
movss xmm4, dword [rdi + 0x3c]
ucomiss xmm4, xmm15
jp 0x180023d20
jne 0x180023d20
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 0x180023d16
movss xmm6, dword [rdi + 0x2c]
maxss xmm6, xmm1
jmp 0x180023d23
movaps xmm6, xmm15
maxss xmm6, xmm1
jmp 0x180023d23
movaps xmm6, xmm4
ucomiss xmm5, xmm15
movss xmm8, dword [rdi + 0x40]
xorps xmm2, xmm2
movss xmm10, dword [rdi + 0x5c]
movaps xmm1, xmm8
maxss xmm1, dword [rdi + 0x4c]
movss xmm0, dword [rdi + 0x1d0]
xorps xmm3, xmm3
movss xmm9, dword [rdi + 0x44]
subss xmm0, xmm10
movss xmm11, dword [rdi + 0x60]
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x1d4]
subss xmm0, xmm11
cvttss2si eax, xmm1
movaps xmm1, xmm9
maxss xmm1, dword [rdi + 0x4c]
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 0x180023e0e
jne 0x180023e0e
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 0x180023e41
jne 0x180023e41
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 xmm4, xmm2
cvtps2pd xmm2, xmm8
lea rbx, [rdi + 0x144]
movss dword [rdi + 0x22c], xmm4
movaps xmm0, xmm8
addss xmm0, xmm15
cvtps2pd xmm1, xmm10
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 + 0x15bc]
cmp byte [rsp + 0x31], cl
je 0x180023fc8
xor eax, eax
mov qword [rbx + 0x12], rax
cvttss2si eax, xmm0
mov rcx, rbx
mov word [rbx + 8], ax
call fcn.18004b400
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 + 0x160], r8
mov ecx, dword [rdi + 0x16c]
test ecx, ecx
jns 0x18002401b
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x168]
test eax, eax
cmovg edx, eax
call fcn.18002cae0
xor r8d, r8d
mov dword [rdi + 0x168], r8d
lea rax, [rdi + 0x248]
mov qword [rdi + 0x178], rax
mov ecx, 1
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x180], r8
mov dword [rdi + 0x18c], ecx
test rax, rax
je 0x180024054
mov eax, dword [rax + 0x18c]
jmp 0x180024056
mov eax, ecx
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.18002cd30
lea rcx, [rdi + 0x1b0]
call fcn.18002cd30
movzx eax, byte [rdi + 0xa8]
test al, al
jle 0x18002409d
dec al
mov byte [rdi + 0xa8], al
movzx eax, byte [rdi + 0xa9]
test al, al
jle 0x1800240b0
dec al
mov byte [rdi + 0xa9], al
test sil, sil
je 0x1800240c7
mov rcx, rdi
call fcn.180024710
xor edx, edx
mov rcx, rdi
call fcn.180027c90
movss xmm8, dword [rsp + 0x54]
movss xmm9, dword [rsp + 0x50]
movss xmm6, dword [rsp + 0x4c]
movss xmm7, dword [rsp + 0x48]
test r12b, 1
jne 0x180024121
mov r9, qword [rbp - 0x78]
lea rdx, [rbp + 0x10]
mov r8, qword [rbp - 0x80]
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.180021d50
mov rbx, qword [0x180077ba8]
xor eax, eax
mov dword [rdi + 0x230], eax
movss xmm1, dword [rbx + 0x15d4]
movss xmm0, dword [rbx + 0x15d8]
subss xmm7, xmm1
movaps xmm2, xmm1
subss xmm6, xmm0
movss xmm1, dword [rbx + 0x128]
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 0x180024199
movss xmm0, dword [rbx + 0x12c]
comiss xmm0, xmm6
jb 0x180024199
comiss xmm2, xmm1
jbe 0x180024199
comiss xmm3, xmm0
lea edx, [rax + 1]
ja 0x18002419b
mov edx, eax
mov eax, dword [rdi + 0x54]
mov ecx, dword [r14 + 0x1cc0]
movups xmm0, xmmword [rsp + 0x48]
mov dword [rbx + 0x1cd8], eax
mov eax, dword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x1e0]
movups xmmword [rbx + 0x1ce4], xmm0
mov dword [rbx + 0x1cdc], ecx
mov dword [rbx + 0x1ce0], edx
jmp 0x180024266
mov rbx, qword [0x180077ba8]
mov qword [rbx + 0x1c20], rdi
movsxd rax, dword [rdi + 0x188]
cmp eax, 0xffffffff
je 0x1800241fe
imul rcx, rax, 0x208
add rcx, qword [rbx + 0x2098]
jmp 0x180024202
xor eax, eax
mov ecx, eax
movss xmm0, dword [rbx + 0x1994]
mov qword [rbx + 0x2070], rcx
mov rax, qword [rdi + 0x340]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x18002422d
mulss xmm0, dword [rax + 0x268]
mov r12d, dword [rsp + 0x34]
lea r13, [rdi + 0x1e8]
mov eax, r12d
movss dword [rbx + 0x19a8], xmm0
and eax, 0x1000000
movss dword [rbx + 0x1990], xmm0
mov ecx, r12d
mov dword [rsp + 0x40], eax
and ecx, 0x40
lea r15, [rdi + 0x1e0]
mov dword [rsp + 0x70], ecx
test eax, eax
je 0x180024277
mov rbx, qword [rsp + 0x58]
mov esi, dword [rbx + 0x134]
jmp 0x1800242d7
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.180019150
mov esi, eax
cmp dword [rbx + 0x1c6c], eax
jne 0x1800242a8
mov dword [rbx + 0x1c70], eax
cmp dword [rbx + 0x1ca8], eax
jne 0x1800242b7
mov byte [rbx + 0x1cac], 1
cmp dword [rbx + 0x1c54], eax
jne 0x1800242d2
lea r8, str.FOCUSSCOPE
mov edx, 0xb
mov ecx, eax
call fcn.18002c150
mov rbx, qword [rsp + 0x58]
mov r8b, 1
mov dword [rdi + 0x134], esi
mov rdx, r13
mov rcx, r15
call fcn.18001e130
mov r15, qword [rsp + 0x1f0]
xor eax, eax
mov r13, qword [rsp + 0x1f8]
mov rsi, qword [rsp + 0x248]
mov byte [rdi + 0x90], 0
inc word [rdi + 0x9a]
mov dword [r14 + 0x1d18], eax
mov eax, dword [rsp + 0x60]
cmp eax, dword [rsp + 0x64]
je 0x180024480
cmp dword [rsp + 0x40], 0
je 0x1800243ed
cmp dword [rsp + 0x70], 0
jne 0x1800243b6
cmp byte [rdi + 0xa8], 0
jg 0x1800243b6
cmp byte [rdi + 0xa9], 0
jg 0x1800243b6
bt r12d, 0x17
jae 0x18002437d
cmp byte [r14 + 0x1e64], 0
je 0x18002437d
mov rcx, qword [r14 + 0x1e20]
test rcx, rcx
je 0x18002437d
mov rax, qword [rdi + 0x368]
cmp qword [rcx + 0x368], rax
jne 0x18002437d
mov al, 1
jmp 0x18002437f
xor al, al
cmp byte [r14 + 0x312c], 0
jne 0x1800243b6
test al, al
jne 0x1800243b6
movss xmm0, dword [rdi + 0x1c0]
comiss xmm0, dword [rdi + 0x1c8]
jae 0x1800243af
movss xmm0, dword [rdi + 0x1c4]
comiss xmm0, dword [rdi + 0x1cc]
jb 0x1800243b6
mov byte [rdi + 0xb0], 1
test rbx, rbx
je 0x1800243ed
cmp byte [rbx + 0x91], 0
jne 0x1800243cd
cmp byte [rbx + 0xb0], 0
jle 0x1800243d4
mov byte [rdi + 0xb0], 1
cmp byte [rbx + 0x91], 0
jne 0x1800243e6
cmp byte [rbx + 0xb1], 0
jle 0x1800243ed
mov byte [rdi + 0xb1], 1
comiss xmm15, dword [r14 + 0x1570]
jb 0x1800243fe
mov byte [rdi + 0xb0], 1
cmp byte [rdi + 0xb0], 0
jg 0x18002441e
cmp byte [rdi + 0xb1], 0
jg 0x18002441e
xor cl, cl
cmp byte [rdi + 0xb2], cl
jg 0x180024420
xor al, al
jmp 0x180024422
mov cl, 1
mov al, 1
mov byte [rdi + 0x95], al
movzx eax, byte [rdi + 0xb3]
test al, al
jle 0x180024442
dec al
mov byte [rdi + 0xb3], al
or dword [rdi + 0xc], 0xc0200
xor al, al
cmp byte [rdi + 0x91], al
jne 0x180024458
cmp byte [rdi + 0x8e], al
je 0x180024458
test cl, cl
je 0x18002447a
cmp byte [rdi + 0xa8], al
jg 0x18002447a
cmp byte [rdi + 0xa9], al
jg 0x18002447a
cmp byte [rdi + 0xb1], 0
mov edx, 1
movzx eax, al
cmovle eax, edx
mov byte [rdi + 0x93], al
cmp byte [rdi + 0x93], 0
sete al
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.180050ed0
movaps xmm15, xmmword [rsp + 0x150]
add rsp, 0x200
pop r14
pop r12
pop rdi
pop rbx
pop rbp
ret