Function at 0x1400158a0
Capabilities:
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
push r12
push r14
push r15
lea rbp, [r11 - 0x128]
sub rsp, 0x1f8
movaps xmmword [r11 - 0xd8], xmm15
mov rax, qword [0x140046010]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r14, qword [0x140046a38]
mov r10d, 0xffffffff
mov qword [r11 + 0x10], rsi
mov ebx, r8d
mov qword [r11 - 0x38], r13
mov r11, rcx
mov qword [rsp + 0x78], rcx
mov ecx, r10d
movzx r9d, byte [r11]
lea r8, [r11 + 1]
test r9b, r9b
je 0x140015936
lea rdi, [0x14003a0e0]
cmp r9b, 0x23
jne 0x14001591a
cmp byte [r8], r9b
jne 0x14001591a
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [rdi + rdx*4]
test r9b, r9b
jne 0x140015907
not ecx
call fcn.1400131c0
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 0x140015966
mov edx, ebx
mov rcx, r11
call fcn.1400133b0
mov rdi, rax
jmp 0x140015971
mov r8d, ebx
movzx edx, al
call fcn.140013240
mov r9d, dword [r14 + 0x3da8]
mov eax, ebx
mov r10d, dword [rdi + 0x238]
mov edx, ebx
or edx, 6
mov dword [rsp + 0x64], r9d
and eax, 0xc0200
mov dword [rsp + 0x60], r10d
cmp eax, 0xc0200
cmovne edx, ebx
lea rbx, [r14 + 0x3df8]
cmp dword [rbx], 0
mov dword [rsp + 0x34], edx
jne 0x1400159bb
cmp byte [r14 + 0x3db5], 0
je 0x1400159bb
mov al, 1
jmp 0x1400159bd
xor al, al
mov byte [rdi + 0x96], al
lea eax, [r9 - 1]
cmp r10d, eax
setl r8b
mov byte [rsp + 0x31], r8b
bt edx, 0x1a
jae 0x140015a0b
movsxd rax, dword [r14 + 0x4010]
lea rax, [rax + rax*2]
shl rax, 4
add rax, qword [r14 + 0x4008]
cmp rdi, qword [rax + 8]
mov eax, dword [rax]
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 0x140015a2c
or byte [rdi + 0xb4], 8
or byte [rdi + 0xb5], 8
or byte [rdi + 0xb6], 8
xor ecx, ecx
cmp r10d, r9d
je 0x140015a71
mov dword [rdi + 0xc], edx
mov dword [rdi + 0x238], r9d
movsd xmm0, qword [r14 + 0x3da0]
mov word [rdi + 0x9c], cx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x23c], xmm0
movzx eax, word [r14 + 0x3e18]
inc dword [r14 + 0x3e18]
mov word [rdi + 0x9e], ax
jmp 0x140015a78
mov edx, dword [rdi + 0xc]
mov dword [rsp + 0x34], edx
movsxd rax, dword [rbx]
test eax, eax
jne 0x140015a84
mov rsi, rcx
jmp 0x140015a96
imul rcx, rax, 0x58
mov rax, qword [r14 + 0x3e00]
mov rsi, qword [rcx + rax - 0x58]
xor ecx, ecx
cmp r10d, r9d
je 0x140015aaa
test edx, 0x5000000
mov r15, rcx
cmovne r15, rsi
jmp 0x140015ab1
mov r15, qword [rdi + 0x340]
lea r12, [rdi + 0xc8]
mov qword [rsp + 0x58], r15
cmp dword [r12], 0
mov r13d, 8
jne 0x140015af0
cmp dword [r12 + 4], 0
jne 0x140015add
mov edx, r13d
mov rcx, r12
call fcn.140020b70
movsxd rdx, dword [r12]
mov eax, dword [rdi + 8]
mov rcx, qword [r12 + 8]
mov dword [rcx + rdx*4], eax
inc dword [r12]
mov rdx, qword [0x140046a38]
xorps xmm0, xmm0
mov eax, dword [r14 + 0x3f28]
movups xmm1, xmmword [r14 + 0x3f00]
mov qword [r14 + 0x3e28], rdi
mov r8d, dword [rbx + 4]
movups xmmword [rbp - 0x1c], xmm0
mov dword [rbp - 0x20], eax
mov rax, qword [rdx + 0x3e28]
movups xmm0, xmmword [r14 + 0x3ef0]
mov qword [rbp - 0x60], rdi
movups xmmword [rbp - 0x48], xmm1
movzx ecx, word [rax + 0xc8]
movzx eax, word [rdx + 0x3fa0]
movsd xmm1, qword [r14 + 0x3f20]
mov word [rbp - 0x1a], ax
movzx eax, word [rdx + 0x3fb0]
mov word [rbp - 0x18], ax
movzx eax, word [rdx + 0x3fc0]
mov word [rbp - 0x16], ax
movzx eax, word [rdx + 0x3fd0]
mov word [rbp - 0x14], ax
movzx eax, word [rdx + 0x3ff0]
mov word [rbp - 0x12], ax
movzx eax, word [rdx + 0x3fe0]
mov word [rbp - 0x10], ax
movzx eax, word [rdx + 0x4010]
movups xmmword [rbp - 0x58], xmm0
mov word [rbp - 0xe], ax
movups xmm0, xmmword [r14 + 0x3f10]
movzx eax, word [rdx + 0x52a4]
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 0x140015be0
inc ecx
test r8d, r8d
je 0x140015bce
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140015bd1
mov eax, r13d
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140020c00
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 ebx, dword [rsp + 0x34]
mov eax, ebx
and eax, 0x10000000
mov qword [r14 + 0x3e28], 0
mov dword [rsp + 0x74], eax
je 0x140015c47
inc dword [r14 + 0x4020]
mov ecx, ebx
and ecx, 0x4000000
mov dword [rsp + 0x3c], ecx
je 0x140015c8a
lea rcx, [r14 + 0x4010]
movsxd rax, dword [rcx]
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [r14 + 0x4008]
mov rdx, rbx
mov qword [rbx + 8], rdi
call fcn.1400200a0
mov eax, dword [rbx]
mov ebx, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x3c]
mov dword [rdi + 0xa4], eax
mov r10d, dword [rsp + 0x64]
mov r11d, dword [rsp + 0x60]
cmp r11d, r10d
je 0x140015d41
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 0x140015d0f
mov eax, ebx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x140015ce1
mov rax, qword [r15 + 0x350]
mov qword [rdi + 0x350], rax
test ecx, ecx
je 0x140015cf3
mov rax, qword [r15 + 0x358]
mov qword [rdi + 0x358], rax
bt ebx, 0x1b
jb 0x140015d0f
test ebx, 0x5000000
je 0x140015d0f
mov rax, qword [r15 + 0x360]
mov qword [rdi + 0x360], rax
test dword [rdi + 0xc], 0x800000
je 0x140015d3a
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 0x140015d20
mov qword [rdi + 0x348], rsi
xor dl, dl
xor r15b, r15b
xor r12b, r12b
mov byte [rsp + 0x32], dl
test byte [r14 + 0x3f30], 1
je 0x140015dee
mov r8d, dword [r14 + 0x3f34]
movzx ecx, byte [rdi + 0xb4]
movsx eax, cl
test r8d, eax
setne dl
mov byte [rsp + 0x32], dl
test r8d, eax
je 0x140015ddf
movss xmm0, dword [r14 + 0x3f4c]
movss xmm1, dword [r14 + 0x3f48]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x14003e928]
jbe 0x140015ddf
movsd xmm0, qword [r14 + 0x3f40]
and ecx, 0xf1
mov eax, dword [rdi + 0xb4]
and eax, 0xffffff00
movsd qword [rdi + 0xb8], xmm0
movsd xmm1, qword [r14 + 0x3f48]
or ecx, eax
mov dword [rdi + 0xb4], ecx
movsd qword [rdi + 0xc0], xmm1
jmp 0x140015dee
lea rdx, [r14 + 0x3f40]
mov rcx, rdi
call fcn.140018020
test byte [r14 + 0x3f30], 2
xorps xmm15, xmm15
je 0x140015e43
movsx eax, byte [rdi + 0xb5]
lea rdx, [r14 + 0x3f50]
mov r8d, dword [r14 + 0x3f38]
and eax, r8d
je 0x140015e25
movss xmm0, dword [rdx]
comiss xmm0, xmm15
jbe 0x140015e25
mov r15b, 1
jmp 0x140015e29
test eax, eax
je 0x140015e3b
movss xmm0, dword [r14 + 0x3f54]
comiss xmm0, xmm15
jbe 0x140015e3b
mov r12b, 1
mov rcx, rdi
call fcn.140018150
test byte [r14 + 0x3f30], 0x80
je 0x140015e7d
movss xmm0, dword [r14 + 0x3f60]
xor eax, eax
comiss xmm0, xmm15
jb 0x140015e66
movss dword [rdi + 0x6c], xmm0
mov dword [rdi + 0x74], eax
movss xmm0, dword [r14 + 0x3f64]
comiss xmm0, xmm15
jb 0x140015e7d
movss dword [rdi + 0x70], xmm0
mov dword [rdi + 0x78], eax
test byte [r14 + 0x3f30], 4
je 0x140015fe9
movsd xmm0, qword [r14 + 0x3f58]
movsd qword [rdi + 0x38], xmm0
xor esi, esi
test byte [r14 + 0x3f30], r13b
je 0x140015eeb
mov ecx, dword [r14 + 0x3f3c]
movzx edx, byte [r14 + 0x3f68]
test ecx, ecx
je 0x140015ec2
movsx eax, byte [rdi + 0xb6]
test ecx, eax
je 0x140015eeb
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 + 0x3f30], 0x20
je 0x140015f07
mov rcx, rdi
call fcn.140017d90
mov r10d, dword [rsp + 0x64]
mov r11d, dword [rsp + 0x60]
cmp byte [rdi + 0x94], 0
je 0x140015f25
and byte [rdi + 0xb4], 0xf7
and byte [rdi + 0xb5], 0xf7
and byte [rdi + 0xb6], 0xf7
mov r8d, 1
cmp r11d, r10d
je 0x14001793d
movaps xmmword [rsp + 0x1e0], xmm6
mov eax, ebx
movaps xmmword [rsp + 0x1d0], xmm7
and eax, 0x3000000
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], r8b
mov byte [rdi + 0x98], 0
movaps xmmword [rsp + 0x160], xmm14
mov dword [rsp + 0x40], eax
movzx eax, byte [rdi + 0xb1]
mov dword [rdi + 0x210], 0xff7fffff
mov dword [rdi + 0x214], 0xff7fffff
mov dword [rdi + 0x218], 0x7f7fffff
mov dword [rdi + 0x21c], 0x7f7fffff
mov ecx, dword [rdi + 0xcc]
mov byte [rsp + 0x38], al
cmp ecx, r8d
jge 0x14001601b
test ecx, ecx
je 0x140015ffd
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140016000
cmp r11d, r10d
je 0x140015e99
xor esi, esi
mov qword [rdi + 0x38], rsi
jmp 0x140015e9b
mov eax, r13d
cmp eax, r8d
lea rcx, [rdi + 0xc8]
mov edx, r8d
cmovg edx, eax
call fcn.140020b70
mov r8d, 1
mov dword [rdi + 0xc8], r8d
mov rcx, qword [rdi + 0x270]
call fcn.140028580
cmp byte [rdi + 0x3a8], 0
mov dword [rdi + 0x188], 0xffffffff
je 0x14001607d
mov rcx, qword [rdi + 0x270]
mov edx, dword [rdi + 0x3a0]
add rcx, 0x10
mov byte [rdi + 0x3a8], 0
call fcn.140020a40
mov rcx, qword [rdi + 0x270]
mov edx, dword [rdi + 0x3a4]
add rcx, 0x20
call fcn.140020800
xor eax, eax
mov qword [rdi + 0x3a0], rax
cmp qword [r14 + 0x41b0], 0
mov r9, qword [rsp + 0x68]
je 0x140016157
test dword [rdi + 0xc], 0x80000
jne 0x140016157
test r9, r9
je 0x140016157
mov r10, qword [rsp + 0x78]
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 0x1400160d3
inc rax
test ecx, ecx
jne 0x1400160c0
test edx, edx
je 0x140016152
movsxd rsi, dword [rdi + 0x50]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x1400160e2
inc rbx
cmp rsi, rbx
jae 0x14001613a
test r9, r9
je 0x14001610b
mov rax, qword [0x140046a38]
test rax, rax
je 0x14001610b
dec dword [rax + 0xec]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140046a38]
test rax, rax
je 0x140016126
inc dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r10, qword [rsp + 0x78]
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]
lea r8, [rdi + 0x30]
mov rcx, rdi
lea rdx, [rdi + 0x28]
call fcn.140013a00
movzx eax, byte [rdi + 0xb0]
test al, al
jle 0x14001617a
dec al
mov byte [rdi + 0xb0], al
movzx eax, byte [rdi + 0xb1]
test al, al
jle 0x14001618d
dec al
mov byte [rdi + 0xb1], al
movzx eax, byte [rdi + 0xb2]
test al, al
jle 0x1400161a0
dec al
mov byte [rdi + 0xb2], al
test r9, r9
jne 0x1400161b6
test r15b, r15b
je 0x1400161af
test r12b, r12b
jne 0x1400161b6
mov byte [rdi + 0xb1], 1
xor r9d, r9d
cmp byte [rsp + 0x31], r9b
je 0x1400161fc
test ebx, 0x6000000
je 0x1400161fc
mov byte [rdi + 0xb1], 1
test bl, 0x40
je 0x1400161fc
test r15b, r15b
jne 0x1400161e1
mov dword [rdi + 0x20], r9d
mov dword [rdi + 0x18], r9d
test r12b, r12b
jne 0x1400161ee
mov dword [rdi + 0x24], r9d
mov dword [rdi + 0x1c], r9d
mov qword [r8], 0
mov qword [rdx], 0
mov rcx, qword [0x140046a38]
mov qword [rcx + 0x3e28], rdi
movsxd rax, dword [rdi + 0x188]
cmp eax, 0xffffffff
je 0x140016226
imul rdx, rax, 0x208
add rdx, qword [rcx + 0x42b0]
jmp 0x140016229
mov rdx, r9
mov qword [rcx + 0x4288], rdx
mov rax, qword [rdi + 0x340]
movss xmm0, dword [rdi + 0x268]
mulss xmm0, dword [rcx + 0x3b9c]
test rax, rax
je 0x140016254
mulss xmm0, dword [rax + 0x268]
mov eax, ebx
movss dword [rcx + 0x3bb0], xmm0
and eax, 0x1000000
movss dword [rcx + 0x3b98], xmm0
mov dword [rsp + 0x44], eax
je 0x14001627c
movss xmm1, dword [r14 + 0x37a8]
jmp 0x14001629e
test ebx, 0x6000000
je 0x140016295
bt ebx, 0x1b
jb 0x140016295
movss xmm1, dword [r14 + 0x37b0]
jmp 0x14001629e
movss xmm1, dword [r14 + 0x378c]
movss dword [rdi + 0x4c], xmm1
mov eax, ebx
movsd xmm0, qword [r14 + 0x3780]
and eax, 0x5010000
movsd qword [rdi + 0x40], xmm0
cmp eax, 0x1000000
jne 0x1400162e5
ucomiss xmm1, xmm15
jp 0x1400162e5
jne 0x1400162e5
bt ebx, 0xa
jae 0x1400162d8
movss xmm0, dword [r14 + 0x3784]
jmp 0x1400162dc
movaps xmm0, xmm15
movss dword [rdi + 0x44], xmm0
mov dword [rdi + 0x40], r9d
movss xmm0, dword [rdi + 0x40]
maxss xmm0, dword [r14 + 0x37c4]
maxss xmm0, dword [r14 + 0x3f94]
movss dword [rdi + 0x13c], xmm0
mov eax, dword [r14 + 0x3f98]
mov dword [rdi + 0x140], eax
test bl, 0x21
jne 0x140016456
mov edx, dword [rdi + 0xc]
test dl, 1
je 0x140016328
movaps xmm2, xmm15
jmp 0x14001635c
mov rax, qword [rdi + 0x340]
movss xmm0, dword [rdi + 0x268]
mulss xmm0, dword [rcx + 0x3b9c]
test rax, rax
je 0x14001634c
mulss xmm0, dword [rax + 0x268]
movss xmm2, dword [rcx + 0x37b8]
addss xmm2, xmm2
addss xmm2, xmm0
lea rsi, [rdi + 0x20]
movss xmm3, dword [rdi + 0x10]
movaps xmm0, xmm3
movss xmm4, dword [rdi + 0x14]
addss xmm0, dword [rsi]
addss xmm2, dword [rdi + 0x14]
cmp qword [r14 + 0x3e30], rdi
jne 0x140016422
cmp dword [r14 + 0x3e60], 0
jne 0x140016422
cmp dword [r14 + 0x3e64], 0
jne 0x140016422
mov rax, qword [rcx + 0x3e28]
movss xmm1, dword [rcx + 0x37dc]
movaps xmm5, xmm1
minss xmm0, dword [rax + 0x218]
maxss xmm3, dword [rax + 0x210]
maxss xmm4, dword [rax + 0x214]
minss xmm2, dword [rax + 0x21c]
addss xmm5, xmm0
movss xmm0, dword [rcx + 0x37e0]
subss xmm3, xmm1
movaps xmm6, xmm0
movss xmm1, dword [rcx + 0xd0c]
subss xmm4, xmm0
addss xmm6, xmm2
comiss xmm1, xmm3
jb 0x140016422
movss xmm0, dword [rcx + 0xd10]
comiss xmm0, xmm4
jb 0x140016422
comiss xmm5, xmm1
jbe 0x140016422
comiss xmm6, xmm0
jbe 0x140016422
cmp word [r14 + 0x363a], 2
jne 0x140016422
mov byte [rdi + 0x92], 1
cmp byte [rdi + 0x92], 0
je 0x140016461
cmp byte [rdi + 0x91], 0
sete al
mov byte [rdi + 0x91], al
bt edx, 8
jb 0x140016461
comiss xmm15, dword [rcx + 0x52f4]
jb 0x140016461
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x52f4], eax
jmp 0x140016461
mov byte [rdi + 0x91], 0
lea rsi, [rdi + 0x20]
mov rdx, rdi
mov byte [rdi + 0x92], 0
lea rcx, [rbp]
call fcn.140013b10
movzx ecx, byte [rsp + 0x30]
mov eax, ebx
and eax, 0x40
mov byte [rsp + 0x33], cl
mov dword [rsp + 0x70], eax
je 0x1400164c1
cmp byte [rdi + 0x91], 0
jne 0x1400164c1
test r15b, r15b
jne 0x1400164a4
movss xmm0, dword [rbp]
movss dword [rsi], xmm0
mov byte [rsp + 0x30], 1
test r12b, r12b
jne 0x140016562
movss xmm0, dword [rbp + 4]
movss dword [rdi + 0x24], xmm0
mov byte [rsp + 0x33], 1
jmp 0x140016562
movzx eax, byte [rdi + 0xa8]
test al, al
jg 0x1400164d9
cmp byte [rdi + 0xa9], 0
jle 0x140016562
test r15b, r15b
jne 0x140016504
test al, al
jle 0x140016504
cmp byte [rdi + 0xab], r15b
je 0x1400164f6
movss xmm0, dword [rsi]
maxss xmm0, dword [rbp]
jmp 0x1400164fb
movss xmm0, dword [rbp]
movss dword [rsi], xmm0
mov byte [rsp + 0x30], 1
test r12b, r12b
jne 0x140016536
cmp byte [rdi + 0xa9], r12b
jle 0x140016536
cmp byte [rdi + 0xab], r12b
je 0x140016527
movss xmm0, dword [rdi + 0x24]
maxss xmm0, dword [rbp + 4]
jmp 0x14001652c
movss xmm0, dword [rbp + 4]
movss dword [rdi + 0x24], xmm0
mov byte [rsp + 0x33], 1
cmp byte [rdi + 0x91], 0
jne 0x140016562
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x140046a38]
jne 0x140016562
comiss xmm15, dword [rcx + 0x52f4]
jb 0x140016562
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x52f4], eax
mov r8, rsi
lea rcx, [rbp - 0x70]
mov rdx, rdi
call fcn.1400137b0
cmp byte [rdi + 0x91], 0
mov r15d, dword [rsp + 0x44]
movss xmm3, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rsi], xmm3
movss dword [rsi + 4], xmm0
je 0x140016605
test r15d, r15d
jne 0x140016605
test byte [rdi + 0xc], 1
mov rdx, qword [0x140046a38]
je 0x1400165a9
movaps xmm2, xmm15
jmp 0x1400165dd
mov rax, qword [rdi + 0x340]
movss xmm0, dword [rdx + 0x3b9c]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x1400165cd
mulss xmm0, dword [rax + 0x268]
movss xmm2, dword [rdx + 0x37b8]
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 + 0x4c], xmm2
movss dword [rsp + 0x48], xmm0
jmp 0x140016616
movsd xmm0, qword [rsi]
mov rdx, qword [0x140046a38]
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 0x140016632
movaps xmm1, xmm15
jmp 0x140016666
mov rax, qword [rdi + 0x340]
movss xmm0, dword [rdx + 0x3b9c]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x140016656
mulss xmm0, dword [rax + 0x268]
movss xmm1, dword [rdx + 0x37b8]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x1400166af
mov rax, qword [rdi + 0x340]
movss xmm14, dword [rdx + 0x3b9c]
mulss xmm14, dword [rdi + 0x268]
test rax, rax
je 0x140016693
mulss xmm14, dword [rax + 0x268]
movss xmm0, dword [rdx + 0x37b8]
addss xmm14, dword [rdi + 0x140]
addss xmm0, xmm0
addss xmm14, xmm0
jmp 0x1400166b3
movaps xmm14, xmm15
cmp byte [rsp + 0x31], 0
addss xmm14, xmm1
movzx esi, byte [rsp + 0x32]
je 0x14001670c
mov eax, ebx
mov dword [rdi + 0xac], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x14001670c
test sil, sil
jne 0x14001670c
movsxd rax, dword [r14 + 0x4010]
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 0x4018]
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 r15d, r15d
je 0x14001678f
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 0x14001675b
inc r8d
test ecx, ecx
je 0x140016744
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea r13d, [rcx + rax]
cmp r13d, r8d
mov rcx, rbx
cmovg r8d, r13d
mov edx, r8d
call fcn.1400203e0
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 + 0x3c]
mov eax, dword [rsp + 0x40]
test ebx, ebx
jne 0x140016797
test sil, sil
jne 0x140016797
cmp eax, 0x3000000
je 0x140016797
movsd xmm0, qword [rdx + 0xd8]
movsd qword [rdi + 0x10], xmm0
jmp 0x140016797
mov ebx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x40]
movss xmm1, dword [rdi + 0xb8]
ucomiss xmm1, dword [0x14003eaac]
jp 0x1400167aa
je 0x140016800
cmp byte [rdi + 0xb1], 0
jne 0x140016800
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.140018020
mov r12d, dword [rsp + 0x34]
jmp 0x140016863
cmp dword [rsp + 0x74], 0
je 0x14001681b
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14001a570
mov r12d, dword [rsp + 0x34]
jmp 0x140016850
test ebx, ebx
je 0x14001682b
test sil, sil
jne 0x14001682b
cmp byte [rsp + 0x38], sil
jg 0x140016807
mov r12d, dword [rsp + 0x34]
bt r12d, 0x19
jae 0x140016863
test sil, sil
jne 0x140016863
cmp eax, 0x3000000
je 0x140016863
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14001a570
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
mov r13, qword [0x140046a38]
movss xmm3, dword [r14 + 0x3824]
movss xmm2, dword [r14 + 0x3820]
maxss xmm3, dword [r14 + 0x382c]
mov rax, qword [r13 + 0x4030]
maxss xmm2, dword [r14 + 0x3828]
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]
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 sil, sil
jne 0x1400169cc
test r15d, r15d
jne 0x1400169cc
cmp byte [rdi + 0xa8], r15b
jg 0x1400169cc
cmp byte [rdi + 0xa9], r15b
jg 0x1400169cc
subss xmm4, xmm8
comiss xmm4, xmm15
jbe 0x1400169cc
subss xmm5, xmm9
comiss xmm5, xmm15
jbe 0x1400169cc
movss xmm0, dword [rdi + 0x1c]
cmp byte [r13 + 0x76], r15b
je 0x140016997
test byte [rdi + 0xc], 1
jne 0x140016997
mov rax, qword [rdi + 0x340]
movss xmm1, dword [r13 + 0x3b9c]
mulss xmm1, dword [rdi + 0x268]
test rax, rax
je 0x140016986
mulss xmm1, dword [rax + 0x268]
movss xmm0, dword [r13 + 0x37b8]
addss xmm0, xmm0
addss xmm0, xmm1
subss xmm2, dword [rdi + 0x18]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x14]
comiss xmm3, xmm0
ja 0x1400169b1
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [rdi + 0x10]
comiss xmm2, xmm0
ja 0x1400169c2
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
test r15d, r15d
je 0x1400169fe
movss xmm0, dword [r14 + 0x37a4]
jmp 0x140016a21
mov eax, r12d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x140016a18
movss xmm0, dword [r14 + 0x37ac]
jmp 0x140016a21
movss xmm0, dword [r14 + 0x3788]
xor cl, cl
movss dword [rdi + 0x48], xmm0
mov dword [rsp + 0x3c], ecx
cmp byte [rsp + 0x31], cl
je 0x140016c40
bt r12d, 0xc
jb 0x140016c40
test ebx, ebx
je 0x140016a4c
mov byte [rsp + 0x3c], 1
jmp 0x140016a60
cmp dword [rsp + 0x40], 0
mov edx, 1
movzx ecx, cl
cmove ecx, edx
mov dword [rsp + 0x3c], ecx
mov eax, dword [r13 + 0x4000]
sub eax, 1
js 0x140016c40
mov r8, qword [r13 + 0x4008]
movsxd r10, eax
add r8, 8
mov rdx, r10
lea r9, [r10 + r10*2]
shl r9, 4
add r8, r9
nop dword [rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x140016aa1
test dword [rcx + 0xc], 0x8000000
jne 0x140016ab0
sub r8, 0x30
sub rdx, 1
jns 0x140016a90
jmp 0x140016c40
mov r15, qword [rdi + 0x350]
mov rax, rdi
cmp r15, rcx
je 0x140016c40
cmp rax, rcx
je 0x140016c40
mov rax, qword [rax + 0x348]
test rax, rax
jne 0x140016ac3
mov byte [rsp + 0x3c], al
cmp rdi, r15
jne 0x140016c40
mov r8, qword [r13 + 0x4008]
add r8, 8
add r8, r9
mov rdx, qword [r8]
test rdx, rdx
je 0x140016b74
test dword [rdx + 0xc], 0x8000000
je 0x140016b74
cmp byte [rdx + 0x8e], 0
jne 0x140016b16
cmp byte [rdx + 0x8f], 0
je 0x140016b74
mov rax, rdi
cmp r15, rdx
je 0x140016b82
nop
cmp rax, rdx
je 0x140016b82
mov rax, qword [rax + 0x348]
test rax, rax
jne 0x140016b20
mov rax, qword [rdx + 0x348]
mov rcx, qword [rax + 0x350]
test rcx, rcx
je 0x140016b74
mov rax, rdi
cmp r15, rcx
je 0x140016b84
nop dword [rax]
cmp rax, rcx
je 0x140016b84
mov rax, qword [rax + 0x348]
test rax, rax
jne 0x140016b50
mov rax, qword [rcx + 0x348]
mov rcx, qword [rax + 0x350]
test rcx, rcx
jne 0x140016b44
sub r8, 0x30
sub r10, 1
jns 0x140016af3
xor edx, edx
mov r8, qword [rdx + 0x350]
mov rdx, qword [r13 + 0x3dd0]
movsxd rax, dword [r13 + 0x3dc8]
mov r9, rdx
lea rcx, [rdx + rax*8]
cmp rdx, rcx
jae 0x140016bb3
cmp qword [r9], r15
je 0x140016bb3
add r9, 8
cmp r9, rcx
jb 0x140016ba5
sub r9, rdx
mov rsi, rdx
sar r9, 3
cmp rdx, rcx
jae 0x140016bd0
cmp qword [rsi], r8
je 0x140016bd0
add rsi, 8
cmp rsi, rcx
jb 0x140016bc2
sub rsi, rdx
mov r10, rdx
sar rsi, 3
cmp r9d, esi
jge 0x140016c15
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 sub.VCRUNTIME140.dll_memmove
mov rax, qword [r13 + 0x3dd0]
movsxd rcx, esi
mov qword [rax + rcx*8 - 8], r15
jmp 0x140016c40
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 sub.VCRUNTIME140.dll_memmove
mov rax, qword [r13 + 0x3dd0]
mov qword [rax + rbx*8], r15
movss xmm1, dword [r14 + 0x3b98]
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xor r12d, r12d
mov dword [rbp + 8], 0xffffffff
movss xmm0, dword [rdi + 0x48]
movaps xmm2, xmm1
cmp byte [r14 + 0x75], r12b
addss xmm0, dword [0x14003e9a4]
mulss xmm1, dword [0x14003e958]
setne r12b
cmp byte [rdi + 0x91], 0
mulss xmm2, dword [0x14003e9a8]
addss xmm0, xmm1
maxss xmm2, xmm0
cvttss2si eax, xmm2
movd xmm13, eax
cvtdq2ps xmm13, xmm13
jne 0x140016cd9
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.140013f00
mov r13, qword [0x140046a38]
test al, al
je 0x140016cd9
mov cl, 1
movzx edx, cl
jmp 0x140016ce3
movzx edx, byte [rsp + 0x30]
movzx ecx, byte [rsp + 0x33]
cmp byte [rdi + 0x91], 0
movzx eax, byte [rbp + 8]
mov byte [rdi + 0x99], al
jne 0x140016e3a
cmp qword [rsp + 0x68], 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 0x140016d4f
mov qword [rbp - 0x80], 0
lea rax, [rbp - 0x80]
jmp 0x140016d79
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 0x140016d89
movaps xmm5, xmm2
test cl, cl
jne 0x140016d90
movaps xmm4, xmm3
mov r8d, dword [rsp + 0x34]
bt r8d, 0xe
jb 0x140016dab
comiss xmm1, xmm4
jbe 0x140016da7
test r8b, 8
je 0x140016dab
xor cl, cl
jmp 0x140016dad
mov cl, 1
mov byte [rdi + 0x8d], cl
lea rdx, [r14 + 0x37ec]
bt r8d, 0xf
jb 0x140016df4
test cl, cl
je 0x140016dcb
movss xmm0, dword [rdx]
jmp 0x140016dcf
movaps xmm0, xmm15
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x140016de7
mov eax, r8d
and eax, 0x808
cmp eax, 0x800
je 0x140016df4
mov byte [rdi + 0x8c], 0
movaps xmm1, xmm15
jmp 0x140016e1a
mov byte [rdi + 0x8c], 1
test cl, cl
jne 0x140016e16
comiss xmm1, xmm4
jbe 0x140016e0e
test r8b, 8
jne 0x140016e0e
mov cl, 1
jmp 0x140016e10
xor cl, cl
mov byte [rdi + 0x8d], cl
movss xmm1, dword [rdx]
test cl, cl
je 0x140016e24
movss xmm0, dword [rdx]
jmp 0x140016e28
movaps xmm0, xmm15
movss dword [rdi + 0x84], xmm0
movss dword [rdi + 0x88], xmm1
jmp 0x140016e3f
mov r8d, dword [rsp + 0x34]
mov esi, r8d
and esi, 0x5000000
cmp esi, 0x1000000
jne 0x140016e67
cmp dword [rsp + 0x40], 0x3000000
je 0x140016e67
mov rax, qword [rsp + 0x58]
add rax, 0x210
jmp 0x140016e6b
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 0x140016e94
movaps xmm2, xmm15
jmp 0x140016eca
mov rax, qword [rdi + 0x340]
movss xmm0, dword [r13 + 0x3b9c]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x140016eb9
mulss xmm0, dword [rax + 0x268]
movss xmm2, dword [r13 + 0x37b8]
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 [rdi + 0x20]
movss dword [rsp + 0x48], xmm5
mov eax, r8d
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 0x140016fe0
movss xmm12, dword [rdi + 0x4c]
jmp 0x140016fe9
movss xmm12, dword [r14 + 0x37c0]
movss xmm2, dword [0x14003e974]
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 0x1400170a7
movaps xmm1, xmm5
jmp 0x1400170ae
movaps xmm1, xmm7
minss xmm1, xmm0
comiss xmm6, xmm11
jbe 0x1400170b9
movaps xmm0, xmm6
jmp 0x1400170c1
movaps xmm0, xmm4
minss xmm0, xmm11
movss dword [r15], xmm0
movss dword [r15 + 4], xmm1
movss xmm0, dword [r15 + 0xc]
comiss xmm5, xmm0
ja 0x1400170de
minss xmm7, xmm0
movaps xmm5, xmm7
movss xmm0, dword [r15 + 8]
comiss xmm6, xmm0
jbe 0x1400170ee
movaps xmm4, xmm6
jmp 0x1400170f2
minss xmm4, xmm0
movss dword [r15 + 8], xmm4
movss dword [r15 + 0xc], xmm5
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm15
jbe 0x14001711c
test r8d, 0x2000040
jne 0x14001711c
mulss xmm0, dword [0x14003e97c]
jmp 0x14001712d
movss xmm0, dword [r14 + 0x3b98]
mulss xmm0, dword [0x14003ea48]
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.140019370
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 + 0x3b90]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.140028c20
mov rcx, qword [0x140046a38]
movaps xmm0, xmm6
unpckhpd xmm0, xmm6
xor r9d, r9d
movq r8, xmm0
movq rdx, xmm6
mov rax, qword [rcx + 0x3e28]
mov byte [rax + 0x90], 1
mov rbx, qword [rcx + 0x3e28]
mov rcx, qword [rbx + 0x270]
call fcn.140028b00
mov rax, qword [rbx + 0x270]
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
movss dword [rbx + 0x214], xmm0
movss dword [rbx + 0x218], xmm1
movss dword [rbx + 0x21c], xmm2
xor bl, bl
cmp esi, 0x1000000
jne 0x14001732d
cmp dword [rsp + 0x40], 0x3000000
je 0x14001732d
mov r9, qword [rsp + 0x58]
movsxd rax, dword [r9 + 0x168]
cmp eax, 2
jl 0x1400172f6
mov rcx, rax
mov rax, qword [r9 + 0x170]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x1400172f6
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 0x1400172f6
comiss xmm2, xmm5
jbe 0x1400172f6
comiss xmm3, xmm6
jbe 0x1400172f6
comiss xmm4, xmm7
jbe 0x1400172f6
mov r8b, 1
jmp 0x1400172f9
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 0x14001732d
mov rax, qword [r9 + 0x270]
cmp dword [rax + 0x20], 0
jle 0x14001732d
test r8b, r8b
jne 0x14001732d
mov bl, 1
mov qword [rdi + 0x270], rax
mov rax, qword [r14 + 0x41a0]
test rax, rax
jne 0x140017340
mov rax, qword [r14 + 0x4038]
mov esi, dword [rsp + 0x3c]
test sil, sil
jne 0x140017363
test rax, rax
je 0x14001735e
mov rax, qword [rax + 0x360]
cmp qword [rdi + 0x360], rax
je 0x140017363
xor r8b, r8b
jmp 0x140017366
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.140014d60
movaps xmm13, xmmword [rsp + 0x170]
test bl, bl
je 0x1400173a3
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 0x1400173fe
jne 0x1400173fe
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 0x1400173f4
movss xmm7, dword [rdi + 0x28]
maxss xmm7, xmm1
jmp 0x140017401
movaps xmm7, xmm15
maxss xmm7, xmm1
jmp 0x140017401
movaps xmm7, xmm5
movss xmm4, dword [rdi + 0x3c]
ucomiss xmm4, xmm15
jp 0x140017446
jne 0x140017446
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 0x14001743c
movss xmm6, dword [rdi + 0x2c]
maxss xmm6, xmm1
jmp 0x140017449
movaps xmm6, xmm15
maxss xmm6, xmm1
jmp 0x140017449
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 0x140017534
jne 0x140017534
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 0x140017567
jne 0x140017567
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, xmm3
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]
cvtps2pd xmm3, xmm6
movss dword [rdi + 0x118], xmm0
mov qword [rdi + 0x11c], rcx
cvtps2pd xmm0, xmm8
addsd xmm2, xmm0
xorps xmm0, xmm0
subsd xmm2, xmm1
cvtps2pd xmm1, xmm11
movaps xmm11, xmmword [rsp + 0x190]
addsd xmm2, xmm0
cvtps2pd xmm0, xmm9
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 + 0x37c4]
cmp byte [rsp + 0x31], cl
je 0x1400176ee
xor eax, eax
mov qword [rbx + 0x12], rax
cvttss2si eax, xmm0
mov rcx, rbx
mov word [rbx + 8], ax
call fcn.140036b20
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 0x140017741
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.1400203e0
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 0x14001777a
mov eax, dword [rax + 0x18c]
jmp 0x14001777c
mov eax, ecx
mov dword [rdi + 0x190], eax
mov eax, dword [rdi + 0x240]
mov dword [rdi + 0x194], eax
mov dword [rdi + 0x198], 0xbf800000
mov ecx, dword [rdi + 0x1a4]
test ecx, ecx
jns 0x1400177c2
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1a0]
test eax, eax
cmovg edx, eax
call fcn.140020b70
xor r8d, r8d
mov dword [rdi + 0x1a0], r8d
mov ecx, dword [rdi + 0x1b4]
test ecx, ecx
jns 0x1400177f3
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1b0]
test eax, eax
cmovg edx, eax
call fcn.140020b70
xor r8d, r8d
mov dword [rdi + 0x1b0], r8d
movzx eax, byte [rdi + 0xa8]
test al, al
jle 0x14001780d
dec al
mov byte [rdi + 0xa8], al
movzx eax, byte [rdi + 0xa9]
test al, al
jle 0x140017820
dec al
mov byte [rdi + 0xa9], al
test sil, sil
je 0x140017837
mov rcx, rdi
call fcn.140017d90
xor edx, edx
mov rcx, rdi
call fcn.14001b550
movss xmm8, dword [rsp + 0x54]
movss xmm7, dword [rsp + 0x50]
movss xmm6, dword [rsp + 0x4c]
movss xmm9, dword [rsp + 0x48]
test r12b, 1
jne 0x14001788e
mov r8, qword [rsp + 0x78]
lea rdx, [rbp + 0x10]
movaps xmm0, xmm9
movss dword [rbp + 0x14], xmm6
addss xmm0, dword [rdi + 0x4c]
movaps xmm1, xmm7
movss dword [rbp + 0x1c], xmm8
subss xmm1, dword [rdi + 0x4c]
mov rcx, rdi
movss dword [rbp + 0x10], xmm0
movss dword [rbp + 0x18], xmm1
call fcn.140015430
mov rbx, qword [0x140046a38]
xor esi, esi
mov dword [rdi + 0x230], esi
movss xmm1, dword [rbx + 0x37dc]
movss xmm0, dword [rbx + 0x37e0]
subss xmm9, xmm1
addss xmm7, xmm1
movss xmm1, dword [rbx + 0xd0c]
addss xmm8, xmm0
subss xmm6, xmm0
comiss xmm1, xmm9
movaps xmm9, xmmword [rsp + 0x1b0]
jb 0x1400178f1
movss xmm0, dword [rbx + 0xd10]
comiss xmm0, xmm6
jb 0x1400178f1
comiss xmm7, xmm1
jbe 0x1400178f1
comiss xmm8, xmm0
lea edx, [rsi + 1]
ja 0x1400178f3
mov edx, esi
mov eax, dword [rdi + 0x54]
mov ecx, dword [r14 + 0x3ed8]
movups xmm0, xmmword [rsp + 0x48]
mov dword [rbx + 0x3ef0], eax
mov eax, dword [rsp + 0x44]
movaps xmm8, xmmword [rsp + 0x1c0]
movaps xmm7, xmmword [rsp + 0x1d0]
movaps xmm6, xmmword [rsp + 0x1e0]
movups xmmword [rbx + 0x3efc], xmm0
mov dword [rbx + 0x3ef4], ecx
mov dword [rbx + 0x3ef8], edx
jmp 0x1400179ce
mov rbx, qword [0x140046a38]
mov qword [rbx + 0x3e28], rdi
movsxd rax, dword [rdi + 0x188]
cmp eax, 0xffffffff
je 0x140017967
imul rcx, rax, 0x208
add rcx, qword [rbx + 0x42b0]
jmp 0x14001796a
mov rcx, rsi
movss xmm0, dword [rbx + 0x3b9c]
mov qword [rbx + 0x4288], rcx
mov rax, qword [rdi + 0x340]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x140017995
mulss xmm0, dword [rax + 0x268]
mov r12d, dword [rsp + 0x34]
lea r13, [rdi + 0x1e8]
mov eax, r12d
movss dword [rbx + 0x3bb0], xmm0
and eax, 0x1000000
movss dword [rbx + 0x3b98], xmm0
mov ecx, r12d
mov dword [rsp + 0x44], eax
and ecx, 0x40
lea r15, [rdi + 0x1e0]
mov dword [rsp + 0x70], ecx
test eax, eax
je 0x1400179df
mov rbx, qword [rsp + 0x58]
mov esi, dword [rbx + 0x134]
jmp 0x140017a3f
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.14000d0b0
mov esi, eax
cmp dword [rbx + 0x3e74], eax
jne 0x140017a10
mov dword [rbx + 0x3e78], eax
cmp dword [rbx + 0x3ec0], eax
jne 0x140017a1f
mov byte [rbx + 0x3ec4], 1
cmp dword [rbx + 0x3e5c], eax
jne 0x140017a3a
lea r8, str.FOCUSSCOPE
mov edx, 0xb
mov ecx, eax
call fcn.14001fa60
mov rbx, qword [rsp + 0x58]
mov r8b, 1
mov dword [rdi + 0x134], esi
mov rdx, r13
mov rcx, r15
call fcn.140011ef0
mov r13, qword [rsp + 0x1f0]
xor eax, eax
mov rsi, qword [rsp + 0x238]
mov byte [rdi + 0x90], 0
inc word [rdi + 0x9a]
mov dword [r14 + 0x3f30], eax
mov eax, dword [rsp + 0x60]
cmp eax, dword [rsp + 0x64]
je 0x140017be0
cmp dword [rsp + 0x44], 0
je 0x140017b4d
cmp dword [rsp + 0x70], 0
jne 0x140017b16
cmp byte [rdi + 0xa8], 0
jg 0x140017b16
cmp byte [rdi + 0xa9], 0
jg 0x140017b16
bt r12d, 0x17
jae 0x140017add
cmp byte [r14 + 0x407c], 0
je 0x140017add
mov rcx, qword [r14 + 0x4038]
test rcx, rcx
je 0x140017add
mov rax, qword [rdi + 0x368]
cmp qword [rcx + 0x368], rax
jne 0x140017add
mov al, 1
jmp 0x140017adf
xor al, al
cmp byte [r14 + 0x534c], 0
jne 0x140017b16
test al, al
jne 0x140017b16
movss xmm0, dword [rdi + 0x1c0]
comiss xmm0, dword [rdi + 0x1c8]
jae 0x140017b0f
movss xmm0, dword [rdi + 0x1c4]
comiss xmm0, dword [rdi + 0x1cc]
jb 0x140017b16
mov byte [rdi + 0xb0], 1
test rbx, rbx
je 0x140017b4d
cmp byte [rbx + 0x91], 0
jne 0x140017b2d
cmp byte [rbx + 0xb0], 0
jle 0x140017b34
mov byte [rdi + 0xb0], 1
cmp byte [rbx + 0x91], 0
jne 0x140017b46
cmp byte [rbx + 0xb1], 0
jle 0x140017b4d
mov byte [rdi + 0xb1], 1
comiss xmm15, dword [r14 + 0x3778]
jb 0x140017b5e
mov byte [rdi + 0xb0], 1
cmp byte [rdi + 0xb0], 0
jg 0x140017b7e
cmp byte [rdi + 0xb1], 0
jg 0x140017b7e
xor cl, cl
cmp byte [rdi + 0xb2], cl
jg 0x140017b80
xor al, al
jmp 0x140017b82
mov cl, 1
mov al, 1
mov byte [rdi + 0x95], al
movzx eax, byte [rdi + 0xb3]
test al, al
jle 0x140017ba2
dec al
mov byte [rdi + 0xb3], al
or dword [rdi + 0xc], 0xc0200
xor al, al
cmp byte [rdi + 0x91], al
jne 0x140017bb8
cmp byte [rdi + 0x8e], al
je 0x140017bb8
test cl, cl
je 0x140017bda
cmp byte [rdi + 0xa8], al
jg 0x140017bda
cmp byte [rdi + 0xa9], al
jg 0x140017bda
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.1400373e0
movaps xmm15, xmmword [rsp + 0x150]
add rsp, 0x1f8
pop r15
pop r14
pop r12
pop rdi
pop rbx
pop rbp
ret