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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
mov rax, qword [0x1400bafb0]
xor rax, rsp
mov qword [rbp - 0x51], rax
mov r13, qword [0x1400bf7f0]
xor eax, eax
xor r12d, r12d
mov qword [rbp - 0x79], rax
mov dword [rbp - 0x71], eax
xor sil, sil
mov qword [rbp - 0x6d], rax
mov rbx, rcx
mov dword [rbp - 0x65], eax
mov edi, r12d
mov qword [rbp - 0x61], rax
lea r14d, [r12 + 1]
mov dword [rbp - 0x59], eax
mov r11d, r12d
mov eax, dword [rcx]
mov byte [rcx + 0x73], 0
test eax, eax
jle 0x140049bb4
mov edx, r12d
mov rcx, qword [rbx + 8]
mov eax, dword [rbx + 0x28]
cmp dword [rcx + rdx + 0x10], eax
jl 0x140049b7e
cmp byte [rcx + rdx + 0x30], r12b
jne 0x140049b7e
movsxd r8, edi
cmp edi, r11d
je 0x140049b03
movups xmm0, xmmword [rcx + rdx]
imul rax, r8, 0x38
movups xmmword [rax + rcx], xmm0
movups xmm1, xmmword [rcx + rdx + 0x10]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmm0, xmmword [rcx + rdx + 0x20]
movups xmmword [rax + rcx + 0x20], xmm0
movsd xmm1, qword [rcx + rdx + 0x30]
movsd qword [rax + rcx + 0x30], xmm1
mov rax, qword [rbx + 8]
mov ecx, r12d
imul r10, r8, 0x38
mov r8, r12
mov r9d, dword [r10 + rax + 4]
mov word [r10 + rax + 0x2e], di
test r9b, 0x40
jne 0x140049b38
bt r9d, 7
setb cl
inc ecx
bt r9d, 7
setb r8b
inc r8
test edi, edi
jle 0x140049b72
mov rax, qword [rbx + 8]
mov r9d, dword [r10 + rax - 0x34]
mov eax, r12d
test r9b, 0x40
jne 0x140049b57
test r9b, 0x80
setne al
inc eax
test ecx, ecx
jne 0x140049b63
test eax, eax
je 0x140049b72
movzx esi, r14b
cmp eax, 2
jne 0x140049b72
cmp ecx, eax
movzx esi, sil
cmovne esi, r14d
lea rax, [r8 + r8*2]
inc dword [rbp + rax*4 - 0x79]
inc edi
jmp 0x140049ba2
mov eax, dword [rcx + rdx]
cmp dword [rbx + 0x20], eax
jne 0x140049b8a
mov dword [rbx + 0x20], r12d
mov eax, dword [rcx + rdx]
cmp dword [rbx + 0x18], eax
jne 0x140049b96
mov dword [rbx + 0x18], r12d
mov eax, dword [rcx + rdx]
cmp dword [rbx + 0x1c], eax
jne 0x140049ba2
mov dword [rbx + 0x1c], r12d
mov eax, dword [rbx]
inc r11d
add rdx, 0x38
cmp r11d, eax
jl 0x140049ab3
mov r14d, 8
cmp eax, edi
je 0x140049bea
mov ecx, dword [rbx + 4]
cmp edi, ecx
jle 0x140049be6
test ecx, ecx
je 0x140049bd4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140049bd7
mov eax, r14d
cmp eax, edi
mov edx, edi
mov rcx, rbx
cmovg edx, eax
call fcn.14002d4b0
mov dword [rbx], edi
mov eax, edi
test sil, sil
je 0x140049c0e
movsxd rdx, eax
cmp rdx, 1
jbe 0x140049c0e
mov rcx, qword [rbx + 8]
lea r9, [0x1400494a0]
mov r8d, 0x38
call fcn.14006aa50
mov edi, dword [rbp - 0x79]
xorps xmm10, xmm10
mov r15d, dword [rbp - 0x6d]
mov ecx, dword [rbp - 0x61]
test edi, edi
jle 0x140049c33
lea eax, [r15 + rcx]
test eax, eax
jle 0x140049c33
movss xmm0, dword [r13 + 0x3a54]
jmp 0x140049c36
xorps xmm0, xmm0
movss dword [rbp - 0x71], xmm0
test r15d, r15d
jle 0x140049c4f
test ecx, ecx
jle 0x140049c4f
movss xmm12, dword [r13 + 0x3a54]
jmp 0x140049c53
xorps xmm12, xmm12
mov eax, dword [rbx + 0x1c]
movss dword [rbp - 0x65], xmm12
mov dword [rsp + 0x20], r12d
test eax, eax
je 0x140049c76
mov r12d, eax
mov dword [rsp + 0x20], eax
mov dword [rbx + 0x18], eax
mov dword [rbx + 0x1c], 0
mov edx, dword [rbx + 0x6c]
test edx, edx
je 0x140049dad
mov r8d, dword [rbx]
xor eax, eax
test r8d, r8d
jle 0x140049da6
mov r10, qword [rbx + 8]
mov rcx, r10
cmp dword [rcx], edx
je 0x140049caa
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140049c96
jmp 0x140049da6
cdqe
imul r9, rax, 0x38
add r9, r10
je 0x140049da6
mov r11d, dword [r9 + 4]
test r11b, 0x20
jne 0x140049da6
movsx esi, word [rbx + 0x70]
mov rcx, r9
mov rdi, qword [rbx + 8]
movabs rax, 0x4924924924924925
sub rcx, rdi
mov r10d, esi
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
add edx, esi
js 0x140049da3
cmp edx, r8d
jge 0x140049da3
movsxd rax, edx
imul rcx, rax, 0x38
add rdi, rcx
mov eax, dword [rdi + 4]
test al, 0x20
jne 0x140049da3
xor eax, r11d
test al, 0xc0
jne 0x140049da3
movups xmm6, xmmword [r9]
test si, si
lea rdx, [r9 + 0x38]
movups xmm7, xmmword [r9 + 0x10]
lea rax, [rdi + 0x38]
cmovle rdx, rdi
movups xmm8, xmmword [r9 + 0x20]
movsd xmm9, qword [r9 + 0x30]
cmovle r9, rax
jg 0x140049d50
neg r10d
movsxd rax, r10d
mov rcx, r9
imul r8, rax, 0x38
call fcn.14005d500
movups xmmword [rdi], xmm6
movups xmmword [rdi + 0x10], xmm7
movups xmmword [rdi + 0x20], xmm8
movsd qword [rdi + 0x30], xmm9
test dword [rbx + 0x10], 0x400000
je 0x140049d94
mov rcx, qword [0x1400bf7f0]
comiss xmm10, dword [rcx + 0x6104]
jb 0x140049d94
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x6104], eax
mov eax, dword [rbx + 0x6c]
cmp eax, dword [rbx + 0x18]
cmove r12d, eax
mov dword [rsp + 0x20], r12d
mov edi, dword [rbp - 0x79]
mov dword [rbx + 0x6c], 0
mov eax, dword [rbx + 0x10]
shr eax, 2
test al, 1
je 0x140049dd0
mov rcx, rbx
call fcn.14004b1c0
test rax, rax
je 0x140049dd0
mov r12d, dword [rax]
mov dword [rsp + 0x20], r12d
mov dword [rbx + 0x18], r12d
mov eax, dword [rbp - 0x61]
xor r9d, r9d
mov esi, dword [rbx]
add eax, edi
mov ecx, dword [r13 + 0x5024]
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x40], edi
cmp esi, ecx
jle 0x140049ee4
test ecx, ecx
je 0x140049e05
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea r14d, [rcx + rax]
cmp r14d, esi
mov edi, esi
cmovg edi, r14d
cmp edi, ecx
jle 0x140049ee4
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 2
call fcn.14000ae80
mov rdx, qword [r13 + 0x5028]
mov r14, rax
test rdx, rdx
je 0x140049ed3
movsxd rcx, dword [r13 + 0x5020]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 2
call fcn.14005d500
mov r9, qword [r13 + 0x5028]
test r9, r9
je 0x140049ecb
mov r8, qword [0x1400bf7f0]
test r8, r8
je 0x140049ecb
movsx rdx, word [r8 + 0x6278]
lea rcx, [r8 + 0x627c]
mov r10d, dword [r8 + 0x40a0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x140049ec0
movsx ecx, dx
mov eax, 0x2aaaaaab
inc ecx
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6278], cx
movsx rax, cx
lea rcx, [r8 + 0x627c]
lea rcx, [rcx + rax*8]
xor eax, eax
mov dword [rcx], r10d
mov dword [rcx + 4], eax
inc word [rcx + 6]
inc dword [r8 + 0x6274]
mov rcx, r9
call fcn.140061700
mov qword [r13 + 0x5028], r14
xor r9d, r9d
mov dword [r13 + 0x5024], edi
movss xmm13, dword [0x1400afbf0]
xor dl, dl
mov dword [r13 + 0x5020], esi
mov rcx, r9
mov eax, dword [rbx]
mov r14d, 0xffffffff
mov qword [rsp + 0x30], rcx
mov r12d, r9d
mov dword [rsp + 0x28], edx
test eax, eax
jle 0x14004a06a
mov rsi, r9
lea r15d, [r14 + 2]
nop dword [rax]
mov rdi, qword [rbx + 8]
add rdi, rsi
test rcx, rcx
je 0x140049f34
mov eax, dword [rdi + 0x14]
cmp dword [rcx + 0x14], eax
jge 0x140049f44
test dword [rdi + 4], 0x200000
cmove rcx, rdi
mov qword [rsp + 0x30], rcx
mov eax, dword [rdi]
cmp eax, dword [rbx + 0x18]
mov ecx, dword [rsp + 0x20]
movzx edx, dl
cmove edx, r15d
mov dword [rsp + 0x28], edx
test ecx, ecx
jne 0x140049f6a
cmp dword [r13 + 0x4cc8], eax
cmove ecx, eax
mov dword [rsp + 0x20], ecx
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x140049f79
mov rdx, qword [rdx + 8]
jmp 0x140049f95
movsxd rax, dword [rdi + 0x28]
cmp eax, 0xffffffff
jne 0x140049f8b
lea rdx, [0x1400adf34]
jmp 0x140049f95
mov rdx, rax
add rdx, qword [rbx + 0x98]
mov eax, dword [rdi + 4]
movss xmm1, dword [rdi + 0x24]
and eax, 0x100001
cmp eax, 0x100000
setne r8b
comiss xmm1, xmm10
jae 0x140049fc2
lea rcx, [rsp + 0x48]
call fcn.14004c2c0
xor r9d, r9d
movss xmm1, dword [rax]
mov eax, dword [rdi + 4]
movss dword [rdi + 0x20], xmm1
test al, 0x40
je 0x140049fd3
mov eax, r9d
jmp 0x140049fdd
test al, 0x80
mov eax, r9d
setne al
inc eax
mov edx, eax
lea rcx, [rdx + rdx*2]
cmp eax, r14d
jne 0x140049ff3
movss xmm0, dword [r13 + 0x3a54]
jmp 0x140049ff7
movaps xmm0, xmm10
addss xmm0, xmm1
mov r14d, eax
add rsi, 0x38
addss xmm0, dword [rbp + rcx*4 - 0x75]
movss dword [rbp + rcx*4 - 0x75], xmm0
movsxd rcx, dword [rsp + rdx*4 + 0x38]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsp + rdx*4 + 0x38], eax
mov rax, qword [r13 + 0x5028]
mov edx, dword [rsp + 0x28]
mov dword [rax + rcx*4], r12d
inc r12d
movss xmm0, dword [rdi + 0x20]
movss dword [rax + rcx*4 + 8], xmm0
movss dword [rax + rcx*4 + 4], xmm0
movss xmm1, dword [rdi + 0x20]
mov rcx, qword [rsp + 0x30]
maxss xmm1, xmm13
movss dword [rdi + 0x1c], xmm1
mov eax, dword [rbx]
cmp r12d, eax
jl 0x140049f20
movss xmm12, dword [rbp - 0x65]
mov r15d, dword [rbp - 0x6d]
movss xmm9, dword [rbp - 0x75]
lea rdi, [rbx + 0x2c]
movss xmm6, dword [rbp - 0x69]
movaps xmm7, xmm9
addss xmm7, dword [rbp - 0x71]
movss xmm11, dword [rbp - 0x5d]
addss xmm6, xmm12
movaps xmm8, xmm11
addss xmm8, dword [rbp - 0x59]
movaps xmm1, xmm7
addss xmm1, xmm10
addss xmm1, xmm6
addss xmm1, xmm8
movss dword [rbx + 0x48], xmm1
movss xmm0, dword [rdi + 8]
subss xmm0, dword [rdi]
comiss xmm1, xmm0
jbe 0x14004a0ed
cmp eax, 1
jle 0x14004a0ed
mov eax, dword [rbx + 0x10]
test al, 0x10
jne 0x14004a0ed
test al, al
jns 0x14004a0ed
mov rcx, rbx
call fcn.14004ae70
test rax, rax
je 0x14004a0ed
test dword [rax + 4], 0x200000
mov r12d, dword [rax]
mov dword [rsp + 0x20], r12d
jne 0x14004a0ed
mov dword [rbx + 0x18], r12d
movss xmm0, dword [rdi + 8]
movaps xmm1, xmm8
subss xmm0, dword [rdi]
addss xmm1, xmm7
comiss xmm0, xmm1
seta al
test al, al
je 0x14004a11c
subss xmm0, xmm7
subss xmm0, xmm8
subss xmm6, xmm0
maxss xmm6, xmm10
jmp 0x14004a123
movaps xmm6, xmm1
subss xmm6, xmm0
comiss xmm6, xmm13
jb 0x14004a415
test byte [rbx + 0x10], 0x40
jne 0x14004a153
test al, al
jne 0x14004a415
mov r15d, dword [rbp - 0x61]
mov edx, dword [rbp - 0x79]
add r15d, edx
test al, al
je 0x14004a164
mov esi, dword [rbp - 0x61]
add esi, edx
xor r12d, r12d
jmp 0x14004a16a
test al, al
je 0x14004a13b
mov esi, dword [rbp - 0x61]
mov edx, dword [rbp - 0x79]
add esi, edx
xor r12d, r12d
jmp 0x14004a16a
xor r12d, r12d
mov esi, r12d
mov rcx, qword [r13 + 0x5028]
movaps xmm2, xmm6
movsxd r14, esi
mov edx, r15d
lea rax, [r14 + r14*2]
lea rdi, [rax*4]
add rcx, rdi
call fcn.140047720
lea eax, [rsi + r15]
movsxd r9, eax
cmp r14, r9
jge 0x14004a411
mov rax, r9
sub rax, r14
cmp rax, 4
jl 0x14004a382
mov r8, r9
sub r8, r14
sub r8, 4
shr r8, 2
inc r8
lea r14, [r14 + r8*4]
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r13 + 0x5028]
movsxd rax, dword [rcx + rdi]
imul rdx, rax, 0x38
cvttss2si eax, dword [rcx + rdi + 4]
add rdx, qword [rbx + 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm10, xmm0
ja 0x14004a237
mov eax, dword [rdx + 4]
movaps xmm2, xmm13
maxss xmm2, xmm0
test al, 0x40
je 0x14004a20a
mov rax, r12
jmp 0x14004a215
test al, 0x80
mov rax, r12
setne al
inc rax
movss xmm1, dword [rdx + 0x1c]
lea rax, [rax + rax*2]
movss xmm0, dword [rbp + rax*4 - 0x75]
subss xmm1, xmm2
movss dword [rdx + 0x1c], xmm2
subss xmm0, xmm1
movss dword [rbp + rax*4 - 0x75], xmm0
mov rcx, qword [r13 + 0x5028]
movsxd rax, dword [rcx + rdi + 0xc]
imul rdx, rax, 0x38
cvttss2si eax, dword [rcx + rdi + 0x10]
add rdx, qword [rbx + 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm10, xmm0
ja 0x14004a29f
mov eax, dword [rdx + 4]
movaps xmm2, xmm13
maxss xmm2, xmm0
test al, 0x40
je 0x14004a272
mov rax, r12
jmp 0x14004a27d
test al, 0x80
mov rax, r12
setne al
inc rax
movss xmm1, dword [rdx + 0x1c]
lea rax, [rax + rax*2]
movss xmm0, dword [rbp + rax*4 - 0x75]
subss xmm1, xmm2
movss dword [rdx + 0x1c], xmm2
subss xmm0, xmm1
movss dword [rbp + rax*4 - 0x75], xmm0
mov rcx, qword [r13 + 0x5028]
movsxd rax, dword [rdi + rcx + 0x18]
imul rdx, rax, 0x38
cvttss2si eax, dword [rdi + rcx + 0x1c]
add rdx, qword [rbx + 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm10, xmm0
ja 0x14004a307
mov eax, dword [rdx + 4]
movaps xmm2, xmm13
maxss xmm2, xmm0
test al, 0x40
je 0x14004a2da
mov rax, r12
jmp 0x14004a2e5
test al, 0x80
mov rax, r12
setne al
inc rax
movss xmm1, dword [rdx + 0x1c]
lea rax, [rax + rax*2]
movss xmm0, dword [rbp + rax*4 - 0x75]
subss xmm1, xmm2
movss dword [rdx + 0x1c], xmm2
subss xmm0, xmm1
movss dword [rbp + rax*4 - 0x75], xmm0
mov rcx, qword [r13 + 0x5028]
movsxd rax, dword [rdi + rcx + 0x24]
imul rdx, rax, 0x38
cvttss2si eax, dword [rdi + rcx + 0x28]
add rdx, qword [rbx + 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm10, xmm0
ja 0x14004a36f
mov eax, dword [rdx + 4]
movaps xmm2, xmm13
maxss xmm2, xmm0
test al, 0x40
je 0x14004a342
mov rax, r12
jmp 0x14004a34d
test al, 0x80
mov rax, r12
setne al
inc rax
movss xmm1, dword [rdx + 0x1c]
lea rax, [rax + rax*2]
movss xmm0, dword [rbp + rax*4 - 0x75]
subss xmm1, xmm2
movss dword [rdx + 0x1c], xmm2
subss xmm0, xmm1
movss dword [rbp + rax*4 - 0x75], xmm0
add rdi, 0x30
sub r8, 1
jne 0x14004a1d0
cmp r14, r9
jge 0x14004a3ff
lea r8, [r14 + r14*2]
shl r8, 2
sub r9, r14
mov rcx, qword [r13 + 0x5028]
movsxd rax, dword [rcx + r8]
imul rdx, rax, 0x38
cvttss2si eax, dword [rcx + r8 + 4]
add rdx, qword [rbx + 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm10, xmm0
ja 0x14004a3f5
mov eax, dword [rdx + 4]
movaps xmm2, xmm13
maxss xmm2, xmm0
test al, 0x40
je 0x14004a3c8
mov rax, r12
jmp 0x14004a3d3
test al, 0x80
mov rax, r12
setne al
inc rax
movss xmm1, dword [rdx + 0x1c]
lea rax, [rax + rax*2]
movss xmm0, dword [rbp + rax*4 - 0x75]
subss xmm1, xmm2
movss dword [rdx + 0x1c], xmm2
subss xmm0, xmm1
movss dword [rbp + rax*4 - 0x75], xmm0
add r8, 0xc
sub r9, 1
jne 0x14004a38d
movss xmm9, dword [rbp - 0x75]
movss xmm12, dword [rbp - 0x65]
movss xmm11, dword [rbp - 0x5d]
lea rdi, [rbx + 0x2c]
xor r10d, r10d
movaps xmm2, xmm10
mov r11d, r10d
mov dword [rsp + 0x24], r10d
mov dword [rbx + 0x44], r10d
mov r12d, r10d
nop dword [rax + rax]
lea rdx, [r12 + r12*2]
lea rsi, [rbp - 0x75]
lea rsi, [rsi + rdx*4]
cmp r12, 2
jne 0x14004a45e
movss xmm1, dword [rdi + 8]
movaps xmm0, xmm10
subss xmm1, dword [rdi]
subss xmm1, dword [rsi]
maxss xmm0, xmm1
minss xmm0, xmm2
movaps xmm2, xmm0
movsxd r9, dword [rbp + rdx*4 - 0x79]
mov r8d, r10d
movsxd r15, r11d
mov rdi, r9
mov r14, r10
cmp r9, 4
jl 0x14004a5a3
lea r11, [rdi - 4]
shr r11, 2
lea r10d, [r9 - 1]
imul rcx, r15, 0x38
inc r11
mov r9d, 2
lea r14, [r11*4]
nop word [rax + rax]
mov rax, qword [rbx + 8]
movss dword [rcx + rax + 0x18], xmm2
mov dword [rcx + rax + 0x28], 0xffffffff
cmp r8d, r10d
jge 0x14004a4c2
movss xmm0, dword [r13 + 0x3a54]
jmp 0x14004a4c6
movaps xmm0, xmm10
addss xmm0, dword [rcx + rax + 0x1c]
mov rdx, qword [rbx + 8]
lea eax, [r9 - 1]
addss xmm2, xmm0
movss dword [rcx + rdx + 0x50], xmm2
mov dword [rcx + rdx + 0x60], 0xffffffff
cmp eax, r10d
jge 0x14004a4f6
movss xmm0, dword [r13 + 0x3a54]
jmp 0x14004a4fa
movaps xmm0, xmm10
mov rax, qword [rbx + 8]
addss xmm0, dword [rcx + rdx + 0x54]
addss xmm2, xmm0
movss dword [rcx + rax + 0x88], xmm2
mov dword [rcx + rax + 0x98], 0xffffffff
cmp r9d, r10d
jge 0x14004a52c
movss xmm0, dword [r13 + 0x3a54]
jmp 0x14004a530
movaps xmm0, xmm10
addss xmm0, dword [rcx + rax + 0x8c]
mov rdx, qword [rbx + 8]
lea eax, [r9 + 1]
addss xmm2, xmm0
movss dword [rcx + rdx + 0xc0], xmm2
mov dword [rcx + rdx + 0xd0], 0xffffffff
cmp eax, r10d
jge 0x14004a569
movss xmm0, dword [r13 + 0x3a54]
jmp 0x14004a56d
movaps xmm0, xmm10
addss xmm0, dword [rcx + rdx + 0xc4]
add r8d, 4
add r9d, 4
add rcx, 0xe0
addss xmm2, xmm0
sub r11, 1
jne 0x14004a4a0
mov r11d, dword [rsp + 0x24]
lea rdx, [r12 + r12*2]
cmp r14, rdi
jl 0x14004a5ac
jmp 0x14004a5fc
test r9d, r9d
jle 0x14004a5ff
lea r10d, [r9 - 1]
lea rax, [r15 + r14]
imul rcx, rax, 0x38
sub rdi, r14
mov rax, qword [rbx + 8]
movss dword [rcx + rax + 0x18], xmm2
mov dword [rcx + rax + 0x28], 0xffffffff
cmp r8d, r10d
jge 0x14004a5d9
movss xmm0, dword [r13 + 0x3a54]
jmp 0x14004a5dd
movaps xmm0, xmm10
addss xmm0, dword [rcx + rax + 0x1c]
inc r8d
add rcx, 0x38
addss xmm2, xmm0
sub rdi, 1
jne 0x14004a5b7
lea rsi, [rbp - 0x75]
lea rsi, [rsi + rdx*4]
xor r10d, r10d
movss xmm1, dword [rbp + rdx*4 - 0x71]
lea rdi, [rbx + 0x2c]
add r11d, dword [rbp + rdx*4 - 0x79]
addss xmm2, xmm1
movaps xmm0, xmm1
mov dword [rsp + 0x24], r11d
addss xmm0, dword [rsi]
inc r12
maxss xmm0, xmm10
addss xmm0, dword [rbx + 0x44]
movss dword [rbx + 0x44], xmm0
cmp r12, 3
jl 0x14004a430
mov ecx, dword [rbx + 0x94]
test ecx, ecx
jns 0x14004a661
mov eax, ecx
cdq
sub eax, edx
mov edx, r10d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x90]
test eax, eax
cmovg edx, eax
call fcn.14002d160
xor r14d, r14d
mov dword [rbx + 0x90], r14d
cmp byte [rsp + 0x28], r14b
jne 0x14004a676
mov dword [rbx + 0x18], r14d
mov ecx, dword [rbx + 0x18]
mov eax, ecx
test ecx, ecx
jne 0x14004a698
cmp dword [rbx + 0x1c], r14d
jne 0x14004a698
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14004a698
mov edx, dword [rdx]
mov eax, edx
mov dword [rbx + 0x18], edx
jmp 0x14004a69c
mov edx, dword [rsp + 0x20]
mov dword [rbx + 0x20], eax
mov byte [rbx + 0x74], r14b
mov rax, qword [r13 + 0x4e88]
test rax, rax
je 0x14004a6ca
mov rcx, qword [rax + 0x450]
test rcx, rcx
je 0x14004a6ca
cmp qword [rcx + 0x40], rbx
jne 0x14004a6ca
mov edx, dword [rax + 0xb8]
mov dword [rbx + 0x20], edx
test edx, edx
je 0x14004a85a
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x14004a6f3
mov r9, qword [rbx + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x14004a75e
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x14004a6e4
lea rsi, [rbx + 0x2c]
movss xmm6, dword [rsi]
movss xmm0, dword [rsi + 8]
movss xmm2, dword [rbx + 0x44]
subss xmm0, xmm6
movss xmm3, dword [rbx + 0x4c]
movaps xmm1, xmm2
movss xmm4, dword [rbx + 0x50]
subss xmm1, xmm0
minss xmm3, xmm1
maxss xmm3, xmm10
movss dword [rbx + 0x4c], xmm3
movss xmm5, dword [rbx + 0x34]
movaps xmm0, xmm5
subss xmm0, xmm6
subss xmm2, xmm0
minss xmm4, xmm2
maxss xmm4, xmm10
ucomiss xmm3, xmm4
movss dword [rbx + 0x50], xmm4
jp 0x14004a9de
jne 0x14004a9de
mov dword [rbx + 0x58], r14d
jmp 0x14004aa6c
movsxd rcx, eax
imul rdx, rcx, 0x38
add r9, rdx
je 0x14004a6f3
test byte [r9 + 4], 0xc0
lea rsi, [rbx + 0x2c]
jne 0x14004a6f7
movss xmm3, dword [rsi + 8]
movabs rax, 0x4924924924924925
subss xmm3, dword [rsi]
mov rcx, qword [0x1400bf7f0]
imul rdx
movss xmm0, dword [rcx + 0x3e80]
subss xmm3, xmm9
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
subss xmm3, xmm11
add rdx, rax
mov eax, dword [rbp - 0x79]
dec eax
subss xmm3, xmm12
cmp edx, eax
jle 0x14004a7cc
movaps xmm1, xmm0
xorps xmm1, xmmword [0x1400afd80]
jmp 0x14004a7d0
movaps xmm1, xmm10
movss xmm2, dword [r9 + 0x18]
lea eax, [rdx + 1]
sub r8d, dword [rbp - 0x61]
subss xmm2, xmm9
addss xmm1, xmm2
cmp eax, r8d
jl 0x14004a7ef
movaps xmm0, xmm13
addss xmm2, dword [r9 + 0x1c]
movss xmm4, dword [rbx + 0x50]
comiss xmm4, xmm1
mov dword [rbx + 0x54], r14d
addss xmm2, xmm0
ja 0x14004a83d
movaps xmm0, xmm2
subss xmm0, xmm1
comiss xmm0, xmm3
jae 0x14004a83d
subss xmm2, xmm3
comiss xmm2, xmm4
jbe 0x14004a6f7
subss xmm1, xmm3
movss dword [rbx + 0x50], xmm2
subss xmm1, dword [rbx + 0x4c]
maxss xmm1, xmm10
movss dword [rbx + 0x54], xmm1
jmp 0x14004a6f7
movss xmm0, dword [rbx + 0x4c]
subss xmm0, xmm2
movss dword [rbx + 0x50], xmm1
maxss xmm0, xmm10
movss dword [rbx + 0x54], xmm0
jmp 0x14004a6f7
test byte [rbx + 0x10], 0x80
je 0x14004a6f3
lea rsi, [rbx + 0x2c]
mov r8b, 1
mov rcx, rsi
lea rdx, [rbx + 0x34]
call fcn.1400163f0
test al, al
je 0x14004a6f7
mov r8, qword [0x1400bf7f0]
mov rdx, qword [r13 + 0x4148]
mov rcx, qword [r8 + 0x4ca8]
test rcx, rcx
je 0x14004a8ec
mov rcx, qword [rcx + 0x3d0]
test rcx, rcx
je 0x14004a8ec
cmp byte [rcx + 0xf4], r14b
je 0x14004a8ec
cmp rcx, qword [rdx + 0x3d0]
je 0x14004a8ec
mov eax, dword [rcx + 0x14]
bt eax, 0x1b
jb 0x14004a8c6
bt eax, 0x1a
jae 0x14004a8ec
mov rax, qword [rdx + 0x3c0]
cmp qword [rax + 0x3c0], rcx
je 0x14004a8ec
cmp rax, rcx
je 0x14004a8ec
mov rax, qword [rax + 0x3b8]
test rax, rax
jne 0x14004a8d6
jmp 0x14004a6f7
mov rax, qword [r8 + 0x4c50]
cmp qword [rdx + 0x40], rax
je 0x14004a91d
mov rax, qword [r8 + 0x4160]
test rax, rax
je 0x14004a6f7
mov rax, qword [rax + 0x3d0]
cmp qword [rdx + 0x3d0], rax
jne 0x14004a6f7
movzx eax, byte [r13 + 0x38a5]
test al, al
je 0x14004a934
movss xmm2, dword [r13 + 0xe60]
jmp 0x14004a93d
movss xmm2, dword [r13 + 0xe64]
mov r11d, dword [rbx + 0x14]
test al, al
mov r10d, r14d
mov edx, r11d
setne r10b
lea ecx, [r10 + 0x294]
call fcn.140018280
test al, al
je 0x14004a9ba
ucomiss xmm2, xmm10
jp 0x14004a965
je 0x14004a9ba
movss xmm1, dword [rsi]
movss xmm0, dword [rsi + 8]
subss xmm0, xmm1
mov dword [rbx + 0x54], r14d
subss xmm0, xmm9
subss xmm0, xmm11
subss xmm0, xmm12
mulss xmm0, xmm2
movss xmm2, dword [rbx + 0x50]
divss xmm0, dword [0x1400afc20]
subss xmm2, xmm0
movss xmm0, dword [rbx + 0x34]
subss xmm0, xmm1
movss xmm1, dword [rbx + 0x44]
subss xmm1, xmm0
minss xmm2, xmm1
maxss xmm2, xmm10
movss dword [rbx + 0x50], xmm2
mov rcx, qword [0x1400bf7f0]
lea edx, [r10 + 0x294]
call fcn.1400051f0
mov dword [rax + 4], r11d
mov dword [rax], r11d
mov word [rax + 8], r14w
jmp 0x14004a6f7
movss xmm0, dword [r13 + 0x3e80]
movaps xmm1, xmm4
movss xmm2, dword [rbx + 0x58]
subss xmm1, xmm3
mulss xmm0, dword [0x1400afc60]
mov eax, dword [rbx + 0x28]
inc eax
andps xmm1, xmmword [0x1400afd70]
maxss xmm2, xmm0
divss xmm1, dword [0x1400afb90]
maxss xmm2, xmm1
movss dword [rbx + 0x58], xmm2
cmp eax, dword [r13 + 0x40a0]
jl 0x14004aa64
movss xmm1, dword [r13 + 0x3e80]
mulss xmm1, dword [0x1400afc40]
movss xmm0, dword [rbx + 0x54]
comiss xmm0, xmm1
ja 0x14004aa64
comiss xmm4, xmm3
mulss xmm2, dword [r13 + 0x18]
jbe 0x14004aa55
addss xmm3, xmm2
minss xmm3, xmm4
jmp 0x14004aa67
comiss xmm3, xmm4
jbe 0x14004aa67
subss xmm3, xmm2
maxss xmm3, xmm4
jmp 0x14004aa67
movaps xmm3, xmm4
movss dword [rbx + 0x4c], xmm3
movsd xmm0, qword [rsi]
addss xmm9, xmm6
subss xmm5, xmm11
lea rcx, [rsp + 0x30]
addss xmm9, dword [rbp - 0x71]
subss xmm5, xmm12
movss dword [rbx + 0x5c], xmm9
movss dword [rbx + 0x60], xmm5
mov r9, qword [r13 + 0x4148]
movsd qword [r9 + 0x140], xmm0
movss xmm1, dword [rbx + 0x44]
movss xmm0, dword [rbx + 0x38]
subss xmm0, dword [rbx + 0x30]
movss dword [rsp + 0x30], xmm1
movss xmm1, dword [rbx + 0x84]
movss dword [rsp + 0x34], xmm0
call fcn.140018410
movss xmm1, dword [rsi]
addss xmm1, dword [rbx + 0x48]
movss xmm0, dword [r9 + 0x160]
maxss xmm0, xmm1
movss dword [r9 + 0x160], xmm0
mov rcx, qword [rbp - 0x51]
xor rcx, rsp
call fcn.14005afd0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret