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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x108
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rsp + 0x70], xmm14
movaps xmmword [rsp + 0x60], xmm15
mov r12, rdx
xor edx, edx
mov rbx, r8
mov rsi, rcx
mov r13d, 0xffffff9d
lea r8d, [rdx + 0x50]
movsxd r15, r9d
mov dword [rsp + 0x160], 1
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rbx]
mov dword [rsi + 0x40], eax
movd xmm0, dword [rbx]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1402cdff0]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_log
movsd xmm11, qword [0x140283150]
movaps xmm6, xmm0
movaps xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_log
movsd xmm15, qword [0x1402cdf98]
divsd xmm6, xmm0
addsd xmm6, xmm15
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
subsd xmm0, qword [0x1402cdfa0]
movd xmm6, dword [rsp + 0x170]
movss xmm14, dword [0x1402cdef0]
cvtdq2ps xmm6, xmm6
cvttsd2si edi, xmm0
movaps xmm0, xmm6
movd xmm9, r15d
mulss xmm0, xmm14
mov dword [rsi + 0x3c], edi
cvtdq2pd xmm9, xmm9
cvtps2pd xmm0, xmm0
movsd qword [rsp + 0x40], xmm9
mulsd xmm0, xmm15
divsd xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_log
movd xmm2, dword [rbx]
lea ecx, [rdi + 1]
movsd xmm13, qword [0x140288d58]
mov eax, 1
movsd xmm12, qword [0x140288d78]
mulsd xmm0, xmm13
shl eax, cl
cvtdq2pd xmm2, xmm2
subsd xmm0, xmm12
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm0, xmm1
subsd xmm0, xmm2
cvttsd2si ebx, xmm0
movd xmm0, r15d
cvtdq2ps xmm0, xmm0
mov dword [rsi + 0x38], ebx
addss xmm0, xmm14
mulss xmm0, xmm6
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm15
divsd xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_log
mulsd xmm0, xmm13
lea ecx, [rdi + 1]
mov eax, 1
shl eax, cl
subsd xmm0, xmm12
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm0, xmm1
addsd xmm0, xmm15
mov rbp, r15
cvttsd2si eax, xmm0
sub eax, ebx
lea rbx, [r15*4]
inc eax
mov qword [rsp + 0x50], rbx
mov rcx, rbx
mov dword [rsi + 0x44], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rcx, rbx
mov qword [rsi + 0x20], rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rcx, rbx
mov qword [rsi + 0x28], rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rsi + 0x30], rax
xor ebx, ebx
mov eax, dword [rsp + 0x170]
mov qword [rsi + 8], r12
mov dword [rsi], r15d
mov dword [rsi + 0x48], eax
mov dword [rsi + 0x4c], 0x3f800000
cmp eax, 0x6590
jge 0x1400f8c27
mov dword [rsi + 0x4c], ebx
jmp 0x1400f8c45
cmp eax, 0x9470
jge 0x1400f8c37
mov dword [rsi + 0x4c], 0x3f70a3d7
jmp 0x1400f8c45
cmp eax, 0xb3b0
jle 0x1400f8c45
mov dword [rsi + 0x4c], 0x3fa33333
movsd xmm7, qword [0x140288d48]
lea r12, [0x140288b34]
movsd xmm8, qword [0x140288d50]
lea r14, [0x140288c90]
movsd xmm6, qword [0x1402cdfc0]
mov edi, ebx
movd xmm10, eax
mov r15d, 1
cvtdq2pd xmm10, xmm10
movsd qword [rsp + 0x48], xmm10
nop word [rax + rax]
movd xmm0, r15d
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm7
subsd xmm0, xmm11
addsd xmm0, xmm12
mulsd xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_exp
mulsd xmm0, xmm11
mulsd xmm0, xmm9
divsd xmm0, xmm10
addsd xmm0, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
movss xmm2, dword [r12 - 4]
cvttsd2si ecx, xmm0
cmp edi, ecx
jge 0x1400f8dfd
movss xmm3, dword [r12]
mov eax, ecx
sub eax, edi
movsxd rdx, ecx
subss xmm3, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm3, xmm0
cmp rbx, rdx
jge 0x1400f8dfd
mov rax, rdx
sub rax, rbx
cmp rax, 4
jl 0x1400f8dcd
lea rcx, [rbx + 2]
cmp rbx, rbp
jge 0x1400f8dfd
mov rax, qword [rsi + 0x20]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
addss xmm2, xmm3
addsd xmm0, xmm6
cvtpd2ps xmm1, xmm0
movss dword [rax + rbx*4], xmm1
lea rax, [rcx - 1]
cmp rax, rbp
jge 0x1400f92b6
mov rax, qword [rsi + 0x20]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
addss xmm2, xmm3
addsd xmm0, xmm6
cvtpd2ps xmm1, xmm0
movss dword [rax + rbx*4 + 4], xmm1
cmp rcx, rbp
jge 0x1400f92aa
mov rax, qword [rsi + 0x20]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
addss xmm2, xmm3
addsd xmm0, xmm6
cvtpd2ps xmm1, xmm0
movss dword [rax + rbx*4 + 8], xmm1
lea rax, [rcx + 1]
cmp rax, rbp
jge 0x1400f929e
mov rax, qword [rsi + 0x20]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
add edi, 4
add rcx, 4
addss xmm2, xmm3
addsd xmm0, xmm6
cvtpd2ps xmm1, xmm0
movss dword [rax + rbx*4 + 0xc], xmm1
add rbx, 4
lea rax, [rdx - 3]
cmp rbx, rax
jl 0x1400f8d16
cmp rbx, rdx
jge 0x1400f8dfd
cmp rbx, rbp
jge 0x1400f8dfd
mov rax, qword [rsi + 0x20]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
inc edi
addss xmm2, xmm3
addsd xmm0, xmm6
cvtpd2ps xmm1, xmm0
movss dword [rax + rbx*4], xmm1
inc rbx
cmp rbx, rdx
jl 0x1400f8dd2
inc r15d
add r12, 4
cmp r12, r14
jl 0x1400f8c90
mov r14d, dword [rsp + 0x160]
mov r15d, dword [rsp + 0x168]
movsxd rdx, edi
cmp rdx, rbp
jge 0x1400f8e8f
mov rax, rbp
sub rax, rdx
cmp rax, 4
jl 0x1400f8e77
lea r8, [rbp - 3]
nop word [rax + rax]
mov rcx, qword [rsi + 0x20]
mov eax, dword [rcx + rdx*4 - 4]
mov dword [rcx + rdx*4], eax
mov rcx, qword [rsi + 0x20]
mov eax, dword [rcx + rdx*4]
mov dword [rcx + rdx*4 + 4], eax
mov rcx, qword [rsi + 0x20]
mov eax, dword [rcx + rdx*4 + 4]
mov dword [rcx + rdx*4 + 8], eax
mov rcx, qword [rsi + 0x20]
mov eax, dword [rcx + rdx*4 + 8]
mov dword [rcx + rdx*4 + 0xc], eax
add rdx, 4
cmp rdx, r8
jl 0x1400f8e40
cmp rdx, rbp
jge 0x1400f8e8f
mov rcx, qword [rsi + 0x20]
mov eax, dword [rcx + rdx*4 - 4]
mov dword [rcx + rdx*4], eax
inc rdx
cmp rdx, rbp
jl 0x1400f8e7c
xor ebp, ebp
mov ebx, ebp
mov dword [rsp + 0x160], ebx
test r15d, r15d
jle 0x1400f915b
mov eax, dword [rsp + 0x170]
lea ecx, [r15 + r15]
movss xmm9, dword [0x140288d28]
cdq
movsd xmm10, qword [0x140288d70]
mov edi, ebp
movss xmm11, dword [0x140288d2c]
movsd xmm12, qword [0x140288d88]
movss xmm13, dword [0x1402cde78]
idiv ecx
mov ecx, ebp
mov qword [rsp + 0x38], rbp
mov r12d, eax
mov dword [rsp + 0x170], ecx
imul r12d, eax
mov r15d, eax
mov eax, ebp
mov dword [rsp + 0x30], eax
nop
movd xmm7, eax
mov eax, ecx
imul eax, ebx
cvtdq2ps xmm7, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm9
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_atan
movaps xmm1, xmm7
movaps xmm6, xmm0
mulss xmm1, xmm11
mulsd xmm6, xmm10
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_atan
mov rcx, qword [rsp + 0x158]
xorps xmm14, xmm14
mulss xmm7, xmm13
mulsd xmm0, xmm12
mov ebp, dword [rcx + 0x78]
cvtps2pd xmm1, xmm7
add ebp, r13d
addsd xmm6, xmm0
addsd xmm6, xmm1
cvtsd2ss xmm14, xmm6
cmp ebp, ebx
jge 0x1400f9017
mov esi, dword [rsp + 0x160]
mov ebx, r15d
imul ebx, r13d
movaps xmm8, xmm14
subss xmm8, dword [rcx + 0x70]
mov edi, r12d
imul edi, r13d
nop dword [rax + rax]
mov eax, edi
movd xmm7, ebx
imul eax, r13d
cvtdq2ps xmm7, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm9
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_atan
movaps xmm1, xmm7
movaps xmm6, xmm0
mulss xmm1, xmm11
mulsd xmm6, xmm10
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_atan
mulsd xmm0, xmm12
mulss xmm7, xmm13
addsd xmm6, xmm0
xorps xmm0, xmm0
cvtps2pd xmm1, xmm7
cvtss2sd xmm0, xmm8
addsd xmm6, xmm1
comisd xmm0, xmm6
jbe 0x1400f8ffb
inc r13d
add edi, r12d
add ebx, r15d
inc ebp
cmp ebp, esi
jl 0x1400f8f90
mov rsi, qword [rsp + 0x150]
mov ebx, dword [rsp + 0x160]
mov rdi, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x158]
mov edx, dword [rsp + 0x168]
cmp r14d, edx
jg 0x1400f90d3
mov ebp, dword [rcx + 0x7c]
mov edi, r12d
add ebp, ebx
mov ebx, r15d
imul ebx, r14d
imul edi, r14d
nop word [rax + rax]
cmp r14d, ebp
jl 0x1400f90b5
mov eax, edi
movd xmm7, ebx
imul eax, r14d
cvtdq2ps xmm7, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm9
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_atan
movaps xmm1, xmm7
movaps xmm6, xmm0
mulss xmm1, xmm11
mulsd xmm6, xmm10
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_atan
mov rcx, qword [rsp + 0x158]
mov edx, dword [rsp + 0x168]
mulsd xmm0, xmm12
mulss xmm7, xmm13
addsd xmm6, xmm0
movaps xmm0, xmm14
addss xmm0, dword [rcx + 0x74]
cvtps2pd xmm1, xmm7
cvtss2sd xmm0, xmm0
addsd xmm6, xmm1
comisd xmm0, xmm6
jbe 0x1400f90c7
inc r14d
add edi, r12d
add ebx, r15d
cmp r14d, edx
jle 0x1400f9040
mov ebx, dword [rsp + 0x160]
mov rdi, qword [rsp + 0x38]
mov rax, qword [rsi + 0x30]
inc ebx
mov ecx, r13d
mov dword [rsp + 0x160], ebx
shl ecx, 0x10
add ecx, 0xfffeffff
add ecx, r14d
mov dword [rdi + rax], ecx
add rdi, 4
mov ecx, dword [rsp + 0x170]
mov eax, dword [rsp + 0x30]
add ecx, r12d
add eax, r15d
mov dword [rsp + 0x170], ecx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], rdi
cmp ebx, edx
jl 0x1400f8f00
movsd xmm9, qword [rsp + 0x40]
xor ebp, ebp
movsd xmm10, qword [rsp + 0x48]
movsd xmm11, qword [0x140283150]
movsd xmm12, qword [0x140288d78]
movsd xmm13, qword [0x140288d58]
movss xmm14, dword [0x1402cdef0]
mov r15d, dword [rsp + 0x168]
mov ebx, ebp
test r15d, r15d
jle 0x1400f91d0
mov rdi, rbp
nop word [rax + rax]
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
addss xmm0, xmm14
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm15
mulsd xmm0, xmm10
divsd xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_log
mov ecx, dword [rsi + 0x3c]
mov edx, 1
mov rax, qword [rsi + 0x28]
inc ecx
shl edx, cl
inc ebx
mulsd xmm0, xmm13
movd xmm1, edx
cvtdq2pd xmm1, xmm1
subsd xmm0, xmm12
mulsd xmm0, xmm1
addsd xmm0, xmm15
cvttsd2si ecx, xmm0
mov dword [rdi + rax], ecx
add rdi, 4
cmp ebx, r15d
jl 0x1400f9170
mov rax, qword [rsp + 0x158]
movaps xmm0, xmm10
mulsd xmm0, xmm15
xorps xmm1, xmm1
mov r8d, r15d
movss xmm3, dword [rax + 0x18]
lea rcx, [rax + 0x24]
divsd xmm0, xmm9
cvtsd2ss xmm1, xmm0
movss xmm0, dword [rax + 0x1c]
movss dword [rsp + 0x20], xmm0
call fcn.1400fc5f0
mov ecx, 0x18
mov qword [rsi + 0x10], rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rdi, qword [rsp + 0x50]
mov rbx, rbp
mov qword [rsi + 0x18], rax
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rcx, qword [rsi + 0x18]
mov qword [rbx + rcx], rax
add rbx, 8
cmp rbx, 0x18
jl 0x1400f9223
test r15d, r15d
jle 0x1400f93a8
movss xmm6, dword [0x1402ce010]
mov rbx, rbp
movsd xmm8, qword [0x1402cdfa0]
xorps xmm7, xmm7
mulsd xmm9, xmm11
movd xmm0, ebp
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm15
mulsd xmm0, xmm10
divsd xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_log
mulsd xmm0, xmm13
xorps xmm4, xmm4
subsd xmm0, xmm12
mulsd xmm0, xmm11
cvtsd2ss xmm4, xmm0
comiss xmm7, xmm4
jbe 0x1400f92c0
movaps xmm4, xmm7
jmp 0x1400f92c8
add rbx, 3
add edi, 3
jmp 0x1400f8dfd
add rbx, 2
add edi, 2
jmp 0x1400f8dfd
inc rbx
inc edi
jmp 0x1400f8dfd
comiss xmm4, xmm6
jb 0x1400f92c8
movaps xmm4, xmm6
xorps xmm1, xmm1
movaps xmm3, xmm8
cvttss2si eax, xmm4
inc ebp
movsxd rdx, eax
movd xmm0, eax
mov rax, qword [rsi + 8]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [rax + rdx*4 + 0x84]
subss xmm4, xmm0
xorps xmm0, xmm0
cvtps2pd xmm2, xmm2
cvtss2sd xmm0, xmm4
subsd xmm3, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [rax + rdx*4 + 0x88]
mov rax, qword [rsi + 0x18]
cvtss2sd xmm1, xmm0
mov rcx, qword [rax]
mulsd xmm2, xmm3
addsd xmm2, xmm1
xorps xmm1, xmm1
cvtpd2ps xmm0, xmm2
movss dword [rbx + rcx], xmm0
movaps xmm0, xmm4
mov rax, qword [rsi + 8]
mulss xmm0, dword [rax + rdx*4 + 0xcc]
movss xmm2, dword [rax + rdx*4 + 0xc8]
mov rax, qword [rsi + 0x18]
cvtss2sd xmm1, xmm0
mov rcx, qword [rax + 8]
cvtps2pd xmm2, xmm2
mulsd xmm2, xmm3
addsd xmm2, xmm1
cvtpd2ps xmm0, xmm2
movss dword [rbx + rcx], xmm0
xorps xmm0, xmm0
mov rax, qword [rsi + 8]
movss xmm1, dword [rax + rdx*4 + 0x10c]
mulss xmm4, dword [rax + rdx*4 + 0x110]
mov rax, qword [rsi + 0x18]
cvtps2pd xmm1, xmm1
mov rcx, qword [rax + 0x10]
cvtss2sd xmm0, xmm4
mulsd xmm1, xmm3
addsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movss dword [rbx + rcx], xmm1
add rbx, 4
cmp ebp, r15d
jl 0x1400f9262
movaps xmm14, xmmword [rsp + 0x70]
lea r11, [rsp + 0x108]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [r11 - 0x88]
movaps xmm15, xmmword [rsp + 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret