Function at 0x1401063b0
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, 0xc0
mov rax, qword [0x140159cc0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, rcx
mov qword [rbp - 0x49], rdx
xor r15d, r15d
mov qword [rbp - 0x59], rdx
lea rcx, str.HWLOC_SYNTHETIC_VERBOSE
mov esi, r15d
mov r13, rdx
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov dword [rbp - 0x51], 1
test rax, rax
je 0x140106412
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov esi, eax
mov dword [rdi + 8], r15d
lea r8, [rdi + 0x38]
mov qword [rdi + 0x20], r15
lea r9, [rdi + 0x58]
mov dword [r8], r15d
mov qword [r9], r15
mov dword [rdi + 0x34], 1
mov qword [rdi + 0x68], r15
mov qword [rdi + 0x48], r15
mov qword [rdi + 0x50], r15
mov qword [rdi + 0x78], r15
cmp byte [r13], 0x28
jne 0x140106467
lea rcx, [r13 + 1]
mov dword [rsp + 0x20], esi
lea rdx, [rbp - 0x59]
call fcn.140107080
test eax, eax
js 0x140106d4e
mov r13, qword [rbp - 0x59]
mov qword [rbp - 0x49], r13
mov qword [rdi + 0x10], r15
mov r12d, 1
mov qword [rdi + 0x20], r15
mov rbx, r13
mov dword [rbp - 0x65], r12d
cmp byte [r13], r15b
je 0x1401068e2
lea ecx, [r12 + 1]
mov dword [rbp - 0x59], ecx
lea eax, [rcx - 2]
or edx, 0xffffffff
mov r13d, eax
lea r15, [rax*4]
add r15, r13
mov dword [rbp - 0x69], edx
shl r15, 4
and dword [r15 + rdi + 0x30], 0
mov al, byte [rbx]
cmp al, 0x20
je 0x1401064b9
cmp al, 0xa
jne 0x1401064be
inc rbx
jmp 0x1401064af
test al, al
je 0x1401068db
cmp al, 0x5b
jne 0x1401065c4
inc rbx
lea r8, [rbp - 0x39]
mov rcx, rbx
lea rdx, [rbp - 0x69]
mov r9d, 0x28
call fcn.1400fe430
test eax, eax
js 0x1401067f4
cmp dword [rbp - 0x69], 0xd
jne 0x1401067d5
lea rax, [r13*4]
add rax, r13
mov r13d, 0x28
add rax, rax
mov ecx, r13d
mov eax, dword [rdi + rax*8 + 0x34]
add dword [rdi + 8], eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
xor eax, eax
test r14, r14
je 0x140106556
mov ecx, dword [rbp - 0x69]
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x20], rax
lea rax, [rdi + 0x78]
add rax, r15
mov dword [r14], ecx
xor r15d, r15d
jmp 0x140106549
lea rax, [rcx + 0x20]
mov rcx, qword [rax]
test rcx, rcx
jne 0x140106545
mov qword [rax], r14
jmp 0x140106559
xor r15d, r15d
mov edx, 0x5d
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov qword [rbp - 0x61], rax
test rax, rax
je 0x1401067b6
mov edx, r13d
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
test rax, rax
je 0x1401065b1
mov rdx, qword [rbp - 0x61]
cmp rax, rdx
jae 0x1401065b5
test r14, r14
je 0x1401065b5
lea rcx, [rax + 1]
mov dword [rsp + 0x20], esi
lea r9, [rdi + 0x10]
mov r8, r14
lea rdx, [rbp - 0x41]
call fcn.140107080
test eax, eax
js 0x1401068d1
mov rdx, qword [rbp - 0x61]
mov ecx, dword [rbp - 0x59]
inc rdx
mov qword [rbp - 0x61], rdx
jmp 0x1401067a5
xor r15d, r15d
mov r14d, r12d
lea rcx, [rdi + 0x58]
lea rax, [r14 + r14*4]
shl rax, 4
add rcx, rax
mov qword [rbp - 0x41], rcx
mov qword [rax + rdi + 0x68], r15
mov qword [rax + rdi + 0x78], r15
mov qword [rcx], r15
mov al, byte [rbx]
sub al, 0x30
cmp al, 9
jbe 0x140106684
lea r9d, [r15 + 0x28]
mov rcx, rbx
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x69]
call fcn.1400fe430
test eax, eax
jns 0x14010664c
lea r8d, [r15 + 4]
mov rcx, rbx
lea rdx, str.Tile
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140106642
lea r8d, [r15 + 6]
mov rcx, rbx
lea rdx, str.Module
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140106813
mov eax, listen
mov dword [rbp - 0x69], eax
jmp 0x14010664f
mov eax, dword [rbp - 0x69]
test eax, eax
je 0x14010684e
add eax, 0xfffffff2
cmp eax, 3
jbe 0x14010684e
mov edx, 0x3a
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov qword [rbp - 0x61], rax
test rax, rax
je 0x140106832
mov edx, dword [rbp - 0x69]
lea rbx, [rax + 1]
lea rcx, [r14 + r14*4]
add rcx, rcx
lea r8, [r14 + r14*4]
add r8, r8
lea r12, [r14 + r14*4]
add r12, r12
lea eax, [rdx - 4]
or dword [rdi + rcx*8 + 0x3c], 0xffffffff
or dword [rdi + r8*8 + 0x40], 0xffffffff
mov dword [rdi + r12*8 + 0x38], edx
cmp eax, 7
ja 0x1401066c2
mov eax, dword [rbp - 0x31]
mov dword [rdi + rcx*8 + 0x3c], eax
mov eax, dword [rbp - 0x25]
mov dword [rdi + r8*8 + 0x40], eax
jmp 0x1401066ce
cmp edx, 0xc
jne 0x1401066ce
mov eax, dword [rbp - 0x39]
mov dword [rdi + rcx*8 + 0x3c], eax
xor r8d, r8d
lea rdx, [rbp - 0x61]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
mov rdx, qword [rbp - 0x61]
mov r15d, eax
cmp rdx, rbx
je 0x1401068a4
test eax, eax
je 0x14010688c
mov eax, dword [rbp - 0x51]
lea rcx, [r14 + r14*4]
imul eax, r15d
add rcx, rcx
mov dword [rdi + rcx*8 + 0x34], eax
lea rcx, [r14 + r14*4]
mov dword [rbp - 0x51], eax
add rcx, rcx
lea rax, [r14 + r14*4]
add rax, rax
and qword [rdi + rcx*8 + 0x58], 0
and qword [rdi + rax*8 + 0x68], 0
lea rax, [r14 + r14*4]
add rax, rax
and qword [rdi + rax*8 + 0x48], 0
lea rax, [r14 + 1]
lea rax, [rax + rax*4]
add rax, rax
and qword [rdi + rax*8], 0
cmp byte [rdx], 0x28
jne 0x140106770
mov r9, qword [rbp - 0x41]
lea rcx, [rdx + 1]
lea r8, [rdi + 0x38]
mov dword [rsp + 0x20], esi
lea r8, [r8 + r12*8]
lea rdx, [rbp - 0x61]
call fcn.140107080
test eax, eax
js 0x1401068d1
mov rdx, qword [rbp - 0x61]
mov ecx, dword [rbp - 0x59]
cmp ecx, 0x80
jae 0x140106866
mov r12d, dword [rbp - 0x65]
lea rax, [r13*4]
add rax, r13
inc r12d
add rax, rax
mov dword [rbp - 0x65], r12d
inc ecx
mov dword [rbp - 0x59], ecx
mov dword [rdi + rax*8 + 0x30], r15d
xor r15d, r15d
mov rbx, rdx
cmp byte [rdx], r15b
jne 0x14010648e
jmp 0x1401068de
test esi, esi
je 0x1401068c5
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Synthetic_string_doesnt_have_a_closing____after_attached_object_type_at__s_n
jmp 0x1401068ba
test esi, esi
je 0x1401068c5
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Synthetic_string_with_disallowed_attached_object_type_at__s_n
jmp 0x1401068ba
test esi, esi
je 0x1401068c5
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Synthetic_string_with_unknown_attached_object_type_at__s_n
jmp 0x1401068ba
test esi, esi
je 0x1401068c5
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Synthetic_string_with_unknown_object_type_at__s_n
jmp 0x1401068ba
test esi, esi
je 0x1401068c5
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Synthetic_string_doesnt_have_a__:_after_object_type_at__s_n
jmp 0x1401068ba
test esi, esi
je 0x1401068c5
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Synthetic_string_with_disallowed_object_type_at__s_n
jmp 0x1401068ba
test esi, esi
je 0x1401068c5
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x80
lea rdx, str.Too_many_synthetic_levels__max__d_n
mov rcx, rax
call fcn.14000f480
jmp 0x1401068c5
test esi, esi
je 0x1401068c5
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Synthetic_string_with_disallowed_0_number_of_objects_at__s_n
jmp 0x1401068ba
test esi, esi
je 0x1401068c5
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Synthetic_string_doesnt_have_a_number_of_objects_at__s_n
mov r8, rbx
mov rcx, rax
call fcn.14000f480
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WS2_32.dll_shutdown
mov rcx, rdi
call fcn.140106ed4
jmp 0x14010692b
xor r15d, r15d
mov r13, qword [rbp - 0x49]
lea r14d, [r12 - 1]
lea rbx, [r14 + r14*4]
shl rbx, 4
add rbx, 0x38
add rbx, rdi
mov eax, dword [rbx]
inc eax
test eax, 0xfffffffb
je 0x140106933
test esi, esi
je 0x14010691f
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Synthetic_string_cannot_use_non_PU_type_for_last_level_n
mov rcx, rax
call fcn.14000f480
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WS2_32.dll_shutdown
or eax, 0xffffffff
jmp 0x140106d4e
xor edx, edx
mov dword [rbx], 3
lea rcx, [rbp - 0x39]
lea r8d, [rdx + 0x50]
call sub.VCRUNTIME140.dll_memset
mov ecx, r14d
test r14d, r14d
je 0x140106965
cmp dword [rbx], 0xffffffff
je 0x14010695c
movsxd rax, dword [rbx]
inc dword [rbp + rax*4 - 0x39]
sub rbx, 0x50
add ecx, 0xffffffff
jne 0x140106950
mov eax, dword [rbp - 0x2d]
test eax, eax
jne 0x140106982
test esi, esi
je 0x14010691f
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Synthetic_string_missing_ending_number_of_PUs_n
jmp 0x140106917
mov edx, 1
cmp eax, edx
jle 0x1401069a4
test esi, esi
je 0x14010691f
lea ecx, [rdx + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Synthetic_string_cannot_have_several_PU_levels_n
jmp 0x140106917
cmp dword [rbp - 0x35], edx
jle 0x1401069c8
test esi, esi
je 0x14010691f
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Synthetic_string_cannot_have_several_package_levels_n
jmp 0x140106917
cmp dword [rbp + 0x13], edx
jle 0x1401069ec
test esi, esi
je 0x14010691f
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Synthetic_string_cannot_have_several_die_levels_n
jmp 0x140106917
mov r11d, dword [rbp - 5]
cmp r11d, edx
jle 0x140106a14
test esi, esi
je 0x14010691f
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Synthetic_string_cannot_have_several_NUMA_node_levels_n
jmp 0x140106917
test r11d, r11d
je 0x140106a3e
cmp dword [rdi + 8], r15d
je 0x140106a3e
test esi, esi
je 0x14010691f
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Synthetic_string_cannot_have_NUMA_nodes_both_as_a_level_and_attached_n
jmp 0x140106917
cmp dword [rbp - 0x31], edx
jle 0x140106a62
test esi, esi
je 0x14010691f
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Synthetic_string_cannot_have_several_core_levels_n
jmp 0x140106917
mov ecx, r15d
mov r8d, edx
cmp r14d, edx
jbe 0x140106c41
lea rdx, [rdi + 0x88]
cmp dword [rdx], 0xffffffff
lea eax, [rcx + 1]
lea rdx, [rdx + 0x50]
cmovne eax, ecx
inc r8d
mov ecx, eax
cmp r8d, r14d
jb 0x140106a78
test eax, eax
je 0x140106c41
lea edx, [r12 - 2]
cmp eax, edx
je 0x140106abf
test esi, esi
je 0x14010691f
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Synthetic_string_cannot_mix_unspecified_and_specified_types_for_levels_n
jmp 0x140106917
cmp edx, 1
jb 0x140106ad0
mov r10d, 1
cmp dword [rdi + 8], r15d
je 0x140106ad3
mov r10d, r15d
sub edx, r10d
mov ebx, r15d
cmp edx, 1
mov r12d, edx
setae bl
xor eax, eax
sub r12d, ebx
cmp r12d, 1
mov r15d, r12d
setae al
sub r15d, eax
mov eax, 4
cmp r15d, eax
mov r9d, r15d
mov r8d, r15d
cmova r9d, eax
sub r8d, r9d
je 0x140106b29
add dword [rbp - 9], r8d
lea rax, [rdi + 0x88]
mov ecx, r8d
mov dword [rax], listen
lea rax, [rax + 0x50]
sub rcx, 1
jne 0x140106b19
cmp edx, 1
mov edx, 1
jb 0x140106b45
lea eax, [r8 + 1]
mov dword [rbp - 0x35], edx
lea rax, [rax + rax*4]
add rax, rax
mov dword [rdi + rax*8 + 0x38], edx
test r10d, r10d
je 0x140106b65
lea eax, [r8 + 1]
mov dword [rbp - 5], edx
add eax, ebx
mov r11d, edx
lea rax, [rax + rax*4]
add rax, rax
mov dword [rdi + rax*8 + 0x38], reloc.WS2_32.dll_listen
test r9d, r9d
je 0x140106c19
xor edx, edx
lea ecx, [r8 + 1]
add ecx, ebx
add ecx, r10d
cmp r9d, 3
setae dl
add edx, ecx
lea r8d, [rdx + 1]
lea r14d, [r8 + 1]
cmp r9d, 3
jb 0x140106bb3
lea rcx, [rcx + rcx*4]
mov dword [rbp - 0x21], 1
add rcx, rcx
and dword [rdi + rcx*8 + 0x40], 0
mov dword [rdi + rcx*8 + 0x38], 6
mov dword [rdi + rcx*8 + 0x3c], 3
lea rcx, [rdx + rdx*4]
mov edx, 1
add rcx, rcx
mov dword [rbp - 0x25], edx
lea eax, [rdx + 3]
and dword [rdi + rcx*8 + 0x40], 0
mov dword [rdi + rcx*8 + 0x38], 5
mov dword [rdi + rcx*8 + 0x3c], 2
cmp r9d, 2
jb 0x140106bf6
lea rcx, [r8 + r8*4]
mov dword [rbp - 0x29], edx
add rcx, rcx
mov dword [rdi + rcx*8 + 0x38], eax
mov dword [rdi + rcx*8 + 0x3c], edx
mov dword [rdi + rcx*8 + 0x40], edx
cmp r9d, eax
jb 0x140106c19
lea rcx, [r14 + r14*4]
mov dword [rbp - 0x15], edx
add rcx, rcx
mov dword [rdi + rcx*8 + 0x38], 9
mov dword [rdi + rcx*8 + 0x3c], edx
mov dword [rdi + rcx*8 + 0x40], 2
cmp r12d, edx
mov r12d, dword [rbp - 0x65]
jb 0x140106c3e
lea ecx, [rbx + r10]
mov dword [rbp - 0x31], edx
inc r15d
add ecx, r15d
lea rcx, [rcx + rcx*4]
add rcx, rcx
mov dword [rdi + rcx*8 + 0x38], 2
xor r15d, r15d
test r11d, r11d
jne 0x140106ccc
cmp dword [rdi + 8], r15d
jne 0x140106ccc
test esi, esi
je 0x140106c6d
lea ecx, [r11 + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Inserting_a_NUMA_level_with_a_single_object_at_depth_1_n
call fcn.14000f480
mov eax, r12d
lea rbx, [rdi + 0x80]
lea rcx, [rdi + 0xd0]
mov rdx, rbx
lea r8, [rax + rax*4]
shl r8, 4
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [rdi + 0x34]
inc r12d
mov dword [rdi + 0x84], eax
mov eax, dword [rdi + 0x30]
mov dword [rbx], eax
mov dword [rdi + 0x30], 1
mov dword [rdi + 0x88], reloc.WS2_32.dll_listen
mov qword [rdi + 0xa8], r15
mov qword [rdi + 0xb8], r15
mov qword [rdi + 0x98], r15
mov qword [rdi + 0xa0], r15
test r12d, r12d
je 0x140106d1c
lea rbx, [rdi + 0x58]
mov r14d, r12d
lea rcx, [rbx - 0x20]
lea rdx, [rbp - 0x39]
call fcn.140107d08
mov r9, qword [rbx + 0x20]
jmp 0x140106cfb
lea rdx, [rbp - 0x39]
mov rcx, r9
call fcn.140107d08
mov r9, qword [r9 + 0x20]
test r9, r9
jne 0x140106ceb
mov r8d, dword [rbx - 0x24]
mov r9d, esi
mov rdx, rbx
mov rcx, rdi
call fcn.140107594
add rbx, 0x50
sub r14, 1
jne 0x140106cd8
mov r8d, dword [rdi + 8]
lea rdx, [rdi + 0x10]
mov r9d, esi
mov rcx, rdi
call fcn.140107594
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [rdi], rax
lea eax, [r12 - 1]
lea rax, [rax + rax*4]
add rax, rax
mov dword [rdi + rax*8 + 0x30], r15d
xor eax, eax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14011ae70
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret