Function at 0x14007b510
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xd0
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 + 0x70], xmm11
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm13
mov qword [rsp + 0x30], rdx
mov r12, qword [0x140273b58]
mov edi, 4
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov eax, dword [rdi + rbx]
cmp dword [0x14027588c], eax
jle 0x14007b5c1
lea rcx, [0x14027588c]
call fcn.1401506c8
cmp dword [0x14027588c], 0xffffffff
jne 0x14007b5c1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140275890], xmm0
mov qword [0x1402758a0], rax
call fcn.1400887e0
lea rcx, [0x1401564b0]
call fcn.140150a38
nop
lea rcx, [0x14027588c]
call fcn.14015065c
mov eax, dword [rdi + rbx]
cmp dword [0x140275888], eax
jle 0x14007b644
lea rcx, [0x140275888]
call fcn.1401506c8
cmp dword [0x140275888], 0xffffffff
jne 0x14007b644
mov rax, qword [0x140273b40]
mov rdi, qword [0x140275898]
mov rbx, qword [0x140275890]
cmp rbx, rdi
je 0x14007b638
cvttss2si esi, dword [rax + 0x14]
cvttss2si ebp, dword [rax + 0x10]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
idiv esi
movd xmm6, edx
cvtdq2ps xmm6, xmm6
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
idiv ebp
movd xmm0, edx
cvtdq2ps xmm1, xmm0
unpcklps xmm1, xmm6
unpcklpd xmm1, xmm1
movups xmmword [rbx], xmm1
add rbx, 0x10
cmp rbx, rdi
jne 0x14007b605
lea rcx, [0x140275888]
call fcn.14015065c
mov rdi, qword [0x140275898]
mov r10, qword [0x140275890]
cmp r10, rdi
je 0x14007b74c
lea rbx, [r10 + 4]
movss xmm12, dword [rsp + 0x34]
movss xmm13, dword [rsp + 0x30]
movss xmm11, dword [0x14019224c]
movss xmm10, dword [0x140192290]
nop
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 0x14007b6c3
sqrtpd xmm0, xmm2
jmp 0x14007b6cb
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cvtsd2ss xmm0, xmm0
comiss xmm0, xmm11
jbe 0x14007b6fa
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 0x14007b734
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 0x14007b680
mov r10, qword [0x140275890]
xor r14d, r14d
mov ebp, 1
movdqa xmm7, xmmword [0x140192600]
movss xmm6, dword [0x1401922b0]
movss xmm8, dword [0x1401920f4]
cmp ebp, 0x64
jge 0x14007b802
lea rbx, [r14 + 0x10]
movsxd rdi, ebp
shl rdi, 4
mov esi, 0x64
sub esi, ebp
nop dword [rax + rax]
movss xmm1, dword [r10 + r14]
subss xmm1, dword [rbx + r10]
movss xmm0, dword [r10 + r14 + 4]
subss xmm0, dword [rbx + r10 + 4]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm6, xmm0
jbe 0x14007b7f4
movups xmmword [rsp + 0x38], xmm7
lea rcx, [rsp + 0x38]
call fcn.14003f250
mov r9d, eax
lea r8, [rdi + r10]
lea eax, [rbp - 1]
movsxd rdx, eax
shl rdx, 4
add rdx, r10
movss dword [rsp + 0x20], xmm8
mov rcx, r12
call fcn.14005cb20
mov r10, qword [0x140275890]
add rdi, 0x10
add rbx, 0x10
sub rsi, 1
jne 0x14007b790
add r14, 0x10
inc ebp
cmp ebp, 0x64
jle 0x14007b770
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
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