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

Disassembly:
sub rsp, 0x28
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x14006c641
dec ecx
add rsp, 0x28
jmp fcn.140129bfc
mov rcx, rax
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x14006c638

Function at 0x14006c64d
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x14006c66e
dec ecx
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.140129c04
mov rcx, rax
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x14006c661

Function at 0x14006d09c
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x14006d0bd
dec ecx
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.140129c04
mov rcx, rax
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x14006d0b0

Function at 0x14007a0a3
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rbx, rdx
mov rsi, rcx
lea rcx, [rsp + 0x50]
mov rdx, r8
mov r8, r9
call sym.winreg::common::to_utf16::hb91b311153142251
mov dword [rsp + 0x30], 0x800
and dword [rsp + 0x34], 0
lea rdi, [rsp + 0x38]
mov edx, 0x800
mov rcx, rdi
xor r8d, r8d
call sym.alloc::raw_vec::RawVec_T_A_::try_allocate_in::he931da235aeaa50a
cmp qword [rdi], 0
mov rcx, qword [rdi + 8]
jne 0x14007a1c8
lea rdi, [rsp + 0x38]
mov rax, qword [rdi + 0x10]
mov qword [rdi], rcx
mov qword [rdi + 8], rax
and qword [rdi + 0x10], 0
mov rbx, qword [rbx]
mov r14, qword [rsp + 0x58]
lea r12, [rsp + 0x30]
lea r15, [rsp + 0x34]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x14007a152
mov edx, dword [rsp + 0x30]
mov rcx, rdi
call sym.alloc::vec::Vec_T_A_::reserve::hffabbdd58bb32d81
mov rax, qword [rsp + 0x40]
jmp 0x14007a11d
test eax, eax
jne 0x14007a174
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x14007a199
movabs rax, 0xde00000002
jmp 0x14007a17c
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
lea rcx, [rsp + 0x38]
call sym.__alloc::raw_vec::RawVec_T_A__as_core::ops::drop::Drop_::drop::h7ea67a981ed016d3
jmp 0x14007a1ad
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
lea rcx, [rsp + 0x50]
call sym.__alloc::raw_vec::RawVec_T_A__as_core::ops::drop::Drop_::drop::h63f06694b89cc05f
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x48]
call sym.alloc::raw_vec::handle_error::h111974987ef9f799
int3
Function at 0x14007bb36
Capabilities:
Decrypt data via sspi

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rdi, rdx
mov rsi, rcx
lea rbx, [rdx + 0x160]
mov rdx, qword [rdx + 0x178]
lea r8, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rbx
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::hc320bae2598e1496
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x28]
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 + 0x68]
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 0x14007bc9c
test eax, eax
je 0x14007bc1b
cmp eax, 0x90317
je 0x14007bc96
cmp eax, 0x90321
jne 0x14007bcba
mov dword [rdi + 0x1d0], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1d4], bl
cmp dword [rsp + 0x5c], 5
mov rdx, qword [rdi + 0x178]
mov eax, 0
cmove eax, dword [rsp + 0x58]
sub rdx, rax
mov rcx, rdi
call sym.schannel::tls_stream::TlsStream_S_::consume_enc_in::h817a875e8dbcce0b
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x14007bcc8
mov rdx, qword [rsp + 0x40]
sub rdx, qword [rdi + 0x168]
mov r8d, dword [rsp + 0x38]
add r8, rdx
lea r14, [rdi + 0x140]
and qword [rdi + 0x150], 0
mov rcx, rbx
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::Index_I__::index::h6eef6a60afc01583
lea r8, [rdx + rax]
mov rcx, r14
mov rdx, rax
call fcn.14001d174
and qword [rdi + 0x158], 0
xor ebx, ebx
cmp dword [rsp + 0x5c], 5
mov rdx, qword [rdi + 0x178]
mov eax, dword [rsp + 0x58]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call sym.schannel::tls_stream::TlsStream_S_::consume_enc_in::h817a875e8dbcce0b
xor eax, eax
cmp qword [rdi + 0x178], rbx
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x14007bcc8
mov byte [rsi + 1], 1
jmp 0x14007bcb6
cmp dword [rsp + 0x3c], 4
mov eax, 1
cmove eax, dword [rsp + 0x38]
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x14007bcc8
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14007bcd7
Capabilities:
Decrypt data via sspi

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rdi, rdx
mov rsi, rcx
lea rbx, [rdx + 0x60]
mov rdx, qword [rdx + 0x78]
lea r8, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rbx
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::hc320bae2598e1496
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x28]
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 + 0x68]
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 0x14007be22
test eax, eax
je 0x14007bdb3
cmp eax, 0x90317
je 0x14007be1c
cmp eax, 0x90321
jne 0x14007be40
mov dword [rdi + 0xd0], 0x10000
xor ebx, ebx
mov byte [rdi + 0xd4], bl
cmp dword [rsp + 0x5c], 5
mov rdx, qword [rdi + 0x78]
mov eax, 0
cmove eax, dword [rsp + 0x58]
sub rdx, rax
mov rcx, rdi
call sym.schannel::tls_stream::TlsStream_S_::consume_enc_in::h2cb365853c4f66f4
and qword [rdi + 0x110], 0
mov byte [rsi + 1], bl
jmp 0x14007be4e
mov rdx, qword [rsp + 0x40]
sub rdx, qword [rdi + 0x68]
mov r8d, dword [rsp + 0x38]
add r8, rdx
lea r14, [rdi + 0x40]
and qword [rdi + 0x50], 0
mov rcx, rbx
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::Index_I__::index::h6eef6a60afc01583
lea r8, [rdx + rax]
mov rcx, r14
mov rdx, rax
call fcn.14001d174
and qword [rdi + 0x58], 0
xor ebx, ebx
cmp dword [rsp + 0x5c], 5
mov rdx, qword [rdi + 0x78]
mov eax, dword [rsp + 0x58]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call sym.schannel::tls_stream::TlsStream_S_::consume_enc_in::h2cb365853c4f66f4
xor eax, eax
cmp qword [rdi + 0x78], rbx
sete al
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
jmp 0x14007be4e
mov byte [rsi + 1], 1
jmp 0x14007be3c
cmp dword [rsp + 0x3c], 4
mov eax, 1
cmove eax, dword [rsp + 0x38]
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x14007be4e
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14007be5d
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov eax, dword [r9 + 8]
cmp rax, r8
jb 0x14007bfd9
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov r14d, dword [r9]
mov edx, dword [r9 + 4]
lea rdi, [r14 + r8]
add rdx, rdi
lea rbx, [rcx + 0x80]
cmp qword [rcx + 0x90], rdx
jae 0x14007beac
mov rcx, rbx
xor r8d, r8d
call sym.alloc::vec::Vec_T_A_::resize::hf5c264d342ffece9
lea r9, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::hb390a4ad71a2d869
lea rcx, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r12
mov r9, r15
call sym.core::slice::__impl__T__::copy_from_slice::hd0fad35546e9e5d9
lea r8, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rbx
mov rdx, r14
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::hc320bae2598e1496
mov r15, rax
mov r12, rdx
xor ebp, ebp
test rax, rax
cmove r12d, ebp
lea r9, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::hb390a4ad71a2d869
mov r14, rax
mov r13, rdx
test rax, rax
cmove r13d, ebp
lea r8, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rbx
mov rdx, rdi
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::ha2914162b5a9bab9
test rax, rax
cmove edx, ebp
xorps xmm0, xmm0
lea rcx, [rsp + 0x28]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], r12d
mov dword [rcx + 4], 7
mov qword [rcx + 8], r15
mov dword [rcx + 0x10], r13d
mov dword [rcx + 0x14], 1
mov qword [rcx + 0x18], r14
mov dword [rcx + 0x20], edx
mov dword [rcx + 0x24], 6
mov qword [rcx + 0x28], rax
movabs rax, 0x400000000
lea r8, [rsp + 0x68]
mov qword [r8], rax
mov qword [r8 + 8], rcx
lea rcx, [rsi + 0xf0]
xor edx, edx
xor r9d, r9d
call sub.secur32.dll_EncryptMessage
test eax, eax
je 0x14007bfa2
shl rax, 0x20
or rax, 2
jmp 0x14007bfc8
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
cmp qword [rsi + 0x90], rax
jb 0x14007bfbe
mov qword [rsi + 0x90], rax
and qword [rsi + 0x98], 0
xor eax, eax
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_buf.len_____sizes.cbMaximumMessage_as_usize
lea r8, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov edx, 0x3e
call sym.core::panicking::panic::hf6fd3ad2f9225230
int3
Function at 0x14007bff2
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov eax, dword [r9 + 8]
cmp rax, r8
jb 0x14007c16e
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov r14d, dword [r9]
mov edx, dword [r9 + 4]
lea rdi, [r14 + r8]
add rdx, rdi
lea rbx, [rcx + 0x180]
cmp qword [rcx + 0x190], rdx
jae 0x14007c041
mov rcx, rbx
xor r8d, r8d
call sym.alloc::vec::Vec_T_A_::resize::hf5c264d342ffece9
lea r9, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::hb390a4ad71a2d869
lea rcx, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r12
mov r9, r15
call sym.core::slice::__impl__T__::copy_from_slice::hd0fad35546e9e5d9
lea r8, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rbx
mov rdx, r14
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::hc320bae2598e1496
mov r15, rax
mov r12, rdx
xor ebp, ebp
test rax, rax
cmove r12d, ebp
lea r9, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::hb390a4ad71a2d869
mov r14, rax
mov r13, rdx
test rax, rax
cmove r13d, ebp
lea r8, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rbx
mov rdx, rdi
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::ha2914162b5a9bab9
test rax, rax
cmove edx, ebp
xorps xmm0, xmm0
lea rcx, [rsp + 0x28]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], r12d
mov dword [rcx + 4], 7
mov qword [rcx + 8], r15
mov dword [rcx + 0x10], r13d
mov dword [rcx + 0x14], 1
mov qword [rcx + 0x18], r14
mov dword [rcx + 0x20], edx
mov dword [rcx + 0x24], 6
mov qword [rcx + 0x28], rax
movabs rax, 0x400000000
lea r8, [rsp + 0x68]
mov qword [r8], rax
mov qword [r8 + 8], rcx
lea rcx, [rsi + 0x1f0]
xor edx, edx
xor r9d, r9d
call sub.secur32.dll_EncryptMessage
test eax, eax
je 0x14007c137
shl rax, 0x20
or rax, 2
jmp 0x14007c15d
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
cmp qword [rsi + 0x190], rax
jb 0x14007c153
mov qword [rsi + 0x190], rax
and qword [rsi + 0x198], 0
xor eax, eax
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_buf.len_____sizes.cbMaximumMessage_as_usize
lea r8, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov edx, 0x3e
call sym.core::panicking::panic::hf6fd3ad2f9225230
int3
Function at 0x140091412
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x14009142b
dec ecx
add rsp, 0x28
jmp fcn.140129bfc
mov rcx, rax
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x140091422

