Function at 0x1400dcaa0
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 0x1400dcac2
call rdi
mov eax, esi
lock cmpxchg dword [0x1405883e0], ebx
test eax, eax
jne 0x1400dcac0
mov eax, dword [0x1405883e8]
cmp eax, 0xffffffff
je 0x1400dce70
lea edx, [rax + 1]
mov dword [0x1405883e8], edx
test eax, eax
je 0x1400dcb30
cmp dword [0x1405883e0], 1
jne 0x1400dcb10
mov dword [0x1405883e0], 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 0x1400dcaf5
lea rcx, str.HWLOC_COMPONENTS_VERBOSE
call sub.msvcrt.dll_getenv
mov rcx, rax
xor eax, eax
test rcx, rcx
je 0x1400dcb4b
call sub.msvcrt.dll_atoi
mov edx, 8
mov ecx, 6
mov dword [0x1405883e4], eax
mov dword [0x1405883d0], 6
call sub.msvcrt.dll_calloc
mov qword [0x1405883d8], rax
test rax, rax
je 0x1400dcfe1
mov rbp, qword [0x1402b0bd0]
mov rbx, qword [0x1402b0bc0]
mov dword [0x1405883d0], 0
lea rdi, [0x1402a3e00]
jmp 0x1400dcbd7
cmp eax, 1
je 0x1400dce28
mov r8d, 0x1f5
lea rdx, str.components.c
lea rcx, [0x1402a3a6a]
call qword [sym.imp.msvcrt.dll__assert]
add rdi, 8
test rbp, rbp
je 0x1400dcd80
mov rbx, rbp
mov rbp, qword [rdi + 8]
mov r8d, dword [rbx + 0x1c]
test r8d, r8d
jne 0x1400dcdf0
mov rax, qword [rbx + 8]
test rax, rax
je 0x1400dcbf9
xor ecx, ecx
call rax
test eax, eax
js 0x1400dce40
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1400dcc1c
mov eax, dword [0x1405883d0]
lea ecx, [rax + 1]
mov dword [0x1405883d0], ecx
mov rcx, qword [0x1405883d8]
mov qword [rcx + rax*8], rdx
mov eax, dword [rbx + 0x18]
test eax, eax
jne 0x1400dcba0
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 0x1400dcfb4
mov edx, 0x2d
mov rcx, r14
call sub.msvcrt.dll_strchr
test rax, rax
jne 0x1400dcf2d
mov edx, 0x3a
mov rcx, r14
call sub.msvcrt.dll_strchr
test rax, rax
jne 0x1400dcf2d
mov rcx, r14
lea rdx, [0x1402a3886]
call sub.msvcrt.dll_strcspn
mov rcx, r14
mov rbx, rax
call sub.msvcrt.dll_strlen
cmp rbx, rax
jne 0x1400dcf2d
mov r9d, dword [rsi + 8]
test r9d, r9d
je 0x1400dcf7a
cmp r9d, 1
je 0x1400dccb4
test r9d, 0xffffff01
jne 0x1400dcf7a
mov rbx, qword [0x1405883f0]
mov r12d, dword [0x1405883e4]
lea r15, [0x1405883f0]
test rbx, rbx
jne 0x1400dcd0b
jmp 0x1400dcf63
mov r9d, dword [rbx + 0x18]
mov ebx, dword [rsi + 0x18]
cmp r9d, ebx
jae 0x1400dcef0
test r12d, r12d
jne 0x1400dcdb0
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 0x1400dcd2d
mov r14, qword [rsi]
mov r13, qword [rbx]
mov rdx, r14
mov rcx, r13
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x1400dccd8
mov rax, qword [r15]
mov rbx, qword [rax + 0x20]
lea r15, [rax + 0x20]
test rbx, rbx
jne 0x1400dcd08
test r12d, r12d
jne 0x1400dce98
mov rax, qword [0x1405883f0]
test rax, rax
je 0x1400dcf6c
mov ecx, dword [rsi + 0x18]
lea rdx, [0x1405883f0]
jmp 0x1400dcd65
lea rdx, [rax + 0x20]
mov rax, qword [rax + 0x20]
test rax, rax
je 0x1400dcd6a
cmp dword [rax + 0x18], ecx
jae 0x1400dcd58
mov qword [rsi + 0x20], rax
add rdi, 8
mov qword [rdx], rsi
test rbp, rbp
jne 0x1400dcbd0
nop
cmp dword [0x1405883e0], 1
je 0x1400dcaf5
mov r8d, 0x216
lea rdx, str.components.c
lea rcx, str.hwloc_components_mutex__1
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x1400dcaf5
mov dword [rsp + 0x4c], r9d
mov ecx, 2
call qword [fcn.140124330]
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.1400dc6f0
mov r12d, dword [0x1405883e4]
jmp 0x1400dccf1
call fcn.1400ce690
cmp eax, 1
jg 0x1400dcbc3
mov ebx, dword [rbx + 0x1c]
mov ecx, 2
call qword [fcn.140124330]
lea rdx, str.hwloc:_Ignoring_static_component_with_invalid_flags__lx_n
mov rcx, rax
mov r8d, ebx
call fcn.1400dc6f0
jmp 0x1400dcbc3
mov rcx, qword [rbx + 0x20]
call fcn.1400ef9a0
jmp 0x1400dcbc3
mov ecx, dword [0x1405883e4]
test ecx, ecx
je 0x1400dcbc3
mov ecx, 2
call qword [fcn.140124330]
lea rdx, str.hwloc:_Ignoring_static_component__failed_to_initialize_n
mov rcx, rax
call fcn.1400dc6f0
jmp 0x1400dcbc3
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 [0x1405883e8]
jmp 0x1400dcadf
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.140124330]
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, [0x1402a3a58]
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x30], rax
lea rax, str.statically_build
mov qword [rsp + 0x28], rax
call fcn.1400dc6f0
jmp 0x1400dcd36
test r12d, r12d
je 0x1400dcbc3
mov dword [rsp + 0x4c], r9d
mov ecx, 2
call qword [fcn.140124330]
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.1400dc6f0
jmp 0x1400dcbc3
mov eax, dword [0x1405883e4]
test eax, eax
je 0x1400dcbc3
mov ecx, 2
call qword [fcn.140124330]
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.1400dc6f0
jmp 0x1400dcbc3
test r12d, r12d
jne 0x1400dce9f
xor eax, eax
lea rdx, [0x1405883f0]
jmp 0x1400dcd6a
call fcn.1400ce690
cmp eax, 1
jg 0x1400dcbc3
mov r12d, dword [rsi + 8]
mov rbx, qword [rsi]
mov ecx, 2
call qword [fcn.140124330]
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.1400dc6f0
jmp 0x1400dcbc3
mov edx, dword [0x1405883e4]
test edx, edx
je 0x1400dcbc3
mov ecx, 2
call qword [fcn.140124330]
lea rdx, str.hwloc:_Cannot_register_discovery_component_with_reserved_name__stop_n
mov rcx, rax
call fcn.1400dc6f0
jmp 0x1400dcbc3
mov r8d, 0x1d7
lea rdx, str.components.c
lea rcx, str.hwloc_component_finalize_cbs
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x1400dcb7a