joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140089dce
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::h2629b502642c6700
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 0x140089f34
test eax, eax
je 0x140089eb3
cmp eax, 0x90317
je 0x140089f2e
cmp eax, 0x90321
jne 0x140089f52
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::h60f4be319c42413b
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x140089f60
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::h48e03878ab619361
lea r8, [rdx + rax]
mov rcx, r14
mov rdx, rax
call fcn.140006c24
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::h60f4be319c42413b
xor eax, eax
cmp qword [rdi + 0x178], rbx
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x140089f60
mov byte [rsi + 1], 1
jmp 0x140089f4e
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 0x140089f60
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 0x140089f6f
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 0x14008a0eb
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 0x140089fbe
mov rcx, rbx
xor r8d, r8d
call sym.alloc::vec::Vec_T_A_::resize::hf627fdb52c2e63d8
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::hfa30a3eed633858e
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::hc4a2a662ed9d8d3d
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::h2629b502642c6700
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::hfa30a3eed633858e
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::ha2f6f3ef2846e351
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 0x14008a0b4
shl rax, 0x20
or rax, 2
jmp 0x14008a0da
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
cmp qword [rsi + 0x190], rax
jb 0x14008a0d0
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 0x14008a104
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 0x14008a280
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 0x14008a153
mov rcx, rbx
xor r8d, r8d
call sym.alloc::vec::Vec_T_A_::resize::hf627fdb52c2e63d8
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::hfa30a3eed633858e
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::hc4a2a662ed9d8d3d
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::h2629b502642c6700
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::hfa30a3eed633858e
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::ha2f6f3ef2846e351
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 0x14008a249
shl rax, 0x20
or rax, 2
jmp 0x14008a26f
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
cmp qword [rsi + 0x90], rax
jb 0x14008a265
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 0x140093adb
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::h4f5b86084ed89264
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::hc4fdc00dc5c1c6d8
cmp qword [rdi], 0
mov rcx, qword [rdi + 8]
jne 0x140093c00
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 0x140093b8a
mov edx, dword [rsp + 0x30]
mov rcx, rdi
call sym.alloc::vec::Vec_T_A_::reserve::h6824fa929f211153
mov rax, qword [rsp + 0x40]
jmp 0x140093b55
test eax, eax
jne 0x140093bac
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x140093bd1
movabs rax, 0xde00000002
jmp 0x140093bb4
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::ha0c3d25cdd77fe8c
jmp 0x140093be5
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::hcb26c1fd431a2409
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 0x1400c6a80
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400c6a93
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 0x1400ce629
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 0x1400ce698
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 0x1400ce6cf
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_4fold17hd1341f0ee6
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.1400cdb6a
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 0x1400ce750
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov edi, 1
jmp 0x1400ce790
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rax, qword [0x1401c1748]
mov al, byte [rax]
mov ecx, 0x20
mov edx, 8
call sym.__rdl_alloc
test rax, rax
je 0x1400ce7ae
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::h13255d40873f4e71
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 0x1400d2174
Capabilities:
Connect socket

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

Function at 0x1400d2198
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 0x1400d21ba
xor eax, eax
jmp 0x1400d21bf
call sym._ZN3std2io5error5Error13last_os_error17h7402a1406e6967e3E.llvm.6308574375341137969
nop
add rsp, 0x28
ret
Function at 0x1400d22ba
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 0x1400d22df
xor eax, eax
jmp 0x1400d22e4
call sym._ZN3std2io5error5Error13last_os_error17h7402a1406e6967e3E.llvm.6308574375341137969
nop
add rsp, 0x38
ret

Function at 0x1400d232b
Capabilities:
Set socket configuration

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

Function at 0x1400d2342
Capabilities:
Set socket configuration

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

Function at 0x1400d2358
Capabilities:
Set socket configuration

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

Function at 0x1400d236f
Capabilities:
Set socket configuration

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

