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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rdi, qword [0x140093eb0]
xor r14d, r14d
xor bpl, bpl
mov qword [rsp + 0x98], r15
movaps xmmword [rsp + 0x40], xmm6
mov rbx, rdi
mov esi, r14d
mov eax, dword [rdi + 0x1c70]
sub eax, 1
js 0x1400145b0
mov r8, qword [rdi + 0x1c78]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop
mov r9, qword [r8]
test r9, r9
je 0x1400145a6
test dword [r9 + 0xc], 0x8000000
jne 0x14001462d
sub r8, 0x30
sub rdx, 1
jns 0x140014590
mov r9, r14
xorps xmm6, xmm6
cmp qword [rdi + 0x1dc8], rsi
je 0x140014602
cmp qword [rdi + 0x1dc0], rsi
jne 0x140014602
comiss xmm6, dword [rdi + 0x1e68]
movss xmm1, dword [rdi + 0x1ddc]
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x140085e90]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1ddc], xmm1
jb 0x140014602
comiss xmm6, xmm1
jb 0x140014602
mov qword [rdi + 0x1dc8], r14
mov r15d, 1
test r9, r9
jne 0x140014639
cmp qword [rdi + 0x1dc0], rsi
jne 0x140014639
mov edx, r15d
lea ecx, [r15 + 2]
call fcn.140012230
comiss xmm0, xmm6
jbe 0x140014639
movzx r8d, dl
jmp 0x14001464a
mov qword [rdi + 0x1dc0], r14
jmp 0x1400145b3
xor r8b, r8b
test r9, r9
jne 0x14001466f
cmp qword [rdi + 0x1dc0], rsi
jne 0x14001466f
cmp byte [rdi + 0x140], sil
je 0x14001466f
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
js 0x14001466f
call fcn.14000adc0
test al, al
je 0x14001466f
test byte [rdi + 8], r15b
je 0x14001466f
movzx r9d, r15b
jmp 0x140014672
xor r9b, r9b
test r8b, r8b
jne 0x140014680
test r9b, r9b
je 0x14001471e
mov rax, qword [rdi + 0x1c90]
test rax, rax
jne 0x1400146ec
movsxd rcx, dword [rdi + 0x1a98]
lea edx, [rcx - 1]
test edx, edx
js 0x14001471e
movsxd rax, edx
mov r10, rcx
cmp rax, r10
jge 0x14001471e
cmp rax, 0xffffffff80000001
je 0x14001471e
mov r8, qword [rdi + 0x1aa0]
mov rcx, qword [r8 + rax*8]
cmp byte [rcx + 0x8f], sil
je 0x1400146d7
cmp rcx, qword [rcx + 0x390]
jne 0x1400146d7
test dword [rcx + 0xc], 0x80000
je 0x1400146e0
dec edx
sub rax, r15
jns 0x1400146a4
jmp 0x14001471e
movsxd rax, edx
mov rax, qword [r8 + rax*8]
test rax, rax
je 0x14001471e
mov rax, qword [rax + 0x390]
xor r9b, r15b
mov qword [rdi + 0x1dc8], rax
mov qword [rdi + 0x1dc0], rax
movzx eax, r9b
mov byte [rdi + 0x1de0], al
add eax, 3
mov dword [rdi + 0x1cc4], eax
mov qword [rdi + 0x1dd8], r14
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x1dd8]
movss xmm5, dword [0x140085e54]
movss dword [rdi + 0x1dd8], xmm0
cmp qword [rdi + 0x1dc0], rsi
je 0x14001480b
cmp dword [rdi + 0x1cc4], 4
jne 0x14001480b
subss xmm0, dword [0x140085e08]
movaps xmmword [rsp + 0x30], xmm7
divss xmm0, dword [0x140085dfc]
comiss xmm6, xmm0
jbe 0x140014774
movaps xmm1, xmm6
jmp 0x14001477b
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [rdi + 0x1ddc]
mov edx, 4
maxss xmm7, xmm1
lea ecx, [rdx + 9]
movss dword [rdi + 0x1ddc], xmm7
call fcn.140012230
comiss xmm0, xmm6
mov r9d, r14d
lea ecx, [rdx + 8]
seta r9b
call fcn.140012230
comiss xmm0, xmm6
mov ecx, r14d
seta cl
sub ecx, r9d
je 0x1400147ce
call fcn.1400143f0
mov dword [rdi + 0x1ddc], 0x3f800000
movaps xmm7, xmm5
movss xmm0, dword [rdi + 0x350]
comiss xmm0, xmm6
ja 0x140014806
comiss xmm5, xmm7
seta al
and byte [rdi + 0x1de0], al
je 0x1400147f8
cmp qword [rdi + 0x1c90], rsi
je 0x1400147ff
movzx ebp, r15b
jmp 0x1400147ff
mov rsi, qword [rdi + 0x1dc0]
mov qword [rdi + 0x1dc0], r14
movaps xmm7, xmmword [rsp + 0x30]
cmp qword [rdi + 0x1dc0], r14
je 0x14001488c
cmp dword [rdi + 0x1cc4], 3
jne 0x14001488c
movss xmm0, dword [rdi + 0x1dd8]
subss xmm0, dword [0x140085e08]
divss xmm0, dword [0x140085dfc]
comiss xmm6, xmm0
jbe 0x14001483f
movaps xmm5, xmm6
jmp 0x140014843
minss xmm5, xmm0
movss xmm0, dword [rdi + 0x1ddc]
maxss xmm0, xmm5
movss dword [rdi + 0x1ddc], xmm0
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
js 0x14001487c
call fcn.14000adc0
test al, al
je 0x14001487c
cmp byte [rdi + 0x141], r14b
mov ecx, 0xffffffff
cmovne ecx, r15d
call fcn.1400143f0
cmp byte [rdi + 0x140], r14b
jne 0x14001488c
mov rsi, qword [rdi + 0x1dc0]
mov edx, r15d
mov ecx, 0x10
call fcn.140012230
comiss xmm0, xmm6
jbe 0x1400148a4
mov byte [rdi + 0x1de0], dl
cmp dword [rdi + 0x1b30], r14d
je 0x1400148ba
cmp byte [rdi + 0x1b3d], r14b
je 0x140014947
cmp byte [rdi + 0x1de0], r14b
je 0x140014947
mov edx, 2
lea ecx, [rdx + 0xe]
call fcn.140012230
comiss xmm0, xmm6
jbe 0x140014947
lea rax, [rdi + 0x3c4]
test rax, rax
jne 0x1400148ec
lea rax, [rdi + 0x128]
movss xmm0, dword [rax]
movss xmm1, dword [0x140085f04]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x14001490d
comiss xmm2, xmm1
jb 0x14001490d
movzx ecx, r15b
jmp 0x14001490f
xor cl, cl
lea rax, [rdi + 0x128]
test rax, rax
jne 0x140014922
lea rax, [rdi + 0x128]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x14001493b
comiss xmm2, xmm1
jb 0x14001493b
movzx eax, r15b
jmp 0x14001493d
xor al, al
cmp al, cl
movzx ebp, bpl
cmove ebp, r15d
mov r11, qword [rdi + 0x1dc0]
test r11, r11
je 0x140014a52
test byte [r11 + 0xc], 4
jne 0x140014a52
mov eax, dword [rdi + 0x1cc4]
cmp eax, 3
jne 0x140014987
cmp byte [rdi + 0x141], r14b
jne 0x140014a52
mov edx, r15d
lea rcx, [rsp + 0x88]
jmp 0x14001499a
cmp eax, 4
jne 0x140014a52
mov edx, eax
lea rcx, [rsp + 0x90]
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm6
call fcn.1400123b0
movss xmm4, dword [rax]
ucomiss xmm4, xmm6
movss xmm3, dword [rax + 4]
jp 0x1400149c3
jne 0x1400149c3
ucomiss xmm3, xmm6
jp 0x1400149c3
je 0x140014a52
mov r9, qword [r11 + 0x390]
lea rdx, [rsp + 0x80]
movss xmm1, dword [rdi + 0xc0]
mov r8d, r15d
movss xmm0, dword [rdi + 0x18]
mov rcx, r9
minss xmm1, dword [rdi + 0xc4]
mulss xmm0, dword [0x140085ed8]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm4, xmm2
mulss xmm3, xmm2
addss xmm4, dword [r9 + 0x10]
addss xmm3, dword [r9 + 0x14]
movss dword [rsp + 0x80], xmm4
movss dword [rsp + 0x84], xmm3
call fcn.140010390
test dword [r9 + 0xc], 0x100
jne 0x140014a4b
comiss xmm6, dword [rdi + 0x30e4]
jb 0x140014a4b
mov eax, dword [rdi + 0x1c]
mov dword [rdi + 0x30e4], eax
mov byte [rdi + 0x1ce7], r8b
movaps xmm6, xmmword [rsp + 0x40]
test rsi, rsi
je 0x140014b2c
mov rax, qword [rdi + 0x1c90]
test rax, rax
je 0x140014a79
cmp rsi, qword [rax + 0x390]
je 0x140014b25
mov ecx, dword [rdi + 0x1b30]
test ecx, ecx
setne al
mov byte [rdi + 0x1b3c], al
test ecx, ecx
je 0x140014a9d
mov dword [rdi + 0x1b38], r14d
mov word [rdi + 0x1b3f], r14w
mov dword [rdi + 0x1b30], r14d
mov word [rdi + 0x1b3d], r14w
mov qword [rdi + 0x1b60], r14
mov word [rdi + 0x1b41], r14w
mov qword [rdi + 0x1b44], r14
mov qword [rdi + 0x1b50], r14
mov word [rdi + 0x1ce6], 0x100
mov rax, qword [rsi + 0x3a8]
test rax, rax
je 0x140014ae9
cmp byte [rax + 0x8f], r14b
cmovne rsi, rax
xor edx, edx
mov rcx, rsi
call fcn.140011120
mov rcx, rsi
call fcn.14000ffd0
cmp dword [rsi + 0x3b0], r14d
jne 0x140014b0e
xor edx, edx
mov rcx, rsi
call fcn.140012050
cmp dword [rsi + 0x150], 2
jne 0x140014b1e
mov dword [rdi + 0x1cdc], r15d
mov rdi, qword [0x140093eb0]
mov qword [rbx + 0x1dc0], r14
mov r15, qword [rsp + 0x98]
test bpl, bpl
je 0x140014be7
mov rsi, qword [rbx + 0x1c90]
test rsi, rsi
je 0x140014be7
lea rcx, [rsi + 0x388]
cmp qword [rcx], r14
je 0x140014b87
nop dword [rax]
test byte [rsi + 0x150], 2
jne 0x140014b87
mov eax, dword [rsi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x140014b87
mov rsi, qword [rcx]
lea rcx, [rsi + 0x388]
cmp qword [rcx], r14
jne 0x140014b60
mov rbp, qword [rbx + 0x1c90]
cmp rsi, rbp
je 0x140014ba9
mov rcx, rsi
call fcn.14000ffd0
mov rdi, qword [0x140093eb0]
mov qword [rsi + 0x3a8], rbp
mov rax, qword [rbx + 0x1c90]
mov word [rbx + 0x1ce6], 0x100
test byte [rax + 0x150], 2
mov rax, rdi
je 0x140014bf2
mov ecx, dword [rbx + 0x1cdc]
xor ecx, 1
mov dword [rdi + 0x1cdc], ecx
je 0x140014bfc
mov r8, qword [rdi + 0x1c90]
mov dl, 1
mov rcx, r8
call fcn.140012050
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, r14d
mov dword [rdi + 0x1cdc], r14d
mov r8, qword [rax + 0x1c90]
mov rdx, qword [r8 + 0x3a8]
test rdx, rdx
je 0x140014c18
cmp byte [rdx + 0x8f], r14b
jne 0x140014c1b
mov rdx, r8
mov qword [rax + 0x1c90], rdx
mov r8, rdx
test ecx, ecx
jne 0x140014bdd
mov ecx, dword [rdx + 0x3b0]
test ecx, ecx
je 0x140014bdd
mov dword [rdi + 0x1c98], ecx
mov dword [rdi + 0x1c9c], r14d
mov dword [rdx + 0x3b0], ecx
movups xmm0, xmmword [rdx + 0x3b8]
mov rax, qword [rax + 0x1c90]
movups xmmword [rax + 0x3b8], xmm0
mov word [rdi + 0x1ce5], 1
mov byte [rdi + 0x1ce7], 1
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret