Function at 0x140011750
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
mov rbx, rdx
mov rcx, qword [rcx + 0x208]
mov rcx, qword [rcx]
call fcn.140004400
mov rcx, rsi
call fcn.1400049e0
mov rdi, qword [rbx + 0x58]
test eax, eax
jns 0x1400117c1
test rdi, rdi
je 0x1400117b4
nop dword [rax + rax]
mov rax, qword [rdi + 0x28]
mov qword [rbx + 0x58], rax
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, qword [rbx + 0x58]
test rdi, rdi
jne 0x140011790
mov eax, 0xffffffff
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
test rdi, rdi
je 0x140011bb4
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov r15d, dword [rdi + 0xc]
mov r14, qword [rdi]
mov ebp, dword [rdi + 8]
lea rcx, [r15*4]
add ebp, dword [r14 + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea rcx, [r15*8]
mov r13, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rdi + 0x28]
xor r8d, r8d
mov r12, rax
xor edx, edx
mov rax, qword [rsp + 0x68]
mov qword [rax + 0x58], rcx
test rdx, rdx
jne 0x140011898
cmp ebp, dword [rsi]
jb 0x140011880
cmp ebp, 0xfffffffb
je 0x14001186b
cmp ebp, 0xfffffffc
je 0x140011856
cmp ebp, 0xfffffffd
je 0x140011841
xor edx, edx
jmp 0x1400118a1
cmp dword [rsi + 0x688], 0
jbe 0x14001183d
mov rax, qword [rsi + 0x690]
mov rdx, qword [rax]
jmp 0x1400118a1
cmp dword [rsi + 0x6a8], 0
jbe 0x14001183d
mov rax, qword [rsi + 0x6b0]
mov rdx, qword [rax]
jmp 0x1400118a1
cmp dword [rsi + 0x6c8], 0
jbe 0x14001183d
mov rax, qword [rsi + 0x6d0]
mov rdx, qword [rax]
jmp 0x1400118a1
cmp dword [rsi + rbp*4 + 8], 0
ja 0x14001188b
xor edx, edx
jmp 0x1400118a1
mov rax, qword [rsi + rbp*8 + 0x208]
mov rdx, qword [rax]
jmp 0x1400118a1
cmp dword [rdx + 0x38], ebp
jne 0x1400118de
mov rdx, qword [rdx + 0x48]
test rdx, rdx
je 0x1400118de
mov rax, qword [rdx + 0x58]
mov ecx, dword [r14 + 0x38]
cmp dword [rax + 0x38], ecx
jbe 0x1400118bc
mov rax, qword [rax + 0x58]
cmp dword [rax + 0x38], ecx
ja 0x1400118b3
cmp rax, r14
jne 0x140011825
cmp r8d, r15d
je 0x1400118e7
mov eax, dword [rdx + 4]
mov dword [r13 + r8*4], eax
mov qword [r12 + r8*8], rdx
inc r8d
jmp 0x140011825
cmp r8d, r15d
jae 0x140011973
lea rcx, str.bad_nbobjs_n
call fcn.14000f330
cmp dword [0x1400639d8], 0
je 0x140011927
lea rcx, str.HWLOC_XML_VERBOSE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14001191d
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [0x140068424], eax
mov dword [0x1400639d8], 0
cmp dword [0x140068424], 0
je 0x140011952
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x70]
lea rdx, str._s:_ignoring_invalid_distance_matrix__there_arent_exactly__u_objects_below_root_n
mov rcx, rax
mov r9d, r15d
call fcn.140001b60
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140011b80
mov edx, r15d
xor r8d, r8d
imul edx, r15d
test edx, edx
je 0x140011ae1
cmp edx, 0x10
jb 0x140011a22
mov r9, qword [rdi + 0x10]
lea r11, [rdi + 0x10]
movss xmm2, dword [rdi + 0x1c]
lea r10, [rdi + 0x1c]
shufps xmm2, xmm2, 0
lea eax, [rdx - 1]
lea rax, [r9 + rax*4]
cmp r9, r11
ja 0x1400119b4
cmp rax, r11
jae 0x140011a22
cmp r9, r10
ja 0x1400119be
cmp rax, r10
jae 0x140011a22
mov r10d, edx
and r10d, 0xfffffff0
mov r11d, 8
nop dword [rax + rax]
movups xmm0, xmmword [r9 + r8*4]
lea eax, [r11 - 4]
movaps xmm1, xmm2
mulps xmm0, xmm2
movups xmmword [r9 + r8*4], xmm0
add r8d, 0x10
movups xmm0, xmmword [r9 + rax*4]
mulps xmm0, xmm2
movups xmmword [r9 + rax*4], xmm0
mov eax, r11d
movups xmm0, xmmword [r9 + rax*4]
mulps xmm1, xmm0
movups xmmword [r9 + rax*4], xmm1
lea eax, [r11 + 4]
add r11d, 0x10
movaps xmm1, xmm2
movups xmm0, xmmword [r9 + rax*4]
mulps xmm1, xmm0
movups xmmword [r9 + rax*4], xmm1
cmp r8d, r10d
jb 0x1400119d0
cmp r8d, edx
jae 0x140011ae1
mov eax, edx
sub eax, r8d
cmp eax, 4
jb 0x140011aaf
mov eax, edx
lea rcx, [r8*4]
sub eax, r8d
sub eax, 4
shr eax, 2
inc eax
mov r9d, eax
lea r8d, [r8 + rax*4]
mov rax, qword [rdi + 0x10]
lea rcx, [rcx + 0x10]
movss xmm0, dword [rdi + 0x1c]
mulss xmm0, dword [rcx + rax - 0x10]
movss dword [rcx + rax - 0x10], xmm0
mov rax, qword [rdi + 0x10]
movss xmm0, dword [rdi + 0x1c]
mulss xmm0, dword [rcx + rax - 0xc]
movss dword [rcx + rax - 0xc], xmm0
mov rax, qword [rdi + 0x10]
movss xmm0, dword [rdi + 0x1c]
mulss xmm0, dword [rcx + rax - 8]
movss dword [rcx + rax - 8], xmm0
mov rax, qword [rdi + 0x10]
movss xmm0, dword [rdi + 0x1c]
mulss xmm0, dword [rcx + rax - 4]
movss dword [rcx + rax - 4], xmm0
sub r9, 1
jne 0x140011a51
cmp r8d, edx
jae 0x140011ae1
sub edx, r8d
lea rcx, [r8*4]
mov r8d, edx
mov rax, qword [rdi + 0x10]
lea rcx, [rcx + 4]
movss xmm0, dword [rdi + 0x1c]
mulss xmm0, dword [rcx + rax - 4]
movss dword [rcx + rax - 4], xmm0
sub r8, 1
jne 0x140011ac2
mov rax, qword [r12]
mov rbp, qword [rdi + 0x10]
mov ebx, dword [rax]
mov rax, qword [rsi + 0x7d8]
test rax, rax
je 0x140011b0d
mov rcx, qword [rax + 0x30]
cmp dword [rax], ebx
jne 0x140011b05
cmp dword [rax + 0x20], 0
jne 0x140011b55
mov rax, rcx
test rcx, rcx
jne 0x140011af7
test r15d, r15d
je 0x140011b80
mov ecx, 0x38
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor ecx, ecx
mov dword [rax + 4], r15d
mov qword [rax + 8], r13
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rbp
mov dword [rax + 0x20], ecx
mov dword [rax], ebx
mov qword [rax + 0x30], rcx
mov rcx, qword [rsi + 0x7e0]
mov qword [rax + 0x28], rcx
mov rcx, qword [rsi + 0x7e0]
test rcx, rcx
je 0x140011b72
mov qword [rcx + 0x30], rax
jmp 0x140011b79
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140011b80
mov qword [rsi + 0x7d8], rax
mov qword [rsi + 0x7e0], rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x68]
mov rdi, qword [rax + 0x58]
test rdi, rdi
jne 0x1400117e3
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret