joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400fe3e0
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call sub.KERNEL32.dll_GetSystemInfo
mov ecx, dword [rbp - 0x10]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x50
pop rbp
ret

Function at 0x1400ff840
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3d8], rcx
mov qword [rbp + 0x3e0], 0
mov qword [rbp + 0x3e8], 2
mov qword [rbp + 0x3f0], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3d0], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x1400ff8d0
jmp 0x1400ff8bf
jae 0x1400ff99a
cmp r8, 0x201
jae 0x1400ff8d0
mov r14d, 0x200
lea r15, [rbp - 0x50]
mov r12, r8
jmp 0x1400ff936
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x1400ff90e
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x3e0]
mov rdx, rbx
call sym.alloc::raw_vec::RawVecInner_A_::reserve::do_reserve_and_handle::h8a25263c2f981ecd
mov rsi, qword [rbp + 0x3e0]
mov rax, qword [rbp + 0x3e8]
mov qword [rbp + 0x3d0], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3f0], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3d0]
mov r12, rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ecx, r12d
mov rdx, r15
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov r13d, eax
test eax, eax
jne 0x1400ff95c
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x1400ffa06
mov r8d, r13d
cmp r12, r8
jne 0x1400ff8b0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x1400ffa39
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1400ff8bf
jmp 0x1400ff8d0
cmp r14, r8
jb 0x1400ffa53
lea rcx, [rbp + 0x3b0]
mov rdx, r15
call sym.__std::ffi::os_str::OsString_as_std::os::windows::ffi::OsStringExt_::from_wide::h9bfb2951764e4dac
movups xmm0, xmmword [rbp + 0x3b0]
movups xmm1, xmmword [rbp + 0x3c0]
mov rsi, qword [rbp + 0x3d8]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3e0]
test rdx, rdx
je 0x1400ff9ef
mov rcx, qword [rbp + 0x3e8]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d8]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3e0]
test rdx, rdx
jne 0x1400ff9da
jmp 0x1400ff9ef
lea rcx, str.internal_error:_entered_unreachable_codepN
lea r8, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call sym.core::panicking::panic::h9b29f36338d5d298
jmp 0x1400ffa68
lea rax, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call sym.core::slice::index::slice_end_index_len_fail::h01c9774db41e734a
ud2
Function at 0x1400ffaa0
Capabilities:
Query environment variable

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
call sub.KERNEL32.dll_GetEnvironmentStringsW
test rax, rax
je 0x1400ffabf
mov rdx, rax
add rsp, 0x68
pop rsi
pop rbp
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp], rax
mov rax, rbp
mov qword [rbp - 0x10], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::hf90ac29496068ca6]
mov qword [rbp - 8], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
mov qword [rbp - 0x20], 0
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
lea rdx, str.std_src_syspalwindowsos.rs
lea rcx, [rbp - 0x40]
call sym.core::panicking::panic_fmt::h1e8d60614cf06a53
ud2
Function at 0x140101bf0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
movdqa xmmword [rbp - 0x10], xmm7
movdqa xmmword [rbp - 0x20], xmm6
mov rsi, r8
test r8, r8
js 0x140101dc4
mov rdi, rcx
je 0x140101c63
mov r14, rdx
mov rax, qword [0x1401b5f98]
movzx eax, byte [rax]
mov r15d, 1
mov edx, 1
mov rcx, rsi
call sym.__rust_alloc
test rax, rax
je 0x140101dc7
mov rbx, rax
mov rcx, rax
mov rdx, r14
mov r8, rsi
call sym.memcpy
cmp rsi, 8
jae 0x140101c6d
xor eax, eax
jmp 0x140101d80
mov ebx, 1
jmp 0x140101d9d
movabs rcx, 0x7fffffffffffffe0
cmp rsi, 0x20
jae 0x140101c84
xor eax, eax
jmp 0x140101d16
mov rax, rsi
and rax, rcx
xor edx, edx
movdqa xmm0, xmmword [0x140193920]
movdqa xmm1, xmmword [0x140193930]
movdqa xmm2, xmmword [0x140193940]
nop word cs:[rax + rax]
movdqu xmm3, xmmword [rbx + rdx]
movdqu xmm4, xmmword [rbx + rdx + 0x10]
movdqa xmm5, xmm3
paddb xmm5, xmm0
movdqa xmm6, xmm4
paddb xmm6, xmm0
movdqa xmm7, xmm5
pminub xmm7, xmm1
pcmpeqb xmm7, xmm5
pand xmm7, xmm2
movdqa xmm5, xmm6
pminub xmm5, xmm1
pcmpeqb xmm5, xmm6
pand xmm5, xmm2
pxor xmm7, xmm3
pxor xmm5, xmm4
movdqu xmmword [rbx + rdx], xmm7
movdqu xmmword [rbx + rdx + 0x10], xmm5
add rdx, 0x20
cmp rax, rdx
jne 0x140101cb0
cmp rax, rsi
je 0x140101d9d
test sil, 0x18
je 0x140101d80
mov rdx, rax
add rcx, 0x18
mov rax, rcx
and rax, rsi
movdqa xmm0, xmmword [0x140193950]
movdqa xmm1, xmmword [0x140193960]
movdqa xmm2, xmmword [0x140193970]
nop dword [rax + rax]
movq xmm3, qword [rbx + rdx]
movdqa xmm4, xmm3
paddb xmm4, xmm0
movdqa xmm5, xmm4
pmaxub xmm5, xmm1
pcmpeqb xmm5, xmm4
pandn xmm5, xmm2
pxor xmm5, xmm3
movq qword [rbx + rdx], xmm5
add rdx, 8
cmp rax, rdx
jne 0x140101d40
cmp rax, rsi
je 0x140101d9d
nop word cs:[rax + rax]
movzx ecx, byte [rbx + rax]
lea edx, [rcx - 0x61]
cmp dl, 0x1a
setb dl
shl dl, 5
xor dl, cl
mov byte [rbx + rax], dl
inc rax
cmp rsi, rax
jne 0x140101d80
mov qword [rdi], rsi
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rsi
mov byte [rdi + 0x18], 0
mov rax, rdi
movaps xmm6, xmmword [rbp - 0x20]
movaps xmm7, xmmword [rbp - 0x10]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
xor r15d, r15d
mov rcx, r15
mov rdx, rsi
call sym.alloc::raw_vec::handle_error::h58eb608642f609a7
int3

Function at 0x140103610
Capabilities:
Create directory

Disassembly:
push rbp
mov rbp, rsp
cmp byte [rcx], 0
je 0x140103625
mov rcx, rdx
mov rdx, r8
pop rbp
jmp sym.std::fs::DirBuilder::create_dir_all::hd3106c131a59790d
mov rcx, rdx
mov rdx, r8
pop rbp
jmp sym.std::sys::pal::windows::fs::DirBuilder::mkdir::h1403506e3edb4195
Function at 0x140107530
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rdi, r8
mov rbx, rdx
mov rax, qword [rcx]
mov rsi, qword [rax]
mov ecx, dword [0x1401ea238]
test ecx, ecx
je 0x14010757f
dec ecx
call fcn.140173a38
mov r14, rax
test rax, rax
je 0x14010759a
mov rax, qword [rsi]
cmp r14, rax
jne 0x1401075aa
mov eax, dword [rsi + 8]
cmp eax, 0xffffffff
je 0x140107633
inc eax
mov dword [rsi + 8], eax
jmp 0x1401075bf
lea rcx, [0x1401ea220]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
call fcn.140173a38
mov r14, rax
test rax, rax
jne 0x140107564
call sym.std::thread::current::id::get_or_init::__u7b__u7b_closure_u7d__u7d_::hedc11dbc19db473f
mov r14, rax
mov rax, qword [rsi]
cmp r14, rax
je 0x14010756c
mov cl, 1
xor eax, eax
lock cmpxchg byte [rsi + 0xc], cl
jne 0x14010761a
mov qword [rsi], r14
mov dword [rsi + 8], 1
cmp qword [rsi + 0x10], 0
jne 0x140107625
mov qword [rsi + 0x10], 0xffffffffffffffff
lea rcx, [rsi + 0x18]
mov rdx, rbx
mov r8, rdi
call sym.__std::io::buffered::linewritershim::LineWriterShim_W__as_std::io::Write_::write::h28183b4984dc790c
inc qword [rsi + 0x10]
dec dword [rsi + 8]
jne 0x14010760f
mov qword [rsi], 0
xor ecx, ecx
xchg byte [rsi + 0xc], cl
cmp cl, 2
jne 0x14010760f
add rsi, 0xc
mov rcx, rsi
mov rsi, rax
mov rdi, rdx
call fcn.140131cbc
mov rdx, rdi
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [rsi + 0xc]
call sym.std::sys::sync::mutex::futex::Mutex::lock_contended::hbe5cde1fd81d392d
jmp 0x1401075b5
lea rcx, [0x140196ae8]
call sym.core::cell::panic_already_borrowed::h439a15d5ce72f317
ud2
lea rcx, [0x140197850]
lea r8, [0x140197898]
mov edx, 0x26
call sym.core::option::expect_failed::h0dca3ca7a19f43d9
mov rdi, rax
inc qword [rsi + 0x10]
mov rcx, rsi
call sym._ZN4core3ptr175drop_in_place_LT_std..sync..reentrant_lock..ReentrantLockGuard_LT_core..cell..RefCell_LT_std..io..buffered..lin
mov rcx, rdi
call sym._Unwind_Resume
mov rdi, rax
mov rcx, rsi
call sym._ZN4core3ptr175drop_in_place_LT_std..sync..reentrant_lock..ReentrantLockGuard_LT_core..cell..RefCell_LT_std..io..buffered..lin
mov rcx, rdi
call sym._Unwind_Resume
int3
Function at 0x140107680
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rbx, r8
mov rdi, rdx
mov rax, qword [rcx]
mov rsi, qword [rax]
mov ecx, dword [0x1401ea238]
test ecx, ecx
je 0x1401076d3
dec ecx
call fcn.140173a38
mov r14, rax
test rax, rax
je 0x1401076ee
mov rax, qword [rsi]
cmp r14, rax
jne 0x1401076fe
mov r9d, dword [rsi + 8]
cmp r9d, 0xffffffff
je 0x1401077d7
inc r9d
mov dword [rsi + 8], r9d
jmp 0x14010771d
lea rcx, [0x1401ea220]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
call fcn.140173a38
mov r14, rax
test rax, rax
jne 0x1401076b4
call sym.std::thread::current::id::get_or_init::__u7b__u7b_closure_u7d__u7d_::hedc11dbc19db473f
mov r14, rax
mov rax, qword [rsi]
cmp r14, rax
je 0x1401076bc
mov cl, 1
xor eax, eax
lock cmpxchg byte [rsi + 0xc], cl
jne 0x1401077bb
mov qword [rsi], r14
mov dword [rsi + 8], 1
mov r9d, 1
cmp qword [rsi + 0x10], 0
jne 0x1401077c9
mov qword [rsi + 0x10], 0xffffffffffffffff
lea rcx, [rsi + 0x18]
shl rbx, 4
xor r10d, r10d
xor eax, eax
nop dword [rax]
cmp rbx, rax
je 0x140107776
mov r8d, dword [rdi + rax]
add rax, 0x10
test r8, r8
je 0x140107740
mov rdx, qword [rdi + rax - 8]
call sym.__std::io::buffered::linewritershim::LineWriterShim_W__as_std::io::Write_::write::h28183b4984dc790c
mov r10, qword [rsi + 0x10]
inc r10
mov r9d, dword [rsi + 8]
mov qword [rsi + 0x10], r10
dec r9d
mov dword [rsi + 8], r9d
jne 0x1401077b0
jmp 0x140107787
xor edx, edx
xor eax, eax
mov qword [rsi + 0x10], r10
dec r9d
mov dword [rsi + 8], r9d
jne 0x1401077b0
mov qword [rsi], 0
xor ecx, ecx
xchg byte [rsi + 0xc], cl
cmp cl, 2
jne 0x1401077b0
add rsi, 0xc
mov rcx, rsi
mov rsi, rdx
mov rdi, rax
call fcn.140131cbc
mov rax, rdi
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [rsi + 0xc]
call sym.std::sys::sync::mutex::futex::Mutex::lock_contended::hbe5cde1fd81d392d
jmp 0x14010770d
lea rcx, [0x140196b00]
call sym.core::cell::panic_already_borrowed::h439a15d5ce72f317
ud2
lea rcx, [0x140197850]
lea r8, [0x140197898]
mov edx, 0x26
call sym.core::option::expect_failed::h0dca3ca7a19f43d9
mov rdi, rax
inc qword [rsi + 0x10]
mov rcx, rsi
call sym._ZN4core3ptr175drop_in_place_LT_std..sync..reentrant_lock..ReentrantLockGuard_LT_core..cell..RefCell_LT_std..io..buffered..lin
mov rcx, rdi
call sym._Unwind_Resume
mov rdi, rax
mov rcx, rsi
call sym._ZN4core3ptr175drop_in_place_LT_std..sync..reentrant_lock..ReentrantLockGuard_LT_core..cell..RefCell_LT_std..io..buffered..lin
mov rcx, rdi
call sym._Unwind_Resume
int3
Function at 0x140107820
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, qword [rcx]
mov rsi, qword [rax]
mov ecx, dword [0x1401ea238]
test ecx, ecx
je 0x140107866
dec ecx
call fcn.140173a38
mov rdi, rax
test rax, rax
je 0x140107881
mov rax, qword [rsi]
cmp rdi, rax
jne 0x140107891
mov eax, dword [rsi + 8]
cmp eax, 0xffffffff
je 0x14010790b
inc eax
mov dword [rsi + 8], eax
jmp 0x1401078a6
lea rcx, [0x1401ea220]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
call fcn.140173a38
mov rdi, rax
test rax, rax
jne 0x14010784b
call sym.std::thread::current::id::get_or_init::__u7b__u7b_closure_u7d__u7d_::hedc11dbc19db473f
mov rdi, rax
mov rax, qword [rsi]
cmp rdi, rax
je 0x140107853
mov cl, 1
xor eax, eax
lock cmpxchg byte [rsi + 0xc], cl
jne 0x1401078f2
mov qword [rsi], rdi
mov dword [rsi + 8], 1
cmp qword [rsi + 0x10], 0
jne 0x1401078fd
mov qword [rsi + 0x10], 0xffffffffffffffff
lea rcx, [rsi + 0x18]
call sym.std::io::buffered::bufwriter::BufWriter_W_::flush_buf::h15f028a992af861e
inc qword [rsi + 0x10]
dec dword [rsi + 8]
jne 0x1401078ea
mov qword [rsi], 0
xor ecx, ecx
xchg byte [rsi + 0xc], cl
cmp cl, 2
jne 0x1401078ea
add rsi, 0xc
mov rcx, rsi
mov rsi, rax
call fcn.140131cbc
mov rax, rsi
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsi + 0xc]
call sym.std::sys::sync::mutex::futex::Mutex::lock_contended::hbe5cde1fd81d392d
jmp 0x14010789c
lea rcx, [0x140196b18]
call sym.core::cell::panic_already_borrowed::h439a15d5ce72f317
ud2
lea rcx, [0x140197850]
lea r8, [0x140197898]
mov edx, 0x26
call sym.core::option::expect_failed::h0dca3ca7a19f43d9
mov rdi, rax
inc qword [rsi + 0x10]
mov rcx, rsi
call sym._ZN4core3ptr175drop_in_place_LT_std..sync..reentrant_lock..ReentrantLockGuard_LT_core..cell..RefCell_LT_std..io..buffered..lin
mov rcx, rdi
call sym._Unwind_Resume
mov rdi, rax
mov rcx, rsi
call sym._ZN4core3ptr175drop_in_place_LT_std..sync..reentrant_lock..ReentrantLockGuard_LT_core..cell..RefCell_LT_std..io..buffered..lin
mov rcx, rdi
call sym._Unwind_Resume
int3
Function at 0x140107950
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rdi, r8
mov rbx, rdx
mov rax, qword [rcx]
mov rsi, qword [rax]
mov ecx, dword [0x1401ea238]
test ecx, ecx
je 0x14010799f
dec ecx
call fcn.140173a38
mov r14, rax
test rax, rax
je 0x1401079ba
mov rax, qword [rsi]
cmp r14, rax
jne 0x1401079ca
mov eax, dword [rsi + 8]
cmp eax, 0xffffffff
je 0x140107a30
inc eax
mov dword [rsi + 8], eax
jmp 0x1401079df
lea rcx, [0x1401ea220]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
call fcn.140173a38
mov r14, rax
test rax, rax
jne 0x140107984
call sym.std::thread::current::id::get_or_init::__u7b__u7b_closure_u7d__u7d_::hedc11dbc19db473f
mov r14, rax
mov rax, qword [rsi]
cmp r14, rax
je 0x14010798c
mov cl, 1
xor eax, eax
lock cmpxchg byte [rsi + 0xc], cl
jne 0x140107a25
mov qword [rsi], r14
mov dword [rsi + 8], 1
mov qword [rbp - 8], rsi
lea rcx, [rbp - 8]
mov rdx, rbx
mov r8, rdi
call sym.__std::io::stdio::StdoutLock_as_std::io::Write_::write_all::h14d3dd2449d42e35
dec dword [rsi + 8]
jne 0x140107a1a
mov qword [rsi], 0
xor ecx, ecx
xchg byte [rsi + 0xc], cl
cmp cl, 2
jne 0x140107a1a
add rsi, 0xc
mov rcx, rsi
mov rsi, rax
call fcn.140131cbc
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [rsi + 0xc]
call sym.std::sys::sync::mutex::futex::Mutex::lock_contended::hbe5cde1fd81d392d
jmp 0x1401079d5
lea rcx, [0x140197850]
lea r8, [0x140197898]
mov edx, 0x26
call sym.core::option::expect_failed::h0dca3ca7a19f43d9
mov rdi, rax
mov rcx, rsi
call sym._ZN4core3ptr175drop_in_place_LT_std..sync..reentrant_lock..ReentrantLockGuard_LT_core..cell..RefCell_LT_std..io..buffered..lin
mov rcx, rdi
call sym._Unwind_Resume
int3
Function at 0x140107a60
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rdi, r8
mov rbx, rdx
mov rax, qword [rcx]
mov rsi, qword [rax]
mov ecx, dword [0x1401ea238]
test ecx, ecx
je 0x140107aaf
dec ecx
call fcn.140173a38
mov r14, rax
test rax, rax
je 0x140107aca
mov rax, qword [rsi]
cmp r14, rax
jne 0x140107ada
mov eax, dword [rsi + 8]
cmp eax, 0xffffffff
je 0x140107b40
inc eax
mov dword [rsi + 8], eax
jmp 0x140107aef
lea rcx, [0x1401ea220]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
call fcn.140173a38
mov r14, rax
test rax, rax
jne 0x140107a94
call sym.std::thread::current::id::get_or_init::__u7b__u7b_closure_u7d__u7d_::hedc11dbc19db473f
mov r14, rax
mov rax, qword [rsi]
cmp r14, rax
je 0x140107a9c
mov cl, 1
xor eax, eax
lock cmpxchg byte [rsi + 0xc], cl
jne 0x140107b35
mov qword [rsi], r14
mov dword [rsi + 8], 1
mov qword [rbp - 8], rsi
lea rcx, [rbp - 8]
mov rdx, rbx
mov r8, rdi
call sym.__std::io::stdio::StdoutLock_as_std::io::Write_::write_all_vectored::h0af6e3a13622483b
dec dword [rsi + 8]
jne 0x140107b2a
mov qword [rsi], 0
xor ecx, ecx
xchg byte [rsi + 0xc], cl
cmp cl, 2
jne 0x140107b2a
add rsi, 0xc
mov rcx, rsi
mov rsi, rax
call fcn.140131cbc
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [rsi + 0xc]
call sym.std::sys::sync::mutex::futex::Mutex::lock_contended::hbe5cde1fd81d392d
jmp 0x140107ae5
lea rcx, [0x140197850]
lea r8, [0x140197898]
mov edx, 0x26
call sym.core::option::expect_failed::h0dca3ca7a19f43d9
mov rdi, rax
mov rcx, rsi
call sym._ZN4core3ptr175drop_in_place_LT_std..sync..reentrant_lock..ReentrantLockGuard_LT_core..cell..RefCell_LT_std..io..buffered..lin
mov rcx, rdi
call sym._Unwind_Resume
int3
Function at 0x140107b70
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov rsi, rdx
mov rax, qword [rcx]
mov rbx, qword [rax]
mov ecx, dword [0x1401ea238]
test ecx, ecx
je 0x140107bbc
dec ecx
call fcn.140173a38
mov rdi, rax
test rax, rax
je 0x140107bd7
mov rax, qword [rbx]
cmp rdi, rax
jne 0x140107be7
mov eax, dword [rbx + 8]
cmp eax, 0xffffffff
je 0x140107cd8
inc eax
mov dword [rbx + 8], eax
jmp 0x140107c00
lea rcx, [0x1401ea220]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
call fcn.140173a38
mov rdi, rax
test rax, rax
jne 0x140107ba1
call sym.std::thread::current::id::get_or_init::__u7b__u7b_closure_u7d__u7d_::hedc11dbc19db473f
mov rdi, rax
mov rax, qword [rbx]
cmp rdi, rax
je 0x140107ba9
mov cl, 1
xor eax, eax
lock cmpxchg byte [rbx + 0xc], cl
jne 0x140107cca
mov qword [rbx], rdi
mov dword [rbx + 8], 1
mov qword [rbp - 8], rbx
lea rax, [rbp - 8]
mov qword [rbp - 0x18], rax
lea rdi, [rbp - 0x10]
mov qword [rbp - 0x10], 0
lea rdx, sym._ZN4core3ptr100drop_in_place_LT_std..io..Write..write_fmt..Adapter_LT_std..sys..pal..windows..stdio..Stderr_GT__GT_17hb1e62dd8
lea rcx, [rbp - 0x18]
mov r8, rsi
call sym.core::fmt::write::h5e0add101afd7347
mov ecx, eax
mov rax, qword [rbp - 0x10]
test cl, cl
je 0x140107c49
test rax, rax
je 0x140107cf0
mov rcx, qword [rbp - 8]
dec dword [rcx + 8]
jne 0x140107cbf
jmp 0x140107c9f
mov ecx, eax
and ecx, 3
cmp ecx, 1
jne 0x140107c94
lea rsi, [rax - 1]
mov rdi, qword [rax - 1]
mov r14, qword [rax + 7]
mov rax, qword [r14]
test rax, rax
je 0x140107c6c
mov rcx, rdi
call rax
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x140107c81
mov r8, qword [r14 + 0x10]
mov rcx, rdi
call sym.__rust_dealloc
mov edx, 0x18
mov r8d, 8
mov rcx, rsi
call sym.__rust_dealloc
xor eax, eax
mov rcx, qword [rbp - 8]
dec dword [rcx + 8]
jne 0x140107cbf
mov qword [rcx], 0
xor edx, edx
xchg byte [rcx + 0xc], dl
cmp dl, 2
jne 0x140107cbf
add rcx, 0xc
mov rsi, rax
call fcn.140131cbc
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [rbx + 0xc]
call sym.std::sys::sync::mutex::futex::Mutex::lock_contended::hbe5cde1fd81d392d
jmp 0x140107bf6
lea rcx, [0x140197850]
lea r8, [0x140197898]
mov edx, 0x26
call sym.core::option::expect_failed::h0dca3ca7a19f43d9
lea rax, str.a_formatting_trait_implementation_returned_an_error_when_the_underlying_stream_did_not
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 1
mov qword [rbp - 0x38], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
lea rdx, [0x140196ec0]
lea rcx, [rbp - 0x48]
call sym.core::panicking::panic_fmt::h1e8d60614cf06a53
ud2
Function at 0x140108370
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rsi, qword [rcx]
mov ecx, dword [0x1401ea238]
test ecx, ecx
je 0x1401083af
dec ecx
call fcn.140173a38
mov rdi, rax
test rax, rax
je 0x1401083ca
mov rax, qword [rsi]
cmp rdi, rax
jne 0x1401083da
mov eax, dword [rsi + 8]
cmp eax, 0xffffffff
je 0x140108405
inc eax
mov dword [rsi + 8], eax
jmp 0x1401083ef
lea rcx, [0x1401ea220]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
call fcn.140173a38
mov rdi, rax
test rax, rax
jne 0x140108398
call sym.std::thread::current::id::get_or_init::__u7b__u7b_closure_u7d__u7d_::hedc11dbc19db473f
mov rdi, rax
mov rax, qword [rsi]
cmp rdi, rax
je 0x1401083a0
mov cl, 1
xor eax, eax
lock cmpxchg byte [rsi + 0xc], cl
jne 0x1401083fa
mov qword [rsi], rdi
mov dword [rsi + 8], 1
mov rax, rsi
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsi + 0xc]
call sym.std::sys::sync::mutex::futex::Mutex::lock_contended::hbe5cde1fd81d392d
jmp 0x1401083e5
lea rcx, [0x140197850]
lea r8, [0x140197898]
mov edx, 0x26
call sym.core::option::expect_failed::h0dca3ca7a19f43d9
int3
Function at 0x140108520
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rsi, r8
mov rbx, rdx
mov rax, qword [rcx]
mov rdi, qword [rax]
mov ecx, dword [0x1401ea238]
test ecx, ecx
je 0x14010856f
dec ecx
call fcn.140173a38
mov r14, rax
test rax, rax
je 0x14010858a
mov rax, qword [rdi]
cmp r14, rax
jne 0x14010859a
mov eax, dword [rdi + 8]
cmp eax, 0xffffffff
je 0x14010866e
inc eax
mov dword [rdi + 8], eax
jmp 0x1401085b3
lea rcx, [0x1401ea220]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
call fcn.140173a38
mov r14, rax
test rax, rax
jne 0x140108554
call sym.std::thread::current::id::get_or_init::__u7b__u7b_closure_u7d__u7d_::hedc11dbc19db473f
mov r14, rax
mov rax, qword [rdi]
cmp r14, rax
je 0x14010855c
mov cl, 1
xor eax, eax
lock cmpxchg byte [rdi + 0xc], cl
jne 0x140108652
mov qword [rdi], r14
mov dword [rdi + 8], 1
cmp qword [rdi + 0x10], 0
jne 0x140108660
mov qword [rdi + 0x10], 0xffffffffffffffff
lea r9, [rdi + 0x18]
mov ecx, 0xfffffff4
mov rdx, rbx
mov r8, rsi
call sym.std::sys::pal::windows::stdio::write::h56dc1c44324702c0
inc qword [rdi + 0x10]
dec dword [rdi + 8]
jne 0x14010860c
mov qword [rdi], 0
xor ecx, ecx
xchg byte [rdi + 0xc], cl
cmp cl, 2
jne 0x14010860c
add rdi, 0xc
mov rcx, rdi
mov rdi, rdx
mov rbx, rax
call fcn.140131cbc
mov rax, rbx
mov rdx, rdi
movabs r8, 0xffffffff00000003
and r8, rdx
xor r9d, r9d
movabs r10, 0x600000002
cmp r8, r10
mov rcx, rax
cmove rcx, r9
test al, 1
cmove rcx, r9
cmove rsi, rdx
cmp r8, r10
cmovne rsi, rdx
mov rax, rcx
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [rdi + 0xc]
call sym.std::sys::sync::mutex::futex::Mutex::lock_contended::hbe5cde1fd81d392d
jmp 0x1401085a9
lea rcx, [0x140196b70]
call sym.core::cell::panic_already_borrowed::h439a15d5ce72f317
ud2
lea rcx, [0x140197850]
lea r8, [0x140197898]
mov edx, 0x26
call sym.core::option::expect_failed::h0dca3ca7a19f43d9
mov rsi, rax
inc qword [rdi + 0x10]
mov rcx, rdi
call sym._ZN4core3ptr175drop_in_place_LT_std..sync..reentrant_lock..ReentrantLockGuard_LT_core..cell..RefCell_LT_std..io..buffered..lin
mov rcx, rsi
call sym._Unwind_Resume
mov rsi, rax
mov rcx, rdi
call sym._ZN4core3ptr175drop_in_place_LT_std..sync..reentrant_lock..ReentrantLockGuard_LT_core..cell..RefCell_LT_std..io..buffered..lin
mov rcx, rsi
call sym._Unwind_Resume
int3