Function at 0x1400aaebf
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x508
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x480], 0xfffffffffffffffe
mov byte [rbp + 0x47f], r9b
mov qword [rbp + 0x408], rcx
mov qword [rbp + 0x410], rdx
mov qword [rbp + 0x428], r8
lock inc qword [0x1400c0110]
jle 0x1400abba0
mov eax, dword [0x1400c0190]
mov r8, qword gs:[0x58]
mov rax, qword [r8 + rax*8]
cmp byte [rax + 0x30], 0
jne 0x1400abc18
mov eax, dword [0x1400c0190]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
inc qword [rax + 0x28]
mov byte [rax + 0x30], 1
mov eax, dword [0x1400c00f0]
cmp eax, 0x3ffffffd
ja 0x1400ab063
lea ecx, [rax + 1]
lock cmpxchg dword [0x1400c00f0], ecx
jne 0x1400ab063
mov bl, byte [rbp + 0x4f0]
mov al, byte [0x1400c00f8]
cmp qword [0x1400c0100], 0
jne 0x1400ab17f
mov rsi, qword [rbp + 0x428]
mov rcx, qword [rbp + 0x408]
mov rax, qword [rbp + 0x410]
call qword [rax + 0x28]
mov rdi, rax
mov r14, rdx
mov r15b, 3
test bl, bl
jne 0x1400aafe5
mov eax, dword [0x1400c0190]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov r15b, 1
cmp qword [rax + 0x28], 1
cmp dword [rax + 0x28], 1
mov eax, dword [0x1400c00f0]
cmp eax, 0x3fffffff
jne 0x1400ab08b
push 0xffffffffffffff9d
pop rcx
pause
mov eax, dword [0x1400c00f0]
cmp eax, 0x3fffffff
jne 0x1400ab08b
lea edx, [rcx + 1]
test ecx, ecx
mov ecx, edx
jne 0x1400ab073
push 0xffffffffffffff9d
pop rbx
lea rsi, [0x1400c00f0]
lea rdi, [rbp - 0x58]
push 4
pop r14
push 0xffffffffffffffff
pop r15
mov r12, qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WaitOnAddress]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0x3fffffff
cmp ecx, 0x3ffffffe
setb dl
cmp eax, 0x40000000
setb r8b
test r8b, dl
je 0x1400ab0e0
lea ecx, [rax + 1]
lock cmpxchg dword [0x1400c00f0], ecx
jne 0x1400ab0af
jmp 0x1400aaf72
cmp ecx, 0x3ffffffe
je 0x1400ab14e
bt eax, 0x1e
jb 0x1400ab102
mov ecx, eax
or ecx, 0x40000000
lock cmpxchg dword [0x1400c00f0], ecx
jne 0x1400ab0af
jmp 0x1400ab104
mov ecx, eax
mov dword [rbp - 0x58], ecx
mov rcx, rsi
mov rdx, rdi
mov r8, r14
mov r9d, r15d
call r12
cmp eax, 1
je 0x1400ab11e
call r13
mov eax, dword [0x1400c00f0]
cmp eax, 0x3fffffff
jne 0x1400ab0af
mov ecx, ebx
pause
mov eax, dword [0x1400c00f0]
lea edx, [rcx + 1]
cmp eax, 0x3fffffff
jne 0x1400ab0af
test ecx, ecx
mov ecx, edx
jne 0x1400ab12d
jmp 0x1400ab0af
lea rax, str.too_many_active_read_locks_on_RwLock
lea rcx, [rbp - 0x58]
mov qword [rcx], rax
mov qword [rcx + 8], 1
mov qword [rcx + 0x10], 8
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea rdx, str.std_src_sys_sync_rwlock_futex.rs_
call fcn.1400ad490
mov rsi, qword [rbp + 0x428]
mov rcx, qword [rbp + 0x408]
mov rax, qword [rbp + 0x410]
call qword [rax + 0x28]
lea r8, [rbp - 0x58]
mov qword [r8], rax
mov qword [r8 + 8], rdx
mov qword [r8 + 0x10], rsi
mov al, byte [rbp + 0x47f]
mov byte [r8 + 0x18], al
mov byte [r8 + 0x19], bl
mov rcx, qword [0x1400c0100]
mov rax, qword [0x1400c0108]
mov rdx, r8
call qword [rax + 0x28]
lea rcx, [rbp + 0x3f0]
and dword [rcx], 0
mov byte [rcx + 4], 0
lea rax, [rbp + 0x428]
lea r8, [rbp + 0x3a8]
mov qword [r8], rax
lea rax, [0x1400aacc0]
mov qword [r8 + 8], rax
lea rax, [rbp + 0x408]
mov qword [r8 + 0x10], rax
lea rax, [0x1400bbd90]
lea rdx, [rbp - 0x58]
mov qword [rdx], rax
mov qword [rdx + 8], 3
and qword [rdx + 0x20], 0
lea rax, [0x140097a70]
mov qword [r8 + 0x18], rax
mov qword [rdx + 0x10], r8
mov qword [rdx + 0x18], 2
call fcn.1400a3e40
lea rcx, [rbp + 0x430]
jmp 0x1400abca3
push 1
pop rsi
call qword [rdx + 0x30]
test rax, rax
cmovne rsi, rax
cmove rdx, rax
lea rax, [rbp + 0x430]
lea rcx, [rbp + 0x3d8]
and dword [rcx], 0
mov qword [rax], rsi
mov qword [rax + 8], rdx
mov byte [rcx + 4], 0
lea rdx, [rbp + 0x428]
lea r8, [rbp + 0x3a8]
mov qword [r8], rdx
lea rdx, [0x1400aacc0]
mov qword [r8 + 8], rdx
mov qword [r8 + 0x10], rax
lea rax, str.panicked_at_:_nstd_srcpath.rs
lea rdx, [rbp - 0x58]
mov qword [rdx], rax
mov qword [rdx + 8], 3
and qword [rdx + 0x20], 0
lea rax, [0x140097a50]
mov qword [r8 + 0x18], rax
mov qword [rdx + 0x10], r8
mov qword [rdx + 0x18], 2
call fcn.1400a3e40
lea rcx, [rbp + 0x3f0]
mov qword [rcx], rax
call fcn.1400a3fa0
push 7
pop rcx
int 0x29
ud2