Function at 0x180025b00
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x2f]
sub rsp, 0xd8
mov rax, qword [0x18009d5d8]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, qword [rbp + 0x7f]
mov rax, r8
mov qword [rbp - 0x51], rcx
mov rsi, r9
mov rcx, qword [rbp + 0x77]
mov rbx, rdx
mov qword [rbp - 0x21], rcx
xor ecx, ecx
mov dword [rbp - 0x79], ecx
mov dword [rbp - 0x29], ecx
mov dword [rbp - 0x31], ecx
mov dword [rbp - 0x2d], ecx
mov qword [rbp - 0x41], r9
mov qword [rbp - 0x71], rax
mov qword [rbp - 0x59], rdx
mov qword [rbp - 0x39], rdi
mov qword [r9 + 0x48], rax
mov rax, qword [rdi + 8]
lea r8, [rbp - 0x61]
lea rdx, [rbp - 0x49]
mov rcx, rdi
call qword [rax + 0x18]
test eax, eax
js 0x180025d2b
mov r9, qword [rbp - 0x49]
lea rdx, str.type
xor ecx, ecx
movzx eax, byte [r9 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x180025c5c
cmp rcx, 5
jne 0x180025b81
mov rcx, qword [rbp - 0x61]
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call sym.xmrstak_cuda_backend.dll_hwloc_type_sscanf
test eax, eax
jns 0x180025b5a
mov rcx, qword [rbp - 0x61]
lea rdx, str.Cache
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x180025bd3
mov dword [rsi], 0x13
mov dword [rbp - 0x31], 1
jmp 0x180025b5a
mov rcx, qword [rbp - 0x61]
lea rdx, str.System
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x180025bfa
cmp qword [rbp - 0x71], 0
jne 0x180025c87
mov dword [rsi], eax
jmp 0x180025b5a
mov rcx, qword [rbp - 0x61]
lea rdx, str.MemCache
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x180025cbb
mov dword [rsi], 0x14
mov dword [rbp - 0x79], 1
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x180025b5a
mov rbx, qword [rdi + 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:__s_object_not_supported__will_be_ignored_n
mov r8, qword [rbx + 0x48]
mov rcx, rax
call fcn.1800100d0
mov rbx, qword [rbp - 0x59]
jmp 0x180025b5a
cmp dword [rsi], 0xffffffff
je 0x180025cf3
mov rax, qword [rbp - 0x61]
mov r8, rsi
mov rcx, qword [rbp - 0x51]
mov rdx, rbx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.180024040
jmp 0x180025b5a
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800267c6
mov rbx, qword [rdi + 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:_obsolete_System_object_only_allowed_at_root_n
mov rcx, rax
call fcn.1800100d0
jmp 0x1800267c6
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800267c6
mov rbx, qword [rdi + 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:_unrecognized_object_type_string__s_n
mov r8, qword [rbx + 0x48]
mov rcx, rax
call fcn.1800100d0
jmp 0x1800267c6
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800267c6
mov rbx, qword [rdi + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, qword [rbp - 0x49]
lea rdx, str._s:_object_attribute__s_found_before_type_n
mov r8, qword [rbx + 0x48]
mov rcx, rax
call fcn.1800100d0
jmp 0x1800267c6
mov rax, qword [rdi + 8]
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x19]
mov qword [rbp - 0x69], 0
mov rcx, rdi
call qword [rax + 0x20]
test eax, eax
js 0x18002605d
mov rbx, qword [rbp - 0x69]
lea rdx, str.object
je 0x180025d77
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x180025dfd
cmp rcx, 7
jne 0x180025d60
mov r9, qword [rbp - 0x71]
test r9, r9
je 0x180026217
cmp dword [rsi], 0
jne 0x180025d8f
mov dword [rsi], 0xc
mov r8, qword [rbp - 0x59]
mov eax, dword [rsi]
cmp dword [r8 + 0x58], 2
jb 0x18002616e
cmp eax, 0xc
jg 0x1800260a4
cmp dword [r9], 0xc
jle 0x18002621b
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800267c6
mov rax, qword [rbp - 0x71]
mov ecx, dword [rax]
call sym.xmrstak_cuda_backend.dll_hwloc_obj_type_string
mov ecx, dword [rsi]
mov rdi, rax
call sym.xmrstak_cuda_backend.dll_hwloc_obj_type_string
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rdi
lea rdx, str.normal_object__s_cannot_be_child_of_non_normal_parent__s_n
mov rcx, rax
mov r8, rbx
call fcn.1800100d0
jmp 0x1800267c6
lea rdx, str.page_type
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x180025e4b
cmp dword [rsi], 0xd
jne 0x180025e27
mov rdx, qword [rsi + 0x28]
lea r8, [rbp - 0x19]
call fcn.180024f10
jmp 0x180025fe2
cmp qword [rbp - 0x71], 0
jne 0x180025ffa
mov rdx, qword [rbp - 0x51]
lea r8, [rbp - 0x19]
add rdx, 0x2e0
call fcn.180024f10
jmp 0x180025fe2
xor ecx, ecx
lea rdx, str.info
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x180025f8c
cmp rcx, 5
jne 0x180025e54
mov rax, qword [rbp - 0x11]
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x61]
xor edi, edi
lea rcx, [rbp - 0x19]
xor ebx, ebx
call qword [rax + 0x18]
test eax, eax
js 0x180025f7b
nop word [rax + rax]
mov rdx, qword [rbp - 0x61]
lea r8, str.name
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x180025eba
cmp rcx, 5
jne 0x180025ea0
mov rdi, qword [rbp - 0x49]
jmp 0x180025edf
xor eax, eax
lea r8, str.value
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r8 + rax - 1]
jne 0x18002605d
cmp rax, 6
jne 0x180025ec3
mov rbx, qword [rbp - 0x49]
mov rax, qword [rbp - 0x11]
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x19]
call qword [rax + 0x18]
test eax, eax
jns 0x180025e90
test rdi, rdi
je 0x180025f7b
mov rax, qword [rbp - 0x59]
cmp dword [rax + 0x58], 2
jae 0x180025f5d
xor ecx, ecx
lea rdx, str.Type
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x180025f27
cmp rcx, 5
jne 0x180025f12
jmp 0x180025f3a
lea rdx, str.CoProcType
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x180025f5d
test rbx, rbx
je 0x180025f7b
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x180025f4e
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [rsi + 8], rax
jmp 0x180025f7b
test rbx, rbx
je 0x180025f7b
lea rdx, [rsi + 0xe0]
mov r9, rbx
lea rcx, [rsi + 0xd8]
mov r8, rdi
call fcn.180010560
mov rax, qword [rbp - 0x11]
lea rcx, [rbp - 0x19]
call qword [rax + 0x28]
mov rdi, qword [rbp - 0x39]
jmp 0x180025fe2
mov rax, qword [rbp - 0x59]
cmp dword [rax + 0x58], 2
jae 0x180025fbb
lea rdx, str.distances
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x180025fbb
mov rcx, qword [rbp - 0x59]
lea r8, [rbp - 0x19]
mov rdx, rsi
call fcn.180025060
jmp 0x180025fe2
lea rdx, str.userdata
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x180026078
mov rcx, qword [rbp - 0x51]
lea r8, [rbp - 0x19]
mov rdx, rsi
call fcn.180025400
test eax, eax
js 0x18002605d
mov rax, qword [rdi + 8]
lea rcx, [rbp - 0x19]
call qword [rax + 0x30]
jmp 0x180025d2b
cmp dword [0x1800a2fac], 0
jne 0x18002602e
lea rcx, str.HWLOC_XML_VERBOSE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x180026024
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 0x18002605d
mov rbx, qword [rdi + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, qword [rbp - 0x69]
lea rdx, str._s:_invalid_non_NUMAnode_object_child__s_n
mov r8, qword [rbx + 0x48]
mov rcx, rax
call fcn.1800100d0
or eax, 0xffffffff
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.180076910
add rsp, 0xd8
pop rdi
pop rsi
pop rbx
pop rbp
ret
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x18002605d
mov rbx, qword [rdi + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, qword [rbp - 0x69]
lea rdx, str._s:_invalid_special_object_child__s_n
mov r8, qword [rbx + 0x48]
mov rcx, rax
jmp 0x180026058
cmp eax, 0xd
jne 0x180026107
mov ecx, dword [r9]
lea eax, [rcx - 0xe]
cmp eax, 2
jbe 0x1800260bd
cmp ecx, 0x11
jne 0x18002621b
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800267c6
mov rax, qword [rbp - 0x71]
mov ecx, dword [rax]
call sym.xmrstak_cuda_backend.dll_hwloc_obj_type_string
mov ecx, dword [rsi]
mov rdi, rax
call sym.xmrstak_cuda_backend.dll_hwloc_obj_type_string
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rdi
lea rdx, str.Memory_object__s_cannot_be_child_of_non_normal_or_memory_parent__s_n
mov rcx, rax
mov r8, rbx
call fcn.1800100d0
jmp 0x1800267c6
add eax, 0xfffffff2
cmp eax, 2
ja 0x18002621b
mov eax, dword [r9]
sub eax, 0xd
test eax, 0xfffffffb
jne 0x18002621b
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800267c6
mov rax, qword [rbp - 0x71]
mov ecx, dword [rax]
call sym.xmrstak_cuda_backend.dll_hwloc_obj_type_string
mov ecx, dword [rsi]
mov rdi, rax
call sym.xmrstak_cuda_backend.dll_hwloc_obj_type_string
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rdi
lea rdx, str.I_O_object__s_cannot_be_child_of_non_normal_or_I_O_parent__s_n
mov rcx, rax
mov r8, rbx
call fcn.1800100d0
jmp 0x1800267c6
cmp eax, 0xe
jl 0x1800261c2
add eax, 0xfffffff2
cmp eax, 2
ja 0x18002621b
cmp dword [r9], 0x11
jne 0x18002621b
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800267c6
mov ecx, dword [rsi]
call sym.xmrstak_cuda_backend.dll_hwloc_obj_type_string
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.I_O_object__s_cannot_be_child_of_Misc_parent_n
mov rcx, rax
call fcn.1800100d0
jmp 0x1800267c6
mov eax, dword [r9]
add eax, 0xfffffff2
cmp eax, 3
ja 0x18002621b
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800267c6
mov rax, qword [rbp - 0x71]
mov ecx, dword [rax]
call sym.xmrstak_cuda_backend.dll_hwloc_obj_type_string
mov ecx, dword [rsi]
mov rdi, rax
call sym.xmrstak_cuda_backend.dll_hwloc_obj_type_string
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rdi
lea rdx, str.v1.x_normal_v1.x_object__s_cannot_be_child_of_special_parent__s_n
mov rcx, rax
mov r8, rbx
call fcn.1800100d0
jmp 0x1800267c6
mov r8, qword [rbp - 0x59]
cmp dword [r8 + 0x58], 2
jae 0x18002659a
test r9, r9
je 0x180026239
cmp dword [r9], 0xd
jne 0x180026239
mov r9, qword [r9 + 0x48]
mov qword [rbp - 0x71], r9
cmp dword [rsi], 0xd
jne 0x1800263ed
test r9, r9
jne 0x1800262ce
mov rcx, qword [rbp - 0x51]
or r8d, 0xffffffff
xor edx, edx
call sym.xmrstak_cuda_backend.dll_hwloc_alloc_setup_object
mov rcx, qword [rsi + 0xb8]
mov rbx, rax
mov qword [rbp - 0x71], rax
call sym.xmrstak_cuda_backend.dll_hwloc_bitmap_dup
mov qword [rbx + 0xb8], rax
mov rcx, qword [rsi + 0xb8]
call sym.xmrstak_cuda_backend.dll_hwloc_bitmap_dup
mov qword [rbx + 0xc0], rax
mov rcx, qword [rsi + 0xc8]
call sym.xmrstak_cuda_backend.dll_hwloc_bitmap_dup
mov qword [rbx + 0xc8], rax
mov rcx, qword [rsi + 0xd0]
call sym.xmrstak_cuda_backend.dll_hwloc_bitmap_dup
mov qword [rbx + 0xd0], rax
mov r9, rbx
mov rax, qword [rbp - 0x51]
mov dword [rbp - 0x2d], 1
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov qword [rcx], rbx
mov rbx, qword [rbp - 0x69]
jmp 0x1800263ed
mov rdi, qword [rsi + 0xc0]
mov rdx, qword [r9 + 0xc0]
mov rcx, rdi
call sym.xmrstak_cuda_backend.dll_hwloc_bitmap_isequal
mov r9, qword [rbp - 0x71]
test eax, eax
jne 0x1800263e9
mov rax, qword [r9 + 0x90]
test rax, rax
je 0x180026348
cmp qword [rax + 8], 0
jne 0x180026348
cmp qword [rax + 0x58], 0
jne 0x180026348
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x180026348
xor ecx, ecx
lea r8, str.MCDRAM
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x180026348
cmp rcx, 7
jne 0x180026320
mov rcx, rdi
call sym.xmrstak_cuda_backend.dll_hwloc_bitmap_iszero
mov r9, qword [rbp - 0x71]
test eax, eax
jne 0x1800263e9
mov rdi, qword [rbp - 0x51]
cmp dword [rdi + 0x9c], 1
je 0x1800263e9
or r8d, 0xffffffff
mov edx, 0xc
mov rcx, rdi
call sym.xmrstak_cuda_backend.dll_hwloc_alloc_setup_object
mov rbx, rax
mov qword [rax + 0xf0], 0
mov rcx, qword [rsi + 0xb8]
call sym.xmrstak_cuda_backend.dll_hwloc_bitmap_dup
mov qword [rbx + 0xb8], rax
mov rcx, qword [rsi + 0xb8]
call sym.xmrstak_cuda_backend.dll_hwloc_bitmap_dup
mov qword [rbx + 0xc0], rax
mov rcx, qword [rsi + 0xc8]
call sym.xmrstak_cuda_backend.dll_hwloc_bitmap_dup
mov qword [rbx + 0xc8], rax
mov rcx, qword [rsi + 0xd0]
call sym.xmrstak_cuda_backend.dll_hwloc_bitmap_dup
mov rdx, qword [rbp - 0x71]
mov r8, rbx
mov qword [rbx + 0xd0], rax
mov rcx, rdi
mov rax, qword [rbx + 0x28]
mov dword [rax + 4], 0x3e9
call sym.xmrstak_cuda_backend.dll_hwloc_insert_object_by_parent
mov r9, rbx
mov qword [rbp - 0x71], rbx
mov rbx, qword [rbp - 0x69]
mov rdi, qword [rbp - 0x39]
cmp dword [rbp - 0x31], 0
je 0x18002641c
mov rax, qword [rsi + 0x28]
mov ecx, dword [rax + 8]
cmp dword [rax + 0x14], 2
lea eax, [rcx - 1]
jne 0x18002640d
cmp eax, 2
ja 0x180026417
lea eax, [rcx + 8]
jmp 0x18002641a
cmp eax, 4
ja 0x180026417
lea eax, [rcx + 3]
jmp 0x18002641a
or eax, 0xffffffff
mov dword [rsi], eax
cmp dword [rsi], 0x11
jne 0x180026431
cmp qword [rsi + 0xb8], 0
je 0x180026431
mov dword [rsi], 0xc
mov r8, qword [rsi + 0xb8]
xor ecx, ecx
cmp qword [rsi + 0xc0], rcx
sete cl
xor eax, eax
test r8, r8
sete al
cmp eax, ecx
je 0x1800264b0
cmp dword [rsi], 0xc
jne 0x180026468
mov r8, qword [rbp - 0x59]
mov r11d, 1
mov dword [rbp - 0x79], r11d
jmp 0x18002659e
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800267c6
mov ecx, dword [rsi]
call sym.xmrstak_cuda_backend.dll_hwloc_obj_type_string
mov rdi, qword [rdi + 8]
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov edx, dword [rsi + 0x10]
mov r9, rbx
mov r8, qword [rdi + 0x48]
mov rcx, rax
mov dword [rsp + 0x20], edx
lea rdx, str._s:_invalid_object__s_P_u_with_some_missing_cpusets_n
call fcn.1800100d0
jmp 0x1800267c6
mov rdx, qword [rsi + 0xc8]
xor ecx, ecx
cmp qword [rsi + 0xd0], rcx
sete cl
xor eax, eax
test rdx, rdx
sete al
cmp eax, ecx
je 0x18002652f
cmp dword [rsi], 0xc
jne 0x1800264e7
mov r8, qword [rbp - 0x59]
mov r11d, 1
mov dword [rbp - 0x79], r11d
jmp 0x18002659e
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800267c6
mov ecx, dword [rsi]
call sym.xmrstak_cuda_backend.dll_hwloc_obj_type_string
mov rdi, qword [rdi + 8]
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov edx, dword [rsi + 0x10]
mov r9, rbx
mov r8, qword [rdi + 0x48]
mov rcx, rax
mov dword [rsp + 0x20], edx
lea rdx, str._s:_invalid_object__s_P_u_with_some_missing_nodesets_n
call fcn.1800100d0
jmp 0x1800267c6
test rdx, rdx
je 0x180026596
test r8, r8
jne 0x180026596
cmp dword [rsi], 0xc
jne 0x18002654e
mov r8, qword [rbp - 0x59]
mov r11d, 1
mov dword [rbp - 0x79], r11d
jmp 0x18002659e
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800267c6
mov ecx, dword [rsi]
call sym.xmrstak_cuda_backend.dll_hwloc_obj_type_string
mov rdi, qword [rdi + 8]
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov edx, dword [rsi + 0x10]
mov r9, rbx
mov r8, qword [rdi + 0x48]
mov rcx, rax
mov dword [rsp + 0x20], edx
lea rdx, str._s:_invalid_object__s_P_u_with_either_cpuset_or_nodeset_missing_n
call fcn.1800100d0
jmp 0x1800267c6
mov r8, qword [rbp - 0x59]
mov r11d, dword [rbp - 0x79]
mov ecx, dword [rsi]
lea eax, [rcx - 4]
cmp eax, 7
ja 0x180026632
mov rax, qword [rsi + 0x28]
mov edx, dword [rax + 8]
cmp dword [rax + 0x14], 2
lea eax, [rdx - 1]
jne 0x1800265c6
cmp eax, 2
ja 0x1800265d0
lea eax, [rdx + 8]
jmp 0x1800265d3
cmp eax, 4
ja 0x1800265d0
lea eax, [rdx + 3]
jmp 0x1800265d3
or eax, 0xffffffff
cmp ecx, eax
je 0x180026632
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800267c6
mov rax, qword [rbp - 0x41]
mov rsi, qword [rsi + 0x28]
mov ecx, dword [rax]
call sym.xmrstak_cuda_backend.dll_hwloc_obj_type_string
mov rdi, qword [rdi + 8]
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov edx, dword [rsi + 0x14]
mov r9, rbx
mov r8, qword [rdi + 0x48]
mov rcx, rax
mov dword [rsp + 0x28], edx
mov edx, dword [rsi + 8]
mov dword [rsp + 0x20], edx
lea rdx, str._s:_invalid_cache_type__s_with_attribute_depth__u_and_type__d_n
call fcn.1800100d0
mov rsi, qword [rbp - 0x41]
jmp 0x1800267c6
cmp qword [rsi + 0xb8], 0
lea eax, [rcx - 0xe]
jne 0x180026690
cmp eax, 3
jbe 0x18002672d
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800267c6
mov ecx, dword [rsi]
call sym.xmrstak_cuda_backend.dll_hwloc_obj_type_string
mov rdi, qword [rdi + 8]
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov edx, dword [rsi + 0x10]
mov r9, rbx
mov r8, qword [rdi + 0x48]
mov rcx, rax
mov dword [rsp + 0x20], edx
lea rdx, str._s:_invalid_normal_object__s_P_u_without_cpuset_n
call fcn.1800100d0
jmp 0x1800267c6
cmp eax, 3
ja 0x1800266d6
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800267c6
mov ecx, dword [rsi]
call sym.xmrstak_cuda_backend.dll_hwloc_obj_type_string
mov rdi, qword [rdi + 8]
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rdi + 0x48]
lea rdx, str._s:_invalid_special_object__s_with_cpuset_n
mov rcx, rax
mov r9, rbx
call fcn.1800100d0
jmp 0x1800267c6
test r9, r9
je 0x18002672d
cmp qword [r9 + 0xb8], 0
jne 0x18002672d
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800267c6
mov ecx, dword [rsi]
call sym.xmrstak_cuda_backend.dll_hwloc_obj_type_string
mov rdi, qword [rdi + 8]
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov edx, dword [rsi + 0x10]
mov r9, rbx
mov r8, qword [rdi + 0x48]
mov rcx, rax
mov dword [rsp + 0x20], edx
lea rdx, str._s:_invalid_object__s_P_u_with_cpuset_while_parent_has_none_n
call fcn.1800100d0
jmp 0x1800267c6
mov rax, qword [rsi + 0xc8]
test rax, rax
je 0x180026789
test r9, r9
je 0x180026789
cmp qword [r9 + 0xc8], 0
jne 0x180026789
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800267c6
mov ecx, dword [rsi]
call sym.xmrstak_cuda_backend.dll_hwloc_obj_type_string
mov rdi, qword [rdi + 8]
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov edx, dword [rsi + 0x10]
mov r9, rbx
mov r8, qword [rdi + 0x48]
mov rcx, rax
mov dword [rsp + 0x20], edx
lea rdx, str._s:_invalid_object__s_P_u_with_nodeset_while_parent_has_none_n
call fcn.1800100d0
jmp 0x1800267c6
cmp ecx, 0xd
jne 0x180026816
test rax, rax
jne 0x1800267e7
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x1800267c6
mov rbx, qword [rdi + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, dword [rsi + 0x10]
lea rdx, str._s:_invalid_NUMA_node_object_P_u_without_nodeset_n
mov r8, qword [rbx + 0x48]
mov rcx, rax
call fcn.1800100d0
cmp qword [rbp - 0x71], 0
je 0x18002605d
mov rcx, rsi
call fcn.180010950
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18002605d
mov rax, qword [r8 + 0x70]
inc dword [r8 + 0x60]
mov qword [rsi + 0x40], rax
mov qword [rsi + 0x38], 0
mov rax, qword [r8 + 0x70]
test rax, rax
je 0x18002680e
mov qword [rax + 0x38], rsi
mov rbx, qword [rbp - 0x69]
jmp 0x180026812
mov qword [r8 + 0x68], rsi
mov qword [r8 + 0x70], rsi
movsxd rcx, dword [rsi]
cmp ecx, 0x12
jb 0x180026838
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r9, qword [rbp - 0x71]
mov r10, qword [rbp - 0x51]
mov dword [rax], 0x16
mov rbx, qword [rbp - 0x69]
jmp 0x18002688c
mov r10, qword [rbp - 0x51]
mov edx, dword [r10 + rcx*4 + 0x6c]
cmp edx, 1
je 0x18002688c
cmp edx, 3
jne 0x18002689b
cmp ecx, 0xf
jne 0x18002687e
mov rax, qword [rsi + 0x28]
movzx edx, word [rax + 6]
mov ecx, edx
shr ecx, 8
lea eax, [rcx - 1]
cmp eax, 2
jbe 0x18002689b
cmp ecx, 0xb
je 0x18002689b
lea eax, [rdx - 0xc04]
test eax, 0xfffffffd
je 0x18002689b
cmp ecx, 0x12
jne 0x18002688c
jmp 0x18002689b
cmp ecx, 0x10
jne 0x18002689b
mov rax, qword [rsi + 0x28]
cmp dword [rax], 4
jne 0x18002689b
test r9, r9
je 0x1800268b7
mov r11d, 1
mov dword [rbp - 0x79], r11d
test r9, r9
je 0x1800268b7
test r11d, r11d
jne 0x1800268b7
mov r8, rsi
mov rdx, r9
mov rcx, r10
call sym.xmrstak_cuda_backend.dll_hwloc_insert_object_by_parent
mov rbx, qword [rbp - 0x69]
test rbx, rbx
je 0x18002696d
xor ecx, ecx
lea rdx, str.object
nop dword [rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1800269f1
cmp rcx, 7
jne 0x1800268d0
lea edx, [rcx + 0xb]
or r8d, 0xffffffff
mov rcx, qword [rbp - 0x51]
call sym.xmrstak_cuda_backend.dll_hwloc_alloc_setup_object
cmp dword [rbp - 0x79], 0
lea rcx, [rbp - 0x19]
mov rdx, qword [rbp - 0x59]
mov r8, rsi
cmovne r8, qword [rbp - 0x71]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp - 0x51]
mov qword [rax + 0x48], r8
call fcn.180025b00
test eax, eax
js 0x18002605d
mov rax, qword [rdi + 8]
lea rcx, [rbp - 0x19]
call qword [rax + 0x30]
mov rax, qword [rdi + 8]
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x19]
mov qword [rbp - 0x69], 0
mov rcx, rdi
call qword [rax + 0x20]
test eax, eax
js 0x18002605d
je 0x18002696d
mov rbx, qword [rbp - 0x69]
test rbx, rbx
jne 0x1800268c0
cmp dword [rbp - 0x2d], 0
je 0x1800269c0
xor ebx, ebx
cmp dword [rsi + 0xe0], ebx
jbe 0x1800269c0
mov rax, qword [rbp - 0x71]
lea rdi, [rax + 0xe0]
add rax, 0xd8
mov qword [rbp - 0x41], rax
mov r8d, ebx
mov rdx, rdi
shl r8, 4
mov rcx, rax
add r8, qword [rsi + 0xd8]
mov r9, qword [r8 + 8]
mov r8, qword [r8]
call fcn.180010560
mov rax, qword [rbp - 0x41]
inc ebx
cmp ebx, dword [rsi + 0xe0]
jb 0x180026992
cmp dword [rbp - 0x79], 0
je 0x180026a24
mov rcx, rsi
call fcn.180010950
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x39]
mov dword [rax], 1
mov rax, qword [rcx + 8]
call qword [rax + 0x28]
jmp 0x180026060
call sym.xmrstak_cuda_backend.dll_hwloc__xml_verbose
test eax, eax
je 0x18002605d
mov rbx, qword [rdi + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, qword [rbp - 0x69]
lea rdx, str._s:_invalid_special_object_child__s_while_looking_for_objects_n
mov r8, qword [rbx + 0x48]
mov rcx, rax
jmp 0x180026058
mov rdi, qword [rsi + 0x78]
add rsi, 0x78
mov qword [rbp - 0x49], rsi
test rdi, rdi
je 0x180026b57
mov rbx, qword [rdi + 0x58]
test rbx, rbx
je 0x180026b57
nop word [rax + rax]
mov rdx, qword [rdi + 0xc0]
mov rcx, qword [rbx + 0xc0]
call sym.xmrstak_cuda_backend.dll_hwloc_bitmap_compare_first
test eax, eax
js 0x180026a83
mov rdi, rbx
mov rbx, qword [rbx + 0x58]
test rbx, rbx
jne 0x180026a50
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx + 8]
call qword [rax + 0x28]
jmp 0x180026060
cmp dword [rbp - 0x29], 0
jne 0x180026ab4
cmp dword [0x1800a2fc0], 0
jne 0x180026ab4
call sym.xmrstak_cuda_backend.dll_hwloc_hide_errors
test eax, eax
jne 0x180026ab4
mov rcx, qword [rbp - 0x51]
mov r8, rdi
mov rdx, rbx
call fcn.180025740
mov dword [0x1800a2fc0], 1
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x180026b57
nop word [rax + rax]
mov rax, rcx
mov qword [rbp - 0x41], rcx
add rcx, 0x58
mov rbx, rsi
cmp qword [rsi], 0
mov qword [rbp - 0x61], rcx
mov rcx, qword [rcx]
mov qword [rbp - 0x21], rcx
je 0x180026b3d
mov rsi, qword [rax + 0xc0]
mov rdi, qword [rbx]
test rsi, rsi
je 0x180026b0f
mov rdx, qword [rdi + 0xc0]
test rdx, rdx
je 0x180026b0f
mov rcx, rsi
jmp 0x180026b1d
mov rdx, qword [rdi + 0xb8]
mov rcx, qword [rax + 0xb8]
call sym.xmrstak_cuda_backend.dll_hwloc_bitmap_compare_first
test eax, eax
jle 0x180026b35
cmp qword [rdi + 0x58], 0
lea rbx, [rdi + 0x58]
mov rax, qword [rbp - 0x41]
jne 0x180026af6
mov rcx, qword [rbp - 0x21]
mov rsi, qword [rbp - 0x49]
mov rax, qword [rbx]
mov rdx, qword [rbp - 0x61]
mov qword [rdx], rax
mov rax, qword [rbp - 0x41]
mov qword [rbx], rax
test rcx, rcx
jne 0x180026ad0
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx + 8]
call qword [rax + 0x28]
jmp 0x180026060