Function at 0x1400e3360
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rdi, qword [sym.imp.KERNEL32.dll_SwitchToThread]
xor esi, esi
mov ebx, 1
jmp 0x1400e3382
call rdi
mov eax, esi
lock cmpxchg dword [0x1405848e0], ebx
test eax, eax
jne 0x1400e3380
mov eax, dword [0x1405848e8]
cmp eax, 0xffffffff
je 0x1400e3730
lea edx, [rax + 1]
mov dword [0x1405848e8], edx
test eax, eax
je 0x1400e33f0
cmp dword [0x1405848e0], 1
jne 0x1400e33d0
mov dword [0x1405848e0], 0
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r8d, 0x1c0
lea rdx, str.components.c
lea rcx, str.hwloc_components_mutex__1
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x1400e33b5
lea rcx, str.HWLOC_COMPONENTS_VERBOSE
call sub.msvcrt.dll_getenv
mov rcx, rax
xor eax, eax
test rcx, rcx
je 0x1400e340b
call sub.msvcrt.dll_atoi
mov edx, 8
mov ecx, 6
mov dword [0x1405848e4], eax
mov dword [0x1405848d0], 6
call sub.msvcrt.dll_calloc
mov qword [0x1405848d8], rax
test rax, rax
je 0x1400e38a1
mov rbp, qword [0x1402af2e0]
mov rbx, qword [0x1402af2d0]
mov dword [0x1405848d0], 0
lea rdi, [0x1402a2fa0]
jmp 0x1400e3497
cmp eax, 1
je 0x1400e36e8
mov r8d, 0x1f5
lea rdx, str.components.c
lea rcx, [0x1402a2c0a]
call qword [sym.imp.msvcrt.dll__assert]
add rdi, 8
test rbp, rbp
je 0x1400e3640
mov rbx, rbp
mov rbp, qword [rdi + 8]
mov r8d, dword [rbx + 0x1c]
test r8d, r8d
jne 0x1400e36b0
mov rax, qword [rbx + 8]
test rax, rax
je 0x1400e34b9
xor ecx, ecx
call rax
test eax, eax
js 0x1400e3700
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1400e34dc
mov eax, dword [0x1405848d0]
lea ecx, [rax + 1]
mov dword [0x1405848d0], ecx
mov rcx, qword [0x1405848d8]
mov qword [rcx + rax*8], rdx
mov eax, dword [rbx + 0x18]
test eax, eax
jne 0x1400e3460
mov rsi, qword [rbx + 0x20]
lea rdx, str.stop
mov r14, qword [rsi]
mov rcx, r14
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x1400e3874
mov edx, 0x2d
mov rcx, r14
call sub.msvcrt.dll_strchr
test rax, rax
jne 0x1400e37ed
mov edx, 0x3a
mov rcx, r14
call sub.msvcrt.dll_strchr
test rax, rax
jne 0x1400e37ed
mov rcx, r14
lea rdx, [0x1402a2a26]
call sub.msvcrt.dll_strcspn
mov rcx, r14
mov rbx, rax
call sub.msvcrt.dll_strlen
cmp rbx, rax
jne 0x1400e37ed
mov r9d, dword [rsi + 8]
test r9d, r9d
je 0x1400e383a
cmp r9d, 1
je 0x1400e3574
test r9d, 0xffffff01
jne 0x1400e383a
mov rbx, qword [0x1405848f0]
mov r12d, dword [0x1405848e4]
lea r15, [0x1405848f0]
test rbx, rbx
jne 0x1400e35cb
jmp 0x1400e3823
mov r9d, dword [rbx + 0x18]
mov ebx, dword [rsi + 0x18]
cmp r9d, ebx
jae 0x1400e37b0
test r12d, r12d
jne 0x1400e3670
mov rax, qword [r15]
mov rax, qword [rax + 0x20]
mov qword [r15], rax
mov rbx, qword [rax + 0x20]
lea r15, [rax + 0x20]
test rbx, rbx
je 0x1400e35ed
mov r14, qword [rsi]
mov r13, qword [rbx]
mov rdx, r14
mov rcx, r13
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x1400e3598
mov rax, qword [r15]
mov rbx, qword [rax + 0x20]
lea r15, [rax + 0x20]
test rbx, rbx
jne 0x1400e35c8
test r12d, r12d
jne 0x1400e3758
mov rax, qword [0x1405848f0]
test rax, rax
je 0x1400e382c
mov ecx, dword [rsi + 0x18]
lea rdx, [0x1405848f0]
jmp 0x1400e3625
lea rdx, [rax + 0x20]
mov rax, qword [rax + 0x20]
test rax, rax
je 0x1400e362a
cmp dword [rax + 0x18], ecx
jae 0x1400e3618
mov qword [rsi + 0x20], rax
add rdi, 8
mov qword [rdx], rsi
test rbp, rbp
jne 0x1400e3490
nop
cmp dword [0x1405848e0], 1
je 0x1400e33b5
mov r8d, 0x216
lea rdx, str.components.c
lea rcx, str.hwloc_components_mutex__1
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x1400e33b5
mov dword [rsp + 0x4c], r9d
mov ecx, 2
call qword [fcn.140119ad0]
mov dword [rsp + 0x20], ebx
mov r8, r13
mov r9d, dword [rsp + 0x4c]
mov rcx, rax
lea rdx, str.hwloc:_Dropping_previously_registered_discovery_component___s__priority__u_lower_than_new_one__u_n
call fcn.1400e2fb0
mov r12d, dword [0x1405848e4]
jmp 0x1400e35b1
call fcn.1400d4f50
cmp eax, 1
jg 0x1400e3483
mov ebx, dword [rbx + 0x1c]
mov ecx, 2
call qword [fcn.140119ad0]
lea rdx, str.hwloc:_Ignoring_static_component_with_invalid_flags__lx_n
mov rcx, rax
mov r8d, ebx
call fcn.1400e2fb0
jmp 0x1400e3483
mov rcx, qword [rbx + 0x20]
call fcn.1400f6260
jmp 0x1400e3483
mov ecx, dword [0x1405848e4]
test ecx, ecx
je 0x1400e3483
mov ecx, 2
call qword [fcn.140119ad0]
lea rdx, str.hwloc:_Ignoring_static_component__failed_to_initialize_n
mov rcx, rax
call fcn.1400e2fb0
jmp 0x1400e3483
mov r8d, 0x1be
lea rdx, str.components.c
lea rcx, str._unsigned___1___hwloc_components_users
call qword [sym.imp.msvcrt.dll__assert]
mov eax, dword [0x1405848e8]
jmp 0x1400e339f
mov r9d, dword [rsi + 8]
mov r14, qword [rsi]
mov dword [rsp + 0x4c], r9d
mov ebx, dword [rsi + 0x18]
mov ecx, 2
call qword [fcn.140119ad0]
mov r9d, dword [rsp + 0x4c]
mov r8, r14
lea rdx, str.hwloc:_Registered_discovery_component___s_phases_0x_x_with_priority__u___s_s__n
mov rcx, rax
lea rax, [0x1402a2bf8]
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x30], rax
lea rax, str.statically_build
mov qword [rsp + 0x28], rax
call fcn.1400e2fb0
jmp 0x1400e35f6
test r12d, r12d
je 0x1400e3483
mov dword [rsp + 0x4c], r9d
mov ecx, 2
call qword [fcn.140119ad0]
mov r9d, dword [rsp + 0x4c]
mov r8, r14
lea rdx, str.hwloc:_Ignoring_new_discovery_component___s__priority__u_lower_than_previously_registered_one__u_n
mov rcx, rax
mov dword [rsp + 0x20], r9d
mov r9d, ebx
call fcn.1400e2fb0
jmp 0x1400e3483
mov eax, dword [0x1405848e4]
test eax, eax
je 0x1400e3483
mov ecx, 2
call qword [fcn.140119ad0]
mov r9d, 0x2d
mov r8, r14
lea rdx, str.hwloc:_Cannot_register_discovery_component_with_name___s_containing_reserved_characters___c__n
mov rcx, rax
call fcn.1400e2fb0
jmp 0x1400e3483
test r12d, r12d
jne 0x1400e375f
xor eax, eax
lea rdx, [0x1405848f0]
jmp 0x1400e362a
call fcn.1400d4f50
cmp eax, 1
jg 0x1400e3483
mov r12d, dword [rsi + 8]
mov rbx, qword [rsi]
mov ecx, 2
call qword [fcn.140119ad0]
lea rdx, str.hwloc:_Cannot_register_discovery_component___s_with_invalid_phases_0x_x_n
mov rcx, rax
mov r9d, r12d
mov r8, rbx
call fcn.1400e2fb0
jmp 0x1400e3483
mov edx, dword [0x1405848e4]
test edx, edx
je 0x1400e3483
mov ecx, 2
call qword [fcn.140119ad0]
lea rdx, str.hwloc:_Cannot_register_discovery_component_with_reserved_name__stop_n
mov rcx, rax
call fcn.1400e2fb0
jmp 0x1400e3483
mov r8d, 0x1d7
lea rdx, str.components.c
lea rcx, str.hwloc_component_finalize_cbs
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x1400e343a