Function at 0x1400bf850
Capabilities:
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
sub rsp, 0xd0
movzx ebp, dl
mov r13, r8
mov rsi, rcx
mov rbx, qword [rcx + rbp*8 + 0x28]
movzx edi, byte [rcx + rbp + 0x3c]
cmp qword [rbx + rdi*8 + 0x28], rcx
jne 0x1400bf88c
mov byte [r8], dil
mov rax, rbx
add rsp, 0xd0
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0x110], r12
mov qword [rsp + 0xc8], r14
mov qword [rsp + 0xc0], r15
mov r15d, dword [0x1401bb2c4]
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm7
movaps xmmword [rsp + 0x90], xmm8
movaps xmmword [rsp + 0x80], xmm9
movaps xmmword [rsp + 0x70], xmm10
movaps xmmword [rsp + 0x60], xmm11
movaps xmmword [rsp + 0x50], xmm12
movaps xmmword [rsp + 0x40], xmm13
movaps xmmword [rsp + 0x30], xmm14
movaps xmmword [rsp + 0x20], xmm15
test r15d, r15d
jne 0x1400bf91c
lea rcx, str.PVIEW_USE_LEAST_ANGLE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov ecx, 1
mov r15d, 0xffffffff
test rax, rax
cmovne r15d, ecx
mov dword [0x1401bb2c4], r15d
mov rax, rbp
add rbp, rbp
xor rax, 1
add rax, rax
movsd xmm10, qword [rsi + rax*8 + 8]
movsd xmm9, qword [rsi + rax*8 + 0x10]
subsd xmm10, qword [rsi + rbp*8 + 8]
subsd xmm9, qword [rsi + rbp*8 + 0x10]
movaps xmm0, xmm10
mulsd xmm0, xmm10
movaps xmm1, xmm9
mulsd xmm1, xmm9
addsd xmm1, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x1400bf96a
sqrtpd xmm2, xmm1
jmp 0x1400bf975
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm2, xmm0
movsd xmm15, qword [0x1401587f0]
xorps xmm11, xmm11
ucomisd xmm2, xmm11
jp 0x1400bf98b
je 0x1400bf99d
movaps xmm0, xmm15
divsd xmm0, xmm2
mulsd xmm9, xmm0
mulsd xmm10, xmm0
cmp r15d, 0xffffffff
jne 0x1400bf9b3
cmp byte [rsi + 0x3e], 0
jl 0x1400bf9b3
movsd xmm6, qword [0x140158968]
jmp 0x1400bf9bb
movsd xmm6, qword [0x140158ed8]
movsd xmm14, qword [0x140158b50]
mov rbp, qword [rsp + 0x100]
movzx r14d, byte [rsp + 0x108]
nop word [rax + rax]
movzx r12d, dil
movaps xmm12, xmm6
mov ecx, r12d
mov eax, r12d
add rax, rax
xor rcx, 1
add rcx, rcx
movaps xmm13, xmm6
movsd xmm8, qword [rbx + rcx*8 + 8]
movsd xmm7, qword [rbx + rcx*8 + 0x10]
subsd xmm8, qword [rbx + rax*8 + 8]
subsd xmm7, qword [rbx + rax*8 + 0x10]
movaps xmm0, xmm8
mulsd xmm0, xmm8
movaps xmm1, xmm7
mulsd xmm1, xmm7
addsd xmm1, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x1400bfa39
sqrtpd xmm0, xmm1
jmp 0x1400bfa41
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
ucomisd xmm0, xmm11
jp 0x1400bfa4a
je 0x1400bfa5b
movaps xmm1, xmm15
divsd xmm1, xmm0
mulsd xmm8, xmm1
mulsd xmm7, xmm1
movaps xmm0, xmm8
movaps xmm1, xmm9
mulsd xmm1, xmm7
mulsd xmm0, xmm10
mulsd xmm7, xmm10
addsd xmm1, xmm0
movaps xmm0, xmm9
mulsd xmm0, xmm8
subsd xmm7, xmm0
comisd xmm7, xmm11
jbe 0x1400bfa94
movaps xmm0, xmm14
subsd xmm0, xmm1
movaps xmm1, xmm0
cmp r15d, 0xffffffff
jne 0x1400bfad4
cmp byte [rsi + 0x3e], 0
jge 0x1400bface
comisd xmm1, xmm6
jbe 0x1400bfaa9
movaps xmm6, xmm1
comisd xmm1, xmm13
mov rax, rbx
movzx ecx, dil
cmovbe rax, rbp
comisd xmm1, xmm12
mov rbp, rax
movzx eax, r14b
cmovbe ecx, eax
movzx r14d, cl
jmp 0x1400bfae4
comisd xmm6, xmm1
jmp 0x1400bfad8
comisd xmm1, xmm6
jbe 0x1400bfae4
movaps xmm6, xmm1
movzx r14d, dil
mov rbp, rbx
movzx edi, byte [r12 + rbx + 0x3c]
mov rbx, qword [rbx + r12*8 + 0x28]
cmp rbx, rsi
jne 0x1400bf9e0
movaps xmm15, xmmword [rsp + 0x20]
mov rax, rbp
movaps xmm14, xmmword [rsp + 0x30]
movaps xmm13, xmmword [rsp + 0x40]
movaps xmm12, xmmword [rsp + 0x50]
movaps xmm11, xmmword [rsp + 0x60]
movaps xmm10, xmmword [rsp + 0x70]
movaps xmm9, xmmword [rsp + 0x80]
movaps xmm8, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0xb0]
mov r15, qword [rsp + 0xc0]
mov r12, qword [rsp + 0x110]
mov byte [r13], r14b
mov r14, qword [rsp + 0xc8]
add rsp, 0xd0
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret