Function at 0x1400258b0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xc0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rsp + 0x60], xmm11
movaps xmmword [rsp + 0x50], xmm12
movaps xmmword [rsp + 0x40], xmm13
mov r12, rcx
mov qword [rsp + 0x30], rdx
mov edi, 4
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
xor esi, esi
mov eax, dword [rdi + rbx]
cmp dword [0x14004c8dc], eax
jle 0x1400259b2
lea rcx, [0x14004c8dc]
call fcn.14003c7a8
cmp dword [0x14004c8dc], 0xffffffff
jne 0x1400259b2
xorps xmm0, xmm0
movdqu xmmword [0x14004c8e0], xmm0
mov qword [0x14004c8f0], rsi
mov ecx, 0x25a7
call fcn.14003cd24
test rax, rax
je 0x140025ad3
lea rdx, [rax + 0x27]
and rdx, 0xffffffffffffffe0
mov qword [rdx - 8], rax
mov qword [0x14004c8e0], rdx
lea rax, [rdx + 0x2580]
mov qword [0x14004c8f0], rax
mov eax, 0x258
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
add rdx, 0x10
sub rax, 1
jne 0x140025981
mov qword [0x14004c8e8], rdx
lea rcx, [0x14003dfe0]
call fcn.14003cb18
nop
lea rcx, [0x14004c8dc]
call fcn.14003c73c
mov eax, dword [rdi + rbx]
cmp dword [0x14004c8d8], eax
jle 0x140025a50
lea rcx, [0x14004c8d8]
call fcn.14003c7a8
cmp dword [0x14004c8d8], 0xffffffff
jne 0x140025a50
mov rax, qword [0x14004bf00]
mov rdi, qword [0x14004c8e8]
mov rbx, qword [0x14004c8e0]
cmp rbx, rdi
je 0x140025a44
cvttss2si ebp, dword [rax + 0x14]
cvttss2si r14d, dword [rax + 0x10]
add rbx, 4
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
idiv ebp
movd xmm6, edx
cvtdq2ps xmm6, xmm6
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
idiv r14d
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [rbx - 4], xmm0
movss dword [rbx], xmm6
movss dword [rbx + 4], xmm0
movss dword [rbx + 8], xmm6
lea rbx, [rbx + 0x10]
lea rax, [rbx - 4]
cmp rax, rdi
jne 0x140025a03
lea rcx, [0x14004c8d8]
call fcn.14003c73c
mov rdi, qword [0x14004c8e8]
mov r10, qword [0x14004c8e0]
cmp r10, rdi
je 0x140025b63
lea rbx, [r10 + 4]
movss xmm12, dword [rsp + 0x34]
movss xmm13, dword [rsp + 0x30]
xorps xmm11, xmm11
movss xmm10, dword [0x140044320]
nop word [rax + rax]
movss xmm8, dword [rbx - 4]
movss xmm6, dword [rbx + 4]
movaps xmm1, xmm8
subss xmm1, xmm6
movss xmm9, dword [rbx]
movss xmm7, dword [rbx + 8]
movaps xmm0, xmm9
subss xmm0, xmm7
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
cvtps2pd xmm2, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm2
ja 0x140025ada
sqrtpd xmm0, xmm2
jmp 0x140025ae2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cvtsd2ss xmm0, xmm0
comiss xmm0, xmm11
jbe 0x140025b11
subss xmm6, xmm8
divss xmm6, xmm0
addss xmm6, xmm8
movss dword [rbx - 4], xmm6
subss xmm7, xmm9
divss xmm7, xmm0
addss xmm7, xmm9
movss dword [rbx], xmm7
comiss xmm10, xmm0
jbe 0x140025b4b
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cvttss2si ecx, xmm12
cdq
idiv ecx
movd xmm6, edx
cvtdq2ps xmm6, xmm6
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cvttss2si ecx, xmm13
cdq
idiv ecx
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [rbx + 4], xmm0
movss dword [rbx + 8], xmm6
add rbx, 0x10
lea rax, [rbx - 4]
cmp rax, rdi
jne 0x140025a90
mov r10, qword [0x14004c8e0]
mov r14d, 1
movss xmm6, dword [0x1400443ac]
cmp r14d, 0x258
jge 0x140025c08
lea rbx, [rsi + 0x10]
movsxd rdi, r14d
shl rdi, 4
mov ebp, 0x258
sub ebp, r14d
movss xmm1, dword [rsi + r10]
subss xmm1, dword [rbx + r10]
movss xmm0, dword [rsi + r10 + 4]
subss xmm0, dword [rbx + r10 + 4]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm6, xmm0
jbe 0x140025bfa
lea rcx, [0x14004b208]
call fcn.140003330
mov r9d, eax
lea r8, [rdi + r10]
lea eax, [r14 - 1]
movsxd rdx, eax
shl rdx, 4
add rdx, r10
movss xmm0, dword [0x140044298]
movss dword [rsp + 0x20], xmm0
mov rcx, r12
call fcn.14001e540
mov r10, qword [0x14004c8e0]
add rdi, 0x10
add rbx, 0x10
sub rbp, 1
jne 0x140025b91
add rsi, 0x10
inc r14d
cmp r14d, 0x258
jle 0x140025b78
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret