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

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x50
mov rdi, qword [0x14005fd58]
xor r15d, r15d
mov qword [rax + 0x18], r12
mov rbx, rdi
mov qword [rax + 0x20], r14
mov esi, r15d
movaps xmmword [rax - 0x38], xmm6
xor r14b, r14b
mov eax, dword [rdi + 0x1be8]
sub eax, 1
js 0x140013750
movsxd rdx, eax
mov rax, qword [rdi + 0x1bf0]
add rax, 8
lea r8, [rdx + rdx*2]
shl r8, 4
add r8, rax
mov r9, qword [r8]
test r9, r9
je 0x140013746
test dword [r9 + 0xc], 0x8000000
jne 0x1400137ce
sub r8, 0x30
sub rdx, 1
jns 0x140013730
mov r9, r15
xorps xmm6, xmm6
cmp qword [rdi + 0x1d40], rsi
je 0x1400137a2
cmp qword [rdi + 0x1d38], rsi
jne 0x1400137a2
comiss xmm6, dword [rdi + 0x1de0]
movss xmm1, dword [rdi + 0x1d54]
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x140054934]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1d54], xmm1
jb 0x1400137a2
comiss xmm6, xmm1
jb 0x1400137a2
mov qword [rdi + 0x1d40], r15
mov r12d, 1
test r9, r9
jne 0x1400137da
cmp qword [rdi + 0x1d38], rsi
jne 0x1400137da
mov edx, r12d
lea ecx, [r12 + 2]
call fcn.1400113d0
comiss xmm0, xmm6
jbe 0x1400137da
movzx r8d, dl
jmp 0x1400137eb
mov qword [rdi + 0x1d38], r15
jmp 0x140013753
xor r8b, r8b
test r9, r9
jne 0x140013810
cmp qword [rdi + 0x1d38], rsi
jne 0x140013810
cmp byte [rdi + 0x140], sil
je 0x140013810
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
js 0x140013810
call fcn.1400098e0
test al, al
je 0x140013810
test byte [rdi + 8], r12b
je 0x140013810
movzx r9d, r12b
jmp 0x140013813
xor r9b, r9b
test r8b, r8b
jne 0x140013821
test r9b, r9b
je 0x1400138bf
mov rax, qword [rdi + 0x1c08]
test rax, rax
jne 0x14001388d
movsxd rcx, dword [rdi + 0x1a40]
lea edx, [rcx - 1]
test edx, edx
js 0x1400138bf
movsxd rax, edx
mov r10, rcx
cmp rax, r10
jge 0x1400138bf
cmp rax, 0xffffffff80000001
je 0x1400138bf
mov r8, qword [rdi + 0x1a48]
mov rcx, qword [r8 + rax*8]
cmp byte [rcx + 0x86], sil
je 0x140013878
cmp rcx, qword [rcx + 0x3c0]
jne 0x140013878
test dword [rcx + 0xc], 0x80000
je 0x140013881
dec edx
sub rax, r12
jns 0x140013845
jmp 0x1400138bf
movsxd rax, edx
mov rax, qword [r8 + rax*8]
test rax, rax
je 0x1400138bf
mov rax, qword [rax + 0x3c0]
xor r9b, r12b
mov qword [rdi + 0x1d40], rax
mov qword [rdi + 0x1d38], rax
movzx eax, r9b
mov byte [rdi + 0x1d58], al
add eax, 3
mov dword [rdi + 0x1c3c], eax
mov qword [rdi + 0x1d50], r15
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x1d50]
movss xmm5, dword [0x1400548ac]
movss dword [rdi + 0x1d50], xmm0
cmp qword [rdi + 0x1d38], rsi
je 0x1400139ac
cmp dword [rdi + 0x1c3c], 4
jne 0x1400139ac
subss xmm0, dword [0x140054864]
movaps xmmword [rsp + 0x30], xmm7
divss xmm0, dword [0x140054858]
comiss xmm6, xmm0
jbe 0x140013915
movaps xmm1, xmm6
jmp 0x14001391c
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [rdi + 0x1d54]
mov edx, 4
maxss xmm7, xmm1
lea ecx, [rdx + 9]
movss dword [rdi + 0x1d54], xmm7
call fcn.1400113d0
comiss xmm0, xmm6
mov r9d, r15d
lea ecx, [rdx + 8]
seta r9b
call fcn.1400113d0
comiss xmm0, xmm6
mov ecx, r15d
seta cl
sub ecx, r9d
je 0x14001396f
call fcn.140013590
mov dword [rdi + 0x1d54], 0x3f800000
movaps xmm7, xmm5
movss xmm0, dword [rdi + 0x350]
comiss xmm0, xmm6
ja 0x1400139a7
comiss xmm5, xmm7
seta al
and byte [rdi + 0x1d58], al
je 0x140013999
cmp qword [rdi + 0x1c08], rsi
je 0x1400139a0
movzx r14d, r12b
jmp 0x1400139a0
mov rsi, qword [rdi + 0x1d38]
mov qword [rdi + 0x1d38], r15
movaps xmm7, xmmword [rsp + 0x30]
cmp qword [rdi + 0x1d38], r15
je 0x140013a2d
cmp dword [rdi + 0x1c3c], 3
jne 0x140013a2d
movss xmm0, dword [rdi + 0x1d50]
subss xmm0, dword [0x140054864]
divss xmm0, dword [0x140054858]
comiss xmm6, xmm0
jbe 0x1400139e0
movaps xmm5, xmm6
jmp 0x1400139e4
minss xmm5, xmm0
movss xmm0, dword [rdi + 0x1d54]
maxss xmm0, xmm5
movss dword [rdi + 0x1d54], xmm0
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
js 0x140013a1d
call fcn.1400098e0
test al, al
je 0x140013a1d
cmp byte [rdi + 0x141], r15b
mov ecx, 0xffffffff
cmovne ecx, r12d
call fcn.140013590
cmp byte [rdi + 0x140], r15b
jne 0x140013a2d
mov rsi, qword [rdi + 0x1d38]
mov edx, r12d
mov ecx, 0x10
call fcn.1400113d0
comiss xmm0, xmm6
jbe 0x140013a45
mov byte [rdi + 0x1d58], dl
cmp dword [rdi + 0x1ad8], r15d
je 0x140013a5b
cmp byte [rdi + 0x1ae5], r15b
je 0x140013ae8
cmp byte [rdi + 0x1d58], r15b
je 0x140013ae8
mov edx, 2
lea ecx, [rdx + 0xe]
call fcn.1400113d0
comiss xmm0, xmm6
jbe 0x140013ae8
lea rax, [rdi + 0x3c4]
test rax, rax
jne 0x140013a8d
lea rax, [rdi + 0x128]
movss xmm0, dword [rax]
movss xmm1, dword [0x1400549f4]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140013aae
comiss xmm2, xmm1
jb 0x140013aae
movzx ecx, r12b
jmp 0x140013ab0
xor cl, cl
lea rax, [rdi + 0x128]
test rax, rax
jne 0x140013ac3
lea rax, [rdi + 0x128]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140013adc
comiss xmm2, xmm1
jb 0x140013adc
movzx eax, r12b
jmp 0x140013ade
xor al, al
cmp al, cl
movzx r14d, r14b
cmove r14d, r12d
mov rbp, qword [rdi + 0x1d38]
test rbp, rbp
je 0x140013c97
test byte [rbp + 0xc], 4
jne 0x140013c97
mov eax, dword [rdi + 0x1c3c]
cmp eax, 3
jne 0x140013b27
cmp byte [rdi + 0x141], r15b
jne 0x140013c97
mov edx, r12d
lea rcx, [rsp + 0x80]
jmp 0x140013b3a
cmp eax, 4
jne 0x140013c97
mov edx, eax
lea rcx, [rsp + 0x88]
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
call fcn.140011550
movss xmm4, dword [rax]
ucomiss xmm4, xmm6
movss xmm3, dword [rax + 4]
jp 0x140013b66
jne 0x140013b66
ucomiss xmm3, xmm6
jp 0x140013b66
je 0x140013c97
mov rcx, qword [rbp + 0x3c0]
movss xmm1, dword [rdi + 0xc0]
movss xmm0, dword [rdi + 0x18]
minss xmm1, dword [rdi + 0xc4]
mulss xmm0, dword [0x1400549b0]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
mov eax, dword [rcx + 0xac]
cvtdq2ps xmm2, xmm2
mulss xmm4, xmm2
mulss xmm3, xmm2
addss xmm4, dword [rcx + 0x10]
addss xmm3, dword [rcx + 0x14]
test r12b, al
je 0x140013c75
movss xmm0, dword [rcx + 0x10]
and eax, 0xfffffff1
movss xmm1, dword [rcx + 0x14]
mov dword [rcx + 0xac], eax
mov dword [rcx + 0xb8], 0x7f7fffff
mov dword [rcx + 0xbc], 0x7f7fffff
cvttss2si eax, xmm4
movd xmm2, eax
cvtdq2ps xmm2, xmm2
cvttss2si eax, xmm3
movss dword [rcx + 0x10], xmm2
subss xmm2, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movaps xmm0, xmm2
movss dword [rcx + 0x14], xmm3
subss xmm3, xmm1
addss xmm0, dword [rcx + 0xd8]
movaps xmm1, xmm3
addss xmm1, dword [rcx + 0xdc]
movss dword [rcx + 0xd8], xmm0
movaps xmm0, xmm2
addss xmm0, dword [rcx + 0xf0]
addss xmm2, dword [rcx + 0xe8]
movss dword [rcx + 0xdc], xmm1
movaps xmm1, xmm3
addss xmm1, dword [rcx + 0xf4]
addss xmm3, dword [rcx + 0xec]
movss dword [rcx + 0xf0], xmm0
movss dword [rcx + 0xe8], xmm2
movss dword [rcx + 0xf4], xmm1
movss dword [rcx + 0xec], xmm3
test dword [rcx + 0xc], 0x100
jne 0x140013c90
comiss xmm6, dword [rdi + 0x302c]
jb 0x140013c90
mov eax, dword [rdi + 0x1c]
mov dword [rdi + 0x302c], eax
mov byte [rdi + 0x1c5f], r12b
movaps xmm6, xmmword [rsp + 0x40]
test rsi, rsi
je 0x140013d70
mov rax, qword [rdi + 0x1c08]
test rax, rax
je 0x140013cbe
cmp rsi, qword [rax + 0x3c0]
je 0x140013d69
mov ecx, dword [rdi + 0x1ad8]
test ecx, ecx
setne al
mov byte [rdi + 0x1ae4], al
test ecx, ecx
je 0x140013ce2
mov dword [rdi + 0x1ae0], r15d
mov word [rdi + 0x1ae7], r15w
mov dword [rdi + 0x1ad8], r15d
mov word [rdi + 0x1ae5], r15w
mov qword [rdi + 0x1b08], r15
mov byte [rdi + 0x1ae9], r15b
mov qword [rdi + 0x1aec], r15
mov qword [rdi + 0x1af8], r15
mov word [rdi + 0x1c5e], 0x100
mov rax, qword [rsi + 0x3d8]
test rax, rax
je 0x140013d2d
cmp byte [rax + 0x87], r15b
cmovne rsi, rax
xor edx, edx
mov rcx, rsi
call fcn.140010140
mov rcx, rsi
call fcn.14000e9a0
cmp dword [rsi + 0x3e0], r15d
jne 0x140013d52
xor edx, edx
mov rcx, rsi
call fcn.1400111f0
cmp dword [rsi + 0x148], 2
jne 0x140013d62
mov dword [rdi + 0x1c54], r12d
mov rdi, qword [0x14005fd58]
mov qword [rbx + 0x1d38], r15
mov r12, qword [rsp + 0x90]
test r14b, r14b
mov r14, qword [rsp + 0x98]
je 0x140013e2c
mov rsi, qword [rbx + 0x1c08]
test rsi, rsi
je 0x140013e2c
lea rcx, [rsi + 0x3b8]
cmp qword [rcx], r15
je 0x140013dcc
test byte [rsi + 0x148], 2
jne 0x140013dcc
mov eax, dword [rsi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x140013dcc
mov rsi, qword [rcx]
lea rcx, [rsi + 0x3b8]
cmp qword [rcx], r15
jne 0x140013da5
mov rbp, qword [rbx + 0x1c08]
cmp rsi, rbp
je 0x140013dee
mov rcx, rsi
call fcn.14000e9a0
mov rdi, qword [0x14005fd58]
mov qword [rsi + 0x3d8], rbp
mov rax, qword [rbx + 0x1c08]
mov word [rbx + 0x1c5e], 0x100
test byte [rax + 0x148], 2
mov rax, rdi
je 0x140013e37
mov ecx, dword [rbx + 0x1c54]
xor ecx, 1
mov dword [rdi + 0x1c54], ecx
je 0x140013e41
mov r8, qword [rdi + 0x1c08]
mov dl, 1
mov rcx, r8
call fcn.1400111f0
add rsp, 0x50
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, r15d
mov dword [rdi + 0x1c54], r15d
mov r8, qword [rax + 0x1c08]
mov rdx, qword [r8 + 0x3d8]
test rdx, rdx
je 0x140013e5d
cmp byte [rdx + 0x87], r15b
jne 0x140013e60
mov rdx, r8
mov qword [rax + 0x1c08], rdx
mov r8, rdx
test ecx, ecx
jne 0x140013e22
mov ecx, dword [rdx + 0x3e0]
test ecx, ecx
je 0x140013e22
mov dword [rdi + 0x1c10], ecx
mov dword [rdi + 0x1c14], r15d
mov dword [rdx + 0x3e0], ecx
movups xmm0, xmmword [rdx + 0x3e8]
mov rax, qword [rax + 0x1c08]
movups xmmword [rax + 0x3e8], xmm0
mov word [rdi + 0x1c5d], 1
mov byte [rdi + 0x1c5f], 1
add rsp, 0x50
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret