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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rbx, qword [0x140284e68]
xor esi, esi
xor bpl, bpl
mov edi, esi
movsxd rax, dword [rbx + 0x1ac8]
test eax, eax
jle 0x1400255cf
mov r8, qword [rbx + 0x1ad0]
lea rdx, [rax - 1]
lea rcx, [rdx + rdx*2]
add r8, 8
shl rcx, 4
add r8, rcx
nop
mov rax, qword [r8]
test rax, rax
je 0x1400255c5
test dword [rax + 0xc], 0x8000000
jne 0x140025654
sub r8, 0x30
sub rdx, 1
jns 0x1400255b0
mov qword [rsp + 0x80], r14
movaps xmmword [rsp + 0x40], xmm6
xorps xmm6, xmm6
cmp qword [rbx + 0x1ba8], rsi
je 0x14002562b
cmp qword [rbx + 0x1ba0], rsi
jne 0x14002562b
comiss xmm6, dword [rbx + 0x1ce0]
movss xmm1, dword [rbx + 0x1bbc]
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1402793a4]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1bbc], xmm1
jb 0x14002562b
comiss xmm6, xmm1
jb 0x14002562b
mov qword [rbx + 0x1ba8], rsi
mov r9, qword [rbx + 0x1ba0]
mov r14d, 1
test r9, r9
jne 0x14002566b
mov edx, r14d
lea ecx, [r9 + 3]
call fcn.140023520
comiss xmm0, xmm6
jbe 0x14002566b
movzx r10d, dl
jmp 0x140025673
mov qword [rbx + 0x1ba0], rsi
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
xor r10b, r10b
test r9, r9
jne 0x14002569b
cmp byte [rbx + 0x148], sil
je 0x14002569b
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x14002569b
movzx edx, r14b
call fcn.14001daf0
test al, al
je 0x14002569b
test byte [rbx + 8], dl
je 0x14002569b
movzx r9d, dl
jmp 0x14002569e
xor r9b, r9b
test r10b, r10b
jne 0x1400256ac
test r9b, r9b
je 0x14002574b
mov rax, qword [rbx + 0x1b60]
test rax, rax
jne 0x140025720
mov r8d, dword [rbx + 0x19c8]
sub r8d, r14d
js 0x14002574b
movsxd r10, dword [rbx + 0x19c8]
movsxd rcx, r8d
cmp rcx, r10
jge 0x14002574b
cmp rcx, 0xffffffff80000001
je 0x14002574b
mov rax, qword [rbx + 0x19d0]
mov rdx, qword [rax + rcx*8]
cmp byte [rdx + 0x7a], sil
je 0x140025703
cmp rdx, qword [rdx + 0x360]
jne 0x140025703
test dword [rdx + 0xc], 0x80000
je 0x14002570d
dec r8d
sub rcx, r14
jns 0x1400256d2
jmp 0x14002574b
mov rax, qword [rbx + 0x19d0]
movsxd rcx, r8d
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x14002574b
xor r9b, r14b
mov qword [rbx + 0x1ba8], rax
mov qword [rbx + 0x1ba0], rax
movzx eax, r9b
mov byte [rbx + 0x1bc0], al
add eax, 3
mov dword [rbx + 0x1b88], eax
mov qword [rbx + 0x1bb8], rsi
mov r10, qword [rbx + 0x1ba0]
movss xmm0, dword [rbx + 0x18]
mov r9, r10
movss xmm5, dword [0x140279320]
movaps xmmword [rsp + 0x30], xmm7
addss xmm0, dword [rbx + 0x1bb8]
movss dword [rbx + 0x1bb8], xmm0
test r10, r10
je 0x14002584d
cmp dword [rbx + 0x1b88], 4
jne 0x14002584d
subss xmm0, dword [0x1402792e0]
divss xmm0, dword [0x1402792d4]
comiss xmm6, xmm0
jbe 0x1400257a7
movaps xmm1, xmm6
jmp 0x1400257ae
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [rbx + 0x1bbc]
mov edx, 4
maxss xmm7, xmm1
lea ecx, [rdx + 9]
movss dword [rbx + 0x1bbc], xmm7
call fcn.140023520
comiss xmm0, xmm6
mov r9d, esi
lea ecx, [rdx + 8]
seta r9b
call fcn.140023520
comiss xmm0, xmm6
mov ecx, esi
seta cl
sub ecx, r9d
mov r9, r10
je 0x14002580a
call fcn.140025420
mov r9, qword [rbx + 0x1ba0]
movaps xmm7, xmm5
mov dword [rbx + 0x1bbc], 0x3f800000
movss xmm0, dword [rbx + 0x37c]
comiss xmm0, xmm6
ja 0x14002584d
comiss xmm5, xmm7
seta al
and byte [rbx + 0x1bc0], al
je 0x14002583e
cmp qword [rbx + 0x1b60], rsi
je 0x140025841
movzx ebp, r14b
mov qword [rbx + 0x1ba0], rsi
jmp 0x1400258d0
mov rdi, r9
mov qword [rbx + 0x1ba0], rsi
jmp 0x1400258d0
test r9, r9
je 0x1400258d0
cmp dword [rbx + 0x1b88], 3
jne 0x1400258d0
movss xmm0, dword [rbx + 0x1bb8]
subss xmm0, dword [0x1402792e0]
divss xmm0, dword [0x1402792d4]
comiss xmm6, xmm0
jbe 0x14002587d
movaps xmm5, xmm6
jmp 0x140025881
minss xmm5, xmm0
movss xmm0, dword [rbx + 0x1bbc]
maxss xmm0, xmm5
movss dword [rbx + 0x1bbc], xmm0
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x1400258c5
movzx edx, r14b
call fcn.14001daf0
test al, al
je 0x1400258c5
cmp byte [rbx + 0x149], sil
mov ecx, 0xffffffff
cmovne ecx, r14d
call fcn.140025420
mov r9, qword [rbx + 0x1ba0]
cmp byte [rbx + 0x148], sil
cmove rdi, r9
movaps xmm7, xmmword [rsp + 0x30]
cmp dword [rbx + 0x1a44], esi
je 0x1400258ea
cmp byte [rbx + 0x1a55], sil
je 0x14002596a
mov edx, 2
lea ecx, [rdx + 0xe]
call fcn.140023520
comiss xmm0, xmm6
jbe 0x14002596a
lea rax, [rbx + 0x130]
test rax, rax
jne 0x14002590f
lea rax, [rbx + 0x130]
movss xmm0, dword [rax]
movss xmm1, dword [0x140279498]
comiss xmm0, xmm1
jb 0x140025930
movss xmm0, dword [rax + 4]
comiss xmm0, xmm1
jb 0x140025930
movzx ecx, r14b
jmp 0x140025932
xor cl, cl
lea rax, [rbx + 0x3ec]
test rax, rax
jne 0x140025945
lea rax, [rbx + 0x130]
movss xmm0, dword [rax]
comiss xmm0, xmm1
jb 0x14002595e
movss xmm0, dword [rax + 4]
comiss xmm0, xmm1
jb 0x14002595e
movzx eax, r14b
jmp 0x140025960
xor al, al
cmp cl, al
movzx ebp, bpl
cmove ebp, r14d
mov r11, qword [rbx + 0x1ba0]
test r11, r11
je 0x140025a54
test byte [r11 + 0xc], 4
jne 0x140025a54
mov eax, dword [rbx + 0x1b88]
cmp eax, 3
jne 0x1400259a7
cmp byte [rbx + 0x149], sil
jne 0x140025a54
mov edx, r14d
lea rcx, [rsp + 0x70]
jmp 0x1400259b7
cmp eax, 4
jne 0x140025a54
mov edx, eax
lea rcx, [rsp + 0x78]
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm6
call fcn.1400236b0
movss xmm3, dword [rax]
ucomiss xmm3, xmm6
movss xmm4, dword [rax + 4]
jp 0x1400259dc
jne 0x1400259dc
ucomiss xmm4, xmm6
jp 0x1400259dc
je 0x140025a54
movss xmm1, dword [rbx + 0xb8]
movss xmm0, dword [rbx + 0x18]
minss xmm1, dword [rbx + 0xbc]
mulss xmm0, dword [0x140279460]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
mov rax, qword [r11 + 0x360]
cvtdq2ps xmm2, xmm2
mulss xmm3, xmm2
mulss xmm4, xmm2
addss xmm3, dword [rax + 0x10]
addss xmm4, dword [rax + 0x14]
movss dword [rax + 0x10], xmm3
movss dword [rax + 0x14], xmm4
mov rax, qword [rbx + 0x1ba0]
mov byte [rbx + 0x1bcf], r14b
test dword [rax + 0xc], 0x100
jne 0x140025a54
comiss xmm6, dword [rbx + 0x2dbc]
jb 0x140025a54
mov eax, dword [rbx + 0x1c]
mov dword [rbx + 0x2dbc], eax
movaps xmm6, xmmword [rsp + 0x40]
test rdi, rdi
je 0x140025b10
mov rax, qword [rbx + 0x1b60]
test rax, rax
je 0x140025a7b
cmp rdi, qword [rax + 0x360]
je 0x140025b09
mov word [rbx + 0x1bce], 0x100
mov rax, qword [rdi + 0x378]
test rax, rax
cmovne rdi, rax
mov rcx, rdi
call fcn.140022420
mov rcx, rdi
call fcn.140021c70
cmp dword [rdi + 0x380], esi
jne 0x140025af9
mov eax, dword [rdi + 0xc]
mov rdx, qword [0x140284e68]
mov dword [rdx + 0x1b68], esi
and eax, 0x40000
jne 0x140025af9
movsxd rcx, dword [rdx + 0x1bc4]
mov rax, qword [rdx + 0x1b60]
movaps xmm0, xmmword [0x140279950]
mov dword [rax + rcx*4 + 0x380], esi
mov word [rdx + 0x1bd1], r14w
mov dword [rdx + 0x1bd4], esi
movups xmmword [rdx + 0x1bd8], xmm0
mov byte [rdx + 0x1bd0], r14b
cmp dword [rdi + 0x144], 2
jne 0x140025b09
mov dword [rbx + 0x1bc4], r14d
mov qword [rbx + 0x1ba0], rsi
mov r14, qword [rsp + 0x80]
test bpl, bpl
je 0x140025b9c
mov rbp, qword [rbx + 0x1b60]
test rbp, rbp
je 0x140025b9c
test byte [rbp + 0x144], 2
mov rdi, rbp
jne 0x140025b5f
nop word [rax + rax]
mov eax, dword [rdi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x140025b5f
mov rdi, qword [rdi + 0x358]
test byte [rdi + 0x144], 2
je 0x140025b40
cmp rdi, rbp
je 0x140025b7a
mov rcx, rdi
call fcn.140021c70
mov qword [rdi + 0x378], rbp
mov rbp, qword [rbx + 0x1b60]
mov word [rbx + 0x1bce], 0x100
test byte [rbp + 0x144], 2
je 0x140025b95
mov esi, dword [rbx + 0x1bc4]
xor esi, 1
mov ecx, esi
call fcn.1400232e0
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret