Function at 0x180010da0
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.180003950
mov rcx, rsi
call fcn.180003f40
mov rdi, qword [rbx + 0x58]
test eax, eax
jns 0x180010e0f
test rdi, rdi
je 0x180010e04
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 0x180010de0
or eax, 0xffffffff
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
test rdi, rdi
je 0x180011204
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 0x180010ee6
cmp ebp, dword [rsi]
jb 0x180010ece
cmp ebp, 0xfffffffb
je 0x180010eb9
cmp ebp, 0xfffffffc
je 0x180010ea4
cmp ebp, 0xfffffffd
je 0x180010e8f
xor edx, edx
jmp 0x180010eef
cmp dword [rsi + 0x688], 0
jbe 0x180010e8b
mov rax, qword [rsi + 0x690]
mov rdx, qword [rax]
jmp 0x180010eef
cmp dword [rsi + 0x6a8], 0
jbe 0x180010e8b
mov rax, qword [rsi + 0x6b0]
mov rdx, qword [rax]
jmp 0x180010eef
cmp dword [rsi + 0x6c8], 0
jbe 0x180010e8b
mov rax, qword [rsi + 0x6d0]
mov rdx, qword [rax]
jmp 0x180010eef
cmp dword [rsi + rbp*4 + 8], 0
ja 0x180010ed9
xor edx, edx
jmp 0x180010eef
mov rax, qword [rsi + rbp*8 + 0x208]
mov rdx, qword [rax]
jmp 0x180010eef
cmp dword [rdx + 0x38], ebp
jne 0x180010f2c
mov rdx, qword [rdx + 0x48]
test rdx, rdx
je 0x180010f2c
mov rax, qword [rdx + 0x58]
mov ecx, dword [r14 + 0x38]
cmp dword [rax + 0x38], ecx
jbe 0x180010f0a
mov rax, qword [rax + 0x58]
cmp dword [rax + 0x38], ecx
ja 0x180010f01
cmp rax, r14
jne 0x180010e73
cmp r8d, r15d
je 0x180010f35
mov eax, dword [rdx + 4]
mov dword [r13 + r8*4], eax
mov qword [r12 + r8*8], rdx
inc r8d
jmp 0x180010e73
cmp r8d, r15d
jae 0x180010fc1
lea rcx, str.bad_nbobjs_n
call fcn.18000e990
cmp dword [0x18006d24c], 0
je 0x180010f75
lea rcx, str.HWLOC_XML_VERBOSE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x180010f6b
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [0x18006e328], eax
mov dword [0x18006d24c], 0
cmp dword [0x18006e328], 0
je 0x180010fa0
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.180001030
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 0x1800111d0
mov edx, r15d
xor r8d, r8d
imul edx, r15d
test edx, edx
je 0x180011131
cmp edx, 0x10
jb 0x180011072
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 0x180011002
cmp rax, r11
jae 0x180011072
cmp r9, r10
ja 0x18001100c
cmp rax, r10
jae 0x180011072
mov r10d, edx
and r10d, 0xfffffff0
mov r11d, 8
nop dword [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 0x180011020
cmp r8d, edx
jae 0x180011131
mov eax, edx
sub eax, r8d
cmp eax, 4
jb 0x1800110ff
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 0x1800110a1
cmp r8d, edx
jae 0x180011131
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 0x180011112
mov rax, qword [r12]
mov rbp, qword [rdi + 0x10]
mov ebx, dword [rax]
mov rax, qword [rsi + 0x7d8]
test rax, rax
je 0x18001115d
mov rcx, qword [rax + 0x30]
cmp dword [rax], ebx
jne 0x180011155
cmp dword [rax + 0x20], 0
jne 0x1800111a5
mov rax, rcx
test rcx, rcx
jne 0x180011147
test r15d, r15d
je 0x1800111d0
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 0x1800111c2
mov qword [rcx + 0x30], rax
jmp 0x1800111c9
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 0x1800111d0
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 0x180010e31
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