Function at 0x1400da0d0
Capabilities:
Query environment variable

Disassembly:
push r14
push r13
push r12
push rbx
sub rsp, 0x48
mov r10d, dword [rcx + 0xc8]
mov r12, rcx
test r10d, r10d
jne 0x1400dab90
call fcn.1400dd6c0
mov rcx, r12
call fcn.1400dff90
lea rcx, str.HWLOC_XML_USERDATA_NOT_DECODED
call sub.msvcrt.dll_getenv
test rax, rax
je 0x1400da118
mov dword [r12 + 0x2b8], 1
lea rcx, [0x1402a1b0f]
call sub.msvcrt.dll_getenv
test rax, rax
je 0x1400da8b0
mov qword [rsp + 0x38], 0
lea rcx, str.HWLOC_ALLOW
call sub.msvcrt.dll_getenv
mov rcx, rax
test rax, rax
je 0x1400da15f
lea rdx, [0x1402a1b72]
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400da15f
or dword [rsp + 0x3c], 2
mov rcx, r12
call fcn.1400e3e50
mov rcx, r12
call fcn.1400e42b0
mov rcx, r12
call fcn.1400e43f0
mov rcx, r12
call fcn.1400e5d00
mov dword [r12 + 0xcc], 0
call fcn.1400e61d0
mov qword [r12 + 0x1b8], rax
call fcn.1400e61d0
mov r13d, dword [r12 + 0x328]
mov qword [r12 + 0x1c0], rax
test r13b, 1
jne 0x1400da550
test r13b, 2
jne 0x1400da5a8
mov rax, qword [r12 + 0x18]
mov rax, qword [rax]
mov rax, qword [rax]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
je 0x1400dab58
call fcn.1400e75b0
test eax, eax
jne 0x1400dab58
and r13d, 4
jne 0x1400da7d0
mov rax, qword [r12 + 0x280]
test rax, rax
je 0x1400da230
mov r9d, dword [r12 + 0xc4]
test r9d, r9d
je 0x1400da230
test byte [rsp + 0x3c], 2
jne 0x1400da230
test byte [r12 + 0x20], 4
je 0x1400daac0
mov rcx, r12
call rax
or dword [rsp + 0x3c], 2
nop word [rax + rax]
mov rax, qword [r12 + 0x18]
lea rbx, [r12 + 0x338]
mov rax, qword [rax]
mov rax, qword [rax]
mov rcx, qword [rax + 0xd0]
call fcn.1400e75b0
test eax, eax
jne 0x1400da5d0
mov rcx, qword [r12 + 0x348]
call fcn.14011a240
mov qword [r12 + 0x338], 0
mov qword [r12 + 0x340], 0
mov qword [rbx + 0x10], 0
mov rax, qword [r12 + 0x18]
mov rax, qword [rax]
mov rax, qword [rax]
mov rcx, qword [rax + 0xb8]
mov r8, qword [rax + 0xc0]
mov rdx, rcx
call fcn.1400e7ac0
mov rax, qword [r12 + 0x18]
mov rax, qword [rax]
mov rax, qword [rax]
mov rcx, qword [rax + 0xc8]
mov r8, qword [rax + 0xd0]
mov rdx, rcx
call fcn.1400e7ac0
mov rax, qword [r12 + 0x18]
mov rcx, qword [r12 + 0x1b8]
mov rax, qword [rax]
mov rdx, rcx
mov rax, qword [rax]
mov r8, qword [rax + 0xb8]
call fcn.1400e7ac0
mov rax, qword [r12 + 0x18]
mov rcx, qword [r12 + 0x1c0]
mov rax, qword [rax]
mov rdx, rcx
mov rax, qword [rax]
mov r8, qword [rax + 0xc8]
call fcn.1400e7ac0
mov rax, qword [r12 + 0x18]
mov rax, qword [rax]
mov rcx, qword [rax]
call fcn.1400d11d0
mov rax, qword [r12 + 0x18]
mov rax, qword [rax]
mov rcx, qword [rax]
call fcn.1400d1310
test byte [r12 + 0x20], 1
je 0x1400da7f0
mov rax, qword [r12 + 0x18]
mov rcx, qword [rax]
mov r13, qword [rcx]
mov eax, dword [r13]
cmp eax, 0x13
ja 0x1400dabd8
mov edx, eax
mov edx, dword [r12 + rdx*4 + 0x74]
cmp edx, 1
je 0x1400da690
cmp edx, 3
je 0x1400da670
mov r8d, dword [r12 + 0xcc]
test r8d, r8d
je 0x1400da3b0
mov rax, qword [r12 + 0x18]
mov rax, qword [rax]
mov rcx, qword [rax]
call fcn.1400d0cc0
mov rcx, r12
call fcn.1400d40c0
test eax, eax
js 0x1400dab64
mov rcx, r12
call fcn.1400d0ea0
test eax, eax
js 0x1400dab64
mov dword [r12 + 0xcc], 0
mov rcx, r12
call fcn.1400e93a0
mov eax, dword [r12 + 0x328]
test al, 8
jne 0x1400da810
test al, 0x10
jne 0x1400da83a
test al, 0x20
jne 0x1400da864
test al, 0x40
jne 0x1400da88e
mov rcx, r12
call fcn.1400e94d0
lea rcx, str.HWLOC_DEBUG_SORT_CHILDREN
call sub.msvcrt.dll_getenv
test rax, rax
mov rax, qword [r12 + 0x18]
mov rbx, qword [rax]
je 0x1400da409
mov rcx, qword [rbx]
call fcn.1400d1970
mov rdx, qword [rbx]
mov rcx, r12
call fcn.1400d3de0
mov rax, qword [r12 + 0x18]
mov rcx, r12
mov rdx, qword [rax]
call fcn.1400d3f80
mov rax, qword [r12 + 0x18]
mov rax, qword [rax]
mov r13, qword [rax]
test r13, r13
je 0x1400dac60
mov rcx, qword [r13 + 0xb8]
call fcn.1400e75b0
test eax, eax
jne 0x1400dabf4
mov rcx, qword [r13 + 0xc8]
call fcn.1400e75b0
mov r13d, eax
test eax, eax
jne 0x1400daba7
mov rcx, r12
call fcn.1400d4620
test eax, eax
js 0x1400dab64
mov rax, qword [r12 + 0x18]
mov rax, qword [rax]
mov rcx, qword [rax]
call fcn.1400d1450
mov rax, qword [r12 + 0x18]
mov rax, qword [rax]
mov rcx, qword [rax]
call fcn.1400d2f60
mov rcx, r12
call fcn.1400d06f0
mov rax, qword [r12 + 0x318]
test rax, rax
je 0x1400da4c2
mov rax, qword [rax]
lea rdx, [0x1402a139f]
mov rcx, qword [rax]
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400da9e0
lea rcx, str.HWLOC_DEBUG_CHECK
call sub.msvcrt.dll_getenv
test rax, rax
je 0x1400da4db
mov rcx, r12
call fcn.1400d89b0
mov rcx, r12
call fcn.1400e2db0
mov rcx, r12
call fcn.1400deff0
mov rcx, r12
call fcn.1400deaf0
mov rcx, r12
call fcn.1400e0800
mov rcx, r12
call fcn.1400e07b0
mov rcx, r12
call fcn.1400e1530
mov eax, dword [r12 + 0x20]
mov dword [r12 + 0xc8], 1
test al, 0x10
jne 0x1400da790
test al, 0x20
jne 0x1400da750
test byte [r12 + 0x328], 0x80
jne 0x1400da720
mov eax, r13d
add rsp, 0x48
pop rbx
pop r12
pop r13
pop r14
ret
mov r13, qword [r12 + 0x318]
test r13, r13
je 0x1400daaa0
cmp dword [r13 + 0x20], 1
je 0x1400da582
mov r8d, 0xd53
lea rdx, str.topology.c
lea rcx, str.global_backend__phases__HWLOC_DISC_PHASE_GLOBAL
call qword [sym.imp.msvcrt.dll__assert]
mov rcx, r13
mov dword [rsp + 0x34], 1
lea rdx, [rsp + 0x34]
call qword [r13 + 0x40]
mov r13d, dword [r12 + 0x328]
test r13b, 2
je 0x1400da1c1
mov rcx, qword [r12 + 0x318]
lea rdx, [rsp + 0x34]
mov dword [rsp + 0x34], 2
call fcn.1400d1db0
mov r13d, dword [r12 + 0x328]
jmp 0x1400da1c1
xor r8d, r8d
mov edx, 0xd
mov rcx, r12
call fcn.1400d5af0
mov r13, rax
mov rax, qword [r12 + 0x18]
mov rax, qword [rax]
mov rax, qword [rax]
mov rcx, qword [rax + 0xb8]
call fcn.1400e62f0
mov qword [r13 + 0xb8], rax
call fcn.1400e6170
xor edx, edx
mov qword [r13 + 0xc8], rax
mov rcx, rax
call fcn.1400e7060
mov rax, qword [r13 + 0x28]
mov r8, r13
mov rcx, r12
movdqu xmm0, xmmword [r12 + 0x338]
lea r9, str.core:defaultnumanode
movups xmmword [rax], xmm0
mov rdx, qword [rbx + 0x10]
mov qword [rax + 0x10], rdx
xor edx, edx
mov qword [r12 + 0x338], 0
mov qword [r12 + 0x340], 0
mov qword [rbx + 0x10], 0
call fcn.1400d6280
jmp 0x1400da284
cmp eax, 0xf
je 0x1400daaf8
cmp eax, 0x10
jne 0x1400da367
mov rax, qword [r13 + 0x28]
cmp dword [rax], 4
jne 0x1400da367
nop
mov r11, qword [r13 + 0x78]
test r11, r11
je 0x1400da367
cmp qword [r11 + 0x58], 0
jne 0x1400da367
mov qword [r11 + 0x48], 0
mov qword [rcx], r11
mov rdx, qword [r13 + 0x90]
test rdx, rdx
je 0x1400da6ce
lea rcx, [r11 + 0x90]
mov r8, r11
call fcn.1400d0650
mov rdx, qword [r13 + 0xa0]
test rdx, rdx
je 0x1400da6e9
lea rcx, [r11 + 0xa0]
mov r8, r11
call fcn.1400d0650
mov rdx, qword [r13 + 0xb0]
test rdx, rdx
je 0x1400da704
lea rcx, [r11 + 0xb0]
mov r8, r11
call fcn.1400d0650
mov rcx, r13
call fcn.1400d3080
mov rcx, r13
call fcn.14011a240
jmp 0x1400da367
mov rcx, qword [r12 + 0x318]
lea rdx, [rsp + 0x34]
mov dword [rsp + 0x34], pe_nt_image_headers64
call fcn.1400d1db0
mov eax, r13d
add rsp, 0x48
pop rbx
pop r12
pop r13
pop r14
ret
call fcn.1400e6170
mov r14, rax
test rax, rax
je 0x1400da52c
mov r9d, 0x24
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, r12
call fcn.1400e5480
test eax, eax
je 0x1400daa88
mov rcx, r14
call fcn.1400e6200
jmp 0x1400da52c
call fcn.1400e6170
mov r14, rax
test rax, rax
je 0x1400da7be
mov r8d, 4
mov rdx, rax
mov rcx, r12
call fcn.1400e5080
test eax, eax
je 0x1400daa70
mov rcx, r14
call fcn.1400e6200
mov eax, dword [r12 + 0x20]
jmp 0x1400da524
mov rcx, qword [r12 + 0x318]
lea rdx, [rsp + 0x34]
mov dword [rsp + 0x34], 4
call fcn.1400d1db0
jmp 0x1400da1f3
mov rax, qword [r12 + 0x18]
mov rcx, r12
mov rax, qword [rax]
mov rdx, qword [rax]
call fcn.1400d1150
jmp 0x1400da336
mov rcx, qword [r12 + 0x318]
lea rdx, [rsp + 0x34]
mov dword [rsp + 0x34], 8
call fcn.1400d1db0
mov eax, dword [r12 + 0x328]
test al, 0x10
je 0x1400da3d0
mov rcx, qword [r12 + 0x318]
lea rdx, [rsp + 0x34]
mov dword [rsp + 0x34], 0x10
call fcn.1400d1db0
mov eax, dword [r12 + 0x328]
test al, 0x20
je 0x1400da3d8
mov rcx, qword [r12 + 0x318]
lea rdx, [rsp + 0x34]
mov dword [rsp + 0x34], 0x20
call fcn.1400d1db0
mov eax, dword [r12 + 0x328]
test al, 0x40
je 0x1400da3e0
mov rcx, qword [r12 + 0x318]
lea rdx, [rsp + 0x34]
mov dword [rsp + 0x34], 0x40
call fcn.1400d1db0
jmp 0x1400da3e0
cmp qword [r12 + 0x318], 0
jne 0x1400da12d
lea rcx, str.HWLOC_FSROOT
call sub.msvcrt.dll_getenv
test rax, rax
je 0x1400da8f9
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov edx, 1
mov rcx, r12
mov qword [rsp + 0x20], 0
lea r8, [0x1402a1b2d]
call fcn.1400e44e0
cmp qword [r12 + 0x318], 0
jne 0x1400da12d
lea rcx, [0x1402a1b33]
call sub.msvcrt.dll_getenv
test rax, rax
je 0x1400da942
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov edx, 1
mov rcx, r12
mov qword [rsp + 0x20], 0
lea r8, [0x1402a1b44]
call fcn.1400e44e0
cmp qword [r12 + 0x318], 0
jne 0x1400da12d
lea rcx, [0x1402a1b48]
call sub.msvcrt.dll_getenv
mov r9, rax
test rax, rax
je 0x1400da98b
lea r8, [0x1402a1395]
mov edx, 1
mov rcx, r12
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call fcn.1400e44e0
cmp qword [r12 + 0x318], 0
jne 0x1400da12d
lea rcx, [0x1402a1b58]
call sub.msvcrt.dll_getenv
mov r9, rax
test rax, rax
je 0x1400da12d
lea r8, [0x1402a139f]
mov edx, 1
mov rcx, r12
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call fcn.1400e44e0
jmp 0x1400da12d
lea rcx, str.HWLOC_DONT_ADD_VERSION_INFO
call sub.msvcrt.dll_getenv
test rax, rax
jne 0x1400da4c2
mov rax, qword [r12 + 0x18]
lea r9, [0x1402a0286]
lea r8, [0x1402a1cd7]
mov rax, qword [rax]
mov rcx, qword [rax]
lea rdx, [rcx + 0xe0]
add rcx, 0xd8
call fcn.1400d5000
mov rcx, r12
call fcn.1400ea670
mov r14, rax
test rax, rax
je 0x1400da4c2
mov rax, qword [r12 + 0x18]
mov r9, r14
lea r8, [0x1402a1ce4]
mov rax, qword [rax]
mov rcx, qword [rax]
lea rdx, [rcx + 0xe0]
add rcx, 0xd8
call fcn.1400d5000
mov rcx, r14
call fcn.14011a240
jmp 0x1400da4c2
xor r8d, r8d
mov rdx, r14
mov rcx, r12
call fcn.1400d9c50
jmp 0x1400da7b6
mov r8d, 8
mov rdx, r14
mov rcx, r12
call fcn.1400d9c50
jmp 0x1400da77f
mov r8d, 0xd52
lea rdx, str.topology.c
lea rcx, str.global_backend
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x1400da561
lea rcx, str.HWLOC_THISSYSTEM_ALLOWED_RESOURCES
call sub.msvcrt.dll_getenv
mov rcx, rax
test rax, rax
je 0x1400da230
call sub.msvcrt.dll_atoi
test eax, eax
je 0x1400da230
mov rax, qword [r12 + 0x280]
jmp 0x1400da220
mov rax, qword [r13 + 0x28]
movzx edx, word [rax + 6]
mov r8d, edx
mov eax, edx
shr r8d, 8
cmp edx, 0x12ff
ja 0x1400dab40
mov r9, 0xfffffffffffbf7b0
bt r9, r8
jae 0x1400da367
and eax, 0xfffffffd
cmp ax, 0xc04
je 0x1400da367
cmp edx, 0x502
je 0x1400da367
jmp 0x1400da690
and eax, 0xfffffffd
cmp ax, 0xc04
je 0x1400da367
jmp 0x1400da690
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 0x16
mov rcx, r12
mov r13d, 0xffffffff
call fcn.1400e94d0
mov rcx, r12
call fcn.1400d8530
mov rcx, r12
call fcn.1400d7be0
mov rcx, r12
call fcn.1400e4430
jmp 0x1400da53b
call qword [sym.imp.msvcrt.dll__errno]
mov r13d, 0xffffffff
mov dword [rax], 0x10
jmp 0x1400da53b
mov eax, dword [0x1405848c4]
test eax, eax
je 0x1400dac2e
mov eax, dword [0x14026b490]
cmp eax, 1
jg 0x1400dab64
mov ecx, 2
call qword [fcn.140119ad0]
lea rdx, str.hwloc:_Topology_does_not_contain_any_NUMA_node__aborting__n
mov rcx, rax
call fcn.1400d1020
jmp 0x1400dab64
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 0x16
mov rax, qword [r12 + 0x18]
mov rcx, qword [rax]
mov r13, qword [rcx]
jmp 0x1400da690
mov edx, dword [0x1405848c4]
test edx, edx
je 0x1400dac96
cmp dword [0x14026b490], 1
jg 0x1400dab64
mov ecx, 2
call qword [fcn.140119ad0]
lea rdx, str.hwloc:_Topology_does_not_contain_any_PU__aborting__n
mov rcx, rax
call fcn.1400d1020
jmp 0x1400dab64
lea rcx, str.HWLOC_HIDE_ERRORS
call sub.msvcrt.dll_getenv
test rax, rax
je 0x1400dacc4
mov rcx, rax
call sub.msvcrt.dll_atoi
mov dword [0x14026b490], eax
mov dword [0x1405848c4], 1
jmp 0x1400dabb7
mov ecx, dword [0x1405848c4]
test ecx, ecx
je 0x1400daccc
cmp dword [0x14026b490], 1
jg 0x1400dab64
mov ecx, 2
call qword [fcn.140119ad0]
lea rdx, str.hwloc:_Topology_became_empty__aborting__n
mov rcx, rax
call fcn.1400d1020
jmp 0x1400dab64
lea rcx, str.HWLOC_HIDE_ERRORS
call sub.msvcrt.dll_getenv
mov rcx, rax
test rax, rax
je 0x1400dacb5
call sub.msvcrt.dll_atoi
mov dword [0x14026b490], eax
mov dword [0x1405848c4], 1
jmp 0x1400dac02
mov eax, dword [0x14026b490]
jmp 0x1400dac51
lea rcx, str.HWLOC_HIDE_ERRORS
call sub.msvcrt.dll_getenv
mov rcx, rax
test rax, rax
je 0x1400daceb
call sub.msvcrt.dll_atoi
mov dword [0x14026b490], eax
mov dword [0x1405848c4], 1
jmp 0x1400dac6a