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

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
lea rbp, [r11 - 0x128]
sub rsp, 0x210
mov rax, qword [0x14009f040]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rsi, qword [0x14016b5b0]
mov r10d, 0xffffffff
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov r14d, r8d
mov qword [r11 - 0x38], r15
vmovaps xmmword [r11 - 0xa8], xmm12
mov r11, rcx
mov qword [rsp + 0x78], rcx
mov ecx, r10d
movzx r9d, byte [r11]
lea r8, [r11 + 1]
test r9b, r9b
je 0x14001601f
lea rbx, [0x1400898f0]
nop
cmp r9b, 0x23
jne 0x140016003
cmp byte [r8], r9b
jne 0x140016003
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 [rbx + rdx*4]
test r9b, r9b
jne 0x140015ff0
not ecx
call fcn.1400137d0
test rax, rax
mov qword [rsp + 0x60], rax
mov rdi, rax
sete dl
mov byte [rsp + 0x40], dl
test rax, rax
jne 0x140016050
mov edx, r14d
mov rcx, r11
call fcn.140013b60
movzx edx, byte [rsp + 0x40]
mov rdi, rax
mov ecx, r14d
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x140016065
or r14d, 6
cmp dword [rsi + 0x3ec8], 0
mov r12d, dword [rsi + 0x3e50]
mov r9d, dword [rdi + 0x260]
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x54], r9d
jne 0x140016093
cmp byte [rsi + 0x3e5d], 0
je 0x140016093
mov al, 1
jmp 0x140016095
xor al, al
mov byte [rdi + 0xbe], al
lea eax, [r12 - 1]
cmp r9d, eax
setl r8b
mov byte [rsp + 0x42], r8b
bt r14d, 0x1a
jae 0x1400160e1
movsxd rax, dword [rsi + 0x48b0]
imul rax, rax, 0x38
add rax, qword [rsi + 0x48a8]
cmp rdi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rdi + 0xcc], eax
setne al
or cl, al
or r8b, cl
mov byte [rsp + 0x42], r8b
mov byte [rdi + 0xbc], r8b
test r8b, r8b
je 0x140016102
or byte [rdi + 0xdc], 8
or byte [rdi + 0xdd], 8
or byte [rdi + 0xde], 8
xor ebx, ebx
cmp r9d, r12d
je 0x140016155
mov r8d, r14d
mov rcx, rdi
call fcn.140013850
mov r9d, dword [rsp + 0x54]
mov dword [rdi + 0x14], r14d
mov dword [rdi + 0x260], r12d
vmovsd xmm0, qword [rsi + 0x3e48]
mov word [rdi + 0xc6], bx
vcvtpd2ps xmm0, xmm0
vmovss dword [rdi + 0x264], xmm0
movzx eax, word [rsi + 0x3ee8]
inc dword [rsi + 0x3ee8]
mov word [rdi + 0xc8], ax
jmp 0x140016159
mov r14d, dword [rdi + 0x14]
movsxd rax, dword [rsi + 0x3ec8]
test eax, eax
jne 0x140016169
mov r15, rbx
jmp 0x140016179
imul rcx, rax, 0x58
mov rax, qword [rsi + 0x3ed0]
mov r15, qword [rcx + rax - 0x58]
cmp r9d, r12d
je 0x14001618e
test r14d, 0x5000000
mov r13, rbx
cmovne r13, r15
jmp 0x140016195
mov r13, qword [rdi + 0x368]
lea rbx, [rdi + 0xf0]
mov qword [rsp + 0x68], r13
cmp dword [rbx], 0
mov edx, 8
jne 0x1400161cd
cmp dword [rbx + 4], 0
jne 0x1400161b9
mov rcx, rbx
call fcn.1400252f0
movsxd rdx, dword [rbx]
mov eax, dword [rdi + 0x10]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
mov edx, 8
inc dword [rbx]
mov eax, dword [rsi + 0x47cc]
vmovups xmm1, xmmword [rsi + 0x47b4]
mov dword [rbp - 0x20], eax
mov qword [rsi + 0x3ef8], rdi
movzx eax, word [rbx]
lea rbx, [rsi + 0x3ec8]
mov r8d, dword [rbx + 4]
mov ecx, dword [rbx]
mov qword [rbp - 0x60], rdi
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x1c], xmm0
mov word [rbp - 0x1c], ax
movzx eax, word [rsi + 0x4840]
mov word [rbp - 0x1a], ax
movzx eax, word [rsi + 0x4850]
mov word [rbp - 0x18], ax
movzx eax, word [rsi + 0x4860]
mov word [rbp - 0x16], ax
movzx eax, word [rsi + 0x4870]
mov word [rbp - 0x14], ax
movzx eax, word [rsi + 0x4890]
mov word [rbp - 0x12], ax
movzx eax, word [rsi + 0x4880]
mov word [rbp - 0x10], ax
movzx eax, word [rsi + 0x48b0]
mov word [rbp - 0xe], ax
movzx eax, word [rsi + 0x5bc0]
mov word [rbp - 0xc], ax
vmovups ymm0, ymmword [rsi + 0x4794]
vmovups ymmword [rbp - 0x58], ymm0
vmovsd xmm0, qword [rsi + 0x47c4]
vmovups xmmword [rbp - 0x38], xmm1
vmovsd qword [rbp - 0x28], xmm0
cmp ecx, r8d
jne 0x1400162aa
inc ecx
test r8d, r8d
je 0x140016296
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140016298
mov eax, edx
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
vzeroupper
call fcn.1400250a0
movsxd rax, dword [rbx]
vmovups ymm0, ymmword [rbp - 0x60]
vmovups ymm1, ymmword [rbp - 0x40]
imul rcx, rax, 0x58
mov rax, qword [rbx + 8]
vmovups ymmword [rcx + rax], ymm0
vmovups xmm0, xmmword [rbp - 0x20]
vmovups ymmword [rcx + rax + 0x20], ymm1
vmovsd xmm1, qword [rbp - 0x10]
vmovups xmmword [rcx + rax + 0x40], xmm0
vmovsd qword [rcx + rax + 0x50], xmm1
inc dword [rbx]
bt r14d, 0x1c
jae 0x1400162ef
inc dword [rsi + 0x48c0]
cmp dword [rsp + 0x54], r12d
je 0x1400163a1
mov qword [rdi + 0x368], r13
mov qword [rdi + 0x390], rdi
mov qword [rdi + 0x388], rdi
mov qword [rdi + 0x380], rdi
mov qword [rdi + 0x378], rdi
test r13, r13
je 0x140016372
mov eax, r14d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x14001633f
mov rax, qword [r13 + 0x378]
mov qword [rdi + 0x378], rax
bt r14d, 0x1a
jae 0x140016354
mov rax, qword [r13 + 0x380]
mov qword [rdi + 0x380], rax
bt r14d, 0x1b
jb 0x140016372
test r14d, 0x5000000
je 0x140016372
mov rax, qword [r13 + 0x388]
mov qword [rdi + 0x388], rax
test dword [rdi + 0x14], 0x800000
je 0x14001639a
mov rcx, rdi
nop
mov rax, qword [rcx + 0x368]
mov qword [rdi + 0x390], rax
mov rcx, rax
test dword [rax + 0x14], 0x800000
jne 0x140016380
mov qword [rdi + 0x370], r15
mov r13, qword [0x14016b5b0]
mov r12d, dword [rdi + 0x10]
lea rbx, [r13 + 0x4870]
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x1400163ea
inc r8d
test ecx, ecx
je 0x1400163d0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400163d5
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
vzeroupper
call fcn.1400252f0
movsxd rcx, dword [rbx]
xor r10d, r10d
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], r12d
inc dword [rbx]
mov dword [r13 + 0x4774], r12d
mov eax, dword [rsi + 0x4774]
mov dword [rdi + 0x3d8], eax
mov qword [rsi + 0x3ef8], r10
bt r14d, 0x1a
jae 0x140016458
movsxd rax, dword [rsi + 0x48b0]
lea rcx, [rsi + 0x48b0]
imul rbx, rax, 0x38
add rbx, qword [rsi + 0x48a8]
mov rdx, rbx
mov qword [rbx + 8], rdi
mov eax, dword [r15 + 0x158]
mov dword [rbx + 0x18], eax
vzeroupper
call fcn.140024660
mov eax, dword [rbx]
xor r10d, r10d
mov dword [rdi + 0xcc], eax
xor r13b, r13b
mov byte [rsp + 0x41], 0
xor r12b, r12b
mov byte [rsp + 0x43], r13b
test byte [rsi + 0x47d0], 1
je 0x140016500
movsx ecx, byte [rdi + 0xdc]
mov r8d, dword [rsi + 0x47d4]
test r8d, ecx
setne byte [rsp + 0x41]
test r8d, ecx
je 0x1400164ee
vmovss xmm0, dword [rsi + 0x47e8]
vmovss xmm1, dword [rsi + 0x47ec]
vmulss xmm2, xmm0, xmm0
vfmadd231ss xmm2, xmm1, xmm1
vcomiss xmm2, dword [0x140090cbc]
jbe 0x1400164ee
vmovsd xmm0, qword [rsi + 0x47e0]
mov eax, dword [rdi + 0xdc]
and ecx, 0xf1
and eax, 0xffffff00
vmovsd qword [rdi + 0xe0], xmm0
vmovsd xmm1, qword [rsi + 0x47e8]
or ecx, eax
mov dword [rdi + 0xdc], ecx
vmovsd qword [rdi + 0xe8], xmm1
jmp 0x140016500
lea rdx, [rsi + 0x47e0]
mov rcx, rdi
vzeroupper
call fcn.140018b80
test byte [rsi + 0x47d0], 2
vxorps xmm12, xmm12, xmm12
je 0x140016558
movsx eax, byte [rdi + 0xdd]
mov r8d, dword [rsi + 0x47d8]
and eax, r8d
je 0x140016530
vcomiss xmm12, dword [rsi + 0x47f0]
jae 0x140016530
mov r12b, 1
jmp 0x140016534
test eax, eax
je 0x140016541
vcomiss xmm12, dword [rsi + 0x47f4]
jae 0x140016541
mov r13b, 1
mov byte [rsp + 0x43], r13b
lea rdx, [rsi + 0x47f0]
mov rcx, rdi
vzeroupper
call fcn.140018ce0
test byte [rsi + 0x47d0], 0x80
je 0x14001659d
vmovss xmm0, dword [rsi + 0x4800]
vcomiss xmm0, xmm12
jb 0x14001657f
vmovss dword [rdi + 0x94], xmm0
mov dword [rdi + 0x9c], r10d
vmovss xmm0, dword [rsi + 0x4804]
vcomiss xmm0, xmm12
jb 0x14001659d
vmovss dword [rdi + 0x98], xmm0
mov dword [rdi + 0xa0], r10d
test byte [rsi + 0x47d0], 4
mov ebx, dword [rsp + 0x58]
mov r15d, dword [rsp + 0x54]
je 0x1400165be
vmovsd xmm0, qword [rsi + 0x47f8]
vmovsd qword [rdi + 0x48], xmm0
jmp 0x1400165cb
cmp r15d, ebx
je 0x1400165cb
mov qword [rdi + 0x48], 0
test byte [rsi + 0x47d0], 8
je 0x140016619
mov ecx, dword [rsi + 0x47dc]
movzx edx, byte [rsi + 0x4808]
test ecx, ecx
je 0x1400165f0
movsx eax, byte [rdi + 0xde]
test ecx, eax
je 0x140016619
movzx ecx, byte [rdi + 0xde]
mov eax, dword [rdi + 0xdc]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [rdi + 0xb9], dl
mov dword [rdi + 0xdc], ecx
test byte [rsi + 0x47d0], 0x20
je 0x14001662f
xor edx, edx
mov rcx, rdi
vzeroupper
call fcn.1400183a0
cmp byte [rdi + 0xbc], 0
je 0x14001664d
and byte [rdi + 0xdc], 0xf7
and byte [rdi + 0xdd], 0xf7
and byte [rdi + 0xde], 0xf7
mov r8d, 1
cmp r15d, ebx
je 0x140017ea4
vmovaps xmmword [rsp + 0x1e0], xmm6
mov eax, r14d
vmovaps xmmword [rsp + 0x1d0], xmm7
and eax, 0x3000000
vmovaps xmmword [rsp + 0x1c0], xmm8
vmovaps xmmword [rsp + 0x1b0], xmm9
vmovaps xmmword [rsp + 0x1a0], xmm10
vmovaps xmmword [rsp + 0x190], xmm11
vmovaps xmmword [rsp + 0x170], xmm13
vmovaps xmmword [rsp + 0x160], xmm14
mov byte [rdi + 0xb6], r8b
mov byte [rdi + 0xc0], 0
vmovaps xmmword [rsp + 0x150], xmm15
mov dword [rsp + 0x48], eax
movzx eax, byte [rdi + 0xd9]
mov dword [rdi + 0x238], 0xff7fffff
mov dword [rdi + 0x23c], 0xff7fffff
mov dword [rdi + 0x240], 0x7f7fffff
mov dword [rdi + 0x244], 0x7f7fffff
mov ecx, dword [rdi + 0xf4]
mov byte [rsp + 0x44], al
cmp ecx, r8d
jge 0x140016737
test ecx, ecx
je 0x140016714
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140016719
mov eax, 8
cmp eax, r8d
lea rcx, [rdi + 0xf0]
mov edx, r8d
cmovg edx, eax
vzeroupper
call fcn.1400252f0
mov r8d, 1
mov dword [rdi + 0xf0], r8d
mov rcx, qword [rdi + 0x298]
vzeroupper
call fcn.14002cea0
cmp byte [rdi + 0x3e4], 0
mov dword [rdi + 0x1b0], 0xffffffff
je 0x14001679c
mov rcx, qword [rdi + 0x298]
mov edx, dword [rdi + 0x3dc]
add rcx, 0x10
mov byte [rdi + 0x3e4], 0
call fcn.140024e60
mov rcx, qword [rdi + 0x298]
mov edx, dword [rdi + 0x3e0]
add rcx, 0x20
call fcn.140024c00
xor ebx, ebx
mov qword [rdi + 0x3dc], rbx
cmp qword [rsi + 0x4a70], 0
mov r9, qword [rsp + 0x60]
je 0x140016875
test dword [rdi + 0x14], 0x80000
jne 0x140016875
test r9, r9
je 0x140016875
mov r10, qword [rsp + 0x78]
mov r9, qword [rdi + 8]
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 0x1400167f3
inc rax
test ecx, ecx
jne 0x1400167e0
test edx, edx
je 0x140016870
movsxd r15, dword [rdi + 0x78]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x140016802
inc rbx
cmp r15, rbx
jae 0x14001685a
test r9, r9
je 0x14001682b
mov rax, qword [0x14016b5b0]
test rax, rax
je 0x14001682b
dec dword [rax + 0xf4]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14016b5b0]
test rax, rax
je 0x140016846
inc dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r10, qword [rsp + 0x78]
mov r15, rbx
mov r9, rax
mov r8, rbx
mov rdx, r10
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi + 8], rax
mov dword [rdi + 0x78], r15d
mov r9, qword [rsp + 0x60]
lea r8, [rdi + 0x40]
mov rcx, rdi
lea rdx, [rdi + 0x38]
call fcn.140013fb0
movzx eax, byte [rdi + 0xd8]
test al, al
jle 0x140016898
dec al
mov byte [rdi + 0xd8], al
movzx eax, byte [rdi + 0xd9]
test al, al
jle 0x1400168ab
dec al
mov byte [rdi + 0xd9], al
movzx eax, byte [rdi + 0xda]
test al, al
jle 0x1400168be
dec al
mov byte [rdi + 0xda], al
test r9, r9
jne 0x1400168d4
test r12b, r12b
je 0x1400168cd
test r13b, r13b
jne 0x1400168d4
mov byte [rdi + 0xd9], 1
xor r9d, r9d
cmp byte [rsp + 0x42], r9b
je 0x14001691e
test r14d, 0x6000000
je 0x14001691e
mov byte [rdi + 0xd9], 1
test r14b, 0x40
je 0x14001691e
test r12b, r12b
jne 0x140016901
mov dword [rdi + 0x30], r9d
mov dword [rdi + 0x28], r9d
test r13b, r13b
jne 0x14001690e
mov dword [rdi + 0x34], r9d
mov dword [rdi + 0x2c], r9d
mov qword [rdi + 0x40], 0
mov qword [rdi + 0x38], 0
mov rdx, qword [0x14016b5b0]
mov rax, qword [rdx + 0x48d0]
mov r15, qword [rax]
mov qword [rdi + 0x18], r15
mov qword [rdx + 0x3ef8], rdi
movsxd rax, dword [rdi + 0x1b0]
cmp eax, 0xffffffff
je 0x140016956
imul rcx, rax, 0x238
add rcx, qword [rdx + 0x4b80]
jmp 0x140016959
mov rcx, r9
mov qword [rdx + 0x4b58], rcx
mov rax, qword [rdi]
vmovss xmm0, dword [rax + 0x3c24]
mov rax, qword [rdi + 0x368]
vmulss xmm1, xmm0, dword [rdi + 0x290]
test rax, rax
je 0x140016987
vmulss xmm1, xmm1, dword [rax + 0x290]
vmovss dword [rdx + 0x3c38], xmm1
vmovss dword [rdx + 0x3c20], xmm1
test rcx, rcx
jne 0x1400169a9
cmp qword [rdi + 0x1a8], rcx
jne 0x1400169a9
mov al, 1
jmp 0x1400169ab
xor al, al
mov byte [rdi + 0x160], al
bt r14d, 0x18
jae 0x1400169c2
vmovss xmm1, dword [rsi + 0x3800]
jmp 0x1400169e4
test r14d, 0x6000000
je 0x1400169dc
bt r14d, 0x1b
jb 0x1400169dc
vmovss xmm1, dword [rsi + 0x3808]
jmp 0x1400169e4
vmovss xmm1, dword [rsi + 0x37e4]
mov rax, rdi
vmovss dword [rax + 0x5c], xmm1
vmovsd xmm0, qword [rsi + 0x37d8]
mov eax, r14d
and eax, 0x5010000
vmovsd qword [rdi + 0x50], xmm0
cmp eax, 0x1000000
jne 0x140016a2e
vucomiss xmm1, xmm12
jne 0x140016a2e
bt r14d, 0xa
jae 0x140016a20
vmovss xmm0, dword [rsi + 0x37dc]
jmp 0x140016a25
vmovaps xmm0, xmm12
vmovss dword [rdi + 0x54], xmm0
mov dword [rdi + 0x50], r9d
movzx r13d, byte [rsp + 0x40]
vmovss xmm0, dword [rsi + 0x381c]
vmaxss xmm1, xmm0, dword [rdi + 0x50]
vmaxss xmm2, xmm1, dword [rsi + 0x4834]
vmovss dword [rdi + 0x164], xmm2
mov eax, dword [rsi + 0x4838]
mov dword [rdi + 0x168], eax
test r14b, 0x21
jne 0x140016bae
test byte [rdi + 0x14], 1
mov rcx, qword [rdi]
je 0x140016a77
vmovaps xmm0, xmm12
jmp 0x140016aab
mov rax, qword [rdi + 0x368]
vmovss xmm0, dword [rcx + 0x3c24]
vmulss xmm2, xmm0, dword [rdi + 0x290]
test rax, rax
je 0x140016a9b
vmulss xmm2, xmm2, dword [rax + 0x290]
vmovss xmm0, dword [rcx + 0x3810]
vaddss xmm1, xmm0, xmm0
vaddss xmm0, xmm1, xmm2
vmovss xmm1, dword [rdi + 0x20]
vaddss xmm2, xmm1, dword [rdi + 0x30]
vaddss xmm4, xmm0, dword [rdi + 0x24]
cmp qword [rsi + 0x3f00], rdi
jne 0x140016b6a
cmp dword [rsi + 0x3f44], 0
jne 0x140016b6a
cmp dword [rsi + 0x3f48], 0
jne 0x140016b6a
mov rax, qword [rdx + 0x3ef8]
vminss xmm3, xmm2, dword [rax + 0x240]
vmovss xmm2, dword [rdx + 0x3834]
vmaxss xmm6, xmm1, dword [rax + 0x238]
vmovss xmm1, dword [rax + 0x244]
vmovss xmm0, dword [rax + 0x23c]
vmaxss xmm5, xmm0, dword [rdi + 0x24]
vmovss xmm0, dword [rdx + 0x3838]
vminss xmm4, xmm1, xmm4
vsubss xmm1, xmm6, xmm2
vaddss xmm7, xmm3, xmm2
vmovss xmm2, dword [rdx + 0xe08]
vcomiss xmm2, xmm1
vaddss xmm4, xmm4, xmm0
vsubss xmm3, xmm5, xmm0
jb 0x140016b6a
vmovss xmm0, dword [rdx + 0xe0c]
vcomiss xmm0, xmm3
jb 0x140016b6a
vcomiss xmm2, xmm7
jae 0x140016b6a
vcomiss xmm0, xmm4
jae 0x140016b6a
cmp word [rsi + 0x3752], 2
jne 0x140016b6a
mov byte [rdi + 0xba], 1
cmp byte [rdi + 0xba], 0
je 0x140016bb5
movzx ecx, byte [rdi + 0xb9]
test cl, cl
sete al
test cl, cl
mov ecx, 1
mov byte [rdi + 0xb9], al
cmovne r13d, ecx
test dword [rdi + 0x14], 0x100
jne 0x140016bb5
vcomiss xmm12, dword [rdx + 0x5c0c]
jb 0x140016bb5
mov eax, dword [rdx + 0x1c]
mov dword [rdx + 0x5c0c], eax
jmp 0x140016bb5
mov byte [rdi + 0xb9], 0
mov r8d, dword [rdi + 0x14]
mov rcx, qword [rdi]
mov byte [rdi + 0xba], 0
mov dword [rdi + 0x60], r9d
mov dword [rdi + 0x68], r9d
vmovss xmm13, dword [rdi + 0xac]
vmovss xmm14, dword [rdi + 0xb0]
test r8b, 1
je 0x140016be8
vmovaps xmm3, xmm12
jmp 0x140016c1c
mov rdx, qword [rdi + 0x368]
vmovss xmm0, dword [rdi + 0x290]
vmulss xmm2, xmm0, dword [rcx + 0x3c24]
test rdx, rdx
je 0x140016c0c
vmulss xmm2, xmm2, dword [rdx + 0x290]
vmovss xmm0, dword [rcx + 0x3810]
vaddss xmm1, xmm0, xmm0
vaddss xmm3, xmm1, xmm2
bt r8d, 0xa
jae 0x140016c61
mov rax, qword [rdi + 0x368]
vmovss xmm0, dword [rdi + 0x290]
vmulss xmm1, xmm0, dword [rcx + 0x3c24]
test rax, rax
je 0x140016c47
vmulss xmm1, xmm1, dword [rax + 0x290]
vmovss xmm0, dword [rcx + 0x3810]
vaddss xmm1, xmm1, dword [rdi + 0x168]
vaddss xmm0, xmm0, xmm0
vaddss xmm2, xmm1, xmm0
jmp 0x140016c66
vmovaps xmm2, xmm12
vaddss xmm0, xmm2, xmm3
lea r8, [rdi + 0x40]
mov dword [rdi + 0x6c], r9d
mov rdx, rdi
mov qword [rdi + 0xac], 0
lea rcx, [rbp]
vmovss dword [rdi + 0x64], xmm0
call fcn.1400140c0
test r14b, 0x40
je 0x140016cce
cmp byte [rdi + 0xb9], 0
jne 0x140016cce
test r12b, r12b
jne 0x140016cb1
vmovss xmm0, dword [rbp]
vmovss dword [rdi + 0x30], xmm0
mov byte [rsp + 0x40], 1
cmp byte [rsp + 0x43], 0
jne 0x140016d71
vmovss xmm0, dword [rbp + 4]
vmovss dword [rdi + 0x34], xmm0
mov r13b, 1
jmp 0x140016d71
movzx eax, byte [rdi + 0xd0]
test al, al
jg 0x140016ce6
cmp byte [rdi + 0xd1], 0
jle 0x140016d71
test r12b, r12b
jne 0x140016d13
test al, al
jle 0x140016d13
cmp byte [rdi + 0xd3], r12b
je 0x140016d04
vmovss xmm0, dword [rdi + 0x30]
vmaxss xmm1, xmm0, dword [rbp]
jmp 0x140016d09
vmovss xmm1, dword [rbp]
vmovss dword [rdi + 0x30], xmm1
mov byte [rsp + 0x40], 1
cmp byte [rsp + 0x43], 0
jne 0x140016d45
cmp byte [rdi + 0xd1], 0
jle 0x140016d45
cmp byte [rdi + 0xd3], 0
je 0x140016d38
vmovss xmm0, dword [rdi + 0x34]
vmaxss xmm1, xmm0, dword [rbp + 4]
jmp 0x140016d3d
vmovss xmm1, dword [rbp + 4]
vmovss dword [rdi + 0x34], xmm1
mov r13b, 1
cmp byte [rdi + 0xb9], 0
jne 0x140016d71
test dword [rdi + 0x14], 0x100
mov rcx, qword [0x14016b5b0]
jne 0x140016d71
vcomiss xmm12, dword [rcx + 0x5c0c]
jb 0x140016d71
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x5c0c], eax
lea r8, [rdi + 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140013d60
cmp byte [rdi + 0xb9], 0
vmovss xmm3, dword [rax]
vmovss xmm0, dword [rax + 4]
vmovss dword [rdi + 0x30], xmm3
vmovss dword [rdi + 0x34], xmm0
je 0x140016e0a
bt r14d, 0x18
jb 0x140016e0a
test byte [rdi + 0x14], 1
mov rcx, qword [rdi]
je 0x140016db4
vmovaps xmm1, xmm12
jmp 0x140016de8
mov rax, qword [rdi + 0x368]
vmovss xmm0, dword [rcx + 0x3c24]
vmulss xmm2, xmm0, dword [rdi + 0x290]
test rax, rax
je 0x140016dd8
vmulss xmm2, xmm2, dword [rax + 0x290]
vmovss xmm0, dword [rcx + 0x3810]
vaddss xmm1, xmm0, xmm0
vaddss xmm1, xmm1, xmm2
vaddss xmm0, xmm3, dword [rdi + 0x20]
vaddss xmm1, xmm1, dword [rdi + 0x24]
vsubss xmm0, xmm0, dword [rdi + 0x20]
vsubss xmm1, xmm1, dword [rdi + 0x24]
vmovss dword [rsp + 0x4c], xmm0
vmovss dword [rsp + 0x50], xmm1
jmp 0x140016e15
vmovsd xmm0, qword [rdi + 0x30]
vmovsd qword [rsp + 0x4c], xmm0
cmp byte [rsp + 0x42], 0
lea rax, [rsp + 0x4c]
vmovsd xmm0, qword [rax]
vmovsd qword [rdi + 0x28], xmm0
je 0x140016e72
mov eax, r14d
mov dword [rdi + 0xd4], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x140016e72
cmp byte [rsp + 0x41], 0
jne 0x140016e72
movsxd rax, dword [rsi + 0x48b0]
imul rcx, rax, 0x38
mov rax, qword [rsi + 0x48b8]
vmovss xmm0, dword [rcx + rax - 0x14]
vmovss xmm1, dword [rcx + rax - 0x10]
vmovss dword [rdi + 0x20], xmm0
vmovss dword [rdi + 0x24], xmm1
bt r14d, 0x18
jae 0x140016f01
mov r12, qword [rsp + 0x68]
lea rbx, [r12 + 0x190]
movzx eax, word [rbx]
mov word [rdi + 0xc6], ax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x140016ec8
inc r8d
test ecx, ecx
je 0x140016eb1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140016eb6
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.1400249b0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
movzx ebx, byte [rsp + 0x41]
mov eax, dword [rsp + 0x48]
bt r14d, 0x1a
jb 0x140016f0a
test bl, bl
jne 0x140016f0a
cmp eax, 0x3000000
je 0x140016f0a
vmovsd xmm0, qword [r12 + 0x100]
vmovsd qword [rdi + 0x20], xmm0
jmp 0x140016f0a
movzx ebx, byte [rsp + 0x41]
mov eax, dword [rsp + 0x48]
vmovss xmm1, dword [rdi + 0xe0]
vucomiss xmm1, dword [0x14009109c]
je 0x140016f67
cmp byte [rdi + 0xd9], 0
jne 0x140016f67
vmovss xmm0, dword [rdi + 0x28]
vfnmadd231ss xmm1, xmm0, dword [rdi + 0xe8]
vmovss xmm0, dword [rdi + 0xec]
vmovss xmm2, dword [rdi + 0x2c]
vfnmadd213ss xmm2, xmm0, dword [rdi + 0xe4]
xor r8d, r8d
lea rdx, [rsp + 0x4c]
mov rcx, rdi
vmovss dword [rsp + 0x50], xmm2
vmovss dword [rsp + 0x4c], xmm1
call fcn.140018b80
jmp 0x140016fb1
bt r14d, 0x1c
jb 0x140016f91
bt r14d, 0x1a
jae 0x140016f7f
test bl, bl
jne 0x140016f7f
cmp byte [rsp + 0x44], bl
jg 0x140016f91
bt r14d, 0x19
jae 0x140016fb1
test bl, bl
jne 0x140016fb1
cmp eax, 0x3000000
je 0x140016fb1
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call fcn.14001d790
vmovss xmm1, dword [rax + 4]
vmovss xmm0, dword [rax]
vmovss dword [rdi + 0x20], xmm0
vmovss dword [rdi + 0x24], xmm1
vmovss xmm5, dword [r15 + 0x18]
vmovss xmm4, dword [r15 + 0x14]
vmovss xmm6, dword [r15 + 4]
vmovss xmm7, dword [r15 + 8]
vaddss xmm8, xmm6, dword [r15 + 0xc]
vaddss xmm9, xmm7, dword [r15 + 0x10]
vmovss xmm1, dword [rsi + 0x388c]
vmaxss xmm2, xmm1, dword [rsi + 0x3894]
vaddss xmm1, xmm5, dword [r15 + 0x20]
vmovss xmm0, dword [rsi + 0x3890]
vmaxss xmm3, xmm0, dword [rsi + 0x3898]
vaddss xmm0, xmm4, dword [r15 + 0x1c]
vsubss xmm10, xmm1, xmm3
vaddss xmm3, xmm3, xmm5
vsubss xmm11, xmm0, xmm2
vaddss xmm4, xmm2, xmm4
vmovss dword [rbp + 0x24], xmm3
vmovss dword [rbp + 8], xmm6
vmovss dword [rbp + 0xc], xmm7
vmovss dword [rbp + 0x10], xmm8
vmovss dword [rbp + 0x14], xmm9
vmovss dword [rbp + 0x20], xmm4
vmovss dword [rbp + 0x28], xmm11
vmovss dword [rbp + 0x2c], xmm10
test bl, bl
jne 0x1400170e5
bt r14d, 0x18
jb 0x1400170e5
vsubss xmm0, xmm8, xmm6
vcomiss xmm0, xmm12
jbe 0x1400170e5
vsubss xmm0, xmm9, xmm7
vcomiss xmm0, xmm12
jbe 0x1400170e5
mov rax, qword [0x14016b5b0]
vmovss xmm1, dword [rdi + 0x2c]
cmp byte [rax + 0x7f], bl
je 0x1400170b4
test byte [rdi + 0x14], 1
jne 0x1400170b4
mov rcx, qword [rdi]
mov rax, qword [rdi + 0x368]
vmovss xmm0, dword [rcx + 0x3c24]
vmulss xmm2, xmm0, dword [rdi + 0x290]
test rax, rax
je 0x1400170a4
vmulss xmm2, xmm2, dword [rax + 0x290]
vmovss xmm0, dword [rcx + 0x3810]
vaddss xmm1, xmm0, xmm0
vaddss xmm1, xmm1, xmm2
vmovss xmm2, dword [rdi + 0x24]
vsubss xmm0, xmm4, dword [rdi + 0x28]
vsubss xmm1, xmm3, xmm1
vcomiss xmm2, xmm1
jb 0x1400170cc
vminss xmm1, xmm10, xmm2
vmovss xmm2, dword [rdi + 0x20]
vcomiss xmm2, xmm0
jb 0x1400170db
vminss xmm0, xmm11, xmm2
vmovss dword [rdi + 0x20], xmm0
vmovss dword [rdi + 0x24], xmm1
vcvttss2si eax, dword [rdi + 0x20]
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, eax
vcvttss2si eax, dword [rdi + 0x24]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vmovss dword [rdi + 0x24], xmm0
vmovss dword [rdi + 0x20], xmm1
bt r14d, 0x18
jae 0x14001711a
vmovss xmm1, dword [rsi + 0x37fc]
jmp 0x14001713b
mov eax, r14d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x140017133
vmovss xmm1, dword [rsi + 0x3804]
jmp 0x14001713b
vmovss xmm1, dword [rsi + 0x37e0]
xor r12b, r12b
vmovss dword [rdi + 0x58], xmm1
cmp byte [rsp + 0x42], r12b
je 0x140017171
bt r14d, 0xc
jb 0x140017171
bt r14d, 0x1a
jae 0x14001715d
mov r12b, 1
jmp 0x140017171
test r14d, 0x3000000
movzx r12d, r12b
mov eax, 1
cmove r12d, eax
vmovss xmm2, dword [rsi + 0x3c20]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x30], xmm0
vmovaps xmm0, xmm1
vfmadd231ss xmm0, xmm2, dword [0x140090d3c]
vaddss xmm1, xmm0, dword [0x140090dcc]
vmulss xmm0, xmm2, dword [0x140090ddc]
xor r9d, r9d
mov dword [rbp + 0x18], 0xffffffff
cmp byte [rsi + 0x7e], r9b
mov r15d, r9d
vmaxss xmm1, xmm1, xmm0
setne r15b
vcvttss2si eax, xmm1
vxorps xmm0, xmm0, xmm0
inc r15d
vcvtsi2ss xmm0, xmm0, eax
vmovss dword [rsp + 0x4c], xmm0
cmp byte [rdi + 0xb9], r9b
jne 0x14001720b
lea rax, [rbp + 0x20]
mov r9d, r15d
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x18]
lea rax, [rbp + 0x30]
mov rcx, rdi
lea rdx, [rbp]
mov qword [rsp + 0x20], rax
call fcn.140014430
xor r9d, r9d
test al, al
je 0x14001720b
mov r13b, 1
movzx ecx, r13b
jmp 0x140017210
movzx ecx, byte [rsp + 0x40]
cmp byte [rdi + 0xb9], 0
movzx eax, byte [rbp + 0x18]
mov byte [rdi + 0xc1], al
jne 0x1400173a3
cmp qword [rsp + 0x60], 0
vmovss xmm0, dword [rdi + 0x6c]
vaddss xmm2, xmm0, dword [rdi + 0x64]
vmovss xmm1, dword [rdi + 0x34]
vmovss xmm0, dword [rdi + 0x200]
vmovss xmm5, dword [rdi + 0x30]
vsubss xmm7, xmm1, xmm2
vsubss xmm1, xmm0, dword [rdi + 0x1f8]
vmovss xmm2, dword [rdi + 0x204]
vsubss xmm0, xmm2, dword [rdi + 0x1fc]
vaddss xmm6, xmm0, xmm14
vaddss xmm4, xmm1, xmm13
jne 0x140017281
vmovss dword [rbp - 0x80], xmm12
vmovss dword [rbp - 0x7c], xmm12
lea rax, [rbp - 0x80]
jmp 0x1400172ab
vmovss xmm0, dword [rdi + 0x50]
vmovss xmm2, dword [rdi + 0x54]
vaddss xmm0, xmm0, xmm0
vaddss xmm1, xmm0, dword [rdi + 0x38]
vaddss xmm2, xmm2, xmm2
vaddss xmm0, xmm2, dword [rdi + 0x3c]
vmovss dword [rbp - 0x74], xmm0
vmovss dword [rbp - 0x78], xmm1
lea rax, [rbp - 0x78]
vmovss xmm8, dword [rax]
vmovss xmm3, dword [rax + 4]
movzx eax, cl
vmovd xmm0, eax
movzx eax, r13b
vmovd xmm1, r9d
vpcmpeqd xmm2, xmm0, xmm1
vmovd xmm1, r9d
vmovd xmm0, eax
vblendvps xmm4, xmm5, xmm4, xmm2
vpcmpeqd xmm2, xmm0, xmm1
vblendvps xmm1, xmm7, xmm6, xmm2
bt r14d, 0xe
jb 0x1400172f8
vcomiss xmm3, xmm1
jbe 0x1400172f4
test r14b, 8
je 0x1400172f8
xor cl, cl
jmp 0x1400172fa
mov cl, 1
mov byte [rdi + 0xb5], cl
bt r14d, 0xf
jb 0x140017341
test cl, cl
je 0x140017315
vmovss xmm0, dword [rsi + 0x3844]
jmp 0x14001731a
vmovaps xmm0, xmm12
vsubss xmm0, xmm4, xmm0
vcomiss xmm8, xmm0
jbe 0x140017333
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
je 0x140017341
mov byte [rdi + 0xb4], 0
vmovaps xmm1, xmm12
jmp 0x14001736c
mov byte [rdi + 0xb4], 1
test cl, cl
jne 0x140017364
vcomiss xmm3, xmm1
jbe 0x14001735c
test r14b, 8
jne 0x14001735c
mov cl, 1
jmp 0x14001735e
xor cl, cl
mov byte [rdi + 0xb5], cl
vmovss xmm1, dword [rsi + 0x3844]
test cl, cl
je 0x14001737a
vmovss xmm0, dword [rsi + 0x3844]
jmp 0x14001737f
vmovaps xmm0, xmm12
vmovss dword [rdi + 0xac], xmm0
vaddss xmm0, xmm0, dword [rdi + 0x68]
vmovss dword [rdi + 0x68], xmm0
vaddss xmm0, xmm1, dword [rdi + 0x6c]
vmovss dword [rdi + 0x6c], xmm0
vmovss dword [rdi + 0xb0], xmm1
mov eax, r14d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1400173ca
cmp dword [rsp + 0x48], 0x3000000
je 0x1400173ca
mov r13, qword [rsp + 0x68]
lea rax, [r13 + 0x238]
jmp 0x1400173d3
mov r13, qword [rsp + 0x68]
lea rax, [rbp + 8]
test byte [rdi + 0x14], 1
vmovups xmm6, xmmword [rax]
vmovss xmm4, dword [rdi + 0x20]
vmovss xmm3, dword [rdi + 0x24]
vaddss xmm5, xmm4, dword [rdi + 0x28]
vaddss xmm7, xmm3, dword [rdi + 0x2c]
mov rcx, qword [rdi]
vmovups xmmword [rbp + 8], xmm6
je 0x140017400
vmovaps xmm0, xmm12
jmp 0x140017434
mov rax, qword [rdi + 0x368]
vmovss xmm0, dword [rcx + 0x3c24]
vmulss xmm2, xmm0, dword [rdi + 0x290]
test rax, rax
je 0x140017424
vmulss xmm2, xmm2, dword [rax + 0x290]
vmovss xmm0, dword [rcx + 0x3810]
vaddss xmm1, xmm0, xmm0
vaddss xmm0, xmm1, xmm2
vaddss xmm1, xmm4, dword [rdi + 0x30]
vaddss xmm2, xmm3, xmm0
vmovss xmm0, dword [rdi + 0x24]
vmovss dword [rsp + 0x6c], xmm0
vmovss dword [rsp + 0x70], xmm1
vmovss dword [rsp + 0x74], xmm2
vmovss dword [rsp + 0x68], xmm4
vmovss dword [rdi + 0x1e8], xmm4
vmovss dword [rdi + 0x1ec], xmm3
vmovss dword [rdi + 0x1f0], xmm5
vmovss dword [rdi + 0x1f4], xmm7
vmovss xmm0, dword [rdi + 0x1e8]
vmaxss xmm1, xmm0, xmm6
vmovss dword [rdi + 0x1e8], xmm1
vshufps xmm7, xmm6, xmm6, 0x55
vmaxss xmm0, xmm3, xmm7
vmovss dword [rdi + 0x1ec], xmm0
vmovss xmm1, dword [rdi + 0x1f0]
vshufps xmm11, xmm6, xmm6, 0xaa
vminss xmm2, xmm1, xmm11
vshufps xmm10, xmm6, xmm6, 0xff
vminss xmm0, xmm10, dword [rdi + 0x1f4]
vmovss dword [rdi + 0x1f0], xmm2
vmovss dword [rdi + 0x1f4], xmm0
vmovss xmm1, dword [rdi + 0x24]
vmovss xmm3, dword [rdi + 0x20]
vaddss xmm13, xmm1, dword [rdi + 0x64]
vaddss xmm1, xmm1, dword [rdi + 0x2c]
vaddss xmm0, xmm3, dword [rdi + 0x28]
vsubss xmm15, xmm1, dword [rdi + 0x6c]
vaddss xmm2, xmm3, dword [rdi + 0x60]
vsubss xmm14, xmm0, dword [rdi + 0x68]
mov eax, r14d
and eax, 0x401
vmovss dword [rdi + 0x204], xmm15
vmovss dword [rdi + 0x1f8], xmm2
vmovss dword [rdi + 0x1fc], xmm13
vmovss dword [rdi + 0x200], xmm14
cmp eax, 1
jne 0x14001752a
vmovss xmm9, dword [rdi + 0x5c]
jmp 0x140017532
vmovss xmm9, dword [rsi + 0x3818]
vmovss xmm4, dword [0x140090d80]
vmulss xmm0, xmm4, dword [rdi + 0x50]
vcvttss2si eax, xmm0
vaddss xmm0, xmm2, xmm4
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, eax
vmaxss xmm3, xmm1, dword [rdi + 0x5c]
vaddss xmm2, xmm0, xmm3
vcvttss2si eax, xmm2
vxorps xmm2, xmm2, xmm2
vaddss xmm0, xmm13, xmm4
vaddss xmm1, xmm0, xmm9
vaddss xmm0, xmm14, xmm4
vxorps xmm8, xmm8, xmm8
vcvtsi2ss xmm8, xmm8, eax
vcvttss2si eax, xmm1
vcvtsi2ss xmm2, xmm2, eax
vmovss dword [rdi + 0x20c], xmm2
vsubss xmm1, xmm0, xmm3
vxorps xmm2, xmm2, xmm2
vcvttss2si eax, xmm1
vcvtsi2ss xmm2, xmm2, eax
vmovss dword [rdi + 0x210], xmm2
vaddss xmm0, xmm15, xmm4
vsubss xmm1, xmm0, dword [rdi + 0x5c]
vxorps xmm2, xmm2, xmm2
vcvttss2si eax, xmm1
vcvtsi2ss xmm2, xmm2, eax
vmovss dword [rdi + 0x214], xmm2
vmovss dword [rdi + 0x208], xmm8
vmovss xmm0, dword [rdi + 0x20c]
vcomiss xmm0, xmm7
jae 0x1400175d7
vmovaps xmm1, xmm7
jmp 0x1400175dc
vminss xmm1, xmm0, xmm10
vcomiss xmm8, xmm6
jae 0x1400175e8
vmovaps xmm0, xmm6
jmp 0x1400175ed
vminss xmm0, xmm8, xmm11
vmovss dword [rdi + 0x208], xmm0
vmovss dword [rdi + 0x20c], xmm1
vmovss xmm0, dword [rdi + 0x214]
vcomiss xmm0, xmm7
jb 0x140017610
vminss xmm7, xmm0, xmm10
vmovss xmm0, dword [rdi + 0x210]
vcomiss xmm0, xmm6
jb 0x140017623
vminss xmm6, xmm0, xmm11
vmovss dword [rdi + 0x210], xmm6
vmovss dword [rdi + 0x214], xmm7
vmovss xmm0, dword [rdi + 0x28]
vcomiss xmm0, xmm12
jbe 0x140017652
test r14d, 0x2000040
jne 0x140017652
vmulss xmm1, xmm0, dword [0x140090d94]
jmp 0x140017662
vmovss xmm0, dword [rsi + 0x3c20]
vmulss xmm1, xmm0, dword [0x140090f08]
vxorps xmm0, xmm0, xmm0
vcvttss2si eax, xmm1
vcvtsi2ss xmm0, xmm0, eax
mov rcx, rdi
mov rdx, rdi
vmovss dword [rcx + 0x268], xmm0
vmovss xmm2, dword [rdi + 0x200]
vmovss xmm1, dword [rdi + 0x50]
vaddss xmm0, xmm1, xmm1
vsubss xmm1, xmm2, dword [rdi + 0x1f8]
vaddss xmm3, xmm0, dword [rdi + 0x38]
vsubss xmm0, xmm3, xmm1
vmovss xmm1, dword [rdi + 0x54]
vmaxss xmm0, xmm0, xmm12
vmovss dword [rdi + 0x8c], xmm0
vmovss xmm0, dword [rdi + 0x204]
vaddss xmm2, xmm1, xmm1
vsubss xmm1, xmm0, dword [rdi + 0x1fc]
vaddss xmm3, xmm2, dword [rdi + 0x3c]
vsubss xmm2, xmm3, xmm1
vmaxss xmm0, xmm2, xmm12
lea rcx, [rbp - 0x70]
vmovss dword [rdi + 0x90], xmm0
call fcn.14001c240
mov rcx, qword [rdi + 0x298]
vmovss xmm0, dword [rax]
vmovss xmm1, dword [rax + 4]
vmovss dword [rdi + 0x84], xmm0
vmovss dword [rdi + 0x88], xmm1
mov dword [rdi + 0x94], 0x7f7fffff
mov dword [rdi + 0x98], 0x7f7fffff
mov qword [rdi + 0x70], 0
mov rax, qword [rsi + 0x3c18]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.14002d550
mov rcx, qword [0x14016b5b0]
lea r8, [rbp + 0x10]
xor r9d, r9d
lea rdx, [rbp + 8]
mov rax, qword [rcx + 0x3ef8]
mov byte [rax + 0xb8], 1
mov rbx, qword [rcx + 0x3ef8]
mov rcx, qword [rbx + 0x298]
call fcn.14002d440
mov rax, qword [rbx + 0x298]
movsxd rcx, dword [rax + 0x58]
mov rax, qword [rax + 0x60]
add rcx, rcx
vmovss xmm0, dword [rax + rcx*8 - 0xc]
vmovss xmm1, dword [rax + rcx*8 - 8]
vmovss xmm2, dword [rax + rcx*8 - 4]
mov eax, dword [rax + rcx*8 - 0x10]
mov dword [rbx + 0x238], eax
mov eax, r14d
vmovss dword [rbx + 0x23c], xmm0
vmovss dword [rbx + 0x240], xmm1
vmovss dword [rbx + 0x244], xmm2
xor bl, bl
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x14001786b
cmp dword [rsp + 0x48], 0x3000000
je 0x14001786b
movsxd rax, dword [r13 + 0x190]
cmp eax, 2
jl 0x140017834
mov rcx, rax
mov rax, qword [r13 + 0x198]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x140017834
vmovss xmm1, dword [rdi + 0x24]
vmovss xmm2, dword [rdx + 0x24]
vaddss xmm0, xmm2, dword [rdx + 0x2c]
vcomiss xmm1, xmm0
vmovss xmm4, dword [rdx + 0x20]
vmovss xmm3, dword [rdi + 0x20]
vaddss xmm6, xmm4, dword [rdx + 0x28]
vaddss xmm7, xmm3, dword [rdi + 0x28]
vaddss xmm5, xmm1, dword [rdi + 0x2c]
jae 0x140017834
vcomiss xmm5, xmm2
jbe 0x140017834
vcomiss xmm3, xmm6
jae 0x140017834
vcomiss xmm7, xmm4
jbe 0x140017834
mov r8b, 1
jmp 0x140017837
xor r8b, r8b
mov rdx, qword [rdi + 0x298]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x14001786b
mov rax, qword [r13 + 0x298]
cmp dword [rax + 0x20], 0
je 0x14001786b
test r8b, r8b
jne 0x14001786b
mov bl, 1
mov qword [rdi + 0x298], rax
mov rax, qword [rsi + 0x4a60]
test rax, rax
jne 0x14001787e
mov rax, qword [rsi + 0x48d8]
test r12b, r12b
jne 0x14001789d
test rax, rax
je 0x140017898
mov rax, qword [rax + 0x388]
cmp qword [rdi + 0x388], rax
je 0x14001789d
xor r8b, r8b
jmp 0x1400178a0
mov r8b, 1
vmovss xmm0, dword [rsp + 0x4c]
vmovss dword [rsp + 0x30], xmm0
lea rax, [rbp + 0x30]
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x20], r15d
call fcn.140015370
test bl, bl
je 0x1400178d9
lea rax, [rdi + 0x2a0]
mov qword [rdi + 0x298], rax
vmovss xmm6, dword [rdi + 0x48]
mov ecx, r14d
shr ecx, 3
not cl
and cl, 1
vucomiss xmm6, xmm12
je 0x1400178f6
vmovaps xmm9, xmm6
jmp 0x140017935
vmovss xmm0, dword [rdi + 0x50]
vmovss xmm1, dword [rdi + 0x28]
vaddss xmm2, xmm0, xmm0
vmovss xmm0, dword [rdi + 0x68]
vsubss xmm3, xmm1, xmm2
vaddss xmm2, xmm0, dword [rdi + 0x60]
mov eax, r14d
and eax, 0x808
vsubss xmm1, xmm3, xmm2
cmp eax, 0x800
jne 0x14001792c
vmovss xmm0, dword [rdi + 0x38]
jmp 0x140017931
vmovaps xmm0, xmm12
vmaxss xmm9, xmm1, xmm0
vmovss xmm5, dword [rdi + 0x4c]
vucomiss xmm5, xmm12
je 0x140017947
vmovaps xmm7, xmm5
jmp 0x14001797b
vmovss xmm0, dword [rdi + 0x54]
vmovss xmm1, dword [rdi + 0x2c]
vaddss xmm2, xmm0, xmm0
vmovss xmm0, dword [rdi + 0x6c]
vsubss xmm3, xmm1, xmm2
vaddss xmm2, xmm0, dword [rdi + 0x64]
vsubss xmm1, xmm3, xmm2
test cl, cl
je 0x140017972
vmovss xmm0, dword [rdi + 0x3c]
jmp 0x140017977
vmovaps xmm0, xmm12
vmaxss xmm7, xmm1, xmm0
vucomiss xmm6, xmm12
vmovss xmm3, dword [rdi + 0x5c]
vmovss xmm8, dword [rdi + 0x50]
vmovss xmm11, dword [rdi + 0x84]
vmovss xmm0, dword [rdi + 0x1f8]
vsubss xmm2, xmm0, xmm11
vmaxss xmm1, xmm8, xmm3
vaddss xmm2, xmm2, xmm1
vcvttss2si eax, xmm2
vxorps xmm4, xmm4, xmm4
vcvtsi2ss xmm4, xmm4, eax
vmovss dword [rdi + 0x218], xmm4
vmovss xmm10, dword [rdi + 0x54]
vmovss xmm13, dword [rdi + 0x88]
vmovss xmm0, dword [rdi + 0x1fc]
vsubss xmm1, xmm0, xmm13
vmaxss xmm2, xmm3, xmm10
vaddss xmm2, xmm2, xmm1
vaddss xmm0, xmm9, xmm4
vxorps xmm3, xmm3, xmm3
vcvttss2si eax, xmm2
vcvtsi2ss xmm3, xmm3, eax
vmovss dword [rdi + 0x21c], xmm3
vmovss dword [rdi + 0x220], xmm0
vaddss xmm1, xmm7, xmm3
vmovss dword [rdi + 0x224], xmm1
vmovups xmm0, xmmword [rdi + 0x218]
vmovups xmmword [rdi + 0x228], xmm0
vmovss xmm9, dword [rdi + 0x20]
vmovss xmm4, dword [rdi + 0x60]
vsubss xmm0, xmm9, xmm11
vaddss xmm1, xmm0, xmm8
vaddss xmm3, xmm1, xmm4
vmovss dword [rdi + 0x248], xmm3
vmovss xmm14, dword [rdi + 0x24]
vmovss xmm7, dword [rdi + 0x64]
vsubss xmm0, xmm14, xmm13
vaddss xmm1, xmm0, xmm10
vaddss xmm15, xmm1, xmm7
vmovss dword [rdi + 0x24c], xmm15
jne 0x140017a73
vmovss xmm0, dword [rdi + 0x28]
vaddss xmm1, xmm8, xmm8
vsubss xmm2, xmm0, xmm1
vaddss xmm1, xmm4, dword [rdi + 0x68]
vsubss xmm6, xmm2, xmm1
vucomiss xmm5, xmm12
vaddss xmm0, xmm6, xmm3
vmovss dword [rdi + 0x250], xmm0
jne 0x140017a9d
vmovss xmm0, dword [rdi + 0x2c]
vaddss xmm1, xmm10, xmm10
vsubss xmm2, xmm0, xmm1
vaddss xmm1, xmm7, dword [rdi + 0x6c]
vsubss xmm5, xmm2, xmm1
xor ecx, ecx
lea rbx, [rdi + 0x16c]
vaddss xmm0, xmm5, xmm15
vmovss dword [rdi + 0x254], xmm0
vmovaps xmm15, xmmword [rsp + 0x150]
vaddss xmm1, xmm4, xmm8
vsubss xmm2, xmm1, xmm11
vmovss dword [rdi + 0x144], xmm2
mov qword [rdi + 0x148], rcx
vcvtss2sd xmm1, xmm9, xmm9
vcvtss2sd xmm0, xmm8, xmm8
vaddsd xmm2, xmm1, xmm0
vcvtss2sd xmm1, xmm11, xmm11
vmovaps xmm11, xmmword [rsp + 0x190]
vsubsd xmm3, xmm2, xmm1
vcvtss2sd xmm0, xmm4, xmm4
vaddsd xmm6, xmm3, xmm0
vcvtss2sd xmm2, xmm14, xmm14
vmovaps xmm14, xmmword [rsp + 0x160]
vcvtss2sd xmm1, xmm10, xmm10
vmovaps xmm10, xmmword [rsp + 0x1a0]
vaddsd xmm3, xmm2, xmm1
vcvtss2sd xmm0, xmm13, xmm13
vmovaps xmm13, xmmword [rsp + 0x170]
vsubsd xmm4, xmm3, xmm0
vcvtss2sd xmm1, xmm7, xmm7
vaddsd xmm5, xmm4, xmm1
vcvtsd2ss xmm0, xmm6, xmm6
vmovss dword [rdi + 0x110], xmm0
vcvtsd2ss xmm2, xmm5, xmm5
vmovss dword [rdi + 0x114], xmm2
vmovss xmm0, dword [rdi + 0x110]
vcvtss2sd xmm0, xmm0, xmm0
vsubsd xmm1, xmm6, xmm0
vinsertps xmm2, xmm2, xmm2, 0xe
vcvtss2sd xmm2, xmm2, xmm2
vsubsd xmm0, xmm5, xmm2
vcvtsd2ss xmm3, xmm1, xmm1
vmovss dword [rdi + 0x150], xmm3
vcvtsd2ss xmm1, xmm0, xmm0
vmovss dword [rdi + 0x154], xmm1
vmovss xmm0, dword [rdi + 0x114]
vmovss xmm2, dword [rdi + 0x110]
vmovss dword [rdi + 0x100], xmm2
vmovss dword [rdi + 0x104], xmm0
vmovss dword [rdi + 0x108], xmm2
vmovss dword [rdi + 0x10c], xmm0
vmovss dword [rdi + 0x118], xmm2
vmovss dword [rdi + 0x11c], xmm0
vmovss dword [rdi + 0x120], xmm2
vmovss dword [rdi + 0x124], xmm0
mov qword [rdi + 0x130], rcx
mov qword [rdi + 0x128], rcx
mov qword [rdi + 0x138], rcx
mov word [rdi + 0x140], cx
mov dword [rdi + 0x158], ecx
movzx eax, word [rdi + 0x15e]
mov word [rdi + 0x15c], ax
mov dword [rdi + 0x15e], 0x10000
vcomiss xmm12, dword [rdi + 0x90]
setb al
mov byte [rdi + 0x162], al
mov byte [rdi + 0x163], cl
vmovss xmm0, dword [rsi + 0x381c]
cmp byte [rsp + 0x42], cl
je 0x140017c3a
xor eax, eax
mov qword [rbx + 0x12], rax
vcvttss2si eax, xmm0
mov rcx, rbx
mov word [rbx + 8], ax
call fcn.14004e450
xor eax, eax
xor r15d, r15d
mov qword [rbx + 0x12], rax
mov eax, dword [rbx + 4]
mov dword [rbx], eax
mov dword [rbx + 4], r15d
mov qword [rdi + 0x188], r15
mov ecx, dword [rdi + 0x194]
test ecx, ecx
jns 0x140017c8a
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x190]
test eax, eax
cmovg edx, eax
call fcn.1400249b0
mov dword [rdi + 0x190], r15d
lea rax, [rdi + 0x270]
mov qword [rdi + 0x1a0], rax
mov eax, 1
mov qword [rdi + 0x1a8], r15
mov dword [rdi + 0x1b4], eax
test r13, r13
je 0x140017cbd
mov eax, dword [r13 + 0x1b4]
mov dword [rdi + 0x1b8], eax
mov eax, dword [rdi + 0x268]
mov dword [rdi + 0x1bc], eax
mov dword [rdi + 0x1c0], 0xbf800000
mov ecx, dword [rdi + 0x1cc]
test ecx, ecx
jns 0x140017d00
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1c8]
test eax, eax
cmovg edx, eax
call fcn.1400252f0
mov dword [rdi + 0x1c8], r15d
mov ecx, dword [rdi + 0x1dc]
test ecx, ecx
jns 0x140017d2e
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1d8]
test eax, eax
cmovg edx, eax
call fcn.1400252f0
mov dword [rdi + 0x1d8], r15d
movzx eax, byte [rdi + 0xd0]
test al, al
jle 0x140017d48
dec al
mov byte [rdi + 0xd0], al
movzx eax, byte [rdi + 0xd1]
test al, al
jle 0x140017d5b
dec al
mov byte [rdi + 0xd1], al
test r12b, r12b
je 0x140017d80
mov edx, 2
mov rcx, rdi
call fcn.1400183a0
cmp rdi, qword [rsi + 0x48d8]
jne 0x140017d80
xor edx, edx
mov rcx, rdi
call fcn.14001eb80
vmovss xmm6, dword [rsp + 0x74]
vmovss xmm7, dword [rsp + 0x70]
vmovss xmm8, dword [rsp + 0x6c]
vmovss xmm9, dword [rsp + 0x68]
test r14b, 1
jne 0x140017dcd
vaddss xmm0, xmm9, dword [rdi + 0x5c]
vsubss xmm1, xmm7, dword [rdi + 0x5c]
mov r8, qword [rsp + 0x78]
lea rdx, [rbp + 8]
mov rcx, rdi
vmovss dword [rbp + 8], xmm0
vmovss dword [rbp + 0x10], xmm1
vmovss dword [rbp + 0xc], xmm8
vmovss dword [rbp + 0x14], xmm6
call fcn.140015b50
mov rdx, qword [0x14016b5b0]
mov dword [rdi + 0x258], r15d
vmovss xmm1, dword [rdx + 0x3834]
vmovss xmm0, dword [rdx + 0x3838]
vsubss xmm2, xmm9, xmm1
vmovaps xmm9, xmmword [rsp + 0x1b0]
vaddss xmm4, xmm1, xmm7
vmovss xmm1, dword [rdx + 0xe08]
vcomiss xmm1, xmm2
vmovaps xmm7, xmmword [rsp + 0x1d0]
vaddss xmm5, xmm0, xmm6
vmovaps xmm6, xmmword [rsp + 0x1e0]
vsubss xmm3, xmm8, xmm0
vmovaps xmm8, xmmword [rsp + 0x1c0]
jb 0x140017e4d
vmovss xmm0, dword [rdx + 0xe0c]
vcomiss xmm0, xmm3
jb 0x140017e4d
vcomiss xmm1, xmm4
jae 0x140017e4d
vcomiss xmm0, xmm5
mov r8d, 1
jb 0x140017e50
mov r8d, r15d
mov eax, dword [rdi + 0x7c]
mov ecx, dword [rsi + 0x4778]
vbroadcastf128 ymm0, xmmword [rsp + 0x68]
vmovups ymmword [rdx + 0x47a0], ymm0
mov dword [rdx + 0x4794], eax
mov dword [rdx + 0x4798], ecx
mov dword [rdx + 0x479c], r8d
mov eax, dword [rsi + 0x477c]
test eax, eax
je 0x140017f36
cmp dword [rdi + 0x10], eax
je 0x140017e97
cmp dword [rdi + 0x7c], eax
jne 0x140017f36
vzeroupper
call fcn.140023e80
jmp 0x140017f36
mov rcx, qword [0x14016b5b0]
mov qword [rcx + 0x3ef8], rdi
movsxd rax, dword [rdi + 0x1b0]
cmp eax, 0xffffffff
je 0x140017ed1
imul rdx, rax, 0x238
add rdx, qword [rcx + 0x4b80]
xor r15d, r15d
jmp 0x140017ed7
xor r15d, r15d
mov edx, r15d
mov qword [rcx + 0x4b58], rdx
mov rax, qword [rdi]
vmovss xmm0, dword [rax + 0x3c24]
mov rax, qword [rdi + 0x368]
vmulss xmm1, xmm0, dword [rdi + 0x290]
test rax, rax
je 0x140017f05
vmulss xmm1, xmm1, dword [rax + 0x290]
vmovss dword [rcx + 0x3c38], xmm1
vmovss dword [rcx + 0x3c20], xmm1
test rdx, rdx
jne 0x140017f29
cmp qword [rdi + 0x1a8], rdx
jne 0x140017f29
movzx eax, r8b
jmp 0x140017f2b
xor al, al
mov r13, qword [rsp + 0x68]
mov byte [rdi + 0x160], al
lea rdx, [rdi + 0x210]
mov r8b, 1
lea rcx, [rdi + 0x208]
vzeroupper
call fcn.140011df0
mov eax, dword [rsp + 0x54]
mov r12, qword [rsp + 0x208]
mov rbx, qword [rsp + 0x238]
mov byte [rdi + 0xb8], 0
inc word [rdi + 0xc2]
mov dword [rsi + 0x47d0], r15d
mov r15, qword [rsp + 0x1f0]
cmp eax, dword [rsp + 0x58]
je 0x1400180e5
bt r14d, 0x18
jae 0x140018052
test r14b, 0x40
jne 0x140018017
cmp byte [rdi + 0xd0], 0
jg 0x140018017
cmp byte [rdi + 0xd1], 0
jg 0x140018017
bt r14d, 0x17
jae 0x140017fdd
cmp byte [rsi + 0x4918], 0
je 0x140017fdd
mov rcx, qword [rsi + 0x48d8]
test rcx, rcx
je 0x140017fdd
mov rax, qword [rdi + 0x390]
cmp qword [rcx + 0x390], rax
jne 0x140017fdd
mov al, 1
jmp 0x140017fdf
xor al, al
cmp byte [rsi + 0x5ca0], 0
jne 0x140018017
test al, al
jne 0x140018017
vmovss xmm0, dword [rdi + 0x1f0]
vcomiss xmm0, dword [rdi + 0x1e8]
jbe 0x140018010
vmovss xmm0, dword [rdi + 0x1f4]
vcomiss xmm0, dword [rdi + 0x1ec]
ja 0x140018017
mov byte [rdi + 0xd8], 1
test r13, r13
je 0x140018052
cmp byte [r13 + 0xb9], 0
jne 0x140018030
cmp byte [r13 + 0xd8], 0
jle 0x140018037
mov byte [rdi + 0xd8], 1
cmp byte [r13 + 0xb9], 0
jne 0x14001804b
cmp byte [r13 + 0xd9], 0
jle 0x140018052
mov byte [rdi + 0xd9], 1
vcomiss xmm12, dword [rsi + 0x37d0]
jb 0x140018063
mov byte [rdi + 0xd8], 1
cmp byte [rdi + 0xd8], 0
jg 0x140018083
cmp byte [rdi + 0xd9], 0
jg 0x140018083
xor cl, cl
cmp byte [rdi + 0xda], cl
jg 0x140018085
xor al, al
jmp 0x140018087
mov cl, 1
mov al, 1
mov byte [rdi + 0xbd], al
movzx eax, byte [rdi + 0xdb]
test al, al
jle 0x1400180a7
dec al
mov byte [rdi + 0xdb], al
or dword [rdi + 0x14], 0xc0200
xor al, al
cmp byte [rdi + 0xb9], al
jne 0x1400180bd
cmp byte [rdi + 0xb6], al
je 0x1400180bd
test cl, cl
je 0x1400180df
cmp byte [rdi + 0xd0], al
jg 0x1400180df
cmp byte [rdi + 0xd1], al
jg 0x1400180df
cmp byte [rdi + 0xd9], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [rdi + 0xbb], al
cmp byte [rdi + 0xbe], 0
vmovaps xmm12, xmmword [rsp + 0x180]
mov r14, qword [rsp + 0x1f8]
mov r13, qword [rsp + 0x200]
jne 0x14001815a
cmp byte [rsi + 0x84], 0
je 0x140018118
cmp qword [rsp + 0x60], 0
je 0x140018130
cmp byte [rsi + 0x85], 0
je 0x14001815a
movsx eax, byte [rsi + 0x5d12]
cmp eax, dword [rsi + 0x3ec8]
jne 0x14001815a
movzx eax, byte [rdi + 0xd0]
test al, al
jle 0x140018143
inc al
mov byte [rdi + 0xd0], al
movzx eax, byte [rdi + 0xd1]
test al, al
jle 0x140018156
inc al
mov byte [rdi + 0xd1], al
xor al, al
jmp 0x140018164
cmp byte [rdi + 0xbb], 0
sete al
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14007f2a0
add rsp, 0x210
pop rdi
pop rsi
pop rbp
ret