Function at 0x140091437
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x140091458
dec ecx
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.140129c04
mov rcx, rax
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x14009144b

Function at 0x1400cbbf0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400cbc03
pop rbp
jmp sym.core::str::count::char_count_general_case::hf30ed4c7efa3a560
nop
pop rbp
jmp sym.core::str::count::do_count_chars::h1692ae31e2751558
Function at 0x1400d3106
Capabilities:
Get client handle via schannel
Get inbound credentials handle via credssp
Get outbound credentials handle via credssp

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xd0
mov rsi, rcx
movabs rax, 0x8000000000000000
mov byte [rsp + 0x4f], dl
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x68], 4
mov dword [rsp + 0xb0], 0x400010
cmp qword [rcx + 0x18], rax
je 0x1400d3175
mov ecx, dword [rsi + 0x28]
mov dword [rsp + 0x90], ecx
mov rcx, qword [rsi + 0x20]
mov qword [rsp + 0x98], rcx
cmp qword [rsi + 0x30], rax
je 0x1400d31ac
mov rax, qword [rsi + 0x38]
mov rdx, qword [rsi + 0x40]
add rdx, rax
lea rcx, [rsp + 0xb8]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
lea rax, [rsp + 0x4f]
mov qword [rcx + 0x10], rax
xor edx, edx
call sym._ZN102__LT_core..iter..adapters..map..Map_LT_I_C_F_GT__u20_as_u20_core..iter..traits..iterator..Iterator_GT_4fold17hdac4d322b1
mov dword [rsp + 0xa0], eax
mov rdx, qword [rsi + 8]
mov rax, qword [rsi + 0x10]
lea r8, [rdx + rax*8]
lea rsi, [rsp + 0xb8]
mov rcx, rsi
call fcn.1400d2c6e
mov eax, dword [rsi + 0x10]
lea rcx, [rsp + 0x68]
mov dword [rcx + 4], eax
mov rax, qword [rsi + 8]
cmp byte [rsp + 0x4f], 1
mov qword [rcx + 8], rax
mov r8d, 2
sbb r8d, 0
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, str.Microsoft_Unified_Security_Protocol_Provider
xor ecx, ecx
xor r9d, r9d
call sub.secur32.dll_AcquireCredentialsHandleA
test eax, eax
je 0x1400d322d
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov edi, 1
jmp 0x1400d326d
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rax, qword [0x1401c96c8]
mov al, byte [rax]
mov ecx, 0x20
mov edx, 8
call sym.__rdl_alloc
test rax, rax
je 0x1400d328b
mov rsi, rax
mov eax, 1
mov qword [rsi], rax
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rbx
xor edi, edi
lea rcx, [rsp + 0xb8]
call sym.__alloc::raw_vec::RawVec_T_A__as_core::ops::drop::Drop_::drop::h838ec713a507e47b
mov rax, rdi
mov rdx, rsi
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 8
mov edx, 0x20
call sym.alloc::alloc::handle_alloc_error::hd693885652fa1428
int3

Function at 0x1400d705c
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov r8d, dword [rdx + 0x80]
call sub.ws2_32.dll_connect
test eax, eax
je 0x1400d7079
add rsp, 0x28
jmp sym._ZN3std2io5error5Error13last_os_error17h7402a1406e6967e3E.llvm.2889390769637131550
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400d7080
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
movzx eax, dl
lea r8, [rsp + 0x24]
mov dword [r8], eax
mov edx, 0x8004667e
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x1400d70a2
xor eax, eax
jmp 0x1400d70a7
call sym._ZN3std2io5error5Error13last_os_error17h7402a1406e6967e3E.llvm.2889390769637131550
nop
add rsp, 0x28
ret
Function at 0x1400d71a2
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
lea rax, [rsp + 0x34]
mov dword [rax], r9d
mov dword [rsp + 0x20], 4
mov r9, rax
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400d71c7
xor eax, eax
jmp 0x1400d71cc
call sym._ZN3std2io5error5Error13last_os_error17h7402a1406e6967e3E.llvm.2889390769637131550
nop
add rsp, 0x38
ret

Function at 0x1400d7213
Capabilities:
Set socket configuration

Disassembly:
mov rcx, qword [rcx]
movzx r9d, dl
mov edx, 0xffff
mov r8d, 8
jmp sym.socket2::sys::setsockopt::h41b0615b84167f0e

Function at 0x1400d722a
Capabilities:
Set socket configuration

Disassembly:
mov r9, rdx
mov rcx, qword [rcx]
mov edx, 0xffff
mov r8d, 0x1002
jmp sym.socket2::sys::setsockopt::h41b0615b84167f0e

Function at 0x1400d7240
Capabilities:
Set socket configuration

Disassembly:
mov rcx, qword [rcx]
movzx r9d, dl
mov edx, 0xffff
mov r8d, 4
jmp sym.socket2::sys::setsockopt::h41b0615b84167f0e

Function at 0x1400d7257
Capabilities:
Set socket configuration

Disassembly:
mov r9, rdx
mov rcx, qword [rcx]
mov edx, 0xffff
mov r8d, 0x1001
jmp sym.socket2::sys::setsockopt::h41b0615b84167f0e

Function at 0x1400d7df0
Capabilities:
Initialize winsock library

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x1f0
lea rbp, [rsp + 0x80]
mov rax, qword [rcx]
mov rdi, qword [rax]
mov qword [rax], 0
test rdi, rdi
je 0x1400d7e53
lea rsi, [rbp - 0x60]
mov r8d, 0x198
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov cx, 0x202
mov rdx, rsi
call sub.ws2_32.dll_WSAStartup
mov dword [rbp + 0x16c], eax
test eax, eax
jne 0x1400d7e5f
lea rax, [0x1401298b4]
mov qword [rdi], rax
add rsp, 0x1f0
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.library_std_src_synconce.rs
call sym.core::option::unwrap_failed::h9762a13207486022
mov qword [rbp + 0x138], 0
lea rdx, [0x14019e498]
lea r9, str.library_std_src_syspalwindows_net.rs
lea rcx, [rbp + 0x16c]
lea r8, [rbp + 0x138]
call sym.core::panicking::assert_failed::h6e198971118ba248
int3

