Function at 0x140013690
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 qword [rbp + 0x3c0], rcx
mov qword [rbp + 0x3c8], rdx
mov qword [rbp + 0x3e0], r8
lock inc qword [0x14001f0c8]
jle 0x1400147db
mov eax, dword [0x14001f14c]
mov r8, qword gs:[0x58]
mov rax, qword [r8 + rax*8]
cmp byte [rax + 0x30], 0
jne 0x14001485e
mov r14d, r9d
mov eax, dword [0x14001f14c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
inc qword [rax + 0x28]
mov byte [rax + 0x30], 1
mov eax, dword [0x14001f0a8]
cmp eax, 0x3ffffffd
ja 0x140013737
lea ecx, [rax + 1]
lock cmpxchg dword [0x14001f0a8], ecx
je 0x14001373c
call fcn.140016e80
movzx esi, byte [rbp + 0x4f0]
movzx eax, byte [0x14001f0b0]
cmp qword [0x14001f0b8], 0
jne 0x14001382f
mov r15, qword [rbp + 0x3e0]
mov rcx, qword [rbp + 0x3c0]
mov rax, qword [rbp + 0x3c8]
call qword [rax + 0x28]
mov rdi, rax
mov r12, rdx
mov bl, 3
test sil, sil
jne 0x1400137ae
mov eax, dword [0x14001f14c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov bl, 1
cmp qword [rax + 0x28], 1
ja 0x1400137ae
movzx ebx, byte [0x14001f0a0]
dec bl
cmp bl, 3
jae 0x1400138f0
mov rdi, qword [rbp + 0x3e0]
mov rcx, qword [rbp + 0x3c0]
mov rax, qword [rbp + 0x3c8]
call qword [rax + 0x28]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x50], rdi
mov byte [rbp - 0x48], r14b
mov byte [rbp - 0x47], sil
mov rcx, qword [0x14001f0b8]
mov rax, qword [0x14001f0c0]
lea rdx, [rbp - 0x60]
call qword [rax + 0x28]
movzx eax, byte [0x14001f148]
mov ecx, 0x1e
call fcn.140011500
test rax, rax
jne 0x140013a37
mov ecx, 2
mov edx, 0x1e
call fcn.140016190
jmp 0x140013a35
mov qword [rbp + 0x428], r12
mov qword [rbp + 0x420], r15
mov qword [rbp + 0x458], rdi
mov byte [rbp + 0x468], r14b
mov qword [rbp + 0x438], 0xf
mov qword [rbp + 0x440], rax
mov qword [rbp + 0x448], 0
mov r15d, 0xf
xor esi, esi
lea rbx, str.RUST_BACKTRACE
xor r12d, r12d
xor r14d, r14d
jmp 0x140013ae6
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], rcx
mov eax, 2
mov qword [rbp - 0x58], rax
mov edx, 2
lea rcx, [rbp + 0x3f0]
lea r9, [rbp - 0x60]
call fcn.14000e770
cmp dword [rbp + 0x3f0], 1
je 0x140013e6e
mov rax, qword [rbp + 0x3f8]
mov qword [rbp + 0x440], rax
mov qword [rbp + 0x438], rdi
mov r15, rdi
mov word [rax + rsi*2], r14w
inc rsi
mov r14d, r13d
test r14w, r14w
je 0x140013b00
xor r13d, r13d
cmp rsi, r15
jne 0x140013adb
jmp 0x140013bf0
cmp r12, 0xe
je 0x140013e8d
movzx edx, byte [r12 + rbx]
movzx r14d, dl
test r14b, r14b
js 0x140013b28
inc r12
xor r13d, r13d
cmp rsi, r15
jne 0x140013adb
jmp 0x140013bf0
mov ecx, r14d
and ecx, 0x1f
movzx r8d, byte [r12 + rbx + 1]
and r8d, 0x3f
cmp r14b, 0xdf
jbe 0x140013b82
movzx r14d, byte [r12 + rbx + 2]
shl r8d, 6
and r14d, 0x3f
or r14d, r8d
cmp dl, 0xf0
jb 0x140013b9d
movzx edx, byte [r12 + rbx + 3]
add r12, 4
and ecx, 7
shl ecx, 0x12
shl r14d, 6
and edx, 0x3f
or edx, r14d
or edx, ecx
mov r14d, edx
cmp r14d, 0xffff
jbe 0x140013aec
jmp 0x140013bb4
add r12, 2
shl ecx, 6
or ecx, r8d
mov r14d, ecx
xor r13d, r13d
cmp rsi, r15
jne 0x140013adb
jmp 0x140013bf0
add r12, 3
shl ecx, 0xc
or r14d, ecx
cmp r14d, 0xffff
jbe 0x140013aec
lea ecx, [r14 + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov r13d, r14d
mov r14d, ecx
cmp rsi, r15
jne 0x140013adb
nop word cs:[rax + rax]
mov edi, 0xe
sub rdi, r12
add rdi, 3
mov rcx, 0xffffffffffffffff
cmovb rdi, rcx
shr rdi, 2
cmp r13w, 1
sbb rdi, 0
add rdi, 2
add rdi, r15
jb 0x140013e3c
lea rcx, [r15 + r15]
cmp rcx, rdi
cmova rdi, rcx
cmp rdi, 5
jae 0x140013c37
mov edi, 4
test rdi, rdi
js 0x140013e3c
lea r8, [rdi + rdi]
movabs rdx, 0x7ffffffffffffffe
cmp r8, rdx
ja 0x140013e3c
test r15, r15
jne 0x140013a90
xor eax, eax
jmp 0x140013a9d
mov qword [rbp + 0x448], r15
xor ecx, ecx
jmp 0x140013e83
mov qword [rbp + 0x448], r15
mov rcx, qword [rbp + 0x3f8]
mov rdx, qword [rbp + 0x400]
call fcn.140016190
jmp 0x140013a35
mov qword [rbp + 0x448], rsi
mov r8, qword [rbp + 0x440]
mov rax, rsi
mov rcx, r8
cmp rsi, 8
movzx r14d, byte [rbp + 0x468]
mov rdi, qword [rbp + 0x458]
mov r15, qword [rbp + 0x420]
mov r12, qword [rbp + 0x428]
jb 0x140013f15
mov rcx, r8
mov rax, rsi
nop word [rax + rax]
cmp word [rcx], 0
je 0x140013f34
cmp word [rcx + 2], 0
je 0x140013f34
cmp word [rcx + 4], 0
je 0x140013f34
cmp word [rcx + 6], 0
je 0x140013f34
cmp word [rcx + 8], 0
je 0x140013f34
cmp word [rcx + 0xa], 0
je 0x140013f34
cmp word [rcx + 0xc], 0
je 0x140013f34
cmp word [rcx + 0xe], 0
je 0x140013f34
add rax, 0xfffffffffffffff8
add rcx, 0x10
cmp rax, 7
ja 0x140013ed0
add rax, rax
xor edx, edx
nop word [rax + rax]
nop dword [rax + rax]
mov dword [rbp + 0x438], 0
mov byte [rbp + 0x43c], 0
lea rax, [rbp + 0x3e0]
mov qword [rbp + 0x3f0], rax
lea rax, [0x1400134c0]
mov qword [rbp + 0x3f8], rax
lea rax, [rbp + 0x3c0]
mov qword [rbp + 0x400], rax
lea rax, [0x140003ad0]
mov qword [rbp + 0x408], rax
lea rax, [0x14001b328]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 3
mov qword [rbp - 0x40], 0
lea rax, [rbp + 0x3f0]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 2
lea rcx, [rbp + 0x438]
jmp 0x1400148fd
call qword [rdx + 0x30]
test rax, rax
mov ecx, 1
cmovne rcx, rax
cmove rdx, rax
mov qword [rbp + 0x438], rcx
mov qword [rbp + 0x440], rdx
mov dword [rbp + 0x3a8], 0
mov byte [rbp + 0x3ac], 0
lea rax, [rbp + 0x3e0]
mov qword [rbp + 0x3f0], rax
lea rax, [0x1400134c0]
mov qword [rbp + 0x3f8], rax
lea rax, [rbp + 0x438]
mov qword [rbp + 0x400], rax
lea rax, [0x140003ab0]
mov qword [rbp + 0x408], rax
lea rax, str.panicked_at_:_nstd_srcpath.rs
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 3
mov qword [rbp - 0x40], 0
lea rax, [rbp + 0x3f0]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 2
lea rcx, [rbp + 0x3a8]
lea rdx, [rbp - 0x60]
call fcn.14000d190
test rax, rax
je 0x140014913
mov rcx, rax
call fcn.14000d340
mov ecx, 7
int 0x29
ud2