joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a4815
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
mov r14, qword [0x1402ac100]
test r14, r14
jne 0x1400a4944
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x1400a487c
mov rbx, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x1400a487c
mov rdi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rbx
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x1400a487c
mov r15, rax
xor ebx, ebx
jmp 0x1400a48fd
lea rcx, str.ntdll.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x1400a4958
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x1400a4958
mov r14, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x1400a4958
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x1400a4958
mov rdi, rax
lea rcx, [rsp + 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call r14
test eax, eax
jne 0x1400a4958
mov r15, qword [rsp + 0x20]
mov ecx, 0x18
call sym._ZN5alloc5alloc15exchange_malloc17h1f87ed72439c4514E.1843
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r15
xor eax, eax
lock cmpxchg qword [0x1402ac100], r14
je 0x1400a4944
mov rdi, rax
cmp qword [r14], 0
je 0x1400a4934
mov rcx, qword [r14 + 0x10]
call fcn.140156eec
mov edx, 8
mov rcx, r14
call sym.__rust_dealloc
mov r14, rdi
and qword [rsi + 8], 0
mov qword [rsi], r14
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rax, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_
lea rcx, [rsp + 0x20]
mov qword [rcx], rax
mov qword [rcx + 8], 1
mov qword [rcx + 0x10], 8
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea rdx, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_parking_lot_core_0.9.10_src_thread_parker_windows_mod.rs
call sym.core::panicking::panic_fmt::hef8d393888d5abbc
int3

Function at 0x1400a4afb
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1401ca2f0]
test ecx, ecx
je 0x1400a4b14
dec ecx
add rsp, 0x28
jmp fcn.14015714c
lea rcx, str._K_n_
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x1400a4b0b

Function at 0x1400a4b24
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
mov rsi, qword [rcx]
mov edx, 1
mov rcx, rsi
call sym._ZN3std3sys3pal7windows16thread_local_key9StaticKey3set17h8305cdea3cd3f87aE.1850
cmp qword [rdi + 8], 0
je 0x1400a4b4c
lock dec qword [0x1402ac0f0]
mov edx, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp sym._ZN3std3sys3pal7windows16thread_local_key9StaticKey3set17h8305cdea3cd3f87aE.1850
Function at 0x1400a5401
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1401ca318]
test ecx, ecx
je 0x1400a541a
dec ecx
add rsp, 0x28
jmp fcn.14015714c
lea rcx, str.T_n_
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x1400a5411

Function at 0x1400a542a
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov rdi, qword [rcx]
mov edx, 1
mov rcx, rdi
call sym._ZN3std3sys3pal7windows16thread_local_key9StaticKey3set17h8305cdea3cd3f87aE.1850
mov rcx, qword [rsi + 8]
call sym._ZN4core3ptr208drop_in_place_LT_core..option..Option_LT_alloc..rc..Rc_LT_core..cell..UnsafeCell_LT_rand..rngs..adapter..reseed
mov edx, 8
mov rcx, rsi
call sym.__rust_dealloc
mov rcx, rdi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp sym._ZN3std3sys3pal7windows16thread_local_key9StaticKey3set17h8305cdea3cd3f87aE.1850
Function at 0x1400a5ee9
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x50]
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
mov edx, 0x20
call sym.__rand_core::os::OsRng_as_rand_core::RngCore_::try_fill_bytes::h23837e3c1bb1472a
test rax, rax
je 0x1400a5f26
mov edx, 4
mov rcx, rax
call sym.__rust_dealloc
jmp 0x1400a5f88
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
lea rdx, [rsp + 0x70]
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx], xmm0
lea rbx, [rsp + 0x90]
mov rcx, rbx
call sym.__rand_chacha::chacha::ChaCha12Core_as_rand_core::SeedableRng_::from_seed::hbb2c2f834129cb62
mov rax, qword [rbx]
movups xmm0, xmmword [rbx + 8]
movaps xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rbx + 0x18]
movaps xmmword [rsp + 0x30], xmm0
mov rcx, qword [rbx + 0x28]
mov qword [rsp + 0x40], rcx
mov qword [rdi], rax
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rdi + 8], xmm0
movups xmmword [rdi + 0x18], xmm1
mov rax, qword [rsp + 0x40]
mov qword [rdi + 0x28], rax
and qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov rdx, rsi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
jmp sym.__rand_chacha::chacha::ChaCha12Core_as_rand_core::block::BlockRngCore_::generate::hc2995d5bda3141ca
Function at 0x1400a7f80
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov r12d, 0xffffffff
test rdi, rdi
je 0x1400a800a
mov r14, rbx
cmp rdi, r12
mov r15d, 0xffffffff
cmovb r15, rdi
add rbx, r15
sub rdi, r15
xor ecx, ecx
mov rdx, r14
mov r8d, r15d
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xc0000000
jb 0x1400a7f9c
mov ebp, eax
mov rcx, r14
mov edx, r15d
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x1400a7f9c
and ebp, 0x7fffffff
je 0x1400a8008
mov al, byte [0x1402ac208]
mov edx, 4
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h54baaa069cfd9f2e
test rax, rax
je 0x1400a801c
mov rsi, rax
mov dword [rax], ebp
jmp 0x1400a800a
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, 4
mov edx, 4
call sym.alloc::alloc::handle_alloc_error::hd693885652fa1428
int3

Function at 0x1400b2364
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1a8
mov qword [rsp + 0xe0], r8
mov rdi, rdx
movzx eax, byte [rdx + 0xf8]
test eax, eax
mov qword [rsp + 0x58], rcx
je 0x1400b23db
cmp eax, 3
jne 0x1400b256a
lea r8, [rdi + 0xf0]
movzx eax, byte [rdi + 0xf0]
lea r9, [rdi + 0x40]
test eax, eax
je 0x1400b2406
cmp eax, 3
jne case.default.0x1400b23d4
invalid
add dword [rax], eax
invalid
lea r10, [rdi + 0x50]
lea rax, [rdi + 0x20]
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rdi + 0x30], xmm1
movups xmmword [rdi + 0x20], xmm0
lea r9, [rdi + 0x40]
mov qword [rdi + 0x40], rax
lea r8, [rdi + 0xf0]
mov byte [rdi + 0xf0], 0
jmp 0x1400b2409
mov rax, qword [r9]
lea r11, [rdi + 0x48]
mov qword [rdi + 0x48], rax
Function at 0x1400b77c5
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x78]
mov rcx, qword [rdx + 0x68]
mov rdx, qword [rdx + 0x70]
lea r9, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::h66d57b5c6cbc2be4
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0xf0]
xor r8d, r8d
xor r9d, r9d
call sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x1400b7913
test eax, eax
je 0x1400b78a0
cmp eax, 0x90317
je 0x1400b790d
cmp eax, 0x90321
jne 0x1400b7931
mov dword [rdi + 0xd0], 0x10000
xor ebx, ebx
mov byte [rdi + 0xd4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call sym.schannel::tls_stream::TlsStream_S_::consume_enc_in::h6ef2b501a11652a7
and qword [rdi + 0x110], 0
mov byte [rsi + 1], bl
jmp 0x1400b793f
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x40]
and qword [rdi + 0x50], 0
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::Index_I__::index::h9686fc53adcb5583
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.140104fa1
and qword [rdi + 0x58], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call sym.schannel::tls_stream::TlsStream_S_::consume_enc_in::h6ef2b501a11652a7
xor eax, eax
cmp qword [rdi + 0x78], rbx
sete al
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
jmp 0x1400b793f
mov byte [rsi + 1], 1
jmp 0x1400b792d
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x1400b793f
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400b8bb2
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x178]
mov rcx, qword [rdx + 0x168]
mov rdx, qword [rdx + 0x170]
lea r9, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::h66d57b5c6cbc2be4
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x1f0]
xor r8d, r8d
xor r9d, r9d
call sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x1400b8d21
test eax, eax
je 0x1400b8c99
cmp eax, 0x90317
je 0x1400b8d1b
cmp eax, 0x90321
jne 0x1400b8d3f
mov dword [rdi + 0x1d0], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1d4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call sym.schannel::tls_stream::TlsStream_S_::consume_enc_in::hedf6081759f1df6c
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x1400b8d4d
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x168]
mov rdx, qword [rdi + 0x170]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x140]
and qword [rdi + 0x150], 0
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::Index_I__::index::h9686fc53adcb5583
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.140104fa1
and qword [rdi + 0x158], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call sym.schannel::tls_stream::TlsStream_S_::consume_enc_in::hedf6081759f1df6c
xor eax, eax
cmp qword [rdi + 0x178], rbx
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x1400b8d4d
mov byte [rsi + 1], 1
jmp 0x1400b8d3b
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x1400b8d4d
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400b8d57
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne sym.__tokio_native_tls::TlsStream_S__as_tokio::io::async_read::AsyncRead_::poll_read::hb5da4f86ec126b2a
add rcx, 8
jmp sym.__tokio::net::tcp::stream::TcpStream_as_tokio::io::async_read::AsyncRead_::poll_read::h0216fec1397f860c

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

Disassembly:
cmp dword [rcx], 2
jne sym._ZN91__LT_tokio_native_tls..TlsStream_LT_S_GT__u20_as_u20_tokio..io..async_write..AsyncWrite_GT_10poll_write17he477b8ed77fb7e3
add rcx, 8
jmp sym.__tokio::net::tcp::stream::TcpStream_as_tokio::io::async_write::AsyncWrite_::poll_write::h556c508b44ebb6fa
Function at 0x1400ba723
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x338
mov r15, r8
mov rbx, rdx
movzx eax, byte [rdx + 0x388]
test eax, eax
mov qword [rsp + 0x98], rcx
je 0x1400ba772
cmp eax, 3
jne case.default.0x1400ba770
lea r12, [rbx + 0x1f8]
movzx eax, byte [rbx + 0x288]
lea rcx, [0x1401ceb40]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
and qword [rbx + 0x20], 0
mov qword [rbx + 0x40], rax
xor edi, edi
jmp 0x1400ba79a
lea rcx, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_hyper_0.14.30_src_client_connect_http.rs
call sym.core::panicking::panic_const::panic_const_async_fn_resumed::hc62b9b2ae760c1a8
Function at 0x1400c72da
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rax, r8
mov rbx, rdx
mov rsi, rcx
lea rdi, [rsp + 0x58]
mov r8d, 0xb
mov rcx, rdi
mov rdx, rax
call sym.winreg::common::to_utf16::ha321b149d39391b3
lea r13, [rsp + 0x38]
mov dword [r13], 0x800
lea r15, [rsp + 0x3c]
and dword [r15], 0
lea r12, [rsp + 0x40]
mov edx, 0x800
mov rcx, r12
call sym.alloc::vec::Vec_T_::with_capacity::h546c1464dbaeacdd
mov rdi, qword [rdi + 8]
mov r14, qword [rsp + 0x48]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call sub.ADVAPI32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x1400c7369
mov edx, dword [rsp + 0x38]
mov rcx, r12
call sym.alloc::vec::Vec_T_A_::reserve::h07c272489bdee370
jmp 0x1400c7334
test eax, eax
jne 0x1400c738b
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x1400c73b3
movabs rax, 0xde00000002
jmp 0x1400c7393
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rcx, qword [rsp + 0x40]
mov rdx, r14
call sym.core::ptr::drop_in_place_alloc::vec::Vec_colored::style::Styles__::heb15a65adb7fd649
jmp 0x1400c73c7
mov rcx, qword [rsp + 0x50]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rcx, qword [rsp + 0x58]
mov rdx, rdi
call sym.__alloc::raw_vec::RawVec_T_A__as_core::ops::drop::Drop_::drop::h18bcbe21b0856e32
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400ca304
Capabilities:
Encrypt data via sspi
Send data
Send data on socket

Disassembly:
cmp dword [rcx], 2
jne sym.tokio::io::async_write::AsyncWrite::poll_write_vectored::h0c051ab86bae49e7
add rcx, 8
jmp sym._ZN89__LT_tokio..net..tcp..stream..TcpStream_u20_as_u20_tokio..io..async_write..AsyncWrite_GT_19poll_write_vectored17h92d1e296
Function at 0x1400fd5d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400fd5f5
cmp rax, rcx
je 0x1400fd5fb
cmp rdx, 4
jae 0x1400fd602
xor eax, eax
xor r8d, r8d
jmp 0x1400fd6a0
pop rbp
jmp sym.core::str::count::do_count_chars::h1692ae31e2751558
xor eax, eax
jmp 0x1400fd6b7
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1401cf580]
movdqa xmm3, xmmword [0x1401cf590]
pxor xmm1, xmm1
nop word cs:[rax + rax]
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 0x1400fd630
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400fd6b7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400fd6a0
pop rbp
ret
Function at 0x14010178b
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
movabs rax, 0x8000000000000000
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x60], 4
mov dword [rsp + 0xa8], 0x400010
cmp qword [rcx + 0x18], rax
je 0x1401017f7
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0x88], edx
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x90], rdx
cmp qword [rcx + 0x30], rax
je 0x140101832
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x140101829
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x14026a060]
xor r10d, r10d
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x140101816
jmp 0x14010182b
xor edx, edx
mov dword [rsp + 0x98], edx
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x140101889
lea rbx, [rsi*8]
mov rax, rsi
shr rax, 0x3c
jne 0x14010194e
mov r15, qword [rcx + 8]
mov r14d, 8
mov ecx, 8
mov rdx, rbx
call sym._ZN5alloc5alloc6Global10alloc_impl17hc1282f4dbca37266E.5527
test rax, rax
je 0x140101951
mov rdi, rax
xor eax, eax
mov rcx, qword [r15 + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp rsi, rax
jne 0x140101875
mov eax, esi
jmp 0x140101892
xor esi, esi
mov edi, 8
xor eax, eax
lea rcx, [rsp + 0x60]
mov dword [rcx + 4], eax
mov qword [rcx + 8], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rcx
and qword [rsp + 0x40], 0
lea rdx, [0x14023a573]
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call sub.secur32.dll_AcquireCredentialsHandleA
test eax, eax
je 0x1401018e8
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x140101920
mov r14, qword [rsp + 0x50]
mov r15, qword [rsp + 0x58]
mov ecx, 8
mov edx, 0x20
call sym._ZN5alloc5alloc6Global10alloc_impl17hc1282f4dbca37266E.5527
test rax, rax
je 0x14010195c
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r15
xor r14d, r14d
test rsi, rsi
je 0x140101939
shl rsi, 3
mov edx, 8
mov rcx, rdi
mov r8, rsi
call sym.__alloc::alloc::Global_as_core::alloc::Allocator_::deallocate::h009290daacc5b0b6
mov rax, r14
mov rdx, rbx
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
mov rcx, r14
mov rdx, rbx
call sym.alloc::raw_vec::handle_error::h111974987ef9f799
mov ecx, 8
mov edx, 0x20
call sym.alloc::alloc::handle_alloc_error::hd693885652fa1428
int3

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

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
and qword [r8], 0
mov edx, 0x53
call sub.secur32.dll_QueryContextAttributesW
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x140101dbe
mov rdx, qword [rsp + 0x20]
jmp 0x140101dc6
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x140108432
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14010845e
xor eax, eax
jmp 0x140108463
call sym.std::io::error::Error::last_os_error::h7402a1406e6967e3
nop
add rsp, 0x38
ret

Function at 0x140109530
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x14023eea8]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtWriteFile
cmp eax, 0x103
jne 0x14010959f
mov rcx, rsi
mov edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [rbp]
cmp eax, 0x103
je 0x1401095cb
test eax, eax
js 0x1401095ab
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x1401095c1
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x14023ef10]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call sym.std::io::Write::write_fmt::hee8ce487ac8d947d
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call sym.core::ptr::drop_in_place_core::result::Result____std::io::error::Error__::h661b318c1148fbca
mov ecx, 7
int 0x29
ud2
Function at 0x140109b30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov ecx, dword [0x1401ca590]
test ecx, ecx
je 0x140109c25
dec ecx
call fcn.14015714c
cmp rax, 2
jb 0x140109b66
cmp qword [rax + 8], 0
je 0x140109b66
add rax, 0x10
jmp 0x140109c1e
mov ecx, dword [0x1401ca590]
test ecx, ecx
je 0x140109c38
dec ecx
call fcn.14015714c
cmp rax, 1
je 0x140109c1c
test rax, rax
jne 0x140109be2
mov qword [rbp - 8], 0
lea rax, sym.std::sys::thread_local::os_local::destroy_value::hb43234836f7f391f
mov qword [rbp - 0x10], rax
movzx eax, byte [0x1402ac208]
mov edx, 0x18
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h54baaa069cfd9f2e
test rax, rax
je 0x140109c64
mov rcx, qword [rbp]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rax], xmm0
mov ecx, dword [0x1401ca590]
test ecx, ecx
je 0x140109c4b
dec ecx
mov rdx, rax
mov rsi, rax
call fcn.140157154
mov rax, rsi
mov rdx, rax
add rax, 0x10
mov rcx, qword [rdx + 0x10]
cmp qword [rdx + 8], 0
mov qword [rdx + 8], 1
mov qword [rdx + 0x10], 0
je 0x140109c1e
test rcx, rcx
je 0x140109c1e
lock dec qword [rcx]
jne 0x140109c1e
mov rsi, rax
call sym.alloc::sync::Arc_T_A_::drop_slow::h5b4d1ff3152dafd5
mov rax, rsi
jmp 0x140109c1e
xor eax, eax
add rsp, 0x38
pop rsi
pop rbp
ret
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::hb43234836f7f391f
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x140109b4b
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::hb43234836f7f391f
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x140109b76
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::hb43234836f7f391f
mov rsi, rax
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
mov rax, rsi
jmp 0x140109bd4
mov ecx, 8
mov edx, 0x18
call sym.alloc::alloc::handle_alloc_error::hd693885652fa1428
ud2