Function at 0x180026b70
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rax, qword [0x18009d5d8]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r15, rdx
mov qword [rbp - 0x59], rdx
mov qword [rbp - 0x19], rcx
lea r8, [rbp - 0x71]
xor ecx, ecx
mov dword [rbp - 0x69], 0xffffffff
xor edx, edx
mov dword [rbp - 0x4d], ecx
mov rax, qword [r15 + 8]
xor esi, esi
mov dword [rbp - 0x51], edx
xor r14d, r14d
lea rdx, [rbp - 0x61]
mov dword [rbp - 0x79], esi
mov rcx, r15
mov dword [rbp - 0x49], r14d
xor edi, edi
call qword [rax + 0x18]
test eax, eax
js 0x1800272ca
lea r13, str.nbobjs
lea rdx, str.type
lea r12, str.kind
mov rbx, qword [rbp - 0x61]
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rcx + r13 - 1]
jne 0x180026c2e
cmp rcx, 7
jne 0x180026c00
lea r8d, [rcx + 3]
xor edx, edx
mov rcx, qword [rbp - 0x71]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
mov esi, eax
mov dword [rbp - 0x79], eax
jmp 0x180026d70
xor ecx, ecx
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x180026c63
cmp rcx, 5
jne 0x180026c30
mov rcx, qword [rbp - 0x71]
lea rdx, [rbp - 0x69]
xor r9d, r9d
xor r8d, r8d
call sym.xmrstak_cuda_backend.dll_hwloc_type_sscanf
test eax, eax
js 0x180027329
jmp 0x180026d70
lea rdx, str.indexing
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x180026cdf
mov rcx, qword [rbp - 0x71]
lea edi, [rax + 1]
movzx eax, byte [rcx]
cmp al, byte [0x18008b468]
jne 0x180026ca8
movzx eax, byte [rcx + 1]
cmp al, byte [0x18008b469]
jne 0x180026ca8
movzx eax, byte [rcx + 2]
cmp al, byte [0x18008b46a]
jne 0x180026ca8
mov dword [rbp - 0x4d], edi
jmp 0x180026d70
movzx eax, byte [rcx]
cmp al, byte [0x18008da64]
jne 0x180026d70
movzx eax, byte [rcx + 1]
cmp al, byte [0x18008da65]
jne 0x180026d70
movzx eax, byte [rcx + 2]
cmp al, byte [0x18008da66]
jne 0x180026d70
mov dword [rbp - 0x51], edi
jmp 0x180026d70
xor ecx, ecx
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r12 + rcx - 1]
jne 0x180026d0d
cmp rcx, 5
jne 0x180026ce1
lea r8d, [rcx + 5]
xor edx, edx
mov rcx, qword [rbp - 0x71]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
mov r14d, eax
mov dword [rbp - 0x49], eax
jmp 0x180026d70
cmp dword [0x1800a2fac], 0
jne 0x180026d41
lea rcx, str.HWLOC_XML_VERBOSE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x180026d37
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [0x1800a2fa8], eax
mov dword [0x1800a2fac], 1
cmp dword [0x1800a2fa8], 0
je 0x180026d70
mov rbx, qword [r15 + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, qword [rbp - 0x61]
lea rdx, str._s:_ignoring_unknown_distance_attribute__s_n
mov r8, qword [rbx + 0x48]
mov rcx, rax
call fcn.1800100d0
mov rax, qword [r15 + 8]
lea r8, [rbp - 0x71]
lea rdx, [rbp - 0x61]
mov rcx, r15
call qword [rax + 0x18]
lea rdx, str.type
test eax, eax
jns 0x180026bf3
test esi, esi
je 0x1800272ca
mov ebx, dword [rbp - 0x69]
cmp ebx, 0xffffffff
je 0x1800272ca
test edi, edi
je 0x1800272ca
test r14d, r14d
je 0x1800272ca
mov ecx, esi
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
mov qword [rbp - 0x71], rax
mov eax, esi
imul eax, esi
mov ecx, eax
shl rcx, 3
mov r12d, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
test r14, r14
je 0x180027287
test rax, rax
je 0x180027287
mov rax, qword [r15 + 8]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x11]
mov rcx, r15
xor edi, edi
xor esi, esi
call qword [rax + 0x20]
test eax, eax
jle 0x180026fff
mov r8, qword [rbp - 0x39]
lea rdx, [0x18008daf8]
xor ecx, ecx
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x180026e3c
cmp rcx, 8
jne 0x180026e20
lea ebx, [rcx - 7]
xor r15d, r15d
jmp 0x180026e59
lea rdx, str.u64values
mov rcx, r8
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x180027123
xor ebx, ebx
lea r15d, [rax + 1]
mov r14, qword [rbp - 0x59]
lea r8, [rbp - 0x21]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x11]
mov rax, qword [r14 + 8]
call qword [rax + 0x18]
test eax, eax
js 0x1800270ef
mov rdx, qword [rbp - 0x29]
lea r8, str.length
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x1800270ef
cmp rcx, 7
jne 0x180026e90
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
movsxd r14, eax
lea rdx, [rbp - 0x31]
mov rax, qword [rbp - 0x59]
lea rcx, [rbp - 0x11]
mov r8, r14
mov rax, qword [rax + 8]
call qword [rax + 0x38]
test eax, eax
js 0x1800270c0
test ebx, ebx
je 0x180026f4a
mov r15d, dword [rbp - 0x79]
cmp edi, r15d
jae 0x180027036
mov rbx, qword [rbp - 0x31]
lea rdx, [rbp - 0x61]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__strtoui64]
mov rcx, qword [rbp - 0x61]
mov rdx, rax
mov r14, qword [rbp - 0x71]
cmp rcx, rbx
je 0x180026fb5
nop dword [rax]
mov qword [r14 + rdi*8], rdx
inc edi
cmp byte [rcx], 0x20
jne 0x180026fb5
cmp edi, r15d
je 0x180026fb5
lea rbx, [rcx + 1]
xor r8d, r8d
mov rcx, rbx
lea rdx, [rbp - 0x61]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__strtoui64]
mov rcx, qword [rbp - 0x61]
mov rdx, rax
cmp rcx, rbx
jne 0x180026f10
jmp 0x180026fb5
test r15d, r15d
je 0x180026fb1
cmp esi, r12d
jae 0x180027065
mov rbx, qword [rbp - 0x31]
lea rdx, [rbp - 0x41]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__strtoui64]
mov rcx, qword [rbp - 0x41]
mov rdx, rax
cmp rcx, rbx
je 0x180026fb1
nop dword [rax + rax]
mov qword [r13 + rsi*8], rdx
inc esi
cmp byte [rcx], 0x20
jne 0x180026fb1
cmp esi, r12d
je 0x180026fb1
lea rbx, [rcx + 1]
xor r8d, r8d
mov rcx, rbx
lea rdx, [rbp - 0x41]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__strtoui64]
mov rcx, qword [rbp - 0x41]
mov rdx, rax
cmp rcx, rbx
jne 0x180026f80
mov r14, qword [rbp - 0x71]
mov r15, qword [rbp - 0x59]
lea rcx, [rbp - 0x11]
mov rax, qword [r15 + 8]
call qword [rax + 0x40]
mov rax, qword [r15 + 8]
lea rcx, [rbp - 0x11]
call qword [rax + 0x28]
test eax, eax
js 0x180027094
mov rax, qword [r15 + 8]
lea rcx, [rbp - 0x11]
call qword [rax + 0x30]
mov rax, qword [r15 + 8]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x11]
mov rcx, r15
call qword [rax + 0x20]
test eax, eax
jg 0x180026e10
mov ebx, dword [rbp - 0x69]
mov eax, dword [rbp - 0x79]
cmp edi, eax
je 0x18002715b
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800272b5
mov rbx, qword [r15 + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, dword [rbp - 0x79]
lea rdx, str._s:_distance2_with_less_than__u_indexes_n
jmp 0x1800272a9
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800272b5
mov rax, qword [rbp - 0x59]
mov ecx, 2
mov rbx, qword [rax + 8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, r15d
lea rdx, str._s:_distance2_with_more_than__u_indexes_n
jmp 0x1800272a9
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800272b5
mov rax, qword [rbp - 0x59]
mov ecx, 2
mov rbx, qword [rax + 8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, r12d
lea rdx, str._s:_distance2_with_more_than__u_u64values_n
jmp 0x1800272a9
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800272b5
mov rbx, qword [r15 + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, dword [rbp - 0x79]
lea rdx, str._s:_distance2_with_more_than__u_indexes_n
jmp 0x1800272a9
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800272b5
mov rax, qword [rbp - 0x59]
mov ecx, 2
mov rbx, qword [rax + 8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, r14d
lea rdx, str._s:_distance2_child_needs_content_of_length__d_n
jmp 0x1800272a9
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800272b5
mov rbx, qword [r14 + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rbx + 0x48]
lea rdx, str._s:_distance2_child_must_have_length_attribute_n
mov rcx, rax
call fcn.1800100d0
jmp 0x1800272b5
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800272b5
mov rbx, qword [r15 + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, qword [rbp - 0x39]
lea rdx, str._s:_distance2_with_unrecognized_child__s_n
mov r8, qword [rbx + 0x48]
mov rcx, rax
call fcn.1800100d0
jmp 0x1800272b5
cmp esi, r12d
je 0x18002718b
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800272b5
mov rbx, qword [r15 + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, r12d
lea rdx, str._s:_distance2_with_less_than__u_u64values_n
jmp 0x1800272a9
cmp eax, 2
jae 0x1800271c8
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x180027266
mov rbx, qword [r15 + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, dword [rbp - 0x79]
lea rdx, str._s:_ignoring_distances2_with_only__u_objects_n
mov r8, qword [rbx + 0x48]
mov rcx, rax
call fcn.1800100d0
jmp 0x180027266
cmp ebx, 3
je 0x18002720a
cmp ebx, 0xd
je 0x18002720a
mov edx, dword [rbp - 0x51]
test edx, edx
jne 0x18002723e
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x180027266
mov rbx, qword [r15 + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rbx + 0x48]
lea rdx, str._s:_ignoring__PU_or__NUMA_distances2_without_gp_indexing_n
mov rcx, rax
call fcn.1800100d0
jmp 0x180027266
mov ecx, dword [rbp - 0x4d]
test ecx, ecx
jne 0x18002723e
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x180027266
mov rbx, qword [r15 + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rbx + 0x48]
lea rdx, str._s:_ignoring_PU_or_NUMA_distances2_without_os_indexing_n
mov rcx, rax
call fcn.1800100d0
jmp 0x180027266
mov edx, dword [rbp - 0x49]
xor r9d, r9d
mov rcx, qword [rbp - 0x19]
mov r8d, eax
mov dword [rsp + 0x30], edx
mov edx, ebx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
call fcn.180020860
xor r14d, r14d
xor r13d, r13d
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [r15 + 8]
mov rcx, r15
call qword [rax + 0x28]
jmp 0x18002732c
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800272b5
mov rbx, qword [r15 + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, esi
lea rdx, str._s:_failed_to_allocate_distances_arrays_for__u_objects_n
mov r8, qword [rbx + 0x48]
mov rcx, rax
call fcn.1800100d0
mov rcx, qword [rbp - 0x71]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180027329
cmp dword [0x1800a2fac], 0
jne 0x1800272fe
lea rcx, str.HWLOC_XML_VERBOSE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1800272f4
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [0x1800a2fa8], eax
mov dword [0x1800a2fac], 1
cmp dword [0x1800a2fa8], 0
je 0x180027329
mov rbx, qword [r15 + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rbx + 0x48]
lea rdx, str._s:_distance2_missing_some_attributes_n
mov rcx, rax
call fcn.1800100d0
or eax, 0xffffffff
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.180076910
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret