Function at 0x140005790
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rsp + 0x60], xmm10
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm12
mov r15, rdx
mov r12, rcx
mov r9d, dword [0x1402ab650]
mov rax, qword gs:[0x58]
mov ebp, 4
mov rsi, qword [rax + r9*8]
xor r14d, r14d
mov eax, dword [rsi + rbp]
cmp dword [0x1402a8318], eax
jg 0x140005c03
mov eax, dword [rsi + rbp]
cmp dword [0x1402a8320], eax
jg 0x140005cf2
mov esi, r14d
xorps xmm7, xmm7
mov ebp, dword [0x14011f010]
mov rbx, qword [0x1402a8300]
test ebp, ebp
jle 0x140005bad
mov rdi, r14
movss xmm11, dword [0x1400bdf90]
nop dword [rax]
lea r14, [rdi + rbx]
movss xmm9, dword [rdi + rbx]
movss xmm6, dword [r14 + 8]
movaps xmm0, xmm9
subss xmm0, xmm6
movss xmm10, dword [rdi + rbx + 4]
movss xmm8, dword [r14 + 0xc]
movaps xmm1, xmm10
subss xmm1, xmm8
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x14000588b
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x140005893
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm0, xmm7
jbe 0x1400058ce
subss xmm6, xmm9
divss xmm6, xmm0
addss xmm6, xmm9
movss dword [rdi + rbx], xmm6
subss xmm8, xmm10
divss xmm8, xmm0
addss xmm8, xmm10
movss dword [rdi + rbx + 4], xmm8
mov rbx, qword [0x1402a8300]
mov ebp, dword [0x14011f010]
comiss xmm11, xmm0
jbe 0x140005918
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cvttss2si ecx, dword [r15 + 4]
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, dword [r15]
cdq
idiv ecx
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [r14 + 8], xmm0
movss dword [r14 + 0xc], xmm6
mov rbx, qword [0x1402a8300]
mov ebp, dword [0x14011f010]
inc esi
add rdi, 0x10
cmp esi, ebp
jl 0x140005840
xor r14d, r14d
test ebp, ebp
jle 0x140005bad
mov r13d, r14d
mov r15d, r14d
mov edi, 1
mov dword [rsp + 0x108], edi
movss xmm9, dword [0x1400be31c]
movss xmm12, dword [0x1400be320]
movss xmm10, dword [0x1400bde24]
movss xmm11, dword [0x1400bde28]
nop word [rax + rax]
mov r14d, edi
mov dword [rsp + 0x30], edi
mov esi, edi
cmp edi, ebp
jge 0x140005ab2
lea r14d, [r13 + 2]
lea rdi, [r15 + 0x10]
jmp 0x140005998
mov r12, qword [rsp + 0xf0]
movss xmm5, dword [r15 + rbx]
movaps xmm2, xmm5
subss xmm2, dword [rdi + rbx]
movss xmm4, dword [r15 + rbx + 4]
movaps xmm3, xmm4
subss xmm3, dword [rdi + rbx + 4]
movaps xmm1, xmm3
mulss xmm1, xmm3
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
movd xmm0, dword [0x14011f014]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x140005a8f
comiss xmm1, xmm7
jbe 0x1400059eb
divss xmm2, xmm1
divss xmm3, xmm1
jmp 0x1400059f1
movaps xmm2, xmm7
movaps xmm3, xmm7
mulss xmm1, xmm1
movaps xmm0, xmm9
divss xmm0, xmm1
mulss xmm2, xmm0
mulss xmm3, xmm0
movaps xmm0, xmm2
addss xmm0, xmm5
movss dword [r15 + rbx], xmm0
addss xmm4, xmm3
movss dword [r15 + rbx + 4], xmm4
mov rax, qword [0x1402a8300]
movss xmm0, dword [rdi + rax]
subss xmm0, xmm2
movss dword [rdi + rax], xmm0
movss xmm1, dword [rdi + rax + 4]
subss xmm1, xmm3
movss dword [rdi + rax + 4], xmm1
mov rbx, qword [r12]
movss xmm6, dword [0x14011f018]
lea rcx, [0x14011f0c0]
call fcn.140011e60
movsxd r12, r13d
movsxd rdx, r14d
mov r9, qword [0x1402a8300]
lea r8, [r9 + rdx*8]
lea rdx, [r9 + r12*8]
movss dword [rsp + 0x20], xmm6
mov r9d, eax
mov rcx, rbx
call fcn.140035150
mov rbx, qword [0x1402a8300]
mov ebp, dword [0x14011f010]
jmp 0x140005a92
movsxd r12, r13d
inc esi
add r14d, 2
add rdi, 0x10
cmp esi, ebp
jl 0x140005990
mov edi, dword [rsp + 0x108]
mov r14d, dword [rsp + 0x30]
jmp 0x140005ab5
movsxd r12, r13d
movss xmm6, dword [r15 + rbx]
movaps xmm2, xmm6
mov rax, qword [rsp + 0x100]
subss xmm2, dword [rax]
movss xmm8, dword [r15 + rbx + 4]
movaps xmm3, xmm8
subss xmm3, dword [rax + 4]
movaps xmm1, xmm3
mulss xmm1, xmm3
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
mulss xmm1, xmm1
movaps xmm5, xmm12
divss xmm5, xmm1
movaps xmm4, xmm3
mulss xmm4, xmm3
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm4, xmm0
comiss xmm4, xmm7
jbe 0x140005b19
divss xmm2, xmm4
divss xmm3, xmm4
jmp 0x140005b1f
movaps xmm2, xmm7
movaps xmm3, xmm7
mulss xmm2, xmm5
addss xmm2, xmm6
movss dword [r15 + rbx], xmm2
mulss xmm3, xmm5
addss xmm3, xmm8
movss dword [r15 + rbx + 4], xmm3
mov rbx, qword [rsp + 0xf0]
mov rbx, qword [rbx]
lea rcx, [0x14011f0d0]
call fcn.140011e60
mov rdx, qword [0x1402a8300]
lea rdx, [rdx + r12*8]
movss dword [rsp + 0x28], xmm10
mov dword [rsp + 0x20], 0
mov r9d, eax
movaps xmm2, xmm11
mov rcx, rbx
call fcn.140033580
inc edi
mov dword [rsp + 0x108], edi
add r13d, 2
add r15, 0x10
mov ebp, dword [0x14011f010]
cmp r14d, ebp
jge 0x140005bad
mov rbx, qword [0x1402a8300]
mov r12, qword [rsp + 0xf0]
jmp 0x140005970
lea r11, [rsp + 0xb0]
mov rbx, 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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov byte [0x1402a831c], 1
lea rcx, [0x1402a8320]
call fcn.1400b9e70
jmp 0x140005815
lea rcx, [0x1402a8318]
call fcn.1400b9edc
cmp dword [0x1402a8318], 0xffffffff
jne 0x140005806
mov eax, dword [0x14011f010]
add eax, eax
movsxd rbx, eax
je 0x140005cd4
movabs rax, 0x1fffffffffffffff
cmp rbx, rax
jbe 0x140005c42
call fcn.140008570
int3
lea rdi, [rbx*8]
cmp rdi, 0x1000
jb 0x140005c85
lea rcx, [rdi + 0x27]
cmp rcx, rdi
ja 0x140005c62
call fcn.1400023d0
int3
call fcn.1400b9ba0
test rax, rax
je 0x140005c7e
lea rdx, [rax + 0x27]
and rdx, 0xffffffffffffffe0
mov qword [rdx - 8], rax
lea rax, [rdi + rdx]
jmp 0x140005cb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rdi, rdi
je 0x140005ca9
mov rcx, rdi
call fcn.1400b9ba0
mov rdx, rax
mov qword [0x1402a8300], rax
lea rcx, [rdi + rax]
mov qword [0x1402a8310], rcx
jmp 0x140005cc0
mov rdx, r14
lea rax, [rdi + r14]
mov qword [0x1402a8310], rax
mov qword [0x1402a8300], rdx
nop
mov qword [rdx], r14
add rdx, 8
sub rbx, 1
jne 0x140005cc0
mov qword [0x1402a8308], rdx
lea rcx, [0x1400bc820]
call fcn.1400b9e1c
nop
lea rcx, [0x1402a8318]
call fcn.1400b9e70
jmp 0x140005806
lea rcx, [0x1402a8320]
call fcn.1400b9edc
cmp dword [0x1402a8320], 0xffffffff
jne 0x140005815
mov esi, r14d
cmp dword [0x14011f010], r14d
jle 0x140005beb
mov rdi, r14
nop
mov rbx, qword [0x1402a8300]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cvttss2si ecx, dword [r15 + 4]
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, dword [r15]
cdq
idiv ecx
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [rdi + rbx], xmm0
movss dword [rdi + rbx + 4], xmm6
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cvttss2si ecx, dword [r15 + 4]
cdq
idiv ecx
movd xmm6, edx
cvtdq2ps xmm6, xmm6
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cvttss2si r8d, dword [r15]
cdq
idiv r8d
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [rdi + rbx + 8], xmm0
movss dword [rdi + rbx + 0xc], xmm6
inc esi
lea rdi, [rdi + 0x10]
cmp esi, dword [0x14011f010]
jl 0x140005d20
jmp 0x140005beb