Function at 0x1400ddfa4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, rcx
lea rcx, str.HWLOC_COMPONENTS
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1400ddfe4
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov r14, rax
jmp 0x1400ddfe7
xor r14d, r14d
mov r15d, 1
lea r13d, [r15 + 1]
test r14, r14
je 0x1400de1a4
mov al, byte [r14]
mov rbx, r14
test al, al
je 0x1400de06d
lea rdx, [0x14010eac8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcspn]
mov rdi, rax
test rax, rax
je 0x1400de050
cmp byte [rbx], 0x2d
jne 0x1400de050
mov bpl, byte [rax + rbx]
lea rdx, [rbx + 1]
mov rcx, rsi
mov byte [rax + rbx], 0
call fcn.1400dd988
xor ecx, ecx
test rdi, rdi
je 0x1400de04c
xor eax, eax
add ecx, r15d
mov byte [rax + rbx], 0x2c
mov eax, ecx
cmp rax, rdi
jb 0x1400de03e
mov byte [rdi + rbx], bpl
lea rax, [rdi + rbx]
mov cl, byte [rax]
cmp cl, 0
je 0x1400de05e
mov cl, byte [rax + 1]
lea rbx, [rax + 1]
cmove rbx, rax
test cl, cl
jne 0x1400de004
mov al, byte [r14]
mov rbx, r14
test al, al
je 0x1400de1a4
lea rdx, [0x14010eac8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcspn]
mov rdi, rax
test rax, rax
je 0x1400de18d
mov r8, rax
lea rdx, str.stop
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x1400de23d
add rdi, rbx
lea rdx, str.linuxpci
mov rcx, rbx
mov bpl, byte [rdi]
mov byte [rdi], 0
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x1400de0de
lea rdx, str.linuxio
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400de109
cmp dword [0x14013569c], 0
je 0x1400de102
mov ecx, r13d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.Replacing_deprecated_component___s_with__linux_in_envvar_forcing_n
mov rcx, rax
call fcn.140001c80
lea rbx, str.linux
xor edx, edx
mov rcx, rbx
call fcn.1400ddae8
mov r10, rax
test rax, rax
je 0x1400de16d
mov r8d, dword [rsi + 0x338]
xor r9d, r9d
xor edx, edx
test r8d, r8d
je 0x1400de152
mov r11, qword [rsi + 0x340]
mov eax, edx
add rax, rax
mov ecx, edx
cmp r10, qword [r11 + rax*8]
je 0x1400de14a
add edx, r15d
cmp edx, r8d
jb 0x1400de133
jmp 0x1400de152
add rcx, rcx
mov r9d, dword [r11 + rcx*8 + 8]
mov eax, r9d
not eax
test dword [r10 + 8], eax
je 0x1400de188
mov r8d, r15d
mov rdx, r10
mov rcx, rsi
call fcn.1400ddec8
jmp 0x1400de188
mov ecx, r13d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.Cannot_find_discovery_component___s_n
mov rcx, rax
call fcn.140001c80
mov byte [rdi], bpl
jmp 0x1400de190
mov rdi, rbx
cmp byte [rdi], 0
lea rbx, [rdi + 1]
cmove rbx, rdi
cmp byte [rbx], 0
jne 0x1400de078
mov rbx, qword [0x140135690]
jmp 0x1400de234
xor r9d, r9d
cmp dword [rbx + 0x1c], r9d
je 0x1400de230
mov r8d, dword [rsi + 0x338]
xor ecx, ecx
test r8d, r8d
je 0x1400de1ed
mov r10, qword [rsi + 0x340]
mov eax, ecx
add rax, rax
mov edx, ecx
cmp rbx, qword [r10 + rax*8]
je 0x1400de1e5
add ecx, r15d
cmp ecx, r8d
jb 0x1400de1ce
jmp 0x1400de1ed
add rdx, rdx
mov r9d, dword [r10 + rdx*8 + 8]
mov edi, dword [rbx + 8]
mov eax, r9d
not eax
test edi, eax
jne 0x1400de222
cmp dword [0x14013569c], 0
je 0x1400de230
mov ecx, r13d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rbx]
lea rdx, str.Excluding_blacklisted_discovery_component___s_phases_0x_x_n
mov rcx, rax
mov r9d, edi
call fcn.140001c80
jmp 0x1400de230
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.1400ddec8
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x1400de1b0
cmp dword [0x14013569c], 0
je 0x1400de2c5
mov rsi, qword [rsi + 0x2f0]
mov ecx, r13d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Final_list_of_enabled_discovery_components:
call fcn.140001c80
jmp 0x1400de2a8
mov rdi, qword [rsi]
lea rax, [0x140111994]
test r15d, r15d
lea rbx, [0x14010eac8]
cmovne rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, qword [rdi]
lea rdx, str._s_s_0x_x_
mov rcx, rax
mov r8, rbx
mov eax, dword [rsi + 0x20]
mov dword [rsp + 0x20], eax
call fcn.140001c80
mov rsi, qword [rsi + 0x18]
xor r15d, r15d
mov ecx, r13d
test rsi, rsi
jne 0x1400de267
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, reloc.WS2_32.dll_ioctlsocket
call fcn.140001c80
mov rcx, r14
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
jmp qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]