Function at 0x1400f1dfc
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r13
push r14
sub rsp, 0x20
and dword [rcx + 0xcc], 0
mov r14, rdx
mov rsi, rcx
call fcn.1400fca60
mov qword [rsi + 0x1b8], rax
call fcn.1400fca60
mov ebp, 1
mov qword [rsi + 0x1c0], rax
test byte [rsi + 0x328], bpl
je 0x1400f1e6c
mov rax, qword [rsi + 0x318]
lea rcx, str.GLOBAL_phase_discovery_with_component__s..._n
mov rdx, qword [rax]
mov rdx, qword [rdx]
call fcn.1400f1cec
mov rdx, r14
mov dword [r14], ebp
mov rcx, rax
call qword [rax + 0x40]
mov r13d, 2
test byte [rsi + 0x328], r13b
je 0x1400f1e90
lea r8, [0x1401361c4]
mov dword [r14], r13d
mov rdx, r14
mov rcx, rsi
call fcn.1400f2414
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
je 0x1400f23ec
call fcn.1400fd580
test eax, eax
jne 0x1400f23ec
test byte [rsi + 0x328], 4
je 0x1400f1ed9
lea r8, str.MEMORY
mov dword [r14], 4
mov rdx, r14
mov rcx, rsi
call fcn.1400f2414
cmp qword [rsi + 0x280], 0
je 0x1400f1f24
cmp dword [rsi + 0xc4], 0
je 0x1400f1f24
test byte [r14 + 8], r13b
jne 0x1400f1f24
test byte [rsi + 0x20], 4
jne 0x1400f1f17
lea rcx, str.HWLOC_THISSYSTEM_ALLOWED_RESOURCES
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1400f1f24
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
je 0x1400f1f24
mov rcx, rsi
call qword [rsi + 0x280]
or dword [r14 + 8], r13d
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0xd0]
call fcn.1400fd580
test eax, eax
je 0x1400f1fc4
xor r8d, r8d
mov rcx, rsi
lea edx, [r8 + 0xd]
call fcn.1400f1430
mov rcx, qword [rsi + 0x18]
mov rdi, rax
mov rdx, qword [rcx]
mov rcx, qword [rdx]
mov rcx, qword [rcx + 0xb8]
call fcn.1400fd0b8
mov qword [rdi + 0xb8], rax
call fcn.1400fca04
xor edx, edx
mov qword [rdi + 0xc8], rax
mov rcx, rax
call fcn.1400fd97c
mov rcx, qword [rdi + 0x28]
lea rbx, [rsi + 0x340]
mov rdx, rbx
mov r8d, 0x18
call sub.VCRUNTIME140.dll_memcpy
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0x18]
call sub.VCRUNTIME140.dll_memset
lea r9, str.core:defaultnumanode
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.1400f0ec4
jmp 0x1400f1fe3
mov rcx, qword [rsi + 0x350]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor edx, edx
lea rcx, [rsi + 0x340]
lea r8d, [rdx + 0x18]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov r8, qword [rcx]
mov rcx, qword [r8 + 0xb8]
mov r8, qword [r8 + 0xc0]
mov rdx, rcx
call fcn.1400fca84
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov r8, qword [rcx]
mov rcx, qword [r8 + 0xc8]
mov r8, qword [r8 + 0xd0]
mov rdx, rcx
call fcn.1400fca84
mov rax, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x1b8]
mov rdx, qword [rax]
mov r8, qword [rdx]
mov rdx, rcx
mov r8, qword [r8 + 0xb8]
call fcn.1400fca84
mov rax, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x1c0]
mov rdx, qword [rax]
mov r8, qword [rdx]
mov rdx, rcx
mov r8, qword [r8 + 0xc8]
call fcn.1400fca84
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov rcx, qword [rcx]
call fcn.1400f40f4
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov rcx, qword [rcx]
call fcn.1400f0424
test byte [rsi + 0x20], bpl
jne 0x1400f2099
mov rax, qword [rsi + 0x18]
mov rcx, rsi
mov rdx, qword [rax]
mov rdx, qword [rdx]
call fcn.1400f43c0
mov rax, qword [rsi + 0x18]
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], ebp
mov rcx, qword [rax]
mov rdi, qword [rcx]
mov rcx, rsi
mov ebx, dword [rdi]
mov edx, ebx
call fcn.1400f35e4
cmp dword [rsp + 0x40], ebp
je 0x1400f2123
cmp dword [rsp + 0x40], 3
jne 0x1400f219c
cmp ebx, 0xf
jne 0x1400f2109
mov rax, qword [rdi + 0x28]
movzx ecx, word [rax + 6]
mov eax, ecx
shr eax, 8
cmp eax, 3
jbe 0x1400f211f
cmp eax, 0xb
je 0x1400f211f
cmp ecx, 0xc04
je 0x1400f211f
cmp ecx, 0xc06
je 0x1400f211f
cmp ecx, 0x502
je 0x1400f211f
cmp eax, 6
je 0x1400f211f
cmp eax, 0x12
jne 0x1400f2123
jmp 0x1400f211f
cmp ebx, 0x10
jne 0x1400f219c
mov rax, qword [rdi + 0x28]
xor ebp, ebp
cmp dword [rax], 4
setne bpl
test ebp, ebp
jne 0x1400f219c
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov rbx, qword [rcx]
mov r8, qword [rbx + 0x78]
test r8, r8
je 0x1400f219c
cmp qword [r8 + 0x58], 0
jne 0x1400f219c
and qword [r8 + 0x48], 0
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov qword [rcx], r8
mov rdx, qword [rbx + 0x90]
test rdx, rdx
je 0x1400f2164
lea rcx, [r8 + 0x90]
call fcn.1400f409c
mov rdx, qword [rbx + 0xa0]
test rdx, rdx
je 0x1400f217c
lea rcx, [r8 + 0xa0]
call fcn.1400f409c
mov rdx, qword [rbx + 0xb0]
test rdx, rdx
je 0x1400f2194
lea rcx, [r8 + 0xb0]
call fcn.1400f409c
mov rcx, rbx
call fcn.1400f2bd8
xor edx, edx
mov rcx, rsi
call fcn.1400f39a8
test eax, eax
js 0x1400f23f8
mov rcx, rsi
call fcn.140100454
test byte [rsi + 0x328], 8
je 0x1400f21d8
lea r8, [0x14013bb60]
mov dword [r14], 8
mov rdx, r14
mov rcx, rsi
call fcn.1400f2414
test byte [rsi + 0x328], 0x10
je 0x1400f21fa
lea r8, [0x14013bb64]
mov dword [r14], shutdown
mov rdx, r14
mov rcx, rsi
call fcn.1400f2414
test byte [rsi + 0x328], 0x20
je 0x1400f221c
lea r8, str.MISC
mov dword [r14], 0x20
mov rdx, r14
mov rcx, rsi
call fcn.1400f2414
test byte [rsi + 0x328], 0x40
je 0x1400f223e
lea r8, str.ANNOTATE
mov dword [r14], 0x40
mov rdx, r14
mov rcx, rsi
call fcn.1400f2414
mov rcx, rsi
call fcn.1401003a4
lea rcx, str.HWLOC_DEBUG_SORT_CHILDREN
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1400f2267
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov rcx, qword [rcx]
call fcn.1400f1d50
mov rax, qword [rsi + 0x18]
mov rcx, rsi
mov rdx, qword [rax]
mov rdx, qword [rdx]
call fcn.1400f24cc
mov rdx, qword [rsi + 0x18]
mov rcx, rsi
mov rdx, qword [rdx]
call fcn.1400f42c8
mov rax, qword [rsi + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rdx]
test rcx, rcx
jne 0x1400f22b7
call fcn.1400f2bf8
cmp eax, r13d
jge 0x1400f23f8
mov ecx, r13d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.hwloc:_Topology_became_empty__aborting__n
jmp 0x1400f231f
mov rcx, qword [rcx + 0xb8]
call fcn.1400fd580
test eax, eax
je 0x1400f22e7
call fcn.1400f2bf8
cmp eax, r13d
jge 0x1400f23f8
mov ecx, r13d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.hwloc:_Topology_does_not_contain_any_PU__aborting__n
jmp 0x1400f231f
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0xc8]
call fcn.1400fd580
test eax, eax
je 0x1400f232c
call fcn.1400f2bf8
cmp eax, r13d
jge 0x1400f23f8
mov ecx, r13d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.hwloc:_Topology_does_not_contain_any_NUMA_node__aborting__n
mov rcx, rax
call fcn.14000f480
jmp 0x1400f23f8
mov rcx, rsi
call fcn.1400f2518
test eax, eax
js 0x1400f23f8
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov rcx, qword [rcx]
call fcn.1400f4200
mov rax, qword [rsi + 0x18]
mov rcx, rsi
mov rdx, qword [rax]
mov rdx, qword [rdx]
call fcn.1400f3174
mov rcx, rsi
call fcn.1400f3344
mov rcx, qword [rsi + 0x318]
test rcx, rcx
je 0x1400f23e8
mov rcx, qword [rcx]
lea rdx, [0x14013bc44]
mov rcx, qword [rcx]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x1400f23e8
lea rcx, str.HWLOC_DONT_ADD_VERSION_INFO
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
jne 0x1400f23e8
mov rax, qword [rsi + 0x18]
lea r8, str.2.10.0
lea rdx, str.hwlocVersion
mov rcx, qword [rax]
mov rcx, qword [rcx]
call fcn.1400f2fb8
mov rcx, rsi
call fcn.140104254
mov rbx, rax
test rax, rax
je 0x1400f23e8
mov rcx, qword [rsi + 0x18]
lea rdx, str.ProcessName
mov r8, rax
mov rcx, qword [rcx]
mov rcx, qword [rcx]
call fcn.1400f2fb8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x1400f23fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WS2_32.dll_shutdown
or eax, 0xffffffff
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop rdi
ret