joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002040
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
sub esp, 0x50
mov ecx, dword [0x1400fb038]
test ecx, ecx
je 0x140002067
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140002080
add rax, 8
jmp 0x140002116
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::ha41614f835117e03
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h71d97aa0af732720
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14000205e
je 0x140002114
mov edi, 1
lock xadd qword [0x1400fb018], rdi
test rdi, rdi
je 0x14000213e
movzx eax, byte [0x140297030]
mov edx, 0x10
add byte [rax], al
add byte [rcx], dh
leave
call sym.std::sys::pal::windows::alloc::process_heap_alloc::hd6977e2a73b8a78a
test rax, rax
je 0x140002175
mov rbx, rax
mov rsi, rax
lea rax, sym.std::sys::thread_local::os_local::destroy_value::ha41614f835117e03
mov qword [rsi], rax
mov qword [rsi + 8], rdi
mov ecx, dword [0x1400fb038]
test ecx, ecx
je 0x14000211e
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x1400fb038]
test ecx, ecx
je 0x14000212e
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.1400f8e0c
test rdi, rdi
je 0x14000210f
mov rcx, qword [0x1402970b8]
xor edx, edx
mov r8, rdi
call fcn.1400f8e9c
mov rax, rbx
jmp 0x140002116
xor eax, eax
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::ha41614f835117e03
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h71d97aa0af732720
mov ecx, eax
jmp 0x1400020d9
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::ha41614f835117e03
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h71d97aa0af732720
mov ecx, eax
jmp 0x1400020ed
lea rax, str.regex:_thread_ID_allocation_space_exhausted
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 1
mov qword [rsp + 0x30], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rdx, str.C:Userswin10_x64.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.6_srcutilpool.rs
lea rcx, [rsp + 0x20]
call sym.core::panicking::panic_fmt::h57c46dec66ad69af
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::h51d221331ea27b21
int3
Function at 0x14003bc20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14003bca0
cmp r11, r10
ja 0x14003bd17
cmp r10, rdx
ja 0x14003bd29
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x14003bca2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14003bc80
jmp 0x14003bd04
ja 0x14003bcaa
mov r11, r10
cmp rax, r8
jne 0x14003bc4e
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14003bce0
mov rdi, r8
sub ecx, edx
jns 0x14003bcfb
jmp 0x14003bd06
cmp r8, rsi
je 0x14003bd38
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14003bd06
xor al, 1
cmp rdi, rsi
jne 0x14003bcc0
jmp 0x14003bd06
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call sym.core::slice::index::slice_index_order_fail::h509e8ac6d61d8a5e
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call sym.core::slice::index::slice_end_index_len_fail::h3e2d9e3a363f96f3
lea rcx, str.librarycore_srcunicodeprintable.rs
call sym.core::option::unwrap_failed::h24b27a0084f6d704
int3
Function at 0x14003d0b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x48
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
cmp r8, 0x80
jb 0x14003d2cd
movdqu xmm4, xmmword [rdx]
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm2, xmmword [rdx + 0x20]
movdqu xmm1, xmmword [rdx + 0x30]
not ecx
movd xmm0, ecx
pxor xmm0, xmm4
add rdx, 0x40
add r8, 0xffffffffffffffc0
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x1400fd6f0]
nop word cs:[rax + rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm0
pclmulqdq xmm7, xmm5, 0x11
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmm6
pxor xmm0, xmm7
movdqu xmm6, xmmword [rdx + 0x10]
movdqu xmm7, xmmword [rdx + 0x20]
movdqu xmm8, xmmword [rdx + 0x30]
movdqa xmm9, xmm3
pclmulqdq xmm9, xmm4, 0
pxor xmm9, xmm6
pclmulqdq xmm3, xmm5, 0x11
pxor xmm3, xmm9
movdqa xmm6, xmm2
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm7
pclmulqdq xmm2, xmm5, 0x11
pxor xmm2, xmm6
movdqa xmm6, xmm1
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm8
pclmulqdq xmm1, xmm5, 0x11
pxor xmm1, xmm6
add rdx, 0x40
add r8, 0xffffffffffffffc0
cmp r8, 0x3f
ja 0x14003d120
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm5, xmmword [0x1400fd700]
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm6
pxor xmm0, xmm3
movdqa xmm3, xmm0
pclmulqdq xmm3, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm3
pxor xmm0, xmm2
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
pxor xmm0, xmm1
cmp r8, 0x10
jb 0x14003d24a
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rdx]
add r8, 0xfffffffffffffff0
add rdx, 0x10
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
cmp r8, 0xf
ja 0x14003d220
movdqa xmm1, xmmword [0x1400fd700]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
psrldq xmm0, 4
pxor xmm0, xmm3
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
pclmulqdq xmm2, xmmword [0x1400fd710], 0x10
pblendw xmm2, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm2, 0
pxor xmm1, xmm0
pextrd ecx, xmm1, 1
not ecx
test r8, r8
je 0x14003d2eb
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
jmp sym.crc32fast::baseline::update_fast_16::h87808a2ba8fed9d7
mov eax, ecx
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x140046060
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140046077
dec ecx
jmp 0x140046081
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h71d97aa0af732720
mov ecx, eax
mov edx, 1
call fcn.1400f8e0c
mov rcx, qword [0x1402970b8]
xor edx, edx
mov r8, rdi
call fcn.1400f8e9c
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1400460a7
dec ecx
jmp 0x1400460b1
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h71d97aa0af732720
mov ecx, eax
xor edx, edx
call fcn.1400f8e0c
nop
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14004bf90
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x14004bfd2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14004bfda
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14004bfeb
jmp 0x14004c002
xor r10d, r10d
jmp 0x14004c08d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14004c002
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14004c019
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x14004c039
add r11, r8
jmp 0x14004c16b
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14004c102
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14004c0b0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14004c120
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x14004c132
jmp 0x14004c14d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14004c14d
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x14004c167
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x14004c180
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov ecx, dword [0x1400fb0d8]
test ecx, ecx
je 0x14004c1ac
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14004c1c5
add rax, 8
jmp 0x14004c260
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h02c30b5303a096e0
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h71d97aa0af732720
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14004c1a3
je 0x14004c25e
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call sub.bcryptprimitives.dll_ProcessPrng
movaps xmm6, xmmword [rsp + 0x20]
movzx eax, byte [0x140297030]
mov edx, 0x18
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::hd6977e2a73b8a78a
test rax, rax
je 0x14004c28d
mov rbx, rax
mov rsi, rax
lea rax, sym.std::sys::thread_local::os_local::destroy_value::h02c30b5303a096e0
mov qword [rsi], rax
movups xmmword [rsi + 8], xmm6
mov ecx, dword [0x1400fb0d8]
test ecx, ecx
je 0x14004c26d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x1400fb0d8]
test ecx, ecx
je 0x14004c27d
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.1400f8e0c
test rdi, rdi
je 0x14004c259
mov rcx, qword [0x1402970b8]
xor edx, edx
mov r8, rdi
call fcn.1400f8e9c
mov rax, rbx
jmp 0x14004c260
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h02c30b5303a096e0
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h71d97aa0af732720
mov ecx, eax
jmp 0x14004c223
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h02c30b5303a096e0
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h71d97aa0af732720
mov ecx, eax
jmp 0x14004c237
mov ecx, 8
mov edx, 0x18
call sym.alloc::alloc::handle_alloc_error::h51d221331ea27b21
int3
Function at 0x1400c2f80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rax, qword [rcx]
mov rdi, qword [rax]
mov r12, qword [rax + 8]
mov rsi, qword [rdx + 0x20]
mov rbx, qword [rdx + 0x28]
mov r14, qword [rbx + 0x18]
lea rdx, [0x14022bca0]
mov r8d, 1
mov rcx, rsi
call r14
mov ecx, eax
mov al, 1
test cl, cl
jne 0x1400c3407
mov qword [rsp + 0x70], r14
lea r15, [rsp + 0x38]
lea r14, [rsp + 0x20]
jmp 0x1400c308b
Function at 0x1400ca780
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
movzx eax, byte [0x140297030]
mov edx, 0x200
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::hd6977e2a73b8a78a
test rax, rax
je 0x1400ca856
xor ecx, ecx
lea rdx, [0x140242980]
movdqa xmm0, xmmword [0x1400ff5b0]
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rcx + rdx]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rcx], xmm2
add rcx, 0x10
cmp rcx, 0x200
jne 0x1400ca7c0
mov qword [rsp + 0x20], 0x40
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x40
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0x20]
call sym.regex_syntax::hir::interval::IntervalSet_I_::canonicalize::hd9cfd594d9a9a48f
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
add rsp, 0x40
pop rsi
ret
mov ecx, 4
mov edx, 0x200
call sym.alloc::raw_vec::handle_error::h08cb50f4b6afae22
mov rsi, rax
cmp qword [rsp + 0x20], 0
je 0x1400ca883
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x1402970b8]
xor edx, edx
call fcn.1400f8e9c
mov rcx, rsi
call sym._Unwind_Resume
int3

