Function at 0x6a7ce0
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.006a52d0
mov edi, dword [rsi + 0x2fc]
mov rbx, rax
test edi, edi
je 0x6a7f30
mov edx, dword [rsi + 0x300]
movzx r9d, word [rbp]
movzx ecx, byte [rbp + 2]
test edx, edx
je 0x6a7d60
mov rax, qword [rsi + 0x308]
sub edx, 1
lea rdx, [rdx + rdx*2]
lea rdx, [rax + rdx*8 + 0x18]
jmp 0x6a7d3c
add rax, 0x18
cmp rax, rdx
je 0x6a7d60
cmp r9d, dword [rax]
jne 0x6a7d33
cmp ecx, dword [rax + 4]
jb 0x6a7d33
cmp ecx, dword [rax + 8]
ja 0x6a7d33
mov rdx, qword [rax + 0x10]
mov rcx, rbx
call fcn.006a5450
jmp 0x6a7ecf
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.006a7cb0
mov rcx, r12
call sub.msvcrt.dll_getenv
mov r12, rax
test rax, rax
je 0x6a7db4
mov eax, dword [rsi + 0x2fc]
or eax, dword [0x00b58db0]
je 0x6a7f40
cmp byte [r12], 0
mov edi, 1
jne 0x6a7ec4
mov rax, qword [rsi + 0x2c8]
test rax, rax
je 0x6a7f12
mov r8, rbx
mov rdx, rbp
mov rcx, rax
call qword [rax + 0x40]
test eax, eax
js 0x6a7f12
mov rdx, rbx
mov rcx, rsi
call fcn.0069c2a0
mov r12, rax
test rax, rax
je 0x6a7f00
test edi, edi
jne 0x6a7ee2
cmp dword [rax + 0x30], 1
jle 0x6a7ee2
cmp dword [rax], 0xd
jne 0x6a7ee2
cmp dword [rax + 0x50], 1
jne 0x6a7ee2
mov rdx, qword [rax + 0x48]
cmp dword [rdx + 0x68], 2
jne 0x6a7ee2
cmp dword [rdx], 1
jne 0x6a7ee2
mov eax, dword [rdx + 0x50]
test eax, eax
jne 0x6a7ee2
mov rax, qword [rdx + 0x48]
cmp dword [rax + 0x68], 2
jne 0x6a7ee2
mov rax, qword [rdx + 0xd8]
mov edx, dword [rdx + 0xe0]
test edx, edx
je 0x6a7ee2
sub edx, 1
lea r8, [0x00aed987]
shl rdx, 4
lea r9, [rax + rdx + 0x10]
jmp 0x6a7e77
add rax, 0x10
cmp r9, rax
je 0x6a7ee2
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 0x6a7e6e
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x6a7ee2
lea rdx, str.Xeon
call sub.msvcrt.dll_strstr
test rax, rax
je 0x6a7ee2
call fcn.00699380
test eax, eax
je 0x6a7f7c
mov rax, qword [r12 + 0x48]
mov rax, qword [rax + 0x58]
mov r12, qword [rax + 0x78]
jmp 0x6a7ee2
mov rdx, r12
mov rcx, rbx
call fcn.006a5ad0
mov rdx, rbx
mov rcx, rsi
call fcn.0069c2a0
mov r12, rax
test rax, rax
je 0x6a7f00
mov rcx, rbx
call fcn.006a5360
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.0069f680
mov r12, rax
jmp 0x6a7ee2
mov rcx, rsi
call fcn.0069d8f0
mov rcx, rbx
mov rdx, rax
call fcn.006a5450
jmp 0x6a7dd8
movzx r9d, word [rbp]
movzx ecx, byte [rbp + 2]
jmp 0x6a7d65
mov ecx, 2
mov edi, 1
call qword [fcn.00701940]
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 [0x00b58db0], 1
je 0x6a7db4
jmp 0x6a7ec4
mov rsi, qword [fcn.00701940]
mov ecx, 2
call rsi
mov r8d, 0x4d
mov edx, 1
lea rcx, [0x00aed998]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rsi
lea r8, [0x00aed9e6]
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, [0x00aedb18]
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, [0x00aedb18]
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, [0x00aed998]
mov r9, rax
call sub.msvcrt.dll_fwrite
jmp 0x6a7eb5