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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov ecx, dword [0x1402ae038]
test ecx, ecx
je 0x140056337
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140056350
add rax, 8
jmp 0x1400563e6
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h0b426f6ff46acd0b
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14005632e
je 0x1400563e4
mov edi, 1
lock xadd qword [0x1402ae018], rdi
test rdi, rdi
je 0x14005640e
movzx eax, byte [0x14035b110]
mov edx, 0x10
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x140056445
mov rbx, rax
mov rsi, rax
lea rax, sym.std::sys::thread_local::os_local::destroy_value::h0b426f6ff46acd0b
mov qword [rsi], rax
mov qword [rsi + 8], rdi
mov ecx, dword [0x1402ae038]
test ecx, ecx
je 0x1400563ee
dec ecx
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x1402ae038]
test ecx, ecx
je 0x1400563fe
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.1401380cc
test rdi, rdi
je 0x1400563df
mov rcx, qword [0x14035b0d0]
xor edx, edx
mov r8, rdi
call fcn.140137fbc
mov rax, rbx
jmp 0x1400563e6
xor eax, eax
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h0b426f6ff46acd0b
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x1400563a9
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h0b426f6ff46acd0b
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x1400563bd
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:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.7_srcutilpool.rs
lea rcx, [rsp + 0x20]
call sym.core::panicking::panic_fmt::h9e181c62584cc428
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::h033f15fcf3b32b44
int3
Function at 0x1400569a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x14005e4e0
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, r9
mov r14, r8
mov r8, rdx
mov rdx, rcx
movabs r13, 0x8000000000000000
lea rcx, [rsp + 0x50]
call sym.__str_as_alloc::ffi::c_str::CString::new::SpecNewImpl_::spec_new_impl::hb8d24153a434d2ca
cmp qword [rsp + 0x50], r13
jne 0x14005e63e
mov rsi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
mov edx, 1
xor r8d, r8d
call sym.__str_as_alloc::ffi::c_str::CString::new::SpecNewImpl_::spec_new_impl::hb8d24153a434d2ca
cmp qword [rsp + 0x50], r13
jne 0x14005e65e
mov rbx, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
mov rdx, r14
mov r8, rdi
call sym.__str_as_alloc::ffi::c_str::CString::new::SpecNewImpl_::spec_new_impl::hb8d24153a434d2ca
cmp qword [rsp + 0x50], r13
jne 0x14005e67e
mov r14, qword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
mov rcx, 0xffffffff80000001
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call sub.advapi32.dll_RegCreateKeyExA
mov rcx, qword [rsp + 0x70]
inc edi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r14
mov rdx, rbx
xor r8d, r8d
mov r9d, 1
call sub.advapi32.dll_RegSetValueExA
mov byte [r14], 0
test r13, r13
je 0x14005e5f8
mov rcx, qword [0x14035b0d0]
xor edx, edx
mov r8, r14
call fcn.140137fbc
mov byte [rbx], 0
test r12, r12
je 0x14005e611
mov rcx, qword [0x14035b0d0]
xor edx, edx
mov r8, rbx
call fcn.140137fbc
mov byte [rsi], 0
test r15, r15
je 0x14005e62a
mov rcx, qword [0x14035b0d0]
xor edx, edx
mov r8, rsi
call fcn.140137fbc
nop
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movups xmm0, xmmword [rsp + 0x50]
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
lea rax, [0x1402c26d8]
jmp 0x14005e69c
movups xmm0, xmmword [rsp + 0x50]
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
lea rax, [0x1402c26f0]
jmp 0x14005e69c
movups xmm0, xmmword [rsp + 0x50]
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
lea rax, [0x1402c2708]
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, sym.core::ptr::drop_in_place_alloc::ffi::c_str::NulError_::he46b4a9bbd0d421c
lea r8, [rsp + 0x70]
mov edx, 0x2b
call sym.core::result::unwrap_failed::h9b9528a0a4171737
int3
Function at 0x140061050
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rdx + 0x10]
movups xmm1, xmmword [rdx]
movups xmm0, xmmword [rdx + 4]
mov r9d, dword [rdx + 0xc]
add r9d, eax
bswap r9d
movd xmm2, r9d
shufps xmm2, xmm0, 0xd4
unpcklps xmm0, xmm1
shufps xmm0, xmm2, 0x21
xorps xmm0, xmmword [rcx]
aesenc xmm0, xmmword [rcx + 0x10]
aesenc xmm0, xmmword [rcx + 0x20]
aesenc xmm0, xmmword [rcx + 0x30]
aesenc xmm0, xmmword [rcx + 0x40]
aesenc xmm0, xmmword [rcx + 0x50]
aesenc xmm0, xmmword [rcx + 0x60]
aesenc xmm0, xmmword [rcx + 0x70]
aesenc xmm0, xmmword [rcx + 0x80]
aesenc xmm0, xmmword [rcx + 0x90]
aesenc xmm0, xmmword [rcx + 0xa0]
aesenc xmm0, xmmword [rcx + 0xb0]
inc eax
aesenc xmm0, xmmword [rcx + 0xc0]
mov dword [rdx + 0x10], eax
aesenc xmm0, xmmword [rcx + 0xd0]
aesenclast xmm0, xmmword [rcx + 0xe0]
movdqu xmmword [r8], xmm0
ret
Function at 0x1400c92c0
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 0x1400c9306
dec ecx
mov edx, 1
call fcn.1401380cc
mov rcx, qword [0x14035b0d0]
xor edx, edx
mov r8, rdi
call fcn.140137fbc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1400c9312
dec ecx
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1401380cc
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x1400c92d5
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x1400c92f9

Function at 0x1400c9320
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 [0x1402ae110]
test ecx, ecx
je 0x1400c934c
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400c9365
add rax, 8
jmp 0x1400c9400
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h11c5ff2709c8df73
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x1400c9343
je 0x1400c93fe
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 [0x14035b110]
mov edx, 0x18
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x1400c942d
mov rbx, rax
mov rsi, rax
lea rax, sym.std::sys::thread_local::os_local::destroy_value::h11c5ff2709c8df73
mov qword [rsi], rax
movups xmmword [rsi + 8], xmm6
mov ecx, dword [0x1402ae110]
test ecx, ecx
je 0x1400c940d
dec ecx
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x1402ae110]
test ecx, ecx
je 0x1400c941d
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.1401380cc
test rdi, rdi
je 0x1400c93f9
mov rcx, qword [0x14035b0d0]
xor edx, edx
mov r8, rdi
call fcn.140137fbc
mov rax, rbx
jmp 0x1400c9400
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::h11c5ff2709c8df73
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x1400c93c3
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h11c5ff2709c8df73
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x1400c93d7
mov ecx, 8
mov edx, 0x18
call sym.alloc::alloc::handle_alloc_error::h033f15fcf3b32b44
int3
Function at 0x1400dcbd0
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 0x1400dcc12
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x1400dcc1a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400dcc2b
jmp 0x1400dcc42
xor r10d, r10d
jmp 0x1400dcccd
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400dcc42
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400dcc59
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 0x1400dcc79
add r11, r8
jmp 0x1400dcdab
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 0x1400dcd42
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 0x1400dccf0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1400dcd60
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1400dcd72
jmp 0x1400dcd8d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1400dcd8d
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 0x1400dcda7
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 0x1400f3050
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov r14, r8
mov rsi, rcx
mov rdi, r8
sub rdi, rdx
shr rdi, 3
sub r14, rdx
je 0x1400f30de
movabs rax, 0x7ffffffffffffff8
cmp r14, rax
ja 0x1400f32a2
mov rbx, rdx
movzx eax, byte [0x14035b110]
xor ecx, ecx
mov rdx, r14
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x1400f32ac
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
cmp r14, 0xc0
jae 0x1400f3109
xor ecx, ecx
mov r8, rcx
or r8, 1
test r14b, 8
jne 0x1400f31d6
mov r9, rcx
cmp rdi, r8
jne 0x1400f3203
jmp 0x1400f3271
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 4
mov qword [rsp + 0x30], 0
test rdi, rdi
jne 0x1400f328c
xor edx, edx
jmp 0x1400f3271
lea rdx, [rax + rdi*8]
add rdx, 0xfffffffffffffff8
xor ecx, ecx
cmp rdx, rax
jb 0x1400f30bc
lea rdx, [rax + 4]
lea r8, [rax + rdi*8]
add r8, 0xfffffffffffffffc
cmp r8, rdx
jb 0x1400f30bc
movabs rdx, 0x1ffffffffffffffe
lea r8, [rdi - 1]
lea r9, [rdx + 1]
cmp r8, r9
ja 0x1400f30bc
mov rcx, r14
and rcx, 0xfffffffffffffff8
lea r8, [rbx + rcx]
cmp rax, r8
jae 0x1400f3160
add rcx, rax
cmp rcx, rbx
ja 0x1400f30ba
and rdx, rdi
xor ecx, ecx
movdqa xmm0, xmmword [0x1402b5e00]
nop dword [rax]
movdqu xmm1, xmmword [rbx + rcx*8]
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*8], xmm2
add rcx, 2
cmp rdx, rcx
jne 0x1400f3170
mov rcx, rdx
cmp rdi, rdx
jne 0x1400f30bc
jmp 0x1400f3271
mov edx, dword [rbx + rcx*8]
mov r9d, dword [rbx + rcx*8 + 4]
cmp edx, r9d
mov r10d, r9d
cmovb r10d, edx
cmova r9d, edx
mov dword [rax + rcx*8], r10d
mov dword [rax + rcx*8 + 4], r9d
inc rcx
mov rdx, rcx
mov r9, r8
cmp rdi, r8
je 0x1400f3271
lea rax, [rax + rcx*8]
add rax, 0xc
lea rdx, [rbx + r9*8]
add rdx, 0xc
sub rdi, r9
xor r8d, r8d
nop dword [rax]
mov r9d, dword [rdx + r8*8 - 0xc]
mov r10d, dword [rdx + r8*8 - 8]
cmp r9d, r10d
mov r11d, r10d
cmovb r11d, r9d
cmova r10d, r9d
mov dword [rax + r8*8 - 0xc], r11d
mov dword [rax + r8*8 - 8], r10d
mov r9d, dword [rdx + r8*8 - 4]
mov r10d, dword [rdx + r8*8]
cmp r9d, r10d
mov r11d, r10d
cmovb r11d, r9d
cmova r10d, r9d
mov dword [rax + r8*8 - 4], r11d
mov dword [rax + r8*8], r10d
add r8, 2
cmp rdi, r8
jne 0x1400f3220
add rcx, r8
mov rdx, rcx
mov qword [rsp + 0x30], rdx
mov qword [rsi + 0x10], rdx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8, rdi
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::hd8312d57def99a93
mov rdx, qword [rsp + 0x30]
jmp 0x1400f3271
xor ecx, ecx
mov rdx, r14
call sym.alloc::raw_vec::handle_error::h5313441c9bd13595
mov ecx, 4
mov rdx, r14
call sym.alloc::raw_vec::handle_error::h5313441c9bd13595
int3
Function at 0x1400fe9a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r9, qword [rdx]
movzx eax, byte [r9 + 0x24]
cmp al, 2
je 0x1400fe9ed
and al, 1
jne 0x1400fe9ed
movzx eax, byte [r8 + 0x34]
xor al, 4
or al, byte [r8 + 0x35]
mov eax, dword [r8 + 0x30]
jne 0x1400fe9f1
cmp eax, 0x100
jae 0x1400fe9f1
test al, al
js 0x1400fea5d
movzx eax, al
shl rax, 0x20
test al, 1
je 0x1400fe9f9
mov byte [rcx + 8], ah
jmp 0x1400fea09
mov eax, dword [r8 + 0x30]
shl rax, 0x20
test al, 1
jne 0x1400fe9e8
mov r9, rax
shr r9, 0x27
jne 0x1400fea1b
shr rax, 0x20
mov byte [rcx + 8], al
movabs rax, 0x8000000000000000
mov qword [rcx], rax
jmp 0x1400feaec
mov rdi, qword [rdx + 8]
mov rsi, qword [rdx + 0x10]
test rsi, rsi
je 0x1400feaa3
js 0x1400feb5c
mov r14, r8
mov r15, rcx
movzx eax, byte [0x14035b110]
xor ecx, ecx
mov rdx, rsi
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
mov rbx, rax
mov r12, rsi
test rax, rax
jne 0x1400feab1
mov ecx, 1
mov rdx, rsi
call sym.alloc::raw_vec::handle_error::h5313441c9bd13595
cmp byte [r9 + 0x27], 0
je 0x1400feafa
mov rdi, qword [rdx + 8]
mov rsi, qword [rdx + 0x10]
test rsi, rsi
je 0x1400feb11
js 0x1400feb5c
mov r15, r8
mov r14, rcx
movzx eax, byte [0x14035b110]
xor ecx, ecx
mov rdx, rsi
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x1400fea50
mov rbx, rax
mov r12, rsi
jmp 0x1400feb1f
mov r14, r8
mov r15, rcx
mov ebx, 1
xor r12d, r12d
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call sym.memcpy
mov qword [r15], r12
mov qword [r15 + 8], rbx
mov qword [r15 + 0x10], rsi
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmm2, xmmword [r14 + 0x20]
movups xmmword [r15 + 0x18], xmm0
movups xmmword [r15 + 0x28], xmm1
movups xmmword [r15 + 0x38], xmm2
mov byte [r15 + 0x48], 0
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movzx eax, al
shl eax, 8
or rax, 1
test al, 1
je 0x1400fe9f9
jmp 0x1400fe9e8
mov r15, r8
mov r14, rcx
mov ebx, 1
xor r12d, r12d
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call sym.memcpy
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmm2, xmmword [r15 + 0x20]
movups xmmword [r14 + 0x18], xmm0
movups xmmword [r14 + 0x28], xmm1
movups xmmword [r14 + 0x38], xmm2
mov qword [r14], r12
mov qword [r14 + 8], rbx
mov qword [r14 + 0x10], rsi
mov byte [r14 + 0x48], 1
jmp 0x1400feaec
xor ecx, ecx
mov rdx, rsi
call sym.alloc::raw_vec::handle_error::h5313441c9bd13595
int3
Function at 0x14010b000
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x14010b025
cmp rax, rcx
je 0x14010b02b
cmp rdx, 4
jae 0x14010b02f
xor eax, eax
xor r8d, r8d
jmp 0x14010b0c0
pop rbp
jmp sym.core::str::count::do_count_chars::h2fd5de11ed1589cd
xor eax, eax
pop rbp
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1402b65f0]
movdqa xmm3, xmmword [0x1402b6600]
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 0x14010b050
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14010b0d7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14010b0c0
pop rbp
ret
Function at 0x14010f460
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 0x14010f4f5
mov rax, qword [sym.std::sys::pal::windows::thread_local_key::on_tls_callback::hcf9916a3fd1ee073]
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 0x14010f534
cmp dword [rbp], 0
je 0x14010f518
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x14010f549
mov edi, eax
mov rax, qword [0x14035b0d8]
nop word cs:[rax + rax]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x14035b0d8], rsi
jne 0x14010f4d0
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 0x14010f529
call sub.kernel32.dll_TlsAlloc
mov dword [rbp + 4], eax
cmp eax, 0xffffffff
je 0x14010f58b
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x14010f51d
mov edi, dword [rbp + 4]
jmp 0x14010f529
mov edi, dword [rsi + 0x18]
jmp 0x14010f527
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::h8a98e51c055d6f66
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
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::h9e181c62584cc428
lea rax, str.out_of_TLS_indexes
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::h2bea6875334c4c0c
int3
Function at 0x140110e10
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 0x140110e2c
test edx, edx
jne 0x140110f95
mov bl, 1
mov rdi, qword [0x14035b0d8]
nop word cs:[rax + rax]
test rdi, rdi
je 0x140110e80
mov esi, dword [rdi + 0x18]
mov r14, qword [rdi]
test r14, r14
je 0x140110fea
mov rdi, qword [rdi + 8]
test esi, esi
je 0x140110e40
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
test rax, rax
je 0x140110e40
xor ebx, ebx
mov ecx, esi
xor edx, edx
mov rsi, rax
call fcn.1401380cc
mov rcx, rsi
call r14
jmp 0x140110e40
test bl, 1
jne 0x140110f95
mov bl, 1
mov rdi, qword [0x14035b0d8]
nop word cs:[rax + rax]
test rdi, rdi
je 0x140110ee0
mov esi, dword [rdi + 0x18]
mov r14, qword [rdi]
test r14, r14
je 0x140110fea
mov rdi, qword [rdi + 8]
test esi, esi
je 0x140110ea0
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
test rax, rax
je 0x140110ea0
xor ebx, ebx
mov ecx, esi
xor edx, edx
mov rsi, rax
call fcn.1401380cc
mov rcx, rsi
call r14
jmp 0x140110ea0
test bl, 1
jne 0x140110f95
mov bl, 1
mov rdi, qword [0x14035b0d8]
mov edi, dword [0x14035b0d8]

Function at 0x1401116a0
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 0x1401116bd
dec ecx
jmp 0x1401116c7
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
mov edx, 1
call fcn.1401380cc
mov rcx, qword [0x14035b0d0]
xor edx, edx
mov r8, rdi
call fcn.140137fbc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1401116ed
dec ecx
jmp 0x1401116f7
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
xor edx, edx
add rsp, 0x20
pop rdi
pop rsi
pop rbp
jmp fcn.1401380cc