Function at 0x140086960
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
and dword [rcx + 0xbc], 0
mov rsi, rcx
call fcn.14008e8a0
mov qword [rsi + 0x188], rax
call fcn.14008e8a0
mov rbx, qword [rsi + 0x2c0]
mov qword [rsi + 0x190], rax
jmp 0x1400869b8
mov rax, qword [rbx]
mov ecx, dword [rax]
dec ecx
cmp ecx, 1
ja 0x1400869b4
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x1400869b4
mov rcx, rbx
call rax
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x14008699a
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
je 0x140086e32
call fcn.14008f344
test eax, eax
jne 0x140086e32
cmp qword [rsi + 0x250], rbx
je 0x140086a23
cmp dword [rsi + 0xb4], eax
je 0x140086a23
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 0x140086a14
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
jne 0x140086a1a
test byte [rsi + 0x20], 4
je 0x140086a23
mov rcx, rsi
call qword [rsi + 0x250]
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0xd0]
call fcn.14008f344
test eax, eax
je 0x140086ab6
xor r8d, r8d
mov rcx, rsi
lea edx, [r8 + 0xd]
call fcn.1400861d8
mov rcx, qword [rsi + 0x18]
mov rdi, rax
mov rdx, qword [rcx]
mov rcx, qword [rdx]
mov rcx, qword [rcx + 0xb8]
call fcn.14008eed8
mov qword [rdi + 0xb8], rax
call fcn.14008e844
xor edx, edx
mov qword [rdi + 0xc8], rax
mov rcx, rax
call fcn.14008f6c4
mov rcx, qword [rdi + 0x28]
lea rbx, [rsi + 0x2e0]
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
mov rdx, rdi
mov rcx, rsi
call fcn.140087720
jmp 0x140086ad5
mov rcx, qword [rsi + 0x2f0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor edx, edx
lea rcx, [rsi + 0x2e0]
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.14008e8c4
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.14008e8c4
mov rax, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x188]
mov rdx, qword [rax]
mov r8, qword [rdx]
mov rdx, rcx
mov r8, qword [r8 + 0xb8]
call fcn.14008e8c4
mov rax, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x190]
mov rdx, qword [rax]
mov r8, qword [rdx]
mov rdx, rcx
mov r8, qword [r8 + 0xc8]
call fcn.14008e8c4
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov rcx, qword [rcx]
call fcn.1400888e4
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov rcx, qword [rcx]
call fcn.140085224
test byte [rsi + 0x20], 1
jne 0x140086b8b
mov rax, qword [rsi + 0x18]
mov rcx, rsi
mov rdx, qword [rax]
mov rdx, qword [rdx]
call fcn.140088c30
mov rax, qword [rsi + 0x18]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 1
mov rcx, qword [rax]
mov rdi, qword [rcx]
mov rcx, rsi
mov ebx, dword [rdi]
mov edx, ebx
call fcn.140088320
cmp dword [rsp + 0x30], 1
je 0x140086c1b
cmp dword [rsp + 0x30], 3
jne 0x140086c12
cmp ebx, 0xf
jne 0x140086bff
mov rax, qword [rdi + 0x28]
movzx edx, word [rax + 6]
mov ecx, edx
shr ecx, 8
lea eax, [rcx - 1]
cmp eax, 2
jbe 0x140086c94
cmp ecx, 0xb
je 0x140086c94
lea eax, [rdx - 0xc04]
test eax, 0xfffffffd
je 0x140086c94
cmp ecx, 0x12
je 0x140086c94
jmp 0x140086c1b
cmp ebx, 0x10
jne 0x140086c12
mov rax, qword [rdi + 0x28]
xor ecx, ecx
cmp dword [rax], 4
setne cl
jmp 0x140086c17
mov ecx, 1
test ecx, ecx
jne 0x140086c94
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov rbx, qword [rcx]
mov r8, qword [rbx + 0x78]
test r8, r8
je 0x140086c94
cmp qword [r8 + 0x58], 0
jne 0x140086c94
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 0x140086c5c
lea rcx, [r8 + 0x90]
call fcn.14008888c
mov rdx, qword [rbx + 0xa0]
test rdx, rdx
je 0x140086c74
lea rcx, [r8 + 0xa0]
call fcn.14008888c
mov rdx, qword [rbx + 0xb0]
test rdx, rdx
je 0x140086c8c
lea rcx, [r8 + 0xb0]
call fcn.14008888c
mov rcx, rbx
call fcn.140087620
xor edx, edx
mov rcx, rsi
call fcn.140088558
test eax, eax
js 0x140086e3e
mov rbx, qword [rsi + 0x2c0]
jmp 0x140086ccd
mov rax, qword [rbx]
mov ecx, dword [rax]
dec ecx
cmp ecx, 1
jbe 0x140086cc9
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x140086cc9
mov rcx, rbx
call rax
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x140086caf
mov rcx, rsi
call fcn.140091114
mov rax, qword [rsi + 0x18]
mov rcx, rsi
mov rdx, qword [rax]
mov rdx, qword [rdx]
call fcn.140086e90
mov rdx, qword [rsi + 0x18]
mov rcx, rsi
mov rdx, qword [rdx]
call fcn.140088b3c
mov rax, qword [rsi + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rdx]
test rcx, rcx
jne 0x140086d27
lea ecx, [rbx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Topology_became_empty__aborting__n
mov rcx, rax
call fcn.140001200
jmp 0x140086e3e
mov rcx, qword [rcx + 0xb8]
call fcn.14008f344
test eax, eax
je 0x140086d4b
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Topology_does_not_contain_any_PU__aborting__n
jmp 0x140086d1a
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0xc8]
call fcn.14008f344
test eax, eax
je 0x140086d79
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Topology_does_not_contain_any_NUMA_node__aborting__n
jmp 0x140086d1a
xor edx, edx
mov rcx, rsi
call fcn.140088558
test eax, eax
js 0x140086e3e
mov rcx, rsi
call fcn.140086edc
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
mov rcx, qword [rcx]
call fcn.140088a80
mov rax, qword [rsi + 0x18]
mov rcx, rsi
mov rdx, qword [rax]
mov rdx, qword [rdx]
call fcn.140087d68
mov rcx, rsi
call fcn.1400880c8
mov rcx, qword [rsi + 0x2c0]
test rcx, rcx
je 0x140086e2e
mov rcx, qword [rcx]
lea rdx, [0x1400a5dc4]
mov rcx, qword [rcx + 8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140086e2e
mov rax, qword [rsi + 0x18]
lea r8, str.2.0.4
lea rdx, str.hwlocVersion
mov rcx, qword [rax]
mov rcx, qword [rcx]
call fcn.140087b3c
mov rcx, rsi
call fcn.140006730
mov rbx, rax
test rax, rax
je 0x140086e2e
mov rcx, qword [rsi + 0x18]
lea rdx, str.ProcessName
mov r8, rax
mov rcx, qword [rcx]
mov rcx, qword [rcx]
call fcn.140087b3c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x140086e41
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 + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret