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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x50
mov rsi, qword [0x1403c8180]
xor r12d, r12d
mov qword [rsp + 0x88], r15
mov rbx, rsi
xor r15b, r15b
movaps xmmword [rsp + 0x40], xmm6
mov edi, r12d
mov eax, dword [rsi + 0x4040]
sub eax, 1
js 0x140012f74
movsxd rdx, eax
mov rax, qword [rsi + 0x4048]
add rax, 8
lea r8, [rdx + rdx*2]
shl r8, 4
add r8, rax
mov r9, qword [r8]
test r9, r9
je 0x140012f6a
test dword [r9 + 0xc], 0x8000000
jne 0x140013044
sub r8, 0x30
sub rdx, 1
jns 0x140012f54
mov r9, r12
xorps xmm6, xmm6
cmp qword [rsi + 0x41e8], rdi
je 0x140012fc6
cmp qword [rsi + 0x41e0], rdi
jne 0x140012fc6
comiss xmm6, dword [rsi + 0x4204]
movss xmm0, dword [rsi + 0x18]
movss xmm1, dword [rsi + 0x41fc]
mulss xmm0, dword [0x14017ab64]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rsi + 0x41fc], xmm1
jb 0x140012fc6
comiss xmm6, xmm1
jb 0x140012fc6
mov qword [rsi + 0x41e8], r12
mov ebp, 0xffffffff
lea r14d, [rbp + 2]
test r9, r9
jne 0x140012fed
cmp qword [rsi + 0x41e0], rdi
jne 0x140012fed
mov edx, r14d
lea ecx, [rbp + 4]
call fcn.140010890
comiss xmm0, xmm6
ja 0x140013005
xor dl, dl
test r9, r9
jne 0x1400130a4
cmp qword [rsi + 0x41e0], rdi
jne 0x1400130a4
cmp byte [rsi + 0xd24], dil
je 0x1400130a4
movss xmm0, dword [rsi + 0x2d84]
ucomiss xmm0, xmm6
jp 0x140013021
je 0x14001309e
movss xmm2, dword [rsi + 0x3c]
comiss xmm0, xmm2
jbe 0x1400130a4
ucomiss xmm0, xmm6
movss xmm3, dword [rsi + 0x40]
movaps xmm1, xmm0
subss xmm1, dword [rsi + 0x18]
jp 0x140013050
jne 0x140013050
mov eax, r14d
jmp 0x14001309a
mov qword [rsi + 0x41e0], r12
jmp 0x140012f77
comiss xmm1, xmm0
jb 0x14001305a
mov eax, r12d
jmp 0x14001309a
comiss xmm6, xmm3
jb 0x14001306e
comiss xmm2, xmm1
jbe 0x140013055
comiss xmm0, xmm2
jb 0x140013055
mov eax, r14d
jmp 0x14001309a
comiss xmm2, xmm1
jbe 0x140013077
mov ecx, ebp
jmp 0x140013083
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si ecx, xmm1
comiss xmm2, xmm0
jbe 0x14001308c
mov eax, ebp
jmp 0x140013098
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si eax, xmm0
sub eax, ecx
test eax, eax
jle 0x1400130a4
movzx r11d, r14b
jmp 0x1400130a7
xor r11b, r11b
test dl, dl
jne 0x1400130b4
test r11b, r11b
je 0x14001315b
mov rax, qword [rsi + 0x4078]
test rax, rax
jne 0x140013129
movsxd rcx, dword [rsi + 0x3e18]
lea r8d, [rcx - 1]
test r8d, r8d
js 0x14001315b
movsxd rax, r8d
mov r10, rcx
nop word [rax + rax]
cmp rax, r10
jge 0x14001315b
cmp rax, 0xffffffff80000001
je 0x14001315b
mov r9, qword [rsi + 0x3e20]
mov rcx, qword [r9 + rax*8]
cmp byte [rcx + 0x8f], dil
je 0x140013113
cmp rcx, qword [rcx + 0x350]
jne 0x140013113
test dword [rcx + 0xc], 0x80000
je 0x14001311d
dec r8d
sub rax, r14
jns 0x1400130e0
jmp 0x14001315b
movsxd rax, r8d
mov rax, qword [r9 + rax*8]
test rax, rax
je 0x14001315b
mov rax, qword [rax + 0x350]
mov qword [rsi + 0x41e8], rax
mov qword [rsi + 0x41e0], rax
movzx eax, r11b
xor eax, r14d
mov qword [rsi + 0x41f8], r12
add eax, 2
mov byte [rsi + 0x4200], dl
mov dword [rsi + 0x40b0], eax
movss xmm0, dword [rsi + 0x18]
addss xmm0, dword [rsi + 0x41f8]
movss xmm5, dword [0x14017ab28]
movss dword [rsi + 0x41f8], xmm0
cmp qword [rsi + 0x41e0], rdi
je 0x140013248
cmp dword [rsi + 0x40b0], 3
jne 0x140013248
subss xmm0, dword [0x14017aadc]
movaps xmmword [rsp + 0x30], xmm7
divss xmm0, dword [0x14017aacc]
comiss xmm6, xmm0
jbe 0x1400131b1
movaps xmm1, xmm6
jmp 0x1400131b8
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [rsi + 0x41fc]
mov edx, 4
maxss xmm7, xmm1
lea ecx, [rdx + 9]
movss dword [rsi + 0x41fc], xmm7
call fcn.140010890
comiss xmm0, xmm6
mov r9d, r12d
lea ecx, [rdx + 8]
seta r9b
call fcn.140010890
comiss xmm0, xmm6
mov ecx, r12d
seta cl
sub ecx, r9d
je 0x14001320b
call fcn.140012dd0
mov dword [rsi + 0x41fc], 0x3f800000
movaps xmm7, xmm5
movss xmm0, dword [rsi + 0xd34]
comiss xmm0, xmm6
ja 0x140013243
comiss xmm5, xmm7
seta al
and byte [rsi + 0x4200], al
je 0x140013235
cmp qword [rsi + 0x4078], rdi
je 0x14001323c
movzx r15d, r14b
jmp 0x14001323c
mov rdi, qword [rsi + 0x41e0]
mov qword [rsi + 0x41e0], r12
movaps xmm7, xmmword [rsp + 0x30]
cmp qword [rsi + 0x41e0], r12
je 0x14001333e
cmp dword [rsi + 0x40b0], 2
jne 0x14001333e
movss xmm0, dword [rsi + 0x41f8]
subss xmm0, dword [0x14017aadc]
divss xmm0, dword [0x14017aacc]
comiss xmm6, xmm0
jbe 0x140013284
movaps xmm5, xmm6
jmp 0x140013288
minss xmm5, xmm0
movss xmm0, dword [rsi + 0x41fc]
maxss xmm0, xmm5
movss dword [rsi + 0x41fc], xmm0
movss xmm1, dword [rsi + 0x2d84]
ucomiss xmm1, xmm6
jp 0x1400132ab
je 0x14001331c
movss xmm2, dword [rsi + 0x3c]
comiss xmm1, xmm2
jbe 0x14001332e
ucomiss xmm1, xmm6
movss xmm3, dword [rsi + 0x40]
movaps xmm0, xmm1
subss xmm0, dword [rsi + 0x18]
jp 0x1400132ce
jne 0x1400132ce
mov eax, r14d
jmp 0x140013318
comiss xmm0, xmm1
jb 0x1400132d8
mov eax, r12d
jmp 0x140013318
comiss xmm6, xmm3
jb 0x1400132ec
comiss xmm2, xmm0
jbe 0x1400132d3
comiss xmm1, xmm2
jb 0x1400132d3
mov eax, r14d
jmp 0x140013318
comiss xmm2, xmm0
jbe 0x1400132f5
mov ecx, ebp
jmp 0x140013301
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si ecx, xmm0
comiss xmm2, xmm1
jbe 0x14001330a
mov eax, ebp
jmp 0x140013316
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
sub eax, ecx
test eax, eax
jle 0x14001332e
cmp byte [rsi + 0xd25], r12b
cmovne ebp, r14d
mov ecx, ebp
call fcn.140012dd0
cmp byte [rsi + 0xd24], r12b
jne 0x14001333e
mov rdi, qword [rsi + 0x41e0]
test byte [rsi + 8], r14b
je 0x140013367
cmp dword [rsi + 0xd78], 4
jne 0x140013367
test byte [rsi + 0xd7c], 4
jne 0x140013367
mov byte [rsi + 0x4200], r14b
mov dword [rsi + 0x40b0], 2
movzx eax, byte [rsi + 0x4200]
test al, al
je 0x140013462
cmp dword [rsi + 0x40b0], 2
jne 0x140013462
cmp dword [rsi + 0x3748], r12d
jg 0x1400133a7
cmp byte [rsi + 0xd24], r12b
jne 0x1400133a7
cmp byte [rsi + 0xd25], r12b
jne 0x1400133a7
cmp byte [rsi + 0xd27], r12b
je 0x1400133b0
mov byte [rsi + 0x4200], r12b
xor al, al
test byte [rsi + 0xd78], 4
jne 0x140013452
test byte [rsi + 0xd7c], 4
je 0x140013452
test al, al
je 0x140013452
cmp dword [rsi + 0x3eb4], r12d
je 0x1400133e4
cmp byte [rsi + 0x3ec1], r12b
je 0x140013452
lea rax, [rsi + 0xd0c]
test rax, rax
jne 0x1400133f7
lea rax, [rsi + 0xd0c]
movss xmm0, dword [rax]
movss xmm1, dword [0x14017abec]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140013418
comiss xmm2, xmm1
jb 0x140013418
movzx ecx, r14b
jmp 0x14001341a
xor cl, cl
lea rax, [rsi + 0x35d4]
test rax, rax
jne 0x14001342d
lea rax, [rsi + 0xd0c]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140013446
comiss xmm2, xmm1
jb 0x140013446
movzx eax, r14b
jmp 0x140013448
xor al, al
cmp cl, al
movzx r15d, r15b
cmove r15d, r14d
cmp byte [rsi + 0xd26], r12b
jne 0x140013462
mov byte [rsi + 0x4200], r12b
mov rbp, qword [rsi + 0x41e0]
test rbp, rbp
je 0x14001355f
test byte [rbp + 0xc], 4
jne 0x14001355f
mov eax, dword [rsi + 0x40b0]
cmp eax, 2
jne 0x140013499
cmp byte [rsi + 0xd25], r12b
jne 0x14001355f
mov edx, r14d
jmp 0x1400134a5
cmp eax, 3
jne 0x14001355f
lea edx, [rax + 5]
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm6
lea rcx, [rsp + 0x80]
call fcn.1400109f0
movss xmm4, dword [rax]
ucomiss xmm4, xmm6
movss xmm3, dword [rax + 4]
jp 0x1400134d6
jne 0x1400134d6
ucomiss xmm3, xmm6
jp 0x1400134d6
je 0x14001355f
mov r9, qword [rbp + 0x350]
lea rdx, [rsp + 0x80]
movss xmm1, dword [rsi + 0x68]
mov r8d, r14d
movss xmm0, dword [rsi + 0x18]
mov rcx, r9
minss xmm1, dword [rsi + 0x6c]
mulss xmm0, dword [0x14017abc4]
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.14000d550
test dword [r9 + 0xc], 0x100
jne 0x140013558
comiss xmm6, dword [rsi + 0x533c]
jb 0x140013558
mov eax, dword [rsi + 0x1c]
mov dword [rsi + 0x533c], eax
mov byte [rsi + 0x40bb], r8b
movaps xmm6, xmmword [rsp + 0x40]
test rdi, rdi
je 0x1400135f1
mov rax, qword [rsi + 0x4078]
test rax, rax
je 0x140013582
cmp rdi, qword [rax + 0x350]
je 0x1400135ea
call fcn.140003d70
mov word [rsi + 0x40b9], r14w
mov byte [rsi + 0x40bb], r14b
mov rax, qword [rdi + 0x370]
test rax, rax
je 0x1400135ad
cmp byte [rax + 0x8f], r12b
cmovne rdi, rax
xor edx, edx
mov rcx, rdi
call fcn.14000efb0
mov rcx, rdi
call fcn.14000d2c0
cmp dword [rdi + 0x378], r12d
jne 0x1400135d2
xor edx, edx
mov rcx, rdi
call fcn.140010590
cmp word [rdi + 0x132], 2
jne 0x1400135e3
mov dword [rsi + 0x40b4], r14d
mov rsi, qword [0x1403c8180]
mov qword [rbx + 0x41e0], r12
test r15b, r15b
mov r15, qword [rsp + 0x88]
je 0x140013748
cmp qword [rbx + 0x4078], r12
je 0x140013748
call fcn.140003d70
mov rdi, qword [rbx + 0x4078]
lea rcx, [rdi + 0x340]
cmp qword [rcx], r12
je 0x14001364e
test byte [rdi + 0x130], 2
jne 0x14001364e
mov eax, dword [rdi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x14001364e
mov rdi, qword [rcx]
lea rcx, [rdi + 0x340]
cmp qword [rcx], r12
jne 0x140013627
mov rbp, qword [rbx + 0x4078]
cmp rdi, rbp
je 0x140013670
mov rcx, rdi
call fcn.14000d2c0
mov rsi, qword [0x1403c8180]
mov qword [rdi + 0x370], rbp
mov rcx, qword [rbx + 0x4078]
test byte [rcx + 0x130], 2
je 0x14001368b
mov eax, dword [rbx + 0x40b4]
xor eax, r14d
jmp 0x14001368e
mov eax, r12d
cmp eax, dword [rbx + 0x40b4]
je 0x140013748
mov r8, rsi
cmp eax, r14d
jne 0x1400136f6
mov dword [rcx + 0x37c], r12d
mov rcx, rsi
lea rdx, [rcx + 0x4078]
mov r9, qword [rdx]
mov r10d, dword [r9 + r14*4 + 0x378]
test r10d, r10d
je 0x140013727
mov dword [rcx + 0x40b4], eax
mov dword [rcx + 0x4080], r10d
mov dword [rcx + 0x4084], r12d
cdqe
mov dword [r9 + rax*4 + 0x378], r10d
lea rcx, [rax + 0x38]
mov rax, qword [rdx]
add rcx, rcx
movups xmm0, xmmword [r9 + rcx*8]
movups xmmword [rax + rcx*8], xmm0
jmp 0x140013738
movsxd r14, eax
mov rcx, rsi
test eax, eax
jne 0x1400136ac
lea rdx, [rsi + 0x4078]
mov r10, qword [rdx]
mov r9, qword [r10 + 0x370]
test r9, r9
je 0x14001371f
cmp byte [r9 + 0x8f], r12b
jne 0x140013722
mov r9, r10
mov qword [rdx], r9
jmp 0x1400136b3
mov dl, 1
mov dword [r8 + 0x40b4], eax
mov rcx, r9
call fcn.140010590
mov word [rsi + 0x40b9], 1
mov byte [rsi + 0x40bb], 1
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret