joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012ae0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret

Function at 0x14001a850
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 0x14001a8d0
cmp r11, r10
ja 0x14001a947
cmp r10, rdx
ja 0x14001a959
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x14001a8d2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14001a8b0
jmp 0x14001a934
ja 0x14001a8da
mov r11, r10
cmp rax, r8
jne 0x14001a87e
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 0x14001a910
mov rdi, r8
sub ecx, edx
jns 0x14001a92b
jmp 0x14001a936
cmp r8, rsi
je 0x14001a968
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14001a936
xor al, 1
cmp rdi, rsi
jne 0x14001a8f0
jmp 0x14001a936
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::hfca6cab286b1ac3a
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call sym.core::slice::index::slice_end_index_len_fail::hda10811658e048af
lea rcx, str.librarycore_srcunicodeprintable.rs
call sym.core::option::unwrap_failed::h023124a4722a3daa
int3
Function at 0x14001bdd0
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 0x14001bfed
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 [0x1402ba460]
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 0x14001be40
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm5, xmmword [0x1402ba470]
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 0x14001bf6a
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 0x14001bf40
movdqa xmm1, xmmword [0x1402ba470]
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 [0x1402ba480], 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 0x14001c00b
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::h486153774f55ac7e
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 0x140025c80
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 [0x1402b50f8]
test ecx, ecx
je 0x140025cac
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140025cc5
add rax, 8
jmp 0x140025d60
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h1761f294304f3d03
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x140025ca3
je 0x140025d5e
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 [0x140346130]
mov edx, 0x18
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::hcc99af14aa596ba0
test rax, rax
je 0x140025d8d
mov rbx, rax
mov rsi, rax
lea rax, sym.std::sys::thread_local::os_local::destroy_value::h1761f294304f3d03
mov qword [rsi], rax
movups xmmword [rsi + 8], xmm6
mov ecx, dword [0x1402b50f8]
test ecx, ecx
je 0x140025d6d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x1402b50f8]
test ecx, ecx
je 0x140025d7d
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14013efbc
test rdi, rdi
je 0x140025d59
mov rcx, qword [0x1403460d0]
xor edx, edx
mov r8, rdi
call fcn.14013f0f4
mov rax, rbx
jmp 0x140025d60
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::h1761f294304f3d03
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
jmp 0x140025d23
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h1761f294304f3d03
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
jmp 0x140025d37
mov ecx, 8
mov edx, 0x18
call sym.alloc::alloc::handle_alloc_error::ha2de6b786ec4bee4
int3
Function at 0x14002dd00
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 0x14002dd42
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14002dd4a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14002dd5b
jmp 0x14002dd72
xor r10d, r10d
jmp 0x14002ddfd
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14002dd72
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14002dd89
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 0x14002dda9
add r11, r8
jmp 0x14002dedb
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 0x14002de72
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 0x14002de20
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14002de90
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x14002dea2
jmp 0x14002debd
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14002debd
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 0x14002ded7
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 0x140045420
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x1400454b6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [0x1402bbff0]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1402bc000]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call sym.__std::hash::random::DefaultHasher_as_core::hash::Hasher_::write::h375a4a5750cb1122
test rdi, rdi
je 0x140045545
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14004555e
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x140045656
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1400456d8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x140045663
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x140045520
cmp r9, 8
jae 0x14004566c
jmp 0x1400456d8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call sym.__std::hash::random::DefaultHasher_as_core::hash::Hasher_::write::h375a4a5750cb1122
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x1400456d8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x1400456d8
mov r8, rcx
cmp r9, 8
jb 0x1400456d8
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x140045670
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140047a30
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, rcx
mov rax, qword [rcx]
nop dword [rax]
mov rcx, rax
xor edx, edx
test cl, 3
sete dl
or rdx, rax
or rdx, 0x20
lock cmpxchg qword [rsi], rdx
jne 0x140047a40
test cl, 3
je 0x140047aca
mov rax, 0xffffffffffffffc0
lock xadd qword [rsi], rax
cmp rax, 0x3f
jbe 0x140047b53
and rax, 0xffffffffffffffc0
cmp rax, 0x40
jne 0x140047b1a
mov rcx, qword [rsi + 0x28]
add rcx, 0xfffffffffffffffe
cmp rcx, 3
mov eax, 1
cmovb rax, rcx
cmp rax, 1
je 0x140047b22
test rax, rax
jne 0x140047b2b
mov r8, qword [rsi + 0x30]
test r8, r8
je 0x140047b2b
cmp qword [rsi + 0x38], 0
je 0x140047b2b
mov rcx, qword [0x1403460d0]
xor edx, edx
call fcn.14013f0f4
jmp 0x140047b2b
lea rdi, [rsi + 0x20]
mov qword [rsp + 0x20], 4
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sym.tokio::runtime::task::core::Core_T_S_::set_stage::h674768b30b6f9b17
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x20], 1
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sym.tokio::runtime::task::core::Core_T_S_::set_stage::h674768b30b6f9b17
mov rcx, rsi
add rsp, 0x48
pop rdi
pop rsi
jmp sym.tokio::runtime::task::harness::Harness_T_S_::complete::h4240a5da2ba25fc7
nop
add rsp, 0x48
pop rdi
pop rsi
ret
lea rcx, [rsi + 0x28]
call sym._ZN4core3ptr182drop_in_place_LT_core..result..Result_LT_core..result..Result_LT_hyper..client..connect..dns..SocketAddrs_C_std
mov rax, qword [rsi + 0x60]
test rax, rax
je 0x140047b3b
mov rcx, qword [rsi + 0x68]
call qword [rax + 0x18]
mov r8, qword [rsi - 8]
mov rcx, qword [0x1403460d0]
xor edx, edx
add rsp, 0x48
pop rdi
pop rsi
jmp fcn.14013f0f4
lea rcx, str.assertion_failed:_prev.ref_count_____1
lea r8, [0x14030eba0]
mov edx, 0x27
call sym.core::panicking::panic::heacbd316ae05a694
int3
Function at 0x140047d90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov ecx, dword [0x1402b5148]
test ecx, ecx
je 0x140047db7
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140047dd0
add rax, 8
jmp 0x140047ea0
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::hc7b6c01568a8925f
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x140047dae
je 0x140047e9e
movzx eax, byte [0x140346130]
mov edx, 0x50
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::hcc99af14aa596ba0
test rax, rax
je 0x140047ec8
mov rbx, rax
mov rsi, rax
lea rax, sym.std::sys::thread_local::os_local::destroy_value::hc7b6c01568a8925f
mov qword [rsi], rax
movups xmm0, xmmword [0x14030f6c8]
movups xmmword [rsi + 8], xmm0
movups xmm0, xmmword [0x14030f6d8]
movups xmmword [rsi + 0x18], xmm0
movups xmm0, xmmword [0x14030f6e8]
movups xmmword [rsi + 0x28], xmm0
movups xmm0, xmmword [0x14030f6f8]
movups xmmword [rsi + 0x38], xmm0
movabs rax, 0x2000000000000
mov qword [rsi + 0x48], rax
mov ecx, dword [0x1402b5148]
test ecx, ecx
je 0x140047ea8
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x1402b5148]
test ecx, ecx
je 0x140047eb8
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14013efbc
test rdi, rdi
je 0x140047e99
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140047e88
lock dec qword [rax]
jne 0x140047e88
mov rcx, rdi
add rcx, 0x28
call sym.alloc::sync::Arc_T_A_::drop_slow::h4fa9c6918b7d3142
mov rcx, qword [0x1403460d0]
xor edx, edx
mov r8, rdi
call fcn.14013f0f4
mov rax, rbx
jmp 0x140047ea0
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::hc7b6c01568a8925f
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
jmp 0x140047e48
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::hc7b6c01568a8925f
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
jmp 0x140047e5c
mov ecx, 8
mov edx, 0x50
call sym.alloc::alloc::handle_alloc_error::ha2de6b786ec4bee4
int3
Function at 0x14005c4d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov ecx, dword [0x1402b5148]
test ecx, ecx
je 0x14005c4f7
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14005c510
add rax, 8
jmp 0x14005c5e0
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::hc7b6c01568a8925f
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14005c4ee
je 0x14005c5de
movzx eax, byte [0x140346130]
mov edx, 0x50
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::hcc99af14aa596ba0
test rax, rax
je 0x14005c608
mov rbx, rax
mov rsi, rax
lea rax, sym.std::sys::thread_local::os_local::destroy_value::hc7b6c01568a8925f
mov qword [rsi], rax
movups xmm0, xmmword [0x14030f6c8]
movups xmmword [rsi + 8], xmm0
movups xmm0, xmmword [0x14030f6d8]
movups xmmword [rsi + 0x18], xmm0
movups xmm0, xmmword [0x14030f6e8]
movups xmmword [rsi + 0x28], xmm0
movups xmm0, xmmword [0x14030f6f8]
movups xmmword [rsi + 0x38], xmm0
movabs rax, 0x2000000000000
mov qword [rsi + 0x48], rax
mov ecx, dword [0x1402b5148]
test ecx, ecx
je 0x14005c5e8
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x1402b5148]
test ecx, ecx
je 0x14005c5f8
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14013efbc
test rdi, rdi
je 0x14005c5d9
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x14005c5c8
lock dec qword [rax]
jne 0x14005c5c8
mov rcx, rdi
add rcx, 0x28
call sym.alloc::sync::Arc_T_A_::drop_slow::h039eb8343c166094
mov rcx, qword [0x1403460d0]
xor edx, edx
mov r8, rdi
call fcn.14013f0f4
mov rax, rbx
jmp 0x14005c5e0
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::hc7b6c01568a8925f
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
jmp 0x14005c588
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::hc7b6c01568a8925f
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
jmp 0x14005c59c
mov ecx, 8
mov edx, 0x50
call sym.alloc::alloc::handle_alloc_error::ha2de6b786ec4bee4
int3
Function at 0x14005c620
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 [0x1402b50f8]
test ecx, ecx
je 0x14005c64c
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14005c665
add rax, 8
jmp 0x14005c700
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h1761f294304f3d03
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14005c643
je 0x14005c6fe
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 [0x140346130]
mov edx, 0x18
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::hcc99af14aa596ba0
test rax, rax
je 0x14005c72d
mov rbx, rax
mov rsi, rax
lea rax, sym.std::sys::thread_local::os_local::destroy_value::h1761f294304f3d03
mov qword [rsi], rax
movups xmmword [rsi + 8], xmm6
mov ecx, dword [0x1402b50f8]
test ecx, ecx
je 0x14005c70d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x1402b50f8]
test ecx, ecx
je 0x14005c71d
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14013efbc
test rdi, rdi
je 0x14005c6f9
mov rcx, qword [0x1403460d0]
xor edx, edx
mov r8, rdi
call fcn.14013f0f4
mov rax, rbx
jmp 0x14005c700
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::h1761f294304f3d03
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
jmp 0x14005c6c3
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h1761f294304f3d03
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
jmp 0x14005c6d7
mov ecx, 8
mov edx, 0x18
call sym.alloc::alloc::handle_alloc_error::ha2de6b786ec4bee4
int3
Function at 0x140060d10
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 0x140060d52
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x140060d5a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x140060d6b
jmp 0x140060d82
xor r10d, r10d
jmp 0x140060e0d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140060d82
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140060d99
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 0x140060db9
add r11, r8
jmp 0x140060eeb
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 0x140060e82
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 0x140060e30
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140060ea0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140060eb2
jmp 0x140060ecd
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x140060ecd
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 0x140060ee7
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 0x1400832e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne sym.tokio_native_tls::TlsStream_S_::with_context::h2912d60d10d8f3f2
add rcx, 8
jmp sym.__tokio::net::tcp::stream::TcpStream_as_tokio::io::async_read::AsyncRead_::poll_read::he60859b7a6fb00fe

Function at 0x140083300
Capabilities:
Send data
Send data on socket

Disassembly:
cmp dword [rcx], 2
jne sym.tokio_native_tls::TlsStream_S_::with_context::he729ab8746a1c3ed
add rcx, 8
jmp sym.__tokio::net::tcp::stream::TcpStream_as_tokio::io::async_write::AsyncWrite_::poll_write::hb00fcc41d95c3290

Function at 0x140086110
Capabilities:
Get remote cert context via schannel

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
lea rcx, [rdx + 0xe8]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, 0x53
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
je 0x14008614f
movabs r12, 0x8000000000000000
jmp 0x1400861a8
mov rbx, qword [rsp + 0x20]
mov r15, qword [rbx + 8]
mov edi, dword [rbx + 0x10]
test rdi, rdi
je 0x140086189
movzx eax, byte [0x140346130]
xor ecx, ecx
mov rdx, rdi
call sym.std::sys::pal::windows::alloc::process_heap_alloc::hcc99af14aa596ba0
mov r14, rax
mov r12, rdi
test rax, rax
jne 0x140086192
mov ecx, 1
mov rdx, rdi
call sym.alloc::raw_vec::handle_error::h4c8b686338b9335b
xor r12d, r12d
mov r14d, 1
mov rcx, r14
mov rdx, r15
mov r8, rdi
call sym.memcpy
mov rcx, rbx
call sub.CRYPT32.dll_CertFreeCertificateContext
mov qword [rsi], r12
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret