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

Disassembly:
push rbx
push rsi
push r12
push r13
sub rsp, 0xd8
mov rdx, qword [0x1401ca118]
movaps xmmword [rsp + 0x90], xmm7
mov r13, rdx
movaps xmmword [rsp + 0x70], xmm9
mov rax, qword [rdx + 0x1a90]
mov byte [rax + 0x88], 1
mov rsi, qword [rdx + 0x1a90]
mov rbx, qword [rsi + 0x1a8]
mov byte [rsi + 0x88], 1
mov r8, qword [rdx + 0x1a90]
movsxd rcx, dword [r8 + 0x1e0]
lea eax, [rcx - 1]
mov dword [r8 + 0x1e0], eax
test eax, eax
jne 0x140050f50
movss xmm0, dword [r8 + 0x2a0]
jmp 0x140050f5d
mov rax, qword [r8 + 0x1e8]
movss xmm0, dword [rax + rcx*4 - 8]
movss dword [r8 + 0x1c4], xmm0
cmp dword [rbx + 0x10], 1
jle 0x140050f88
call fcn.140026f60
mov rdx, qword [rsi + 0x2d0]
lea rcx, [rbx + 0x70]
call fcn.14003f700
mov rdx, qword [0x1401ca118]
movss xmm7, dword [rbx + 0x20]
maxss xmm7, dword [rsi + 0xdc]
mov r12d, dword [rbx + 4]
movss dword [rbx + 0x20], xmm7
movss dword [rsi + 0xdc], xmm7
test r12b, 0x10
jne 0x140050fb5
mov eax, dword [rbx + 0x28]
mov dword [rsi + 0xf0], eax
xor al, al
xorps xmm9, xmm9
test r12b, 1
jne 0x1400513cb
cmp byte [rsi + 0x8b], al
jne 0x1400513cb
minss xmm7, dword [rsi + 0x27c]
mov qword [rsp + 0xd0], rbp
mov ebp, 0xffffffff
mov qword [rsp + 0xc8], rdi
mov edi, 1
movaps xmmword [rsp + 0x80], xmm8
movss xmm8, dword [rbx + 0x24]
maxss xmm8, dword [rsi + 0x274]
cmp dword [rbx + 0x10], edi
jle 0x1400513b2
mov qword [rsp + 0xc0], r14
lea r14d, [rbp + 0x1d]
mov qword [rsp + 0xb8], r15
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x60], xmm10
movss xmm10, dword [0x140112168]
movaps xmmword [rsp + 0x50], xmm11
movss xmm11, dword [0x140112114]
nop
mov rax, qword [rdx + 0x1a90]
mov ecx, edi
mov r15, qword [rbx + 0x68]
mov r8, qword [rax + 0x1a8]
test r8, r8
jne 0x14005106f
movaps xmm6, xmm9
jmp 0x140051099
test edi, edi
jns 0x140051077
mov ecx, dword [r8 + 0xc]
movss xmm6, dword [r8 + 0x18]
subss xmm6, dword [r8 + 0x14]
movsxd rax, ecx
imul rcx, rax, 0x1c
mov rax, qword [r8 + 0x68]
mulss xmm6, dword [rcx + rax]
addss xmm6, dword [r8 + 0x14]
addss xmm6, dword [rsi + 0x10]
mov ecx, dword [rbx]
add ecx, edi
movss dword [rsp + 0x34], xmm8
movss dword [rsp + 0x3c], xmm7
movaps xmm1, xmm6
movaps xmm2, xmm6
addss xmm1, xmm10
subss xmm2, xmm10
movss dword [rsp + 0x38], xmm1
movss dword [rsp + 0x30], xmm2
cmp dword [rdx + 0x1ae0], ecx
jne 0x1400510d9
mov dword [rdx + 0x1ae4], ecx
cmp dword [rdx + 0x1b20], ecx
jne 0x1400510e8
mov byte [rdx + 0x1b24], 1
mov rax, qword [rdx + 0x1a90]
comiss xmm7, dword [rax + 0x274]
jbe 0x14005111c
movss xmm0, dword [rax + 0x27c]
comiss xmm0, xmm8
jbe 0x14005111c
comiss xmm1, dword [rax + 0x270]
jbe 0x14005111c
movss xmm0, dword [rax + 0x278]
comiss xmm0, xmm2
ja 0x14005113d
test ecx, ecx
je 0x140051130
cmp ecx, dword [rdx + 0x1ae0]
je 0x14005113d
cmp ecx, dword [rdx + 0x1c18]
je 0x14005113d
cmp byte [rdx + 0x3068], 0
je 0x14005125e
xor r8b, r8b
mov byte [rsp + 0x108], r8b
mov byte [rsp + 0x100], r8b
test r12b, 2
jne 0x1400511c1
mov edx, ecx
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
lea r9, [rsp + 0x100]
lea r8, [rsp + 0x108]
call fcn.140048440
movzx r8d, byte [rsp + 0x108]
movzx eax, byte [rsp + 0x100]
test r8b, r8b
jne 0x140051194
test al, al
je 0x1400511ba
mov dword [r13 + 0x1fb0], 4
test al, al
je 0x1400511ba
test byte [r14 + r15 + 8], 2
mov eax, 0x1d
mov rdx, qword [0x1401ca118]
cmove ebp, edi
jmp 0x1400511cd
mov rdx, qword [0x1401ca118]
xor eax, eax
test r8b, r8b
setne al
add rax, 0x1b
add rax, rax
movss dword [rsp + 0x114], xmm7
lea rcx, [rsp + 0x40]
movups xmm0, xmmword [rdx + rax*8 + 0x1624]
cvttss2si eax, xmm6
movups xmmword [rsp + 0x40], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rdx + 0x1568]
movss dword [rsp + 0x4c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x110], xmm0
movss dword [rsp + 0x118], xmm0
movaps xmm0, xmm8
addss xmm0, xmm11
movss dword [rsp + 0x11c], xmm0
call fcn.140022c30
mov rcx, qword [rsi + 0x2d0]
lea rdx, [rsp + 0x118]
mov r9d, eax
movss dword [rsp + 0x20], xmm11
lea r8, [rsp + 0x110]
call fcn.14003eda0
mov rdx, qword [0x1401ca118]
mov eax, dword [rbx + 0x10]
inc edi
add r14, 0x1c
cmp edi, eax
jl 0x140051050
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0xa0]
mov r15, qword [rsp + 0xb8]
mov r14, qword [rsp + 0xc0]
cmp ebp, 0xffffffff
je 0x1400513aa
cmp byte [rbx + 9], 0
jne 0x1400512cf
xor r9d, r9d
inc eax
test eax, eax
jle 0x1400512cf
xor r8d, r8d
nop dword [rax + rax]
mov rcx, qword [rbx + 0x68]
lea r8, [r8 + 0x1c]
inc r9d
mov eax, dword [r8 + rcx - 0x1c]
mov dword [r8 + rcx - 0x18], eax
mov eax, dword [rbx + 0x10]
inc eax
cmp r9d, eax
jl 0x1400512b0
mov byte [rbx + 9], 1
lea ecx, [rbp - 1]
mov rax, qword [rdx + 0x1a90]
movss xmm3, dword [rdx + 0x130]
subss xmm3, dword [rdx + 0x1b08]
mov byte [rsp + 0x100], 1
mov r8, qword [rax + 0x1a8]
addss xmm3, xmm10
subss xmm3, dword [rax + 0x10]
test r8, r8
jne 0x140051311
movaps xmm1, xmm9
jmp 0x14005133b
test ecx, ecx
jns 0x140051319
mov ecx, dword [r8 + 0xc]
movss xmm1, dword [r8 + 0x18]
subss xmm1, dword [r8 + 0x14]
movsxd rax, ecx
imul rcx, rax, 0x1c
mov rax, qword [r8 + 0x68]
mulss xmm1, dword [rcx + rax]
addss xmm1, dword [r8 + 0x14]
test byte [rbx + 4], 4
movss xmm4, dword [rdx + 0x15cc]
movaps xmm2, xmm4
addss xmm2, xmm1
maxss xmm2, xmm3
je 0x140051396
lea eax, [rbp + 1]
test r8, r8
jne 0x140051362
movaps xmm1, xmm9
jmp 0x14005138b
test eax, eax
jns 0x14005136a
mov eax, dword [r8 + 0xc]
movss xmm1, dword [r8 + 0x18]
subss xmm1, dword [r8 + 0x14]
cdqe
imul rdx, rax, 0x1c
mov rax, qword [r8 + 0x68]
mulss xmm1, dword [rdx + rax]
addss xmm1, dword [r8 + 0x14]
subss xmm1, xmm4
minss xmm1, xmm2
movaps xmm2, xmm1
movaps xmm1, xmm2
mov ecx, ebp
call fcn.1400500e0
movzx eax, byte [rsp + 0x100]
jmp 0x1400513ac
xor al, al
movaps xmm10, xmmword [rsp + 0x60]
mov rdi, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0xd0]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
mov byte [rbx + 9], al
xor eax, eax
movups xmm0, xmmword [rsi + 0x260]
movups xmmword [rsi + 0x250], xmm0
movups xmm0, xmmword [rbx + 0x4c]
mov qword [rsi + 0x1a8], rax
mov dword [rsi + 0x114], eax
movups xmmword [rsi + 0x260], xmm0
movss xmm0, dword [rsi + 0x110]
addss xmm0, dword [rsi + 0x10]
addss xmm0, xmm9
movaps xmm9, xmmword [rsp + 0x70]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0xd8], xmm0
add rsp, 0xd8
pop r13
pop r12
pop rsi
pop rbx
ret