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

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x58
mov rbx, qword [0x140080be0]
xor r14d, r14d
mov qword [rsp + 0x90], rbp
mov edi, r14d
xor bpl, bpl
mov qword [rsp + 0x50], r15
movaps xmmword [rsp + 0x40], xmm6
movsxd rax, dword [rbx + 0x1d20]
test eax, eax
jle 0x140017281
mov r8, qword [rbx + 0x1d28]
lea rdx, [rax - 1]
lea rcx, [rdx + rdx*2]
add r8, 8
shl rcx, 4
add r8, rcx
mov r9, qword [r8]
test r9, r9
je 0x140017277
test dword [r9 + 0xc], 0x8000000
jne 0x1400172fd
sub r8, 0x30
sub rdx, 1
jns 0x140017261
mov r10, qword [rbx + 0x1ea8]
mov r9, r14
xorps xmm6, xmm6
cmp qword [rbx + 0x1eb0], rdi
je 0x1400172d6
test r10, r10
jne 0x1400172d6
comiss xmm6, dword [rbx + 0x1ef4]
movss xmm1, dword [rbx + 0x1ec4]
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x14006d92c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1ec4], xmm1
jb 0x1400172d6
comiss xmm6, xmm1
jb 0x1400172d6
mov qword [rbx + 0x1eb0], r14
mov r15d, 1
test r9, r9
jne 0x140017309
test r10, r10
jne 0x140017309
mov edx, r15d
lea ecx, [r15 + 2]
call fcn.140014fd0
comiss xmm0, xmm6
jbe 0x140017309
movzx r8d, dl
jmp 0x140017316
mov qword [rbx + 0x1ea8], r14
mov r10, r14
jmp 0x14001728b
xor r8b, r8b
test r9, r9
jne 0x14001733b
test r10, r10
jne 0x14001733b
cmp byte [rbx + 0x13c], dil
je 0x14001733b
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x14001733b
call fcn.14000b3d0
test al, al
je 0x14001733b
test byte [rbx + 8], r15b
je 0x14001733b
movzx r9d, r15b
jmp 0x14001733e
xor r9b, r9b
test r8b, r8b
jne 0x14001734c
test r9b, r9b
je 0x1400173f5
mov rax, qword [rbx + 0x1d78]
test rax, rax
jne 0x1400173c3
mov r8d, dword [rbx + 0x1b50]
sub r8d, r15d
js 0x1400173f5
movsxd r10, dword [rbx + 0x1b50]
movsxd rcx, r8d
cmp rcx, r10
jge 0x1400173f5
cmp rcx, 0xffffffff80000001
je 0x1400173f5
mov rax, qword [rbx + 0x1b58]
mov rdx, qword [rax + rcx*8]
cmp byte [rdx + 0xbf], dil
je 0x1400173a6
cmp rdx, qword [rdx + 0x3f0]
jne 0x1400173a6
test dword [rdx + 0xc], 0x80000
je 0x1400173b0
dec r8d
sub rcx, r15
jns 0x140017372
jmp 0x1400173f5
mov rax, qword [rbx + 0x1b58]
movsxd rcx, r8d
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x1400173f5
mov rax, qword [rax + 0x3f0]
xor r9b, r15b
mov qword [rbx + 0x1eb0], rax
mov qword [rbx + 0x1ea8], rax
movzx eax, r9b
mov byte [rbx + 0x1ec8], al
add eax, 3
mov dword [rbx + 0x1dac], eax
mov qword [rbx + 0x1ec0], r14
movss xmm0, dword [rbx + 0x1ec0]
mov r10, qword [rbx + 0x1ea8]
movss xmm5, dword [0x14006d8c0]
mov r8, r10
movaps xmmword [rsp + 0x30], xmm7
addss xmm0, dword [rbx + 0x18]
movss dword [rbx + 0x1ec0], xmm0
test r10, r10
je 0x1400174f5
cmp dword [rbx + 0x1dac], 4
jne 0x1400174f5
subss xmm0, dword [0x14006d868]
divss xmm0, dword [0x14006d850]
comiss xmm6, xmm0
jbe 0x140017451
movaps xmm1, xmm6
jmp 0x140017458
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [rbx + 0x1ec4]
mov edx, 4
maxss xmm7, xmm1
lea ecx, [rdx + 9]
movss dword [rbx + 0x1ec4], xmm7
call fcn.140014fd0
comiss xmm0, xmm6
mov r9d, r14d
lea ecx, [rdx + 8]
seta r9b
call fcn.140014fd0
comiss xmm0, xmm6
mov ecx, r14d
mov r8, r10
seta cl
sub ecx, r9d
je 0x1400174b5
call fcn.1400170c0
mov r8, qword [rbx + 0x1ea8]
movaps xmm7, xmm5
mov dword [rbx + 0x1ec4], 0x3f800000
movss xmm0, dword [rbx + 0x34c]
comiss xmm0, xmm6
ja 0x1400174f5
comiss xmm5, xmm7
seta al
and byte [rbx + 0x1ec8], al
je 0x1400174e9
cmp qword [rbx + 0x1d78], rdi
je 0x1400174ec
movzx ebp, r15b
mov qword [rbx + 0x1ea8], r14
jmp 0x140017574
mov rdi, r8
mov qword [rbx + 0x1ea8], r14
jmp 0x140017574
test r8, r8
je 0x140017574
cmp dword [rbx + 0x1dac], 3
jne 0x140017574
movss xmm0, dword [rbx + 0x1ec0]
subss xmm0, dword [0x14006d868]
divss xmm0, dword [0x14006d850]
comiss xmm6, xmm0
jbe 0x140017525
movaps xmm5, xmm6
jmp 0x140017529
minss xmm5, xmm0
movss xmm0, dword [rbx + 0x1ec4]
maxss xmm0, xmm5
movss dword [rbx + 0x1ec4], xmm0
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x140017569
call fcn.14000b3d0
test al, al
je 0x140017569
cmp byte [rbx + 0x13d], dil
mov ecx, 0xffffffff
cmovne ecx, r15d
call fcn.1400170c0
mov r8, qword [rbx + 0x1ea8]
cmp byte [rbx + 0x13c], dil
cmove rdi, r8
mov edx, r15d
mov ecx, 0x10
call fcn.140014fd0
comiss xmm0, xmm6
movaps xmm7, xmmword [rsp + 0x30]
jbe 0x140017591
mov byte [rbx + 0x1ec8], dl
cmp dword [rbx + 0x1bf0], r14d
je 0x1400175a7
cmp byte [rbx + 0x1bfd], r14b
je 0x140017634
cmp byte [rbx + 0x1ec8], r14b
je 0x140017634
mov edx, 2
lea ecx, [rdx + 0xe]
call fcn.140014fd0
comiss xmm0, xmm6
jbe 0x140017634
lea rax, [rbx + 0x120]
test rax, rax
jne 0x1400175d9
lea rax, [rbx + 0x120]
movss xmm0, dword [rax]
movss xmm1, dword [0x14006da80]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x1400175fa
comiss xmm2, xmm1
jb 0x1400175fa
movzx ecx, r15b
jmp 0x1400175fc
xor cl, cl
lea rax, [rbx + 0x3c0]
test rax, rax
jne 0x14001760f
lea rax, [rbx + 0x120]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140017628
comiss xmm2, xmm1
jb 0x140017628
movzx eax, r15b
jmp 0x14001762a
xor al, al
cmp cl, al
movzx ebp, bpl
cmove ebp, r15d
mov rsi, qword [rbx + 0x1ea8]
test rsi, rsi
je 0x1400177e3
test byte [rsi + 0xc], 4
jne 0x1400177e3
mov eax, dword [rbx + 0x1dac]
cmp eax, 3
jne 0x140017673
cmp byte [rbx + 0x13d], r14b
jne 0x1400177e3
mov edx, r15d
lea rcx, [rsp + 0x80]
jmp 0x140017686
cmp eax, 4
jne 0x1400177e3
mov edx, eax
lea rcx, [rsp + 0x88]
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
call fcn.140015150
movss xmm3, dword [rax]
ucomiss xmm3, xmm6
movss xmm4, dword [rax + 4]
jp 0x1400176b2
jne 0x1400176b2
ucomiss xmm4, xmm6
jp 0x1400176b2
je 0x1400177e3
mov rcx, qword [rsi + 0x3e8]
movss xmm1, dword [rbx + 0xc0]
movss xmm0, dword [rbx + 0x18]
minss xmm1, dword [rbx + 0xc4]
mulss xmm0, dword [0x14006da1c]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
mov eax, dword [rcx + 0xe4]
cvtdq2ps xmm2, xmm2
mulss xmm3, xmm2
mulss xmm4, xmm2
addss xmm3, dword [rcx + 0x48]
addss xmm4, dword [rcx + 0x4c]
test r15b, al
je 0x1400177c1
movss xmm0, dword [rcx + 0x48]
and eax, 0xfffffff1
movss xmm1, dword [rcx + 0x4c]
mov dword [rcx + 0xe4], eax
mov dword [rcx + 0xf4], 0x7f7fffff
mov dword [rcx + 0xf8], 0x7f7fffff
cvttss2si eax, xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
cvttss2si eax, xmm4
movss dword [rcx + 0x48], xmm2
subss xmm2, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movaps xmm0, xmm2
movss dword [rcx + 0x4c], xmm3
subss xmm3, xmm1
addss xmm0, dword [rcx + 0x118]
movaps xmm1, xmm3
addss xmm1, dword [rcx + 0x11c]
movss dword [rcx + 0x118], xmm0
movaps xmm0, xmm2
addss xmm0, dword [rcx + 0x130]
addss xmm2, dword [rcx + 0x128]
movss dword [rcx + 0x11c], xmm1
movaps xmm1, xmm3
addss xmm1, dword [rcx + 0x134]
addss xmm3, dword [rcx + 0x12c]
movss dword [rcx + 0x130], xmm0
movss dword [rcx + 0x128], xmm2
movss dword [rcx + 0x134], xmm1
movss dword [rcx + 0x12c], xmm3
test dword [rcx + 0xc], 0x100
jne 0x1400177dc
comiss xmm6, dword [rbx + 0x2fc4]
jb 0x1400177dc
mov eax, dword [rbx + 0x1c]
mov dword [rbx + 0x2fc4], eax
mov byte [rbx + 0x1dcf], r15b
movaps xmm6, xmmword [rsp + 0x40]
test rdi, rdi
je 0x14001797a
mov rax, qword [rbx + 0x1d78]
test rax, rax
je 0x140017810
cmp rdi, qword [rax + 0x3f0]
je 0x140017973
mov rsi, qword [rax + 0x30]
jmp 0x140017813
mov rsi, r14
mov ecx, dword [rbx + 0x1bf0]
test ecx, ecx
setne al
mov byte [rbx + 0x1bfc], al
test ecx, ecx
je 0x140017837
mov dword [rbx + 0x1bf8], r14d
mov word [rbx + 0x1bff], r14w
mov dword [rbx + 0x1bf0], r14d
mov word [rbx + 0x1bfd], r14w
mov qword [rbx + 0x1c20], r14
mov byte [rbx + 0x1c01], r14b
mov qword [rbx + 0x1c04], r14
mov qword [rbx + 0x1c10], r14
mov word [rbx + 0x1dce], 0x100
mov rax, qword [rdi + 0x408]
test rax, rax
je 0x140017885
cmp byte [rax + 0xc0], r14b
je 0x140017885
mov rdi, rax
jmp 0x1400178e3
mov rdx, qword [rdi + 0x450]
test rdx, rdx
je 0x1400178e3
mov rdx, qword [rdx + 0x38]
test rdx, rdx
je 0x1400178e3
movsxd r8, dword [rdx]
mov rcx, r14
test r8, r8
jle 0x1400178e3
mov rdx, qword [rdx + 8]
nop dword [rax]
test rcx, rcx
je 0x1400178bd
mov eax, dword [rdx + 0x14]
cmp dword [rcx + 0x14], eax
jge 0x1400178d1
mov rax, qword [rdx + 8]
test rax, rax
je 0x1400178d1
cmp byte [rax + 0xc0], r14b
cmovne rcx, rdx
add rdx, 0x30
sub r8, r15
jne 0x1400178b0
test rcx, rcx
je 0x1400178e3
mov rdi, qword [rcx + 8]
xor edx, edx
mov rcx, rdi
call fcn.140013920
mov rcx, rdi
call fcn.140011a20
cmp dword [rdi + 0x410], r14d
jne 0x14001794c
mov eax, dword [rdi + 0xc]
mov rdx, qword [0x140080be0]
mov qword [rdx + 0x1d80], r14
and eax, 0x40000
jne 0x14001794c
movsxd rcx, dword [rdx + 0x1dc4]
xorps xmm0, xmm0
mov rax, qword [rdx + 0x1d78]
mov dword [rax + rcx*4 + 0x410], r14d
mov word [rdx + 0x1dd1], r15w
mov dword [rdx + 0x1dd4], r14d
movups xmmword [rdx + 0x1dd8], xmm0
mov byte [rdx + 0x1dd0], r15b
cmp dword [rdi + 0x188], 2
jne 0x14001795c
mov dword [rbx + 0x1dc4], r15d
mov rcx, qword [rdi + 0x30]
cmp rcx, rsi
je 0x140017973
mov rax, qword [rbx + 0x1590]
test rax, rax
je 0x140017973
call rax
mov qword [rbx + 0x1ea8], r14
mov r15, qword [rsp + 0x50]
test bpl, bpl
mov rbp, qword [rsp + 0x90]
je 0x140017a38
mov rsi, qword [rbx + 0x1d78]
test rsi, rsi
je 0x140017a38
lea rcx, [rsi + 0x3e0]
mov rdi, rsi
cmp qword [rcx], r14
je 0x1400179d7
nop
test byte [rdi + 0x188], 2
jne 0x1400179d7
mov eax, dword [rdi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1400179d7
mov rdi, qword [rcx]
lea rcx, [rdi + 0x3e0]
cmp qword [rcx], r14
jne 0x1400179b0
cmp rdi, rsi
je 0x1400179f2
mov rcx, rdi
call fcn.140011a20
mov qword [rdi + 0x408], rsi
mov rsi, qword [rbx + 0x1d78]
mov word [rbx + 0x1dce], 0x100
test byte [rsi + 0x188], 2
je 0x140017a30
mov ecx, dword [rbx + 0x1dc4]
xor ecx, 1
cmp ecx, 1
jne 0x140017a33
cmp qword [rdi + 0x450], r14
jne 0x140017a33
mov dword [rsi + 0x414], r14d
add rsp, 0x58
pop r14
pop rdi
pop rsi
pop rbx
jmp fcn.140014d20
mov ecx, r14d
call fcn.140014d20
add rsp, 0x58
pop r14
pop rdi
pop rsi
pop rbx
ret