Function at 0x140028ec0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
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
mov rax, qword [0x1400b89e8]
xor rax, rsp
mov qword [rsp + 0x48], rax
movss xmm7, dword [0x1400a4e08]
mov rbx, r9
mov r13, rcx
mov qword [rsp + 0x20], rbx
lea rcx, str.HWLOC_XML_V1DIST_SCALE
mov r12, r8
mov r15d, edx
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor ebp, ebp
test rax, rax
je 0x140028f48
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm7, xmm7
cvtsd2ss xmm7, xmm0
jmp 0x140028fcb
mov edi, r15d
mov esi, ebp
imul edi, r15d
test edi, edi
je 0x1400291b5
movss xmm11, dword [0x1400a4ddc]
mov r14, rbx
movss xmm9, dword [0x1400a4dec]
mov rbx, r12
movss xmm10, dword [0x1400a4de4]
xorps xmm8, xmm8
nop
movss xmm6, dword [rbx]
comiss xmm8, xmm6
ja 0x140028fc6
lea rdx, [rsp + 0x28]
movaps xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_modff]
comiss xmm0, xmm11
jbe 0x140028fa4
comiss xmm9, xmm0
ja 0x140028fc6
addss xmm6, xmm10
inc esi
add rbx, 4
cvttss2si eax, xmm6
movsxd rcx, eax
mov qword [r14], rcx
add r14, 8
cmp esi, edi
jb 0x140028f80
jmp 0x1400291b5
mov rbx, qword [rsp + 0x20]
movss xmm0, dword [0x1400a4e0c]
mov r10d, ebp
imul r15d, r15d
movabs r11, 0x8000000000000000
cmp r15d, 4
jb 0x1400290bc
lea eax, [r15 - 4]
shr eax, 2
lea r8, [rbx + 0x10]
inc eax
lea rdx, [r12 + 8]
mov r9d, eax
lea r10d, [rax*4]
nop dword [rax + rax]
movaps xmm1, xmm7
xor ecx, ecx
mulss xmm1, dword [rdx - 8]
comiss xmm1, xmm0
jb 0x14002902b
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x14002902b
mov rcx, r11
cvttss2si rax, xmm1
movaps xmm1, xmm7
add rax, rcx
xor ecx, ecx
mov qword [r8 - 0x10], rax
mulss xmm1, dword [rdx - 4]
comiss xmm1, xmm0
jb 0x140029052
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x140029052
mov rcx, r11
cvttss2si rax, xmm1
movaps xmm1, xmm7
add rax, rcx
xor ecx, ecx
mov qword [r8 - 8], rax
mulss xmm1, dword [rdx]
comiss xmm1, xmm0
jb 0x140029078
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x140029078
mov rcx, r11
cvttss2si rax, xmm1
movaps xmm1, xmm7
add rax, rcx
xor ecx, ecx
mov qword [r8], rax
mulss xmm1, dword [rdx + 4]
comiss xmm1, xmm0
jb 0x14002909e
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x14002909e
mov rcx, r11
cvttss2si rax, xmm1
add rdx, 0x10
add rax, rcx
mov qword [r8 + 8], rax
add r8, 0x20
sub r9, 1
jne 0x140029010
cmp r10d, r15d
jae 0x140029105
mov eax, r10d
sub r15d, r10d
mov r9d, r15d
lea r8, [rbx + rax*8]
lea rdx, [r12 + rax*4]
movaps xmm1, xmm7
xor ecx, ecx
mulss xmm1, dword [rdx]
comiss xmm1, xmm0
jb 0x1400290ec
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x1400290ec
mov rcx, r11
cvttss2si rax, xmm1
add rdx, 4
add rax, rcx
mov qword [r8], rax
add r8, 8
sub r9, 1
jne 0x1400290d2
xorps xmm2, xmm2
lea rdx, [0x1400a3c28]
cvtss2sd xmm2, xmm7
lea rcx, [rsp + 0x30]
movq r8, xmm2
call fcn.140025290
cmp dword [r13 + 4], ebp
jbe 0x14002913a
mov rax, qword [r13 + 0x10]
cmp dword [rax], ebp
jbe 0x14002913a
mov rax, qword [r13 + 0x18]
mov rcx, qword [rax]
mov rbp, qword [rcx]
mov esi, dword [rbp + 0xe0]
mov rbx, qword [rbp + 0xd8]
lea eax, [rsi + 8]
and eax, 0xfffffff8
cmp esi, eax
je 0x14002916f
mov edx, eax
mov rcx, rbx
shl rdx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov rbx, rax
test rax, rax
je 0x1400291b5
mov qword [rbp + 0xd8], rax
lea rcx, str.xmlv1DistancesScale
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rdi, rsi
add rdi, rdi
mov qword [rbx + rdi*8], rax
test rax, rax
je 0x1400291b5
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [rbx + rdi*8 + 8], rax
test rax, rax
jne 0x1400291ac
mov rcx, qword [rbx + rdi*8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400291b5
lea eax, [rsi + 1]
mov dword [rbp + 0xe0], eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14008ccd0
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret