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

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rdi, qword [0x140741670]
xor r9d, r9d
mov qword [rax + 0x18], rbp
mov esi, r9d
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
xor r13b, r13b
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov eax, dword [rdi + 0x4000]
sub eax, 1
mov dword [rsp + 0xb8], r13d
js 0x1400251a4
mov r8, qword [rdi + 0x4008]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rcx, qword [r8]
test rcx, rcx
je 0x14002519a
test dword [rcx + 0xc], 0x8000000
jne 0x14002522e
sub r8, 0x30
sub rdx, 1
jns 0x140025185
lea r14, [rdi + 0x41a0]
mov rcx, r9
mov rbx, qword [r14]
xorps xmm6, xmm6
cmp qword [rdi + 0x41a8], rsi
je 0x1400251fc
test rbx, rbx
jne 0x1400251fc
comiss xmm6, dword [rdi + 0x41c4]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x41bc]
mulss xmm0, dword [0x1400e30b8]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x41bc], xmm1
jb 0x1400251fc
comiss xmm6, xmm1
jb 0x1400251fc
mov qword [rdi + 0x41a8], r9
movss xmm7, dword [0x1400e3088]
test rcx, rcx
jne 0x14002524d
test rbx, rbx
jne 0x14002524d
mov rax, qword [0x140741670]
movss xmm0, dword [rax + 0x36a8]
comiss xmm6, xmm0
ja 0x140025240
ucomiss xmm0, xmm6
jp 0x140025240
jne 0x140025240
movaps xmm0, xmm7
jmp 0x140025243
lea r14, [rdi + 0x41a0]
mov rbx, r9
mov qword [r14], r9
jmp 0x1400251b1
xorps xmm0, xmm0
comiss xmm0, xmm6
jbe 0x14002524d
mov r15b, 1
jmp 0x14002525a
xor r15b, r15b
test rcx, rcx
jne 0x140025278
test rbx, rbx
jne 0x140025278
cmp byte [rdi + 0xd24], sil
je 0x140025278
mov dl, 1
mov ecx, 0x200
call fcn.140021050
test al, al
je 0x140025278
mov bpl, 1
jmp 0x14002527b
xor bpl, bpl
mov r12d, 0xffffffff
test r15b, r15b
jne 0x14002528b
test bpl, bpl
je 0x1400252e2
mov rax, qword [rdi + 0x4038]
test rax, rax
jne 0x1400252b1
mov ecx, dword [rdi + 0x3dd8]
mov r8d, r12d
dec ecx
mov edx, 0x80000001
call fcn.14001e5b0
test rax, rax
je 0x1400252e2
mov rbx, qword [rax + 0x350]
xor eax, eax
mov qword [rdi + 0x41b8], rax
movzx eax, bpl
xor eax, 1
mov qword [rdi + 0x41a8], rbx
add eax, 2
mov qword [r14], rbx
mov dword [rdi + 0x4070], eax
mov byte [rdi + 0x41c0], r15b
movss xmm0, dword [rdi + 0x41b8]
addss xmm0, dword [rdi + 0x18]
movss dword [rdi + 0x41b8], xmm0
test rbx, rbx
je 0x14002545b
cmp dword [rdi + 0x4070], 3
jne 0x14002545b
subss xmm0, dword [0x1400e3054]
movaps xmmword [rsp + 0x40], xmm8
movaps xmmword [rsp + 0x30], xmm9
divss xmm0, dword [0x1400e3044]
comiss xmm6, xmm0
jbe 0x140025333
xorps xmm1, xmm1
jmp 0x14002533a
movaps xmm1, xmm7
minss xmm1, xmm0
movss xmm8, dword [rdi + 0x41bc]
maxss xmm8, xmm1
movss dword [rdi + 0x41bc], xmm8
mov rbx, qword [0x140741670]
movss xmm1, dword [rbx + 0x36cc]
comiss xmm6, xmm1
jbe 0x14002536b
xorps xmm9, xmm9
jmp 0x140025397
movss xmm3, dword [rbx + 0x40]
movaps xmm0, xmm1
movss xmm2, dword [rbx + 0x3c]
addss xmm3, xmm3
subss xmm0, dword [rbx + 0x18]
mulss xmm2, dword [0x1400e3090]
call fcn.14001b3f0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
movss xmm1, dword [rbx + 0x36d0]
comiss xmm6, xmm1
jbe 0x1400253a9
xorps xmm0, xmm0
jmp 0x1400253d3
movss xmm3, dword [rbx + 0x40]
movaps xmm0, xmm1
movss xmm2, dword [rbx + 0x3c]
addss xmm3, xmm3
subss xmm0, dword [rbx + 0x18]
mulss xmm2, dword [0x1400e3090]
call fcn.14001b3f0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
xor eax, eax
comiss xmm0, xmm6
seta al
xor ecx, ecx
comiss xmm9, xmm6
movaps xmm9, xmmword [rsp + 0x30]
seta cl
sub ecx, eax
je 0x140025401
call fcn.140025890
mov dword [rdi + 0x41bc], 0x3f800000
movaps xmm8, xmm7
mov rax, qword [0x140741670]
movss xmm0, dword [rax + 0xd34]
comiss xmm0, xmm6
ja 0x14002544d
comiss xmm7, xmm8
seta al
and byte [rdi + 0x41c0], al
je 0x140025439
cmp qword [rdi + 0x4038], rsi
je 0x14002543c
mov r13b, 1
mov qword [r14], 0
jmp 0x140025455
mov rsi, qword [r14]
mov r13d, dword [rsp + 0xb8]
mov qword [r14], 0
jmp 0x140025455
mov r13d, dword [rsp + 0xb8]
movaps xmm8, xmmword [rsp + 0x40]
mov rbx, qword [r14]
mov ebp, 1
mov r15, qword [rsp + 0x70]
test rbx, rbx
je 0x1400254e3
cmp dword [rdi + 0x4070], 2
jne 0x1400254e3
movss xmm0, dword [rdi + 0x41b8]
subss xmm0, dword [0x1400e3054]
divss xmm0, dword [0x1400e3044]
comiss xmm6, xmm0
jbe 0x140025498
xorps xmm7, xmm7
jmp 0x14002549c
minss xmm7, xmm0
movss xmm0, dword [rdi + 0x41bc]
movzx edx, bpl
maxss xmm0, xmm7
mov ecx, 0x200
movss dword [rdi + 0x41bc], xmm0
call fcn.140021050
test al, al
je 0x1400254d8
cmp byte [rdi + 0xd25], 0
cmovne r12d, ebp
mov ecx, r12d
call fcn.140025890
mov rbx, qword [r14]
cmp byte [rdi + 0xd24], 0
cmove rsi, rbx
movaps xmm7, xmmword [rsp + 0x50]
mov r12, qword [rsp + 0x88]
test byte [rdi + 8], bpl
je 0x140025519
cmp dword [rdi + 0xd78], 4
jne 0x140025519
test byte [rdi + 0xd7c], 4
jne 0x140025519
mov byte [rdi + 0x41c0], bpl
mov dword [rdi + 0x4070], 2
movzx eax, byte [rdi + 0x41c0]
test al, al
je 0x140025620
cmp dword [rdi + 0x4070], 2
jne 0x140025620
cmp dword [rdi + 0x3748], 0
jg 0x140025559
cmp byte [rdi + 0xd24], 0
jne 0x140025559
cmp byte [rdi + 0xd25], 0
jne 0x140025559
cmp byte [rdi + 0xd27], 0
je 0x140025562
mov byte [rdi + 0x41c0], 0
xor al, al
test byte [rdi + 0xd78], 4
jne 0x140025610
test byte [rdi + 0xd7c], 4
je 0x140025610
test al, al
je 0x140025610
cmp dword [rdi + 0x3e74], 0
je 0x140025596
cmp byte [rdi + 0x3e81], 0
je 0x140025610
lea rax, [rdi + 0xd0c]
test rax, rax
jne 0x1400255af
mov rax, qword [0x140741670]
add rax, 0xd0c
movss xmm0, dword [rax]
movss xmm1, dword [0x1400e30f0]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x1400255d0
comiss xmm2, xmm1
jb 0x1400255d0
movzx ecx, bpl
jmp 0x1400255d2
xor cl, cl
lea rax, [rdi + 0x35d4]
test rax, rax
jne 0x1400255eb
mov rax, qword [0x140741670]
add rax, 0xd0c
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140025604
comiss xmm2, xmm1
jb 0x140025604
movzx eax, bpl
jmp 0x140025606
xor al, al
cmp cl, al
movzx r13d, r13b
cmove r13d, ebp
cmp byte [rdi + 0xd26], 0
jne 0x140025620
mov byte [rdi + 0x41c0], 0
mov rbx, qword [r14]
test rbx, rbx
je 0x14002571f
test byte [rbx + 0xc], 4
jne 0x14002571f
mov eax, dword [rdi + 0x4070]
cmp eax, 2
jne 0x140025652
cmp byte [rdi + 0xd25], 0
jne 0x14002571f
mov edx, ebp
jmp 0x14002565e
cmp eax, 3
jne 0x14002571f
lea edx, [rax + 5]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
lea rcx, [rsp + 0xb0]
call fcn.14001f0b0
movss xmm3, dword [rax]
ucomiss xmm3, xmm6
movss xmm4, dword [rax + 4]
jp 0x140025692
jne 0x140025692
ucomiss xmm4, xmm6
jp 0x140025692
je 0x14002571f
mov rbx, qword [rbx + 0x350]
lea rdx, [rsp + 0xb0]
movss xmm1, dword [rdi + 0x68]
mov r8d, ebp
movss xmm0, dword [rdi + 0x18]
mov rcx, rbx
minss xmm1, dword [rdi + 0x6c]
mulss xmm0, dword [0x1400e30dc]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm3, xmm2
mulss xmm4, xmm2
addss xmm3, dword [rbx + 0x10]
addss xmm4, dword [rbx + 0x14]
movss dword [rsp + 0xb0], xmm3
movss dword [rsp + 0xb4], xmm4
call fcn.14002be20
test dword [rbx + 0xc], 0x100
mov rcx, qword [0x140741670]
jne 0x140025718
comiss xmm6, dword [rcx + 0x52fc]
jb 0x140025718
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x52fc], eax
mov byte [rdi + 0x407b], bpl
movaps xmm6, xmmword [rsp + 0x60]
test rsi, rsi
je 0x1400257af
mov rax, qword [rdi + 0x4038]
test rax, rax
je 0x140025742
cmp rsi, qword [rax + 0x350]
je 0x1400257a8
call fcn.14001bea0
mov rax, qword [0x140741670]
mov word [rax + 0x4079], bp
mov byte [rax + 0x407b], bpl
mov rax, qword [rsi + 0x370]
test rax, rax
je 0x140025773
cmp byte [rax + 0x8f], 0
cmovne rsi, rax
xor edx, edx
mov rcx, rsi
call fcn.14001c200
mov rcx, rsi
call fcn.14001e6f0
cmp dword [rsi + 0x378], 0
jne 0x140025798
xor edx, edx
mov rcx, rsi
call fcn.1400222a0
cmp word [rsi + 0x132], 2
jne 0x1400257a8
mov dword [rdi + 0x4074], ebp
mov qword [r14], 0
mov r14, qword [rsp + 0x78]
test r13b, r13b
mov r13, qword [rsp + 0x80]
mov rbp, qword [rsp + 0xc0]
je 0x140025883
cmp qword [rdi + 0x4038], 0
je 0x140025883
call fcn.14001bea0
mov rsi, qword [rdi + 0x4038]
mov rbx, rsi
lea rcx, [rsi + 0x340]
cmp qword [rcx], 0
je 0x140025833
test byte [rbx + 0x130], 2
jne 0x14002581f
mov eax, dword [rbx + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x14002581f
mov rbx, qword [rcx]
lea rcx, [rbx + 0x340]
cmp qword [rcx], 0
jne 0x1400257f7
cmp rbx, rsi
je 0x140025833
mov rcx, rbx
call fcn.14001e6f0
mov qword [rbx + 0x370], rsi
mov rax, qword [rdi + 0x4038]
test byte [rax + 0x130], 2
je 0x14002584e
mov ecx, dword [rdi + 0x4074]
xor ecx, 1
jmp 0x140025850
xor ecx, ecx
cmp ecx, dword [rdi + 0x4074]
je 0x140025883
cmp ecx, 1
jne 0x140025867
mov dword [rax + 0x37c], 0
call fcn.140022c10
mov rax, qword [0x140741670]
mov word [rax + 0x4079], 1
mov byte [rax + 0x407b], 1
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret