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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov ecx, dword [0x1403911a0]
test ecx, ecx
je 0x14009e077
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x14009e090
add rax, 8
jmp 0x14009e160
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h1887d57b7e52db0c
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14009e06e
je 0x14009e15e
movzx eax, byte [0x1404a5170]
mov edx, 0x50
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x14009e188
mov rbx, rax
mov rsi, rax
lea rax, sym.std::sys::thread_local::os_local::destroy_value::h1887d57b7e52db0c
mov qword [rsi], rax
movups xmm0, xmmword [0x140442908]
movups xmmword [rsi + 8], xmm0
movups xmm0, xmmword [0x140442918]
movups xmmword [rsi + 0x18], xmm0
movups xmm0, xmmword [0x140442928]
movups xmmword [rsi + 0x28], xmm0
movups xmm0, xmmword [0x140442938]
movups xmmword [rsi + 0x38], xmm0
movabs rax, 0x2000000000000
mov qword [rsi + 0x48], rax
mov ecx, dword [0x1403911a0]
test ecx, ecx
je 0x14009e168
dec ecx
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x1403911a0]
test ecx, ecx
je 0x14009e178
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14021a8f4
test rdi, rdi
je 0x14009e159
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x14009e148
lock dec qword [rax]
jne 0x14009e148
mov rcx, rdi
add rcx, 0x28
call sym.alloc::sync::Arc_T_A_::drop_slow::h99a37019961a3903
mov rcx, qword [0x1404a5110]
xor edx, edx
mov r8, rdi
call fcn.14021a7bc
mov rax, rbx
jmp 0x14009e160
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h1887d57b7e52db0c
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x14009e108
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h1887d57b7e52db0c
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x14009e11c
mov ecx, 8
mov edx, 0x50
call sym.alloc::alloc::handle_alloc_error::h033f15fcf3b32b44
int3
Function at 0x14009fc10
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x80
mov rsi, rcx
mov rax, qword [rcx]
nop
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x14009fc20
test al, 1
je 0x14009fd15
test al, 2
jne 0x14009fd2d
test al, 8
jne 0x14009fc5b
lea rcx, [rsi + 0x20]
mov qword [rsp + 0x28], 4
lea rdx, [rsp + 0x28]
call sym.tokio::runtime::task::core::Core_T_S_::set_stage::h898735bfa1a0d49e
jmp 0x14009fc73
test al, 0x10
je 0x14009fc73
mov rax, qword [rsi + 0x60]
test rax, rax
je 0x14009fdb1
mov rcx, qword [rsi + 0x68]
call qword [rax + 0x10]
mov qword [rsp + 0x20], 1
mov rax, 0xffffffffffffffc0
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rsp + 0x20]
jb 0x14009fd45
jne 0x14009fcd9
mov rcx, qword [rsi + 0x28]
add rcx, 0xfffffffffffffffe
cmp rcx, 3
mov eax, 1
cmovb rax, rcx
cmp rax, 1
je 0x14009fce2
test rax, rax
jne 0x14009fceb
mov r8, qword [rsi + 0x30]
test r8, r8
je 0x14009fceb
cmp qword [rsi + 0x38], 0
je 0x14009fceb
mov rcx, qword [0x1404a5110]
xor edx, edx
call fcn.14021a7bc
jmp 0x14009fceb
add rsp, 0x80
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 0x14009fcfb
mov rcx, qword [rsi + 0x68]
call qword [rax + 0x18]
mov r8, qword [rsi - 8]
mov rcx, qword [0x1404a5110]
xor edx, edx
add rsp, 0x80
pop rsi
jmp fcn.14021a7bc
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140442090]
mov edx, 0x23
call sym.core::panicking::panic::h8ea5606244902eff
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1404420d0]
mov edx, 0x25
call sym.core::panicking::panic::h8ea5606244902eff
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x60], rax
lea rax, [sym.core::fmt::num::imp::__impl_core::fmt::Display_for_u64_::fmt::habbd8e64303c6dcd]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
lea rax, str.current:___sub:
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 2
lea rdx, [0x140442118]
lea rcx, [rsp + 0x28]
call sym.core::panicking::panic_fmt::h9e181c62584cc428
lea rax, str.PBD_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rdx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.39.2_src_runtime_taskcore.rs
lea rcx, [rsp + 0x28]
call sym.core::panicking::panic_fmt::h9e181c62584cc428
int3
Function at 0x140109a40
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 0x140109a86
dec ecx
mov edx, 1
call fcn.14021a8f4
mov rcx, qword [0x1404a5110]
xor edx, edx
mov r8, rdi
call fcn.14021a7bc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140109a92
dec ecx
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14021a8f4
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x140109a55
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x140109a79
Function at 0x140133260
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 0x1401332ee
movabs rax, 0x7ffffffffffffff8
cmp r14, rax
ja 0x1401334b2
mov rbx, rdx
movzx eax, byte [0x1404a5170]
xor ecx, ecx
mov rdx, r14
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x1401334bc
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
cmp r14, 0xc0
jae 0x140133319
xor ecx, ecx
mov r8, rcx
or r8, 1
test r14b, 8
jne 0x1401333e6
mov r9, rcx
cmp rdi, r8
jne 0x140133413
jmp 0x140133481
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 4
mov qword [rsp + 0x30], 0
test rdi, rdi
jne 0x14013349c
xor edx, edx
jmp 0x140133481
lea rdx, [rax + rdi*8]
add rdx, 0xfffffffffffffff8
xor ecx, ecx
cmp rdx, rax
jb 0x1401332cc
lea rdx, [rax + 4]
lea r8, [rax + rdi*8]
add r8, 0xfffffffffffffffc
cmp r8, rdx
jb 0x1401332cc
movabs rdx, 0x1ffffffffffffffe
lea r8, [rdi - 1]
lea r9, [rdx + 1]
cmp r8, r9
ja 0x1401332cc
mov rcx, r14
and rcx, 0xfffffffffffffff8
lea r8, [rbx + rcx]
cmp rax, r8
jae 0x140133370
add rcx, rax
cmp rcx, rbx
ja 0x1401332ca
and rdx, rdi
xor ecx, ecx
movdqa xmm0, xmmword [0x14039bae0]
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 0x140133380
mov rcx, rdx
cmp rdi, rdx
jne 0x1401332cc
jmp 0x140133481
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 0x140133481
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 0x140133430
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 0x140133481
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 0x14013e8e0
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 0x14013e92d
and al, 1
jne 0x14013e92d
movzx eax, byte [r8 + 0x34]
xor al, 4
or al, byte [r8 + 0x35]
mov eax, dword [r8 + 0x30]
jne 0x14013e931
cmp eax, 0x100
jae 0x14013e931
test al, al
js 0x14013e99d
movzx eax, al
shl rax, 0x20
test al, 1
je 0x14013e939
mov byte [rcx + 8], ah
jmp 0x14013e949
mov eax, dword [r8 + 0x30]
shl rax, 0x20
test al, 1
jne 0x14013e928
mov r9, rax
shr r9, 0x27
jne 0x14013e95b
shr rax, 0x20
mov byte [rcx + 8], al
movabs rax, 0x8000000000000000
mov qword [rcx], rax
jmp 0x14013ea2c
mov rdi, qword [rdx + 8]
mov rsi, qword [rdx + 0x10]
test rsi, rsi
je 0x14013e9e3
js 0x14013ea9c
mov r14, r8
mov r15, rcx
movzx eax, byte [0x1404a5170]
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 0x14013e9f1
mov ecx, 1
mov rdx, rsi
call sym.alloc::raw_vec::handle_error::h5313441c9bd13595
cmp byte [r9 + 0x27], 0
je 0x14013ea3a
mov rdi, qword [rdx + 8]
mov rsi, qword [rdx + 0x10]
test rsi, rsi
je 0x14013ea51
js 0x14013ea9c
mov r15, r8
mov r14, rcx
movzx eax, byte [0x1404a5170]
xor ecx, ecx
mov rdx, rsi
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x14013e990
mov rbx, rax
mov r12, rsi
jmp 0x14013ea5f
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 0x14013e939
jmp 0x14013e928
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 0x14013ea2c
xor ecx, ecx
mov rdx, rsi
call sym.alloc::raw_vec::handle_error::h5313441c9bd13595
int3
Function at 0x140162ab0
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 0x140162af2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x140162afa
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x140162b0b
jmp 0x140162b22
xor r10d, r10d
jmp 0x140162bad
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140162b22
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140162b39
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 0x140162b59
add r11, r8
jmp 0x140162c8b
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 0x140162c22
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 0x140162bd0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140162c40
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140162c52
jmp 0x140162c6d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x140162c6d
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 0x140162c87
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 0x140163180
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 0x140163216
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [0x14039c1d0]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x14039c1e0]
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.__core::hash::sip::Hasher_S__as_core::hash::Hasher_::write::h1e7da10d0c5cb165
test rdi, rdi
je 0x1401632a5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1401632be
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 0x1401633b6
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x140163438
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1401633c3
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 0x140163280
cmp r9, 8
jae 0x1401633cc
jmp 0x140163438
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call sym.__core::hash::sip::Hasher_S__as_core::hash::Hasher_::write::h1e7da10d0c5cb165
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 0x140163438
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x140163438
mov r8, rcx
cmp r9, 8
jb 0x140163438
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 0x1401633d0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x14018ec70
Capabilities:
Receive data
Receive data on socket

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

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

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

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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x188
movaps xmmword [rsp + 0x170], xmm6
mov rdi, rdx
mov qword [rsp + 0x68], rcx
movabs r15, 0x8000000000000000
lea rax, [rdx + 0x1cc]
mov qword [rsp + 0x120], rax
lea r13, [rdx + 0x10]
lea rax, [rdx + 0x1e8]
mov qword [rsp + 0xf8], rax
xorps xmm6, xmm6
mov qword [rsp + 0xf0], r13
movzx eax, byte [rdi + 0x1c8]
test eax, eax
je 0x14018ff26
Function at 0x140194ba0
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 0x140194bdf
movabs r12, 0x8000000000000000
jmp 0x140194c38
mov rbx, qword [rsp + 0x20]
mov r15, qword [rbx + 8]
mov edi, dword [rbx + 0x10]
test rdi, rdi
je 0x140194c19
movzx eax, byte [0x1404a5170]
xor ecx, ecx
mov rdx, rdi
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
mov r14, rax
mov r12, rdi
test rax, rax
jne 0x140194c22
mov ecx, 1
mov rdx, rdi
call sym.alloc::raw_vec::handle_error::h5313441c9bd13595
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
Function at 0x1401a1130
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, r8
mov rdi, rdx
mov rsi, rcx
lea rcx, [rsp + 0x50]
mov r8d, 0xb
mov rdx, rax
call sym.winreg::common::to_utf16::hc5cbdcc31210eeff
mov dword [rsp + 0x30], 0x800
mov dword [rsp + 0x34], 0
movzx eax, byte [0x1404a5170]
mov edx, 0x800
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x1401a12a1
mov rbx, rax
mov qword [rsp + 0x38], 0x800
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov r14, qword [rsp + 0x58]
lea rbp, [rsp + 0x30]
lea r15, [rsp + 0x34]
mov r12, qword [rsp + 0x38]
mov r13, qword [rsp + 0x48]
sub r12, r13
nop
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbx
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x1401a1200
mov r8d, dword [rsp + 0x30]
cmp r12, r8
jae 0x1401a11c0
lea rcx, [rsp + 0x38]
mov rdx, r13
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h004f958d7b3f8117
mov rbx, qword [rsp + 0x40]
jmp 0x1401a11b1
test eax, eax
jne 0x1401a1222
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x1401a1283
movabs rax, 0xde00000002
jmp 0x1401a122a
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
cmp qword [rsp + 0x38], 0
je 0x1401a1256
mov r8, qword [rsp + 0x40]
mov rcx, qword [0x1404a5110]
xor edx, edx
call fcn.14021a7bc
cmp qword [rsp + 0x50], 0
je 0x1401a1271
mov r8, qword [rsp + 0x58]
mov rcx, qword [0x1404a5110]
xor edx, edx
call fcn.14021a7bc
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
cmp qword [rsp + 0x50], 0
jne 0x1401a125e
jmp 0x1401a1271
mov ecx, 1
mov edx, 0x800
call sym.alloc::raw_vec::handle_error::h5313441c9bd13595
int3
Function at 0x1401a3dd0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov ecx, dword [0x1403911a0]
test ecx, ecx
je 0x1401a3df7
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1401a3e10
add rax, 8
jmp 0x1401a3ee0
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h1887d57b7e52db0c
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x1401a3dee
je 0x1401a3ede
movzx eax, byte [0x1404a5170]
mov edx, 0x50
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x1401a3f08
mov rbx, rax
mov rsi, rax
lea rax, sym.std::sys::thread_local::os_local::destroy_value::h1887d57b7e52db0c
mov qword [rsi], rax
movups xmm0, xmmword [0x140442908]
movups xmmword [rsi + 8], xmm0
movups xmm0, xmmword [0x140442918]
movups xmmword [rsi + 0x18], xmm0
movups xmm0, xmmword [0x140442928]
movups xmmword [rsi + 0x28], xmm0
movups xmm0, xmmword [0x140442938]
movups xmmword [rsi + 0x38], xmm0
movabs rax, 0x2000000000000
mov qword [rsi + 0x48], rax
mov ecx, dword [0x1403911a0]
test ecx, ecx
je 0x1401a3ee8
dec ecx
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x1403911a0]
test ecx, ecx
je 0x1401a3ef8
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14021a8f4
test rdi, rdi
je 0x1401a3ed9
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1401a3ec8
lock dec qword [rax]
jne 0x1401a3ec8
mov rcx, rdi
add rcx, 0x28
call sym.alloc::sync::Arc_T_A_::drop_slow::hf62b806f7b3ad7ae
mov rcx, qword [0x1404a5110]
xor edx, edx
mov r8, rdi
call fcn.14021a7bc
mov rax, rbx
jmp 0x1401a3ee0
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h1887d57b7e52db0c
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x1401a3e88
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h1887d57b7e52db0c
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x1401a3e9c
mov ecx, 8
mov edx, 0x50
call sym.alloc::alloc::handle_alloc_error::h033f15fcf3b32b44
int3