Function at 0x1400f1cd0
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call sub.kernel32.dll_GetSystemInfo
mov ecx, dword [rbp - 0x10]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x50
pop rbp
ret
Function at 0x1400f1d10
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x488
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3e8], rcx
mov qword [rbp + 0x3f0], 0
mov qword [rbp + 0x3f8], 2
mov qword [rbp + 0x400], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e0], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x1400f1da0
jmp 0x1400f1d8f
jae 0x1400f1e5b
cmp r8, 0x201
jae 0x1400f1da0
mov r14d, 0x200
lea r15, [rbp - 0x60]
mov r12, r8
jmp 0x1400f1df7
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x1400f1dcf
lea rcx, [rbp + 0x3f0]
mov rdx, rbx
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h360f96ef798c46de
mov rsi, qword [rbp + 0x3f0]
mov rax, qword [rbp + 0x3f8]
mov qword [rbp + 0x3e0], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x400], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3e0]
mov r12, rbx
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov ecx, r12d
mov rdx, r15
call sub.kernel32.dll_GetCurrentDirectoryW
mov r13d, eax
test eax, eax
jne 0x1400f1e1d
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x1400f1ed3
mov r8d, r13d
cmp r12, r8
jne 0x1400f1d80
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x1400f1f04
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1400f1d8f
jmp 0x1400f1da0
cmp r14, r8
jb 0x1400f1f1e
lea rcx, [rbp + 0x3c0]
mov rdx, r15
call sym.__std::ffi::os_str::OsString_as_std::os::windows::ffi::OsStringExt_::from_wide::h43df8540eb0de255
movups xmm0, xmmword [rbp + 0x3c0]
movups xmm1, xmmword [rbp + 0x3d0]
movaps xmmword [rbp + 0x3b0], xmm1
movaps xmmword [rbp + 0x3a0], xmm0
mov rsi, qword [rbp + 0x3e8]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
cmp qword [rbp + 0x3f0], 0
je 0x1400f1ebc
mov r8, qword [rbp + 0x3f8]
mov rcx, qword [0x1401ec128]
xor edx, edx
call fcn.140129b24
mov rax, rsi
add rsp, 0x488
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e8]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
cmp qword [rbp + 0x3f0], 0
jne 0x1400f1ea7
jmp 0x1400f1ebc
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call sym.core::panicking::panic::hf6fd3ad2f9225230
jmp 0x1400f1f33
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call sym.core::slice::index::slice_end_index_len_fail::h4c376ee8536a9e87
ud2