Function at 0x6d71b0
Capabilities:
Query environment variable
Write file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x138
mov rsi, rcx
mov rbp, rdx
call fcn.006d47a0
mov edi, dword [rsi + 0x2fc]
mov rbx, rax
test edi, edi
je 0x6d7400
mov edx, dword [rsi + 0x300]
movzx r9d, word [rbp]
movzx ecx, byte [rbp + 2]
test edx, edx
je 0x6d7230
mov rax, qword [rsi + 0x308]
sub edx, 1
lea rdx, [rdx + rdx*2]
lea rdx, [rax + rdx*8 + 0x18]
jmp 0x6d720c
add rax, 0x18
cmp rax, rdx
je 0x6d7230
cmp r9d, dword [rax]
jne 0x6d7203
cmp ecx, dword [rax + 4]
jb 0x6d7203
cmp ecx, dword [rax + 8]
ja 0x6d7203
mov rdx, qword [rax + 0x10]
mov rcx, rbx
call fcn.006d4920
jmp 0x6d739f
mov edi, 1
mov dword [rsp + 0x20], ecx
lea r12, [rsp + 0x30]
mov edx, 0x100
lea r8, str.HWLOC_PCI__04x__02x_LOCALCPUS
mov rcx, r12
call fcn.006d7180
mov rcx, r12
call sub.msvcrt.dll_getenv
mov r12, rax
test rax, rax
je 0x6d7284
mov eax, dword [rsi + 0x2fc]
or eax, dword [0x00c2d150]
je 0x6d7410
cmp byte [r12], 0
mov edi, 1
jne 0x6d7394
mov rax, qword [rsi + 0x2c8]
test rax, rax
je 0x6d73e2
mov r8, rbx
mov rdx, rbp
mov rcx, rax
call qword [rax + 0x40]
test eax, eax
js 0x6d73e2
mov rdx, rbx
mov rcx, rsi
call fcn.006cb770
mov r12, rax
test rax, rax
je 0x6d73d0
test edi, edi
jne 0x6d73b2
cmp dword [rax + 0x30], 1
jle 0x6d73b2
cmp dword [rax], 0xd
jne 0x6d73b2
cmp dword [rax + 0x50], 1
jne 0x6d73b2
mov rdx, qword [rax + 0x48]
cmp dword [rdx + 0x68], 2
jne 0x6d73b2
cmp dword [rdx], 1
jne 0x6d73b2
mov eax, dword [rdx + 0x50]
test eax, eax
jne 0x6d73b2
mov rax, qword [rdx + 0x48]
cmp dword [rax + 0x68], 2
jne 0x6d73b2
mov rax, qword [rdx + 0xd8]
mov edx, dword [rdx + 0xe0]
test edx, edx
je 0x6d73b2
sub edx, 1
lea r8, [0x00912e67]
shl rdx, 4
lea r9, [rax + rdx + 0x10]
jmp 0x6d7347
add rax, 0x10
cmp r9, rax
je 0x6d73b2
mov rsi, qword [rax]
mov ecx, 9
mov rdi, r8
repe cmpsb byte [rsi], byte [rdi]
seta dl
sbb dl, 0
test dl, dl
jne 0x6d733e
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x6d73b2
lea rdx, str.Xeon
call sub.msvcrt.dll_strstr
test rax, rax
je 0x6d73b2
call fcn.006c8850
test eax, eax
je 0x6d744c
mov rax, qword [r12 + 0x48]
mov rax, qword [rax + 0x58]
mov r12, qword [rax + 0x78]
jmp 0x6d73b2
mov rdx, r12
mov rcx, rbx
call fcn.006d4fa0
mov rdx, rbx
mov rcx, rsi
call fcn.006cb770
mov r12, rax
test rax, rax
je 0x6d73d0
mov rcx, rbx
call fcn.006d4830
mov rax, r12
add rsp, 0x138
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.006ceb50
mov r12, rax
jmp 0x6d73b2
mov rcx, rsi
call fcn.006ccdc0
mov rcx, rbx
mov rdx, rax
call fcn.006d4920
jmp 0x6d72a8
movzx r9d, word [rbp]
movzx ecx, byte [rbp + 2]
jmp 0x6d7235
mov ecx, 2
mov edi, 1
call qword [fcn.007116c0]
mov r8, r12
lea rdx, str.Environment_variable__s_is_deprecated__please_use_HWLOC_PCI_LOCALITY_instead._n
mov rcx, rax
call sub.msvcrt.dll_fprintf
cmp byte [r12], 0
mov dword [0x00c2d150], 1
je 0x6d7284
jmp 0x6d7394
mov rsi, qword [fcn.007116c0]
mov ecx, 2
call rsi
mov r8d, 0x4d
mov edx, 1
lea rcx, [0x00912e78]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rsi
lea r8, [0x00912ec6]
lea rdx, str._hwloc__s_has_encountered_an_incorrect_PCI_locality_information._n
mov rcx, rax
call sub.msvcrt.dll_fprintf
movzx r13d, byte [rbp + 2]
movzx edi, word [rbp]
mov ecx, 2
call rsi
lea rdx, str._PCI_bus__04x:_02x_is_supposedly_close_to_2nd_NUMA_node_of_1st_package__n
mov r9d, r13d
mov r8d, edi
mov rcx, rax
call sub.msvcrt.dll_fprintf
mov ecx, 2
call rsi
mov r8d, 0x42
mov edx, 1
lea rcx, str._however_hwloc_believes_this_is_impossible_on_this_architecture._n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rsi
mov r8d, 0x47
mov edx, 1
lea rcx, str._Therefore_the_PCI_bus_will_be_moved_to_1st_NUMA_node_of_2nd_package._n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x00912ff8]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rsi
mov r8d, 0x4d
mov edx, 1
lea rcx, str._If_you_feel_this_fixup_is_wrong__disable_it_by_setting_in_your_environment_n
mov r9, rax
call sub.msvcrt.dll_fwrite
movzx r13d, byte [rbp + 2]
movzx edi, word [rbp]
mov ecx, 2
call rsi
lea rdx, str._HWLOC_PCI__04x__02x_LOCALCPUS__empty_value___and_report_the_problem_n
mov r9d, r13d
mov r8d, edi
mov rcx, rax
call sub.msvcrt.dll_fprintf
mov ecx, 2
call rsi
mov r8d, 0x4b
mov edx, 1
lea rcx, str._to_the_hwlocs_user_mailing_list_together_with_the_XML_output_of_lstopo._n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x00912ff8]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rsi
mov r8d, 0x53
mov edx, 1
lea rcx, str._You_may_silence_this_message_by_setting_HWLOC_HIDE_ERRORS1_in_your_environment._n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rsi
mov r8d, 0x4d
mov edx, 1
lea rcx, [0x00912e78]
mov r9, rax
call sub.msvcrt.dll_fwrite
jmp 0x6d7385