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

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x58
mov rbx, qword [0x1400d5de8]
xor esi, esi
xor r14b, r14b
mov edi, esi
movsxd rax, dword [rbx + 0x1be0]
test eax, eax
jle 0x1400133bf
mov r8, qword [rbx + 0x1be8]
lea rdx, [rax - 1]
lea rcx, [rdx + rdx*2]
add r8, 8
shl rcx, 4
add r8, rcx
nop dword [rax]
mov rax, qword [r8]
test rax, rax
je 0x1400133b5
test dword [rax + 0xc], 0x8000000
jne 0x140013449
sub r8, 0x30
sub rdx, 1
jns 0x1400133a0
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0x50], r15
movaps xmmword [rsp + 0x40], xmm6
xorps xmm6, xmm6
cmp qword [rbx + 0x1d38], rsi
je 0x140013420
cmp qword [rbx + 0x1d30], rsi
jne 0x140013420
comiss xmm6, dword [rbx + 0x1dd8]
movss xmm1, dword [rbx + 0x1d4c]
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1400cbf24]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1d4c], xmm1
jb 0x140013420
comiss xmm6, xmm1
jb 0x140013420
mov qword [rbx + 0x1d38], rsi
mov r9, qword [rbx + 0x1d30]
mov r15d, 1
test r9, r9
jne 0x14001345a
mov edx, r15d
lea ecx, [r9 + 3]
call fcn.140011190
comiss xmm0, xmm6
jbe 0x14001345a
movzx r8d, dl
jmp 0x140013462
mov qword [rbx + 0x1d30], rsi
add rsp, 0x58
pop r14
pop rdi
pop rsi
pop rbx
ret
xor r8b, r8b
test r9, r9
jne 0x140013487
cmp byte [rbx + 0x148], sil
je 0x140013487
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x140013487
call fcn.140008cf0
test al, al
je 0x140013487
test byte [rbx + 8], r15b
je 0x140013487
movzx r9d, r15b
jmp 0x14001348a
xor r9b, r9b
test r8b, r8b
jne 0x140013498
test r9b, r9b
je 0x140013540
mov rax, qword [rbx + 0x1c00]
test rax, rax
jne 0x14001350e
mov r8d, dword [rbx + 0x1a40]
sub r8d, r15d
js 0x140013540
movsxd r10, dword [rbx + 0x1a40]
movsxd rcx, r8d
nop
cmp rcx, r10
jge 0x140013540
cmp rcx, 0xffffffff80000001
je 0x140013540
mov rax, qword [rbx + 0x1a48]
mov rdx, qword [rax + rcx*8]
cmp byte [rdx + 0x7e], sil
je 0x1400134f1
cmp rdx, qword [rdx + 0x3a0]
jne 0x1400134f1
test dword [rdx + 0xc], 0x80000
je 0x1400134fb
dec r8d
sub rcx, r15
jns 0x1400134c0
jmp 0x140013540
mov rax, qword [rbx + 0x1a48]
movsxd rcx, r8d
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x140013540
mov rax, qword [rax + 0x3a0]
xor r9b, r15b
mov qword [rbx + 0x1d38], rax
mov qword [rbx + 0x1d30], rax
movzx eax, r9b
mov byte [rbx + 0x1d50], al
add eax, 3
mov dword [rbx + 0x1c34], eax
mov qword [rbx + 0x1d48], rsi
mov r10, qword [rbx + 0x1d30]
movss xmm0, dword [rbx + 0x18]
mov r8, r10
movss xmm5, dword [0x1400cbeac]
movaps xmmword [rsp + 0x30], xmm7
addss xmm0, dword [rbx + 0x1d48]
movss dword [rbx + 0x1d48], xmm0
test r10, r10
je 0x14001363f
cmp dword [rbx + 0x1c34], 4
jne 0x14001363f
subss xmm0, dword [0x1400cbe60]
divss xmm0, dword [0x1400cbe48]
comiss xmm6, xmm0
jbe 0x14001359c
movaps xmm1, xmm6
jmp 0x1400135a3
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [rbx + 0x1d4c]
mov edx, 4
maxss xmm7, xmm1
lea ecx, [rdx + 9]
movss dword [rbx + 0x1d4c], xmm7
call fcn.140011190
comiss xmm0, xmm6
mov r9d, esi
lea ecx, [rdx + 8]
seta r9b
call fcn.140011190
comiss xmm0, xmm6
mov ecx, esi
mov r8, r10
seta cl
sub ecx, r9d
je 0x1400135ff
call fcn.140013210
mov r8, qword [rbx + 0x1d30]
movaps xmm7, xmm5
mov dword [rbx + 0x1d4c], 0x3f800000
movss xmm0, dword [rbx + 0x358]
comiss xmm0, xmm6
ja 0x14001363f
comiss xmm5, xmm7
seta al
and byte [rbx + 0x1d50], al
je 0x140013633
cmp qword [rbx + 0x1c00], rsi
je 0x140013636
movzx r14d, r15b
mov qword [rbx + 0x1d30], rsi
jmp 0x1400136be
mov rdi, r8
mov qword [rbx + 0x1d30], rsi
jmp 0x1400136be
test r8, r8
je 0x1400136be
cmp dword [rbx + 0x1c34], 3
jne 0x1400136be
movss xmm0, dword [rbx + 0x1d48]
subss xmm0, dword [0x1400cbe60]
divss xmm0, dword [0x1400cbe48]
comiss xmm6, xmm0
jbe 0x14001366f
movaps xmm5, xmm6
jmp 0x140013673
minss xmm5, xmm0
movss xmm0, dword [rbx + 0x1d4c]
maxss xmm0, xmm5
movss dword [rbx + 0x1d4c], xmm0
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x1400136b3
call fcn.140008cf0
test al, al
je 0x1400136b3
cmp byte [rbx + 0x149], sil
mov ecx, 0xffffffff
cmovne ecx, r15d
call fcn.140013210
mov r8, qword [rbx + 0x1d30]
cmp byte [rbx + 0x148], sil
cmove rdi, r8
mov edx, r15d
mov ecx, 0x10
call fcn.140011190
comiss xmm0, xmm6
movaps xmm7, xmmword [rsp + 0x30]
jbe 0x1400136db
mov byte [rbx + 0x1d50], dl
cmp dword [rbx + 0x1ad0], esi
je 0x1400136f0
cmp byte [rbx + 0x1add], sil
je 0x14001377d
cmp byte [rbx + 0x1d50], sil
je 0x14001377d
mov edx, 2
lea ecx, [rdx + 0xe]
call fcn.140011190
comiss xmm0, xmm6
jbe 0x14001377d
lea rax, [rbx + 0x130]
test rax, rax
jne 0x140013722
lea rax, [rbx + 0x130]
movss xmm0, dword [rax]
movss xmm1, dword [0x1400cbfd8]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140013743
comiss xmm2, xmm1
jb 0x140013743
movzx ecx, r15b
jmp 0x140013745
xor cl, cl
lea rax, [rbx + 0x3cc]
test rax, rax
jne 0x140013758
lea rax, [rbx + 0x130]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140013771
comiss xmm2, xmm1
jb 0x140013771
movzx eax, r15b
jmp 0x140013773
xor al, al
cmp cl, al
movzx r14d, r14b
cmove r14d, r15d
mov rbp, qword [rbx + 0x1d30]
test rbp, rbp
je 0x14001388b
test byte [rbp + 0xc], 4
jne 0x14001388b
mov eax, dword [rbx + 0x1c34]
cmp eax, 3
jne 0x1400137bc
cmp byte [rbx + 0x149], sil
jne 0x14001388b
mov edx, r15d
lea rcx, [rsp + 0x88]
jmp 0x1400137cf
cmp eax, 4
jne 0x14001388b
mov edx, eax
lea rcx, [rsp + 0x90]
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
call fcn.140011310
movss xmm3, dword [rax]
ucomiss xmm3, xmm6
movss xmm4, dword [rax + 4]
jp 0x1400137fb
jne 0x1400137fb
ucomiss xmm4, xmm6
jp 0x1400137fb
je 0x14001388b
movss xmm1, dword [rbx + 0xc0]
lea rdx, [rsp + 0x80]
movss xmm0, dword [rbx + 0x18]
mov r8d, r15d
minss xmm1, dword [rbx + 0xc4]
mov rcx, qword [rbp + 0x3a0]
mulss xmm0, dword [0x1400cbf80]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm3, xmm2
mulss xmm4, xmm2
addss xmm3, dword [rcx + 0x10]
addss xmm4, dword [rcx + 0x14]
movss dword [rsp + 0x80], xmm3
movss dword [rsp + 0x84], xmm4
call fcn.14000e2e0
mov rax, qword [rbx + 0x1d30]
mov byte [rbx + 0x1c57], r8b
test dword [rax + 0xc], 0x100
jne 0x14001388b
comiss xmm6, dword [rbx + 0x301c]
jb 0x14001388b
mov eax, dword [rbx + 0x1c]
mov dword [rbx + 0x301c], eax
movaps xmm6, xmmword [rsp + 0x40]
test rdi, rdi
je 0x140013991
mov rax, qword [rbx + 0x1c00]
test rax, rax
je 0x1400138b2
cmp rdi, qword [rax + 0x3a0]
je 0x14001398a
mov ecx, dword [rbx + 0x1ad0]
test ecx, ecx
setne al
mov byte [rbx + 0x1adc], al
test ecx, ecx
je 0x1400138d4
mov dword [rbx + 0x1ad8], esi
mov word [rbx + 0x1ade], si
mov dword [rbx + 0x1ad0], esi
mov byte [rbx + 0x1add], sil
mov qword [rbx + 0x1b00], rsi
mov byte [rbx + 0x1ae0], sil
mov qword [rbx + 0x1ae4], rsi
mov qword [rbx + 0x1af0], rsi
mov word [rbx + 0x1c56], 0x100
mov rax, qword [rdi + 0x3b8]
test rax, rax
cmovne rdi, rax
xor edx, edx
mov rcx, rdi
call fcn.14000fb80
mov rcx, rdi
call fcn.14000dd80
cmp dword [rdi + 0x3c0], esi
jne 0x14001397a
mov eax, dword [rdi + 0xc]
mov rdx, qword [0x1400d5de8]
mov qword [rdx + 0x1c08], rsi
and eax, 0x40000
jne 0x14001397a
movsxd rcx, dword [rdx + 0x1c4c]
xorps xmm0, xmm0
mov rax, qword [rdx + 0x1c00]
mov dword [rax + rcx*4 + 0x3c0], esi
mov word [rdx + 0x1c59], r15w
mov dword [rdx + 0x1c5c], esi
movups xmmword [rdx + 0x1c60], xmm0
mov byte [rdx + 0x1c58], r15b
cmp dword [rdi + 0x144], 2
jne 0x14001398a
mov dword [rbx + 0x1c4c], r15d
mov qword [rbx + 0x1d30], rsi
mov r15, qword [rsp + 0x50]
test r14b, r14b
je 0x140013a24
mov rbp, qword [rbx + 0x1c00]
test rbp, rbp
je 0x140013a24
lea rcx, [rbp + 0x398]
mov rdi, rbp
cmp qword [rcx], rsi
je 0x1400139e7
nop word [rax + rax]
test byte [rdi + 0x144], 2
jne 0x1400139e7
mov eax, dword [rdi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1400139e7
mov rdi, qword [rcx]
lea rcx, [rdi + 0x398]
cmp qword [rcx], rsi
jne 0x1400139c0
cmp rdi, rbp
je 0x140013a02
mov rcx, rdi
call fcn.14000dd80
mov qword [rdi + 0x3b8], rbp
mov rbp, qword [rbx + 0x1c00]
mov word [rbx + 0x1c56], 0x100
test byte [rbp + 0x144], 2
je 0x140013a1d
mov esi, dword [rbx + 0x1c4c]
xor esi, 1
mov ecx, esi
call fcn.140010f90
mov rbp, qword [rsp + 0x98]
add rsp, 0x58
pop r14
pop rdi
pop rsi
pop rbx
ret