Function at 0x140013d6f
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x518
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x490], 0xfffffffffffffffe
mov byte [rbp + 0x48f], r9b
mov qword [rbp + 0x400], rcx
mov qword [rbp + 0x408], rdx
mov qword [rbp + 0x420], r8
lock inc qword [0x14001f160]
jle 0x140014992
mov eax, dword [0x14001f1e0]
mov r8, qword gs:[0x58]
mov rax, qword [r8 + rax*8]
cmp byte [rax + 0x30], 0
jne 0x140014a0a
mov eax, dword [0x14001f1e0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
inc qword [rax + 0x28]
mov byte [rax + 0x30], 1
mov eax, dword [0x14001f140]
cmp eax, 0x3ffffffd
ja 0x140013f17
lea ecx, [rax + 1]
lock cmpxchg dword [0x14001f140], ecx
jne 0x140013f17
mov bl, byte [rbp + 0x500]
mov al, byte [0x14001f148]
cmp qword [0x14001f150], 0
jne 0x140014033
mov rdi, qword [rbp + 0x420]
mov r14, qword [rbp + 0x400]
mov r15, qword [rbp + 0x408]
mov rcx, r14
call qword [r15 + 0x28]
mov r12, rax
mov r13, rdx
mov sil, 3
test bl, bl
jne 0x140013e99
mov eax, dword [0x14001f1e0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov sil, 1
cmp qword [rax + 0x28], 1
ja 0x140013e99
mov sil, byte [0x14001f138]
dec sil
cmp sil, 3
jae 0x1400140ef
mov eax, dword [0x14001f140]
cmp eax, 0x3fffffff
jne 0x140013f3f
push 0xffffffffffffff9d
pop rcx
pause
mov eax, dword [0x14001f140]
cmp eax, 0x3fffffff
jne 0x140013f3f
lea edx, [rcx + 1]
test ecx, ecx
mov ecx, edx
jne 0x140013f27
push 0xffffffffffffff9d
pop rbx
lea rsi, [0x14001f140]
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 0x140013f94
lea ecx, [rax + 1]
lock cmpxchg dword [0x14001f140], ecx
jne 0x140013f63
jmp 0x140013e22
cmp ecx, 0x3ffffffe
je 0x140014002
bt eax, 0x1e
jb 0x140013fb6
mov ecx, eax
or ecx, 0x40000000
lock cmpxchg dword [0x14001f140], ecx
jne 0x140013f63
jmp 0x140013fb8
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 0x140013fd2
call r13
mov eax, dword [0x14001f140]
cmp eax, 0x3fffffff
jne 0x140013f63
mov ecx, ebx
pause
mov eax, dword [0x14001f140]
lea edx, [rcx + 1]
cmp eax, 0x3fffffff
jne 0x140013f63
test ecx, ecx
mov ecx, edx
jne 0x140013fe1
jmp 0x140013f63
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.1400160e0
mov rsi, qword [rbp + 0x420]
mov r14, qword [rbp + 0x400]
mov r15, qword [rbp + 0x408]
mov rcx, r14
call qword [r15 + 0x28]
lea r8, [rbp - 0x58]
mov qword [r8], rax
mov qword [r8 + 8], rdx
mov qword [r8 + 0x10], rsi
mov al, byte [rbp + 0x48f]
mov byte [r8 + 0x18], al
mov byte [r8 + 0x19], bl
mov rcx, qword [0x14001f150]
mov rax, qword [0x14001f158]
mov rdx, r8
call qword [rax + 0x28]
mov al, byte [0x14001f0f0]
push 0x1e
pop rcx
call fcn.140011b70
test rax, rax
jne 0x1400142a5
push 2
pop rcx
push 0x1e
pop rdx
call fcn.140015f30
invalid
add byte [rax], al
jmp case.0x14000e276.68
mov qword [rbp + 0x478], r13
mov qword [rbp + 0x470], rdi
mov qword [rbp + 0x468], r12
mov qword [rbp + 0x460], r15
mov qword [rbp + 0x458], r14
lea rcx, [rbp - 0x58]
mov qword [rcx], 0xf
mov qword [rcx + 8], rax
and qword [rcx + 0x10], 0
xor r13d, r13d
lea rsi, str.RUST_BACKTRACEfailed_to_write_the_buffered_data
push 0xe
pop rdi
push 0xffffffffffffffff
pop r14
xor r15d, r15d
xor ebx, ebx
test bx, bx
jne 0x1400143a0
cmp r15, 0xe
je 0x14001442c
mov dl, byte [r15 + rsi]
movzx ebx, dl
test bl, bl
js 0x140014318
inc r15
jmp 0x1400143a0
mov ecx, ebx
and ecx, 0x1f
movzx r8d, byte [r15 + rsi + 1]
and r8d, 0x3f
cmp bl, 0xdf
jbe 0x14001435f
movzx ebx, byte [r15 + rsi + 2]
shl r8d, 6
and ebx, 0x3f
or ebx, r8d
cmp dl, 0xf0
jb 0x14001436d
movzx edx, byte [r15 + rsi + 3]
add r15, 4
and ecx, 7
shl ecx, 0x12
shl ebx, 6
and edx, 0x3f
or edx, ebx
or edx, ecx
mov ebx, edx
jmp 0x140014376
add r15, 2
shl ecx, 6
or ecx, r8d
mov ebx, ecx
jmp 0x1400143a0
add r15, 3
shl ecx, 0xc
or ebx, ecx
cmp ebx, 0xffff
jbe 0x1400143a0
lea ecx, [rbx + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and ebx, 0x3ff
or ebx, 0xdc00
mov r12d, ebx
mov ebx, ecx
jmp 0x1400143a3
xor r12d, r12d
cmp r13, qword [rbp - 0x58]
jne 0x1400143e5
mov r8, rdi
sub r8, r15
add r8, 3
cmovb r8, r14
shr r8, 2
cmp r12w, 1
sbb r8, 0
add r8, 2
mov qword [rsp + 0x20], 2
lea rcx, [rbp - 0x58]
mov rdx, r13
push 2
pop r9
call fcn.140016a70
mov rax, qword [rbp - 0x50]
mov word [rax + r13*2], bx
inc r13
mov qword [rbp - 0x48], r13
mov ebx, r12d
jmp 0x1400142f2
mov rdx, qword [rbp - 0x50]
mov rax, r13
lea rcx, [rbp + 0x3e8]
and dword [rcx], 0
mov byte [rcx + 4], 0
lea rax, [rbp + 0x420]
lea r8, [rbp + 0x3a8]
mov qword [r8], rax
lea rax, [0x140013b50]
mov qword [r8 + 8], rax
lea rax, [rbp + 0x400]
mov qword [r8 + 0x10], rax
lea rax, [0x14001a390]
lea rdx, [rbp - 0x58]
mov qword [rdx], rax
mov qword [rdx + 8], 3
and qword [rdx + 0x20], 0
lea rax, [0x140002850]
mov qword [r8 + 0x18], rax
mov qword [rdx + 0x10], r8
mov qword [rdx + 0x18], 2
call fcn.14000bfc0
lea rcx, [rbp + 0x428]
jmp 0x140014a95
push 1
pop rsi
call qword [rdx + 0x30]
test rax, rax
cmovne rsi, rax
cmove rdx, rax
lea rax, [rbp + 0x428]
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 + 0x420]
lea r8, [rbp + 0x3a8]
mov qword [r8], rdx
lea rdx, [0x140013b50]
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, [0x14000dc30]
mov qword [r8 + 0x18], rax
mov qword [rdx + 0x10], r8
mov qword [rdx + 0x18], 2
call fcn.14000bfc0
lea rcx, [rbp + 0x3e8]
mov qword [rcx], rax
call fcn.14000c120
push 7
pop rcx
int 0x29
ud2