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

Disassembly:
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x138
mov r12, rcx
mov rbx, rdx
call fcn.004f1fe0
movzx ecx, byte [rbx + 2]
movzx r9d, word [rbx]
mov esi, dword [r12 + 0x328]
mov r13, rax
test esi, esi
je 0x4f4b8d
mov edx, dword [r12 + 0x32c]
test edx, edx
je 0x4f4b88
mov rax, qword [r12 + 0x330]
sub edx, 1
lea rdx, [rdx + rdx*2]
lea rdx, [rax + rdx*8 + 0x18]
jmp 0x4f4b61
add rax, 0x18
cmp rax, rdx
je 0x4f4b88
cmp dword [rax], r9d
jne 0x4f4b58
cmp ecx, dword [rax + 4]
jb 0x4f4b58
cmp ecx, dword [rax + 8]
ja 0x4f4b58
mov rdx, qword [rax + 0x10]
mov rcx, r13
call fcn.004f2170
jmp 0x4f4cfb
mov esi, 1
mov dword [rsp + 0x20], ecx
lea r14, [rsp + 0x30]
mov edx, 0x100
lea r8, str.HWLOC_PCI__04x__02x_LOCALCPUS
mov rcx, r14
call fcn.004f4ad0
mov rcx, r14
call sub.msvcrt.dll_getenv
mov r14, rax
test rax, rax
je 0x4f4bdd
mov eax, dword [r12 + 0x328]
or eax, dword [0x00a0a130]
je 0x4f4d60
cmp byte [r14], 0
mov esi, 1
jne 0x4f4cf0
mov rax, qword [r12 + 0x2f8]
test rax, rax
je 0x4f4d48
mov r8, r13
mov rdx, rbx
mov rcx, rax
call qword [rax + 0x48]
test eax, eax
js 0x4f4d48
mov rdx, r13
mov rcx, r12
call fcn.004e73b0
mov r14, rax
test rax, rax
je 0x4f4d30
test esi, esi
jne 0x4f4d0e
cmp dword [rax + 0x30], 1
jle 0x4f4d0e
cmp dword [rax], 0xd
jne 0x4f4d0e
cmp dword [rax + 0x50], 1
jne 0x4f4d0e
mov rdx, qword [rax + 0x48]
cmp dword [rdx + 0x68], 2
jne 0x4f4d0e
cmp dword [rdx], 1
jne 0x4f4d0e
mov eax, dword [rdx + 0x50]
test eax, eax
jne 0x4f4d0e
mov rax, qword [rdx + 0x48]
cmp dword [rax + 0x68], 2
jne 0x4f4d0e
mov rax, qword [rdx + 0xd8]
mov edx, dword [rdx + 0xe0]
test edx, edx
je 0x4f4d0e
sub edx, 1
lea r8, [0x00721af7]
shl rdx, 4
lea r9, [rax + rdx + 0x10]
jmp 0x4f4ca1
add rax, 0x10
cmp r9, rax
je 0x4f4d0e
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 0x4f4c98
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x4f4d0e
lea rdx, str.Xeon
call sub.msvcrt.dll_strstr
test rax, rax
je 0x4f4d0e
call fcn.004e3d90
test eax, eax
je 0x4f4d9b
mov rax, qword [r14 + 0x48]
mov rax, qword [rax + 0x58]
mov r14, qword [rax + 0x78]
jmp 0x4f4d0e
mov rdx, r14
mov rcx, r13
call fcn.004f2750
mov rdx, r13
mov rcx, r12
call fcn.004e73b0
mov r14, rax
test rax, rax
je 0x4f4d30
mov rcx, r13
call fcn.004f2070
mov rax, r14
add rsp, 0x138
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
ret
xor r8d, r8d
xor edx, edx
mov rcx, r12
call fcn.004eb2e0
mov r14, rax
jmp 0x4f4d0e
mov rcx, r12
call fcn.004e8e90
mov rcx, r13
mov rdx, rax
call fcn.004f2170
jmp 0x4f4c02
mov ecx, 2
mov esi, 1
call qword [fcn.0052ef40]
mov r8, r14
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 [r14], 0
mov dword [0x00a0a130], 1
je 0x4f4bdd
jmp 0x4f4cf0
mov rsi, qword [fcn.0052ef40]
mov ecx, 2
call rsi
mov r8d, 0x4d
mov edx, 1
lea rcx, [0x00721b08]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rsi
lea r8, [0x00721b56]
lea rdx, str._hwloc__s_has_encountered_an_incorrect_PCI_locality_information._n
mov rcx, rax
call sub.msvcrt.dll_fprintf
movzx edi, byte [rbx + 2]
movzx r12d, word [rbx]
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, edi
mov r8d, r12d
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, [0x00721c88]
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 r12d, byte [rbx + 2]
movzx ebx, word [rbx]
mov ecx, 2
call rsi
lea rdx, str._HWLOC_PCI__04x__02x_LOCALCPUS__empty_value___and_report_the_problem_n
mov r9d, r12d
mov r8d, ebx
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, [0x00721c88]
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, [0x00721b08]
mov r9, rax
call sub.msvcrt.dll_fwrite
jmp 0x4f4cdf