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

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
push r13
sub rsp, 0x58
mov rbx, qword [0x14017daa0]
xor r13d, r13d
mov qword [rax + 0x10], rbp
mov esi, r13d
mov qword [rax + 0x18], r12
xor r12b, r12b
mov qword [rax - 0x28], r15
movaps xmmword [rax - 0x38], xmm6
mov eax, dword [rbx + 0x1dd8]
sub eax, 1
js 0x14008dc40
mov r8, qword [rbx + 0x1de0]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov r9, qword [r8]
test r9, r9
je 0x14008dc36
test dword [r9 + 0xc], 0x8000000
jne 0x14008dccd
sub r8, 0x30
sub rdx, 1
jns 0x14008dc20
lea rdi, [rbx + 0x1f30]
mov r9, r13
mov r10, qword [rdi]
xorps xmm6, xmm6
cmp qword [rbx + 0x1f38], rsi
je 0x14008dc98
test r10, r10
jne 0x14008dc98
comiss xmm6, dword [rbx + 0x1f74]
movss xmm0, dword [rbx + 0x18]
movss xmm1, dword [rbx + 0x1f4c]
mulss xmm0, dword [0x1401697f4]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1f4c], xmm1
jb 0x14008dc98
comiss xmm6, xmm1
jb 0x14008dc98
mov qword [rbx + 0x1f38], r13
movzx r15d, byte [rbx + 8]
mov eax, 1
and r15b, 1
mov qword [rsp + 0x98], r14
test r9, r9
jne 0x14008dcdf
test r10, r10
jne 0x14008dcdf
mov edx, eax
lea ecx, [rax + 2]
call fcn.14008b980
comiss xmm0, xmm6
jbe 0x14008dcdf
movzx r8d, dl
jmp 0x14008dcec
lea rdi, [rbx + 0x1f30]
mov r10, r13
mov qword [rdi], r13
jmp 0x14008dc4d
xor r8b, r8b
test r9, r9
jne 0x14008dd0f
test r10, r10
jne 0x14008dd0f
test r15b, r15b
je 0x14008dd0f
cmp byte [rbx + 0x140], sil
je 0x14008dd0f
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x14008dd0f
call fcn.140083080
test al, al
je 0x14008dd0f
mov r14b, 1
jmp 0x14008dd12
xor r14b, r14b
test r8b, r8b
jne 0x14008dd20
test r14b, r14b
je 0x14008ddb8
mov rax, qword [rbx + 0x1e08]
test rax, rax
jne 0x14008dd89
movsxd rcx, dword [rbx + 0x1bc0]
lea edx, [rcx - 1]
test edx, edx
js 0x14008ddb8
movsxd rax, edx
mov rbp, rcx
cmp rax, rbp
jge 0x14008ddb8
cmp rax, 0xffffffff80000001
je 0x14008ddb8
mov r10, qword [rbx + 0x1bc8]
mov rcx, qword [r10 + rax*8]
cmp byte [rcx + 0x8f], sil
je 0x14008dd73
cmp rcx, qword [rcx + 0x340]
jne 0x14008dd73
test dword [rcx + 0xc], 0x80000
je 0x14008dd7d
dec edx
sub rax, 1
jns 0x14008dd40
jmp 0x14008ddb8
movsxd rax, edx
mov rax, qword [r10 + rax*8]
test rax, rax
je 0x14008ddb8
mov rax, qword [rax + 0x340]
mov qword [rbx + 0x1f38], rax
mov qword [rdi], rax
movzx eax, r14b
xor eax, 1
mov qword [rbx + 0x1f48], r13
add eax, 2
mov byte [rbx + 0x1f50], r8b
mov dword [rbx + 0x1e44], eax
movss xmm0, dword [rbx + 0x1f48]
mov r10, qword [rdi]
movss xmm5, dword [0x14016973c]
mov r8, r10
movaps xmmword [rsp + 0x30], xmm7
addss xmm0, dword [rbx + 0x18]
movss dword [rbx + 0x1f48], xmm0
test r10, r10
je 0x14008df99
cmp dword [rbx + 0x1e44], 3
jne 0x14008df99
subss xmm0, dword [0x1401696d0]
divss xmm0, dword [0x1401696b0]
comiss xmm6, xmm0
jbe 0x14008de10
movaps xmm1, xmm6
jmp 0x14008de17
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [rbx + 0x1f4c]
mov edx, 4
maxss xmm7, xmm1
lea ecx, [rdx + 9]
movss dword [rbx + 0x1f4c], xmm7
call fcn.14008b980
comiss xmm0, xmm6
mov r9d, r13d
lea ecx, [rdx + 8]
seta r9b
call fcn.14008b980
comiss xmm0, xmm6
mov ecx, r13d
mov r8, r10
seta cl
sub ecx, r9d
je 0x14008de70
call fcn.14008daa0
mov r8, qword [rdi]
movaps xmm7, xmm5
mov dword [rbx + 0x1f4c], 0x3f800000
movss xmm0, dword [rbx + 0x350]
comiss xmm0, xmm6
ja 0x14008df99
comiss xmm5, xmm7
seta al
and byte [rbx + 0x1f50], al
je 0x14008de9d
cmp qword [rbx + 0x1e08], rsi
je 0x14008dea0
mov r12b, 1
jmp 0x14008dea0
mov rsi, r8
mov qword [rdi], r13
mov r14d, 1
movaps xmm7, xmmword [rsp + 0x30]
test r15b, r15b
mov r15, qword [rsp + 0x50]
je 0x14008dedb
cmp dword [rbx + 0x3c0], 4
jne 0x14008dedb
test byte [rbx + 0x3c4], 4
jne 0x14008dedb
mov byte [rbx + 0x1f50], 1
mov dword [rbx + 0x1e44], 2
movzx eax, byte [rbx + 0x1f50]
test al, al
je 0x14008e085
cmp dword [rbx + 0x1e44], 2
jne 0x14008e085
cmp dword [rbx + 0x1550], r13d
jg 0x14008df1b
cmp byte [rbx + 0x140], r13b
jne 0x14008df1b
cmp byte [rbx + 0x141], r13b
jne 0x14008df1b
cmp byte [rbx + 0x143], r13b
je 0x14008df24
mov byte [rbx + 0x1f50], r13b
xor al, al
test byte [rbx + 0x3c0], 4
jne 0x14008e075
test byte [rbx + 0x3c4], 4
je 0x14008e075
test al, al
je 0x14008e075
cmp dword [rbx + 0x1c5c], r13d
je 0x14008df5c
cmp byte [rbx + 0x1c69], r13b
je 0x14008e075
lea rax, [rbx + 0x3c8]
test rax, rax
jne 0x14008df6f
lea rax, [rbx + 0x128]
movss xmm0, dword [rax]
movss xmm1, dword [0x14016993c]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x14008e03d
comiss xmm2, xmm1
jb 0x14008e03d
mov cl, 1
jmp 0x14008e03f
test r8, r8
je 0x14008dea3
cmp dword [rbx + 0x1e44], 2
jne 0x14008dea3
movss xmm0, dword [rbx + 0x1f48]
subss xmm0, dword [0x1401696d0]
divss xmm0, dword [0x1401696b0]
comiss xmm6, xmm0
jbe 0x14008dfd1
movaps xmm5, xmm6
jmp 0x14008dfd5
minss xmm5, xmm0
movss xmm0, dword [rbx + 0x1f4c]
maxss xmm0, xmm5
movss dword [rbx + 0x1f4c], xmm0
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x14008e027
call fcn.140083080
mov r14d, 1
test al, al
je 0x14008e02d
cmp byte [rbx + 0x141], sil
mov ecx, 0xffffffff
cmovne ecx, r14d
call fcn.14008daa0
cmp byte [rbx + 0x140], sil
mov r8, qword [rdi]
cmove rsi, r8
jmp 0x14008dea9
mov r14d, 1
cmp byte [rbx + 0x140], sil
cmove rsi, r8
jmp 0x14008dea9
xor cl, cl
lea rax, [rbx + 0x128]
test rax, rax
jne 0x14008e052
lea rax, [rbx + 0x128]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x14008e069
comiss xmm2, xmm1
jb 0x14008e069
mov al, 1
jmp 0x14008e06b
xor al, al
cmp al, cl
movzx r12d, r12b
cmove r12d, r14d
cmp byte [rbx + 0x142], r13b
jne 0x14008e085
mov byte [rbx + 0x1f50], r13b
mov rbp, qword [rdi]
test rbp, rbp
je 0x14008e187
test byte [rbp + 0xc], 4
jne 0x14008e187
mov eax, dword [rbx + 0x1e44]
cmp eax, 2
jne 0x14008e0b8
cmp byte [rbx + 0x141], r13b
jne 0x14008e187
mov edx, r14d
jmp 0x14008e0c4
cmp eax, 3
jne 0x14008e187
lea edx, [rax + 1]
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
lea rcx, [rsp + 0x80]
call fcn.14008bb00
movss xmm4, dword [rax]
ucomiss xmm4, xmm6
movss xmm3, dword [rax + 4]
jp 0x14008e0f8
jne 0x14008e0f8
ucomiss xmm3, xmm6
jp 0x14008e0f8
je 0x14008e187
mov r10, qword [rbp + 0x340]
lea rdx, [rsp + 0x80]
movss xmm1, dword [rbx + 0xc0]
mov r8d, r14d
movss xmm0, dword [rbx + 0x18]
mov rcx, r10
minss xmm1, dword [rbx + 0xc4]
mulss xmm0, dword [0x1401698a8]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm4, xmm2
mulss xmm3, xmm2
addss xmm4, dword [r10 + 0x10]
addss xmm3, dword [r10 + 0x14]
movss dword [rsp + 0x80], xmm4
movss dword [rsp + 0x84], xmm3
call fcn.1400885d0
test dword [r10 + 0xc], 0x100
jne 0x14008e180
comiss xmm6, dword [rbx + 0x3094]
jb 0x14008e180
mov eax, dword [rbx + 0x1c]
mov dword [rbx + 0x3094], eax
mov byte [rbx + 0x1e53], 1
movaps xmm6, xmmword [rsp + 0x40]
mov rbp, qword [rsp + 0x88]
test rsi, rsi
je 0x14008e20c
mov rax, qword [rbx + 0x1e08]
test rax, rax
je 0x14008e1ae
cmp rsi, qword [rax + 0x340]
je 0x14008e209
call fcn.14007ec30
mov word [rbx + 0x1e52], 0x100
mov rax, qword [rsi + 0x360]
test rax, rax
je 0x14008e1d3
cmp byte [rax + 0x8f], r13b
cmovne rsi, rax
xor edx, edx
mov rcx, rsi
call fcn.140089fe0
mov rcx, rsi
call fcn.1400880e0
cmp dword [rsi + 0x368], r13d
jne 0x14008e1f8
xor edx, edx
mov rcx, rsi
call fcn.14008b750
cmp word [rsi + 0x12a], 2
jne 0x14008e209
mov dword [rbx + 0x1e48], r14d
mov qword [rdi], r13
mov r14, qword [rsp + 0x98]
test r12b, r12b
mov r12, qword [rsp + 0x90]
je 0x14008e2c2
cmp qword [rbx + 0x1e08], r13
je 0x14008e2c2
call fcn.14007ec30
mov rsi, qword [rbx + 0x1e08]
mov rdi, rsi
lea rcx, [rsi + 0x338]
cmp qword [rcx], r13
je 0x14008e28b
nop dword [rax]
test byte [rdi + 0x128], 2
jne 0x14008e277
mov eax, dword [rdi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x14008e277
mov rdi, qword [rcx]
lea rcx, [rdi + 0x338]
cmp qword [rcx], r13
jne 0x14008e250
cmp rdi, rsi
je 0x14008e28b
mov rcx, rdi
call fcn.1400880e0
mov qword [rdi + 0x360], rsi
mov rax, qword [rbx + 0x1e08]
test byte [rax + 0x128], 2
je 0x14008e2a6
mov ecx, dword [rbx + 0x1e48]
xor ecx, 1
jmp 0x14008e2a9
mov ecx, r13d
cmp ecx, dword [rbx + 0x1e48]
je 0x14008e2c2
cmp ecx, 1
jne 0x14008e2bd
mov dword [rax + 0x36c], r13d
call fcn.14008b6a0
add rsp, 0x58
pop r13
pop rdi
pop rsi
pop rbx
ret