Function at 0x180019610
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 [0x1800aad48]
xor rax, rsp
mov qword [rsp + 0x48], rax
movss xmm7, dword [0x1800960a8]
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 0x180019698
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm7, xmm7
cvtsd2ss xmm7, xmm0
jmp 0x18001971b
mov edi, r15d
mov esi, ebp
imul edi, r15d
test edi, edi
je 0x180019905
movss xmm11, dword [0x18009607c]
mov r14, rbx
movss xmm9, dword [0x18009608c]
mov rbx, r12
movss xmm10, dword [0x180096084]
xorps xmm8, xmm8
nop
movss xmm6, dword [rbx]
comiss xmm8, xmm6
ja 0x180019716
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 0x1800196f4
comiss xmm9, xmm0
ja 0x180019716
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 0x1800196d0
jmp 0x180019905
mov rbx, qword [rsp + 0x20]
movss xmm0, dword [0x1800960ac]
mov r10d, ebp
imul r15d, r15d
movabs r11, 0x8000000000000000
cmp r15d, 4
jb 0x18001980c
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 0x18001977b
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x18001977b
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 0x1800197a2
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x1800197a2
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 0x1800197c8
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x1800197c8
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 0x1800197ee
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x1800197ee
mov rcx, r11
cvttss2si rax, xmm1
add rdx, 0x10
add rax, rcx
mov qword [r8 + 8], rax
add r8, 0x20
sub r9, 1
jne 0x180019760
cmp r10d, r15d
jae 0x180019855
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 0x18001983c
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x18001983c
mov rcx, r11
cvttss2si rax, xmm1
add rdx, 4
add rax, rcx
mov qword [r8], rax
add r8, 8
sub r9, 1
jne 0x180019822
xorps xmm2, xmm2
lea rdx, [0x180094ec8]
cvtss2sd xmm2, xmm7
lea rcx, [rsp + 0x30]
movq r8, xmm2
call fcn.180015c80
cmp dword [r13 + 4], ebp
jbe 0x18001988a
mov rax, qword [r13 + 0x10]
cmp dword [rax], ebp
jbe 0x18001988a
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 0x1800198bf
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 0x180019905
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 0x180019905
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 0x1800198fc
mov rcx, qword [rbx + rdi*8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180019905
lea eax, [rsi + 1]
mov dword [rbp + 0xe0], eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18005aca0
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