Function at 0x14000bc10
Capabilities:
Query environment variable

Disassembly:
push rdi
push r12
push r13
push r15
sub rsp, 0x78
mov rax, qword [0x140063828]
xor rax, rsp
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [0x1400584a0]
xor edi, edi
movups xmmword [rsp + 0x50], xmm0
mov r15, rcx
lea rcx, str.HWLOC_GROUPING
movss xmm0, dword [0x14005843c]
mov r13d, edi
movss dword [rsp + 0x60], xmm0
lea r12d, [rdi + 5]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14000bc74
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
je 0x14000c059
lea rcx, str.HWLOC_IGNORE_DISTANCES
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
jne 0x14000c059
lea rcx, str.HWLOC_GROUPING_ACCURACY
mov qword [rsp + 0xb8], rsi
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdx, rax
test rax, rax
jne 0x14000bcad
lea r12d, [rax + 1]
jmp 0x14000bcf2
mov rcx, rdi
lea r8, [0x1400564d0]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x14000bcd6
cmp rcx, 4
jne 0x14000bcc0
jmp 0x14000bcf2
mov rcx, rdx
mov r12d, 1
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss dword [rsp + 0x50], xmm1
lea rcx, str.HWLOC_GROUPING_VERBOSE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14000bd10
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov r13d, eax
mov rsi, qword [r15 + 0x7d8]
test rsi, rsi
je 0x14000c051
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0x70], r14
mov ebp, dword [rsi + 4]
test ebp, ebp
je 0x14000c02f
mov r8, qword [rsi + 0x10]
test r8, r8
je 0x14000c02f
cmp ebp, 2
jbe 0x14000bd8a
cmp qword [rsi + 8], 0
mov eax, edi
mov r9, qword [rsi + 0x18]
mov edx, ebp
mov dword [rsp + 0x40], r13d
setne al
mov dword [rsp + 0x38], 1
mov rcx, r15
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
call fcn.14000b380
mov ecx, 0xf8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor edx, edx
mov r8d, 0xf8
mov rcx, rax
mov r14, rax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x28
mov dword [r14], 7
mov dword [r14 + 4], 0xffffffff
mov dword [r14 + 0x40], 0xffffffff
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r14 + 0x30], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov ecx, 0x18
mov rax, qword [r14 + 0x30]
mov dword [rax], 0xffffffff
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x14000be05
mov rbx, rdi
jmp 0x14000be39
mov ecx, 0x40
mov dword [rax], 1
mov dword [rax + 4], reloc.WSOCK32.dll_recv
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 8], rax
test rax, rax
jne 0x14000be34
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, rdi
jmp 0x14000be39
mov dword [rax], edi
mov dword [rbx + 0x10], edi
mov qword [r14 + 0xa0], rbx
test ebp, ebp
je 0x14000c00d
nop dword [rax + rax]
mov rax, qword [rsi + 0x10]
mov rcx, qword [r14 + 0xa0]
mov rdx, rcx
mov r8, qword [rax + rdi]
mov r8, qword [r8 + 0xa0]
call fcn.140008140
mov r8, qword [rsi + 0x10]
mov rax, qword [r8 + rdi]
cmp qword [rax + 0xa8], 0
je 0x14000bef7
mov rbx, qword [r14 + 0xa8]
test rbx, rbx
jne 0x14000bedd
lea ecx, [rbx + 0x18]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14000bed2
mov ecx, 0x40
mov dword [rax], 1
mov dword [rax + 4], reloc.WSOCK32.dll_recv
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 8], rax
test rax, rax
jne 0x14000becb
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor ebx, ebx
jmp 0x14000bed2
xor ecx, ecx
mov dword [rax], ecx
mov dword [rbx + 0x10], ecx
mov qword [r14 + 0xa8], rbx
mov r8, qword [rsi + 0x10]
mov r8, qword [r8 + rdi]
mov rdx, rbx
mov rcx, rbx
mov r8, qword [r8 + 0xa8]
call fcn.140008140
mov r8, qword [rsi + 0x10]
mov rax, qword [r8 + rdi]
cmp qword [rax + 0xc0], 0
je 0x14000bf7c
mov rbx, qword [r14 + 0xc0]
test rbx, rbx
jne 0x14000bf62
lea ecx, [rbx + 0x18]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14000bf57
mov ecx, 0x40
mov dword [rax], 1
mov dword [rax + 4], reloc.WSOCK32.dll_recv
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 8], rax
test rax, rax
jne 0x14000bf50
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor ebx, ebx
jmp 0x14000bf57
xor ecx, ecx
mov dword [rax], ecx
mov dword [rbx + 0x10], ecx
mov qword [r14 + 0xc0], rbx
mov r8, qword [rsi + 0x10]
mov r8, qword [r8 + rdi]
mov rdx, rbx
mov rcx, rbx
mov r8, qword [r8 + 0xc0]
call fcn.140008140
mov r8, qword [rsi + 0x10]
mov rax, qword [r8 + rdi]
cmp qword [rax + 0xc8], 0
je 0x14000bffd
mov rbx, qword [r14 + 0xc8]
test rbx, rbx
jne 0x14000bfe7
lea ecx, [rbx + 0x18]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14000bfdc
mov ecx, 0x40
mov dword [rax], 1
mov dword [rax + 4], reloc.WSOCK32.dll_recv
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 8], rax
test rax, rax
jne 0x14000bfd5
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor ebx, ebx
jmp 0x14000bfdc
xor ecx, ecx
mov dword [rax], ecx
mov dword [rbx + 0x10], ecx
mov qword [r14 + 0xc8], rbx
mov r8, qword [rsi + 0x10]
mov r8, qword [r8 + rdi]
mov rdx, rbx
mov rcx, rbx
mov r8, qword [r8 + 0xc8]
call fcn.140008140
add rdi, 8
sub rbp, 1
jne 0x14000be50
xor edi, edi
cmp qword [rsi + 8], 0
lea rax, [0x14000ad50]
lea r8, [0x140001d10]
mov rdx, r14
cmovne r8, rax
mov rcx, r15
call fcn.140002e30
mov rsi, qword [rsi + 0x30]
test rsi, rsi
jne 0x14000bd35
mov r14, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14004c1b0
add rsp, 0x78
pop r15
pop r13
pop r12
pop rdi
ret