Function at 0x1400d2ee0
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 0x1400d2f43
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 0x1400d2f4f
lea rax, [0x140123984]
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, [0x140196898]
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 0x1400ecdc0
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 0x1400ece00
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 0x1400ece90
jmp 0x1400ece7f
jae 0x1400ecf4b
cmp r8, 0x201
jae 0x1400ece90
mov r14d, 0x200
lea r15, [rbp - 0x60]
mov r12, r8
jmp 0x1400ecee7
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x1400ecebf
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 0x1400ecf0d
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x1400ecfc3
mov r8d, r13d
cmp r12, r8
jne 0x1400ece70
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x1400ecff4
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1400ece7f
jmp 0x1400ece90
cmp r14, r8
jb 0x1400ed00e
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 0x1400ecfac
mov r8, qword [rbp + 0x3f8]
mov rcx, qword [0x1401e4128]
xor edx, edx
call fcn.140123bf4
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 0x1400ecf97
jmp 0x1400ecfac
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 0x1400ed023
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
Function at 0x1400efc80
Capabilities:
Set socket configuration

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rbp - 4], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp - 4]
mov edx, 6
mov r8d, 1
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400efcb8
xor eax, eax
jmp 0x1400efcc5
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbp
ret

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

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, qword [rcx]
mov rcx, qword [rax]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
je 0x1400efd04
movsxd rdx, eax
xor ecx, ecx
jmp 0x1400efd27
call sub.ws2_32.dll_WSAGetLastError
xor edx, edx
mov ecx, 0
cmp eax, 0x274a
je 0x1400efd27
shl rax, 0x20
or rax, 2
mov ecx, 1
mov rdx, rax
mov rax, rcx
add rsp, 0x20
pop rbp
ret

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

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, qword [rcx]
mov rcx, qword [rax]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
je 0x1400efd64
movsxd rdx, eax
xor eax, eax
jmp case.0x1400e5221.273
call sub.ws2_32.dll_WSAGetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x20
pop rbp
ret

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

Disassembly:
push rbp
push rsi
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov rax, qword [rcx]
mov rcx, qword [rax]
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rbp + 4], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
lea r9, [rbp + 4]
call sub.ws2_32.dll_WSASend
mov esi, eax
cmp esi, 0xffffffff
jne 0x1400efdd1
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
xor ecx, ecx
cmp esi, 0xffffffff
sete cl
mov edx, dword [rbp + 4]
cmove rdx, rax
mov rax, rcx
add rsp, 0x48
pop rsi
pop rbp
ret

Function at 0x1400f30f0
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 0x1400f3153
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 0x1400f315f
lea rax, [0x140123984]
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, [0x140196898]
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 0x1400f3970
Capabilities:
Resolve dns

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov rbx, r9
mov rsi, rcx
lea rcx, [rbp - 0x28]
call sym.__str_as_alloc::ffi::c_str::CString::new::SpecNewImpl_::spec_new_impl::h7b19936b9aa543f3
mov rax, qword [rbp - 0x28]
movabs rcx, 0x8000000000000000
cmp rax, rcx
jne 0x1400f39f7
mov rdi, qword [rbp - 0x20]
mov r14, qword [rbp - 0x18]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x58], 1
mov qword [rbp - 8], 0
lea r8, [rbp - 0x60]
lea r9, [rbp - 8]
mov rcx, rdi
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x1400f3a2d
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1400f3a41
lea rcx, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rcx
mov qword [rsi], 1
test rax, rax
je 0x1400f3a61
mov r8, qword [rbp - 0x20]
mov rcx, qword [0x1401e4128]
xor edx, edx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.140123bf4
mov rcx, qword [rbx]
mov rax, qword [rbp - 8]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rdi], 0
test r14, r14
je 0x1400f3a61
mov rcx, qword [0x1401e4128]
xor edx, edx
mov r8, rdi
call fcn.140123bf4
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret

Function at 0x1400f81c0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1401967f8]
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_NtReadFile
cmp eax, 0x103
jne 0x1400f8228
mov rcx, rsi
mov edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [rbp]
cmp eax, 0xc0000011
jne 0x1400f8235
xor edx, edx
xor eax, eax
jmp 0x1400f825e
cmp eax, 0x103
je 0x1400f8268
test eax, eax
js 0x1400f8248
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x1400f825e
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, [0x140196860]
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._ZN3std2io5Write9write_fmt17hee8ce487ac8d947dE.llvm.16992393060595779045
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call sym._ZN4core3ptr81drop_in_place_LT_core..result..Result_LT__LP__RP__C_std..io..error..Error_GT__GT_17h661b318c1148fbcaE.llvm.16992
mov ecx, 7
int 0x29
ud2