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

Disassembly:
test edx, edx
jle 0x1400fd6fb
mov rax, rsp
push rbx
sub rsp, 0x70
mov qword [rax + 8], rbp
mov rbx, rcx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax - 0x10], r14
xor r14d, r14d
mov qword [rax - 0x18], r15
movabs r15, 0xe38e38e38e38e39
movaps xmmword [rax - 0x28], xmm6
movss xmm6, dword [0x140311068]
movaps xmmword [rax - 0x38], xmm7
movss xmm7, dword [0x140310dd8]
movaps xmmword [rax - 0x48], xmm8
movss xmm8, dword [0x140310f24]
mov ebp, edx
nop dword [rax]
movsxd rax, dword [rbx + 0x64]
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x48]
mov byte [rax + rcx*8 + 0x38], 1
movss xmm0, dword [rbx + 0x74]
movss xmm1, dword [rbx + 0x70]
addss xmm0, dword [rbx + 0x6c]
addss xmm1, dword [rbx + 0x78]
lea rdi, [rax + rcx*8]
lea rax, [rsp + 0x20]
cmp rdi, rax
je 0x1400fd57c
movss dword [rdi], xmm0
movss dword [rdi + 4], xmm1
lea rsi, [rdi + 8]
cmp rsi, rbx
je 0x1400fd58f
mov eax, dword [rbx]
mov dword [rsi], eax
mov eax, dword [rbx + 4]
mov dword [rsi + 4], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
divss xmm0, xmm6
subss xmm0, xmm7
mulss xmm0, dword [rbx + 8]
addss xmm0, dword [rsi]
movss dword [rsi], xmm0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
divss xmm0, xmm6
subss xmm0, xmm7
mulss xmm0, dword [rbx + 0xc]
addss xmm0, dword [rdi + 0xc]
movss dword [rdi + 0xc], xmm0
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
je 0x1400fd5fc
sub ecx, 1
je 0x1400fd5fc
sub ecx, 1
je 0x1400fd5f1
cmp ecx, 1
je 0x1400fd5f1
mov dword [rdi + 0x20], r14d
jmp 0x1400fd617
movss xmm1, dword [rsi]
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
jmp 0x1400fd612
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm6
mulss xmm0, xmm8
movss dword [rdi + 0x20], xmm0
mov eax, dword [rbx + 0x3c]
mov dword [rdi + 0x40], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
not eax
and eax, 1
lea eax, [rax*2 - 1]
mov dword [rdi + 0x44], eax
mov eax, dword [rbx + 0x10]
mov dword [rdi + 0x10], eax
mov eax, dword [rbx + 0x14]
mov dword [rdi + 0x14], eax
mov eax, dword [rbx + 0x18]
mov dword [rdi + 0x18], eax
mov eax, dword [rbx + 0x1c]
mov dword [rdi + 0x1c], eax
mov eax, dword [rbx + 0x2c]
mov dword [rdi + 0x2c], eax
mov eax, dword [rbx + 0x2c]
mov dword [rdi + 0x30], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm6
subss xmm0, xmm7
mulss xmm0, dword [rbx + 0x28]
addss xmm0, dword [rbx + 0x20]
movss dword [rdi + 0x24], xmm0
mov eax, dword [rbx + 0x24]
mov dword [rdi + 0x28], eax
mov eax, dword [rbx + 0x34]
mov dword [rdi + 0x34], eax
mov eax, dword [rbx + 0x38]
mov dword [rdi + 0x3c], eax
mov rax, r15
inc dword [rbx + 0x64]
mov rcx, qword [rbx + 0x50]
sub rcx, qword [rbx + 0x48]
imul rcx
mov rcx, rdx
xor edx, edx
sar rcx, 2
mov rax, rcx
shr rax, 0x3f
add rcx, rax
movsxd rax, dword [rbx + 0x64]
div rcx
mov dword [rbx + 0x64], edx
sub rbp, 1
jne 0x1400fd540
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
add rsp, 0x70
pop rbx
ret