Function at 0x1400cb5c0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, r8
mov rbx, rdx
mov qword [rsp + 0x20], rcx
mov r12d, 0x12
xor r15d, r15d
lea r14, [0x14027cb08]
mov r13d, 0x12
nop word cs:[rax + rax]
shr r12, 1
add r12, r15
mov rbp, r12
shl rbp, 5
mov rcx, qword [rbp + r14]
mov r8, qword [rbp + r14 + 8]
mov rsi, r8
sub rsi, rdi
cmovae r8, rdi
mov rdx, rbx
call sub.msvcrt.dll_memcmp
cdqe
test eax, eax
cmovne rsi, rax
test rsi, rsi
je 0x1400cb675
lea rax, [r12 + 1]
test rsi, rsi
cmovg r13, r12
cmovs r15, rax
mov r12, r13
sub r12, r15
ja 0x1400cb600
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 8], 1
movabs rax, 0x8000000000000000
mov qword [rcx], rax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rbp + r14 + 0x10]
mov r8, qword [rbp + r14 + 0x18]
mov rcx, qword [rsp + 0x20]
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp sym.regex_syntax::unicode::hir_class::h50dd25cd3cf9cce5
Function at 0x1400d0ff0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400d1015
cmp rax, rcx
je 0x1400d101b
cmp rdx, 4
jae 0x1400d101f
xor eax, eax
xor r8d, r8d
jmp 0x1400d10b0
pop rbp
jmp sym.core::str::count::do_count_chars::he66794fd27396263
xor eax, eax
pop rbp
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400ff860]
movdqa xmm3, xmmword [0x1400ff870]
pxor xmm1, xmm1
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x1400d1040
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400d10c7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400d10b0
pop rbp
ret
Function at 0x1400d4320
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
cmp qword [rcx], 0
je 0x1400d43b5
mov rax, qword [sym.std::sys::pal::windows::thread_local_key::on_tls_callback::h10df92d1e7a68cf4]
mov dword [rbp], 0
lea rbx, [rsi + 0x10]
mov r8, rbp
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
mov dword [rbp - 4], eax
cmp eax, 1
jne 0x1400d43f4
cmp dword [rbp], 0
je 0x1400d43d8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x1400d4409
mov edi, eax
mov rax, qword [0x1402970c0]
nop word cs:[rax + rax]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1402970c0], rsi
jne 0x1400d4390
mov eax, edi
inc eax
mov dword [rsi + 0x18], eax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x1400d43e9
call sub.KERNEL32.dll_TlsAlloc
mov dword [rbp + 4], eax
cmp eax, 0xffffffff
je 0x1400d444b
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x1400d43dd
mov edi, dword [rbp + 4]
jmp 0x1400d43e9
mov edi, dword [rsi + 0x18]
jmp 0x1400d43e7
mov edi, eax
mov ecx, dword [rbp + 4]
call sub.KERNEL32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x38], 0
lea rcx, [rbp - 4]
lea rdx, [rbp - 0x38]
call sym.core::panicking::assert_failed::h82c4ad242ba2b309
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
lea rax, str.xG__
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rdx, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rbp - 0x38]
call sym.core::panicking::panic_fmt::h57c46dec66ad69af
lea rax, str.xG__
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 4]
lea rdx, [rbp - 0x38]
call sym.core::panicking::assert_failed::hc32bdb9d0da80457
int3
Function at 0x1400d5b10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
cmp edx, 3
je 0x1400d5b2c
test edx, edx
jne 0x1400d5c95
mov bl, 1
mov rdi, qword [0x1402970c0]
nop word cs:[rax + rax]
test rdi, rdi
je 0x1400d5b80
mov esi, dword [rdi + 0x18]
mov r14, qword [rdi]
test r14, r14
je 0x1400d5cea
mov rdi, qword [rdi + 8]
test esi, esi
je 0x1400d5b40
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x1400d5b40
xor ebx, ebx
mov ecx, esi
xor edx, edx
mov rsi, rax
call fcn.1400f8e0c
mov rcx, rsi
call r14
jmp 0x1400d5b40
test bl, 1
jne 0x1400d5c95
mov bl, 1
mov rdi, qword [0x1402970c0]
nop word cs:[rax + rax]
test rdi, rdi
je 0x1400d5be0
mov esi, dword [rdi + 0x18]
mov r14, qword [rdi]
test r14, r14
je 0x1400d5cea
mov rdi, qword [rdi + 8]
test esi, esi
je 0x1400d5ba0
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x1400d5ba0
xor ebx, ebx
mov ecx, esi
xor edx, edx
mov rsi, rax
call fcn.1400f8e0c
mov rcx, rsi
call r14
jmp 0x1400d5ba0
test bl, 1
jne 0x1400d5c95
mov bl, 1
mov rdi, qword [0x1402970c0]
nop word cs:[rax + rax]
test rdi, rdi
je 0x1400d5c40
mov esi, dword [rdi + 0x18]
mov r14, qword [rdi]
test r14, r14
je 0x1400d5cea
mov rdi, qword [rdi + 8]
test esi, esi
je 0x1400d5c00
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x1400d5c00
xor ebx, ebx
mov ecx, esi
xor edx, edx
mov rsi, rax
call fcn.1400f8e0c
mov rcx, rsi
call r14
jmp 0x1400d5c00
test bl, 1
jne 0x1400d5c95
mov bl, 1
mov rdi, qword [0x1402970c0]
nop
test rdi, rdi
je 0x1400d5c90
mov esi, dword [rdi + 0x18]
mov r14, qword [rdi]
test r14, r14
je 0x1400d5cea
mov rdi, qword [rdi + 8]
test esi, esi
je 0x1400d5c50
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x1400d5c50
xor ebx, ebx
mov ecx, esi
xor edx, edx
mov rsi, rax
call fcn.1400f8e0c
mov rcx, rsi
call r14
jmp 0x1400d5c50
test bl, 1
je 0x1400d5ca0
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov rbx, qword [0x1402970c0]
nop word [rax + rax]
test rbx, rbx
je 0x1400d5c95
mov esi, dword [rbx + 0x18]
mov r14, qword [rbx]
test r14, r14
je 0x1400d5cea
mov rbx, qword [rbx + 8]
test esi, esi
je 0x1400d5cb0
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x1400d5cb0
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.1400f8e0c
mov rcx, rdi
call r14
jmp 0x1400d5cb0
lea rcx, str.library_std_src_syspalwindows_thread_local_key.rs
call sym.core::option::unwrap_failed::h24b27a0084f6d704
ud2
Function at 0x1400d63a0
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rdi, rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1400d63bd
dec ecx
jmp 0x1400d63c7
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h71d97aa0af732720
mov ecx, eax
mov edx, 1
call fcn.1400f8e0c
mov rcx, qword [0x1402970b8]
xor edx, edx
mov r8, rdi
call fcn.1400f8e9c
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1400d63ed
dec ecx
jmp 0x1400d63f7
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h71d97aa0af732720
mov ecx, eax
xor edx, edx
add rsp, 0x20
pop rdi
pop rsi
pop rbp
jmp fcn.1400f8e0c

Function at 0x1400d6b40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x1400fb0f8]
test ecx, ecx
je 0x1400d6b6d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400d6b86
add rax, 8
jmp 0x1400d6c24
lea rcx, str._m_r_
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h71d97aa0af732720
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x1400d6b64
je 0x1400d6c22
movzx eax, byte [0x140297030]
mov edx, 0x10
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::hd6977e2a73b8a78a
test rax, rax
je 0x1400d6c4d
mov rbx, rax
mov rsi, rax
lea rax, str._m_r_
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1400fb0f8]
test ecx, ecx
je 0x1400d6c2d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x1400fb0f8]
test ecx, ecx
je 0x1400d6c3d
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.1400f8e0c
test rdi, rdi
je 0x1400d6c1d
mov rax, qword [rdi + 8]
test rax, rax
je 0x1400d6c0c
lock dec qword [rax]
jne 0x1400d6c0c
mov rcx, rdi
add rcx, 8
call sym.alloc::sync::Arc_T_A_::drop_slow::h75e8f4c34e28a694
mov rcx, qword [0x1402970b8]
xor edx, edx
mov r8, rdi
call fcn.1400f8e9c
mov rax, rbx
jmp 0x1400d6c24
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, str._m_r_
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h71d97aa0af732720
mov ecx, eax
jmp 0x1400d6bcc
lea rcx, str._m_r_
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h71d97aa0af732720
mov ecx, eax
jmp 0x1400d6be0
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::h51d221331ea27b21
int3