Function at 0x140027c00
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 [0x1400b59e8]
xor rax, rsp
mov qword [rsp + 0x48], rax
movss xmm7, dword [0x14009fbb8]
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 0x140027c88
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm7, xmm7
cvtsd2ss xmm7, xmm0
jmp 0x140027d0b
mov edi, r15d
mov esi, ebp
imul edi, r15d
test edi, edi
je 0x140027ef5
movss xmm11, dword [0x14009fb8c]
mov r14, rbx
movss xmm9, dword [0x14009fb9c]
mov rbx, r12
movss xmm10, dword [0x14009fb94]
xorps xmm8, xmm8
nop
movss xmm6, dword [rbx]
comiss xmm8, xmm6
ja 0x140027d06
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 0x140027ce4
comiss xmm9, xmm0
ja 0x140027d06
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 0x140027cc0
jmp 0x140027ef5
mov rbx, qword [rsp + 0x20]
movss xmm0, dword [0x14009fbbc]
mov r10d, ebp
imul r15d, r15d
movabs r11, 0x8000000000000000
cmp r15d, 4
jb 0x140027dfc
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 0x140027d6b
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x140027d6b
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 0x140027d92
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x140027d92
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 0x140027db8
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x140027db8
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 0x140027dde
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x140027dde
mov rcx, r11
cvttss2si rax, xmm1
add rdx, 0x10
add rax, rcx
mov qword [r8 + 8], rax
add r8, 0x20
sub r9, 1
jne 0x140027d50
cmp r10d, r15d
jae 0x140027e45
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 0x140027e2c
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x140027e2c
mov rcx, r11
cvttss2si rax, xmm1
add rdx, 4
add rax, rcx
mov qword [r8], rax
add r8, 8
sub r9, 1
jne 0x140027e12
xorps xmm2, xmm2
lea rdx, [0x14009e9d8]
cvtss2sd xmm2, xmm7
lea rcx, [rsp + 0x30]
movq r8, xmm2
call fcn.140024270
cmp dword [r13 + 4], ebp
jbe 0x140027e7a
mov rax, qword [r13 + 0x10]
cmp dword [rax], ebp
jbe 0x140027e7a
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 0x140027eaf
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 0x140027ef5
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 0x140027ef5
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 0x140027eec
mov rcx, qword [rbx + rdi*8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140027ef5
lea eax, [rsi + 1]
mov dword [rbp + 0xe0], eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140087840
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