joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140130030
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 0x1401300b7
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 0x1401300e9
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1401300fd
lea rcx, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rcx
mov qword [rsi], 1
test rax, rax
je 0x140130119
mov rcx, qword [rbp - 0x20]
mov edx, 1
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp sym.__rust_dealloc
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 0x140130119
mov edx, 1
mov rcx, rdi
call sym.__rust_dealloc
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret

Function at 0x140130130
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 0x140130193
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 0x14013019f
lea rax, [0x140156dcc]
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, [0x14023ef58]
lea r9, [0x14023ef60]
lea rcx, [rbp + 0x16c]
lea r8, [rbp + 0x138]
call sym.core::panicking::assert_failed::h6e198971118ba248
int3

Function at 0x1401301d0
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 0x140130233
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 0x14013023f
lea rax, [0x140156dcc]
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, [0x14023ef58]
lea r9, [0x14023ef60]
lea rcx, [rbp + 0x16c]
lea r8, [rbp + 0x138]
call sym.core::panicking::assert_failed::h6e198971118ba248
int3
Function at 0x1401308f0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x60], xmm0
mov dword [rbp + 0x34], pe_nt_image_headers64
lea rdx, [rbp - 0x60]
lea r8, [rbp + 0x34]
mov rcx, rax
call sub.WS2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x140130999
mov eax, dword [rbp + 0x34]
movzx ecx, word [rbp - 0x60]
cmp ecx, 2
je 0x1401309a8
cmp ecx, 0x17
jne 0x1401309c6
cmp eax, 0x1b
jbe 0x1401309e0
movzx eax, word [rbp - 0x5e]
rol ax, 8
mov ecx, dword [rbp - 0x5c]
mov edx, dword [rbp - 0x48]
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rbp + 0x24], xmm0
mov word [rsi], 1
movups xmm0, xmmword [rbp + 0x22]
movups xmmword [rsi + 2], xmm0
movzx r8d, word [rbp + 0x32]
mov word [rsi + 0x12], r8w
mov dword [rsi + 0x14], ecx
mov dword [rsi + 0x18], edx
mov word [rsi + 0x1c], ax
jmp 0x1401309d6
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
jmp 0x1401309cd
cmp eax, 0xf
jbe 0x1401309f8
movzx eax, word [rbp - 0x5e]
rol ax, 8
mov ecx, dword [rbp - 0x5c]
mov word [rsi], 0
mov word [rsi + 6], ax
mov dword [rsi + 2], ecx
jmp 0x1401309d6
lea rax, str.invalid_argument
mov qword [rsi + 8], rax
mov word [rsi], 2
add rsp, 0xb8
pop rsi
pop rbp
ret
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len___mem::size_of::_c::sockaddr_in___
mov edx, 0x3a
call sym.core::panicking::panic::hf6fd3ad2f9225230
lea rcx, [0x14023fc01]
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len___mem::size_of::_c::sockaddr_in___
mov edx, 0x39
call sym.core::panicking::panic::hf6fd3ad2f9225230
int3
Function at 0x140136840
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
movabs rbx, 0x8000000000000000
lea rcx, [rbp - 0x28]
call sym.std::sys::pal::windows::to_u16s::inner::h89be131796146338
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
cmp rcx, rbx
jne 0x14013687e
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], rbx
jmp 0x1401368a4
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rdx
lea rcx, [rbp - 0x10]
lea rdx, [rbp - 0x40]
call sym.std::sys::pal::windows::args::from_wide_to_user_path::hddbd847bbbb7fc48
mov r14, qword [rbp - 0x10]
cmp r14, rbx
jne 0x1401368bd
lea rcx, [rbp - 8]
call sym.core::ptr::drop_in_place_std::io::error::Error_::h1101bbc27c16f6e8
mov qword [rsi], rbx
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov rdi, qword [rbp - 8]
mov r15, qword [rbp]
mov rcx, rdi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x1401368df
mov qword [rsi], r14
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r15
jmp 0x1401368b0
mov qword [rsi], rbx
test r14, r14
je 0x1401368b0
mov edx, 2
mov rcx, rdi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
jmp sym.__rust_dealloc
Function at 0x1401390f0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rbx, r8
mov r14, rdx
mov rdi, rcx
movzx eax, byte [0x1402ac208]
mov edx, 0x10
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h54baaa069cfd9f2e
test rax, rax
je 0x1401391ac
mov rsi, rax
mov qword [rax], r14
mov qword [rax + 8], rbx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [sym.std::sys::pal::windows::thread::Thread::new::thread_start::h41f4962570e673ca]
xor ebx, ebx
xor ecx, ecx
mov rdx, rdi
mov r9, rax
call sub.kernel32.dll_CreateThread
mov rdx, rax
test rax, rax
jne 0x14013919e
mov rbx, qword [rsi]
mov r14, qword [rsi + 8]
mov rcx, rbx
call qword [r14]
cmp qword [r14 + 8], 0
je 0x14013917d
mov rdx, qword [r14 + 0x10]
mov rcx, rbx
call sym.__rust_dealloc
mov edx, 8
mov rcx, rsi
call sym.__rust_dealloc
call sub.kernel32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov ebx, 1
mov rax, rbx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::hd693885652fa1428
ud2
Function at 0x14013bcc0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov rdi, rdx
cmp qword [rdx], 0
jne 0x14013be26
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx]
test rax, rax
jne 0x14013bcfd
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x14013be10
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x14013bdf3
sub rax, rdx
add rdx, qword [rbx + 8]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rbp + 4], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rbp + 4]
mov r8d, eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x14013bd5b
mov eax, dword [rbp + 4]
mov ecx, 2
test rax, rax
je 0x14013bd9d
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
jmp 0x14013bda1
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x40], rax
movabs rcx, 0xffffffff00000000
and rcx, rax
movabs rdx, 0x6d00000000
cmp rcx, rdx
je 0x14013bda5
movabs rdx, 0x3e500000000
cmp rcx, rdx
jne 0x14013bdcf
lea rax, [rbp - 8]
jmp 0x14013bdb1
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x14013bdd5
mov qword [rbp - 8], 1
lea rax, [rbp - 0x10]
mov qword [rax], 0
lea rcx, [rbp - 0x40]
call sym.core::ptr::drop_in_place_std::io::error::Error_::h1101bbc27c16f6e8
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 0x10]
cmp rcx, 2
jne 0x14013bde0
mov qword [rsi + 8], rax
mov al, 1
mov byte [rsi], al
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop rbp
ret
test rcx, rcx
jne 0x14013bd44
mov ecx, 1
jmp 0x14013bd4e
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::hdee5353af6aa9e75
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x14013bd0a
mov r8d, 0x10
mov rcx, rbx
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::hdee5353af6aa9e75
mov rax, qword [rbx]
jmp 0x14013bcfd
mov qword [rbp - 0x40], 0
lea rdx, [rbp - 0x40]
mov rcx, rdi
call sym.core::panicking::assert_failed::hae71d55743d4ba48
int3
Function at 0x14013ef30
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov eax, 1
test rcx, rcx
jne 0x14013f0b8
mov rax, qword [0x1402ac198]
cmp rax, 3
jne 0x14013f0c3
mov r14, rdx
cmp word [rdx], 0
mov eax, 2
mov edi, 0x17
cmove edi, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, edi
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call sub.WS2_32.dll_WSASocketW
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14013efce
cmp word [r14], 0
je 0x14013f03f
mov ecx, dword [r14 + 0x14]
movzx eax, word [r14 + 0x1c]
rol ax, 8
mov edx, dword [r14 + 0x18]
movups xmm0, xmmword [r14 + 4]
mov r8d, 0x1c
mov r9w, 0x17
jmp 0x14013f05a
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2739
je 0x14013efe7
mov ebx, eax
cmp eax, 0x2726
jne 0x14013f0a8
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, edi
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call sub.WS2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
je 0x14013f0a1
mov rsi, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.kernel32.dll_SetHandleInformation
test eax, eax
jne 0x14013ef9d
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov rcx, rsi
call sub.WS2_32.dll_closesocket
jmp 0x14013f0a8
movzx eax, word [r14 + 6]
rol ax, 8
mov ecx, dword [r14 + 2]
xorps xmm0, xmm0
mov r8d, 0x10
mov r9w, 2
mov word [rbp - 0x1c], r9w
mov word [rbp - 0x1a], ax
mov dword [rbp - 0x18], ecx
movups xmmword [rbp - 0x14], xmm0
mov dword [rbp - 4], edx
lea rdx, [rbp - 0x1c]
mov rcx, rsi
call sub.WS2_32.dll_bind
cmp eax, 0xffffffff
je 0x14013f085
xor eax, eax
mov rdx, rsi
jmp 0x14013f0b8
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call sub.WS2_32.dll_closesocket
mov rdx, rdi
jmp 0x14013f0b3
call sub.WS2_32.dll_WSAGetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov rdx, rbx
mov eax, 1
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov rsi, rdx
call sym.std::sync::once_lock::OnceLock_T_::initialize::hfdabfdb958aa94c1
mov rdx, rsi
jmp 0x14013ef5e
Function at 0x14013f120
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 [0x1401ca570]
test ecx, ecx
je 0x14013f1f0
dec ecx
call fcn.14015714c
cmp rax, 2
jb 0x14013f151
cmp qword [rax + 8], 0
jne 0x14013f1e1
mov ecx, dword [0x1401ca570]
test ecx, ecx
je 0x14013f203
dec ecx
call fcn.14015714c
cmp rax, 1
je 0x14013f1e7
mov rsi, rax
test rax, rax
jne 0x14013f1b9
movzx eax, byte [0x1402ac208]
mov edx, 0x20
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h54baaa069cfd9f2e
test rax, rax
je 0x14013f22c
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h5a628db256e6f7e2
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x1401ca570]
test ecx, ecx
je 0x14013f216
dec ecx
mov rsi, rax
mov rdx, rax
call fcn.140157154
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
mov edx, 0x10
call sub.bcryptprimitives.dll_ProcessPrng
movaps xmm0, xmmword [rbp - 0x10]
mov rax, rsi
mov qword [rsi + 8], 1
movups xmmword [rsi + 0x10], xmm0
add rax, 0x10
jmp 0x14013f1e9
xor eax, eax
add rsp, 0x38
pop rsi
pop rbp
ret
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h5a628db256e6f7e2
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x14013f13b
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h5a628db256e6f7e2
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x14013f161
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h5a628db256e6f7e2
mov rsi, rax
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
mov rax, rsi
jmp 0x14013f1ae
mov ecx, 8
mov edx, 0x20
call sym.alloc::alloc::handle_alloc_error::hd693885652fa1428
int3
Function at 0x140145a92
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x140145a99
test al, 1
je 0x140145ab8
test al, 2
jne 0x140145ad0
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140241bd0]
mov edx, 0x23
call sym.core::panicking::panic::hf6fd3ad2f9225230
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140241c10]
mov edx, 0x25
call sym.core::panicking::panic::hf6fd3ad2f9225230
int3

Function at 0x140147e93
Capabilities:
Get thread local storage value

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

Function at 0x14014aff2
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call sym.__tokio::io::poll_evented::PollEvented_E__as_core::ops::deref::Deref_::deref::ha253db0ec5c47bca
mov rcx, qword [rax]
movzx eax, bl
lea r9, [rsp + 0x2c]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14014b02d
xor eax, eax
jmp 0x14014b03a
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret
Function at 0x14014b2a5
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
lea r14, [rsp + 0x2a]
lea r15, [rsp + 0x42]
mov r12, qword [rcx + 0x10]
mov r13d, 0x7fffffff
cmp r9, r13
cmovb r13, r9
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x48], rax
lea rbp, [rsp + 0x20]
mov qword [rsp + 0x30], r13
mov rcx, rbp
mov rdx, r12
mov r8, rdi
call sym.tokio::runtime::io::registration::Registration::poll_write_ready::hcae52714c9466d1b
mov al, byte [rsp + 0x29]
cmp al, 3
je 0x14014b417
mov rbp, qword [rsp + 0x20]
cmp al, 2
je 0x14014b410
mov cl, byte [rsp + 0x28]
movzx edx, word [r14 + 4]
mov word [r15 + 4], dx
mov edx, dword [r14]
mov dword [r15], edx
mov qword [rsp + 0x38], rbp
mov byte [rsp + 0x40], cl
mov byte [rsp + 0x41], al
mov rcx, qword [rsp + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x14014b437
mov rdx, rsi
mov r8d, r13d
xor r9d, r9d
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
jne 0x14014b41e
call sub.WS2_32.dll_WSAGetLastError
mov ebp, eax
shl rbp, 0x20
or rbp, 2
mov rcx, rbp
call sym._ZN3std2io5error5Error4kind17h256353ff5241588cE.4285
cmp al, 0xd
jne 0x14014b3e0
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14014b3e0
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x14014b443
mov r13, r12
mov r12, rbx
mov rbx, r14
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call sym.mio::sys::windows::selector::SelectorInner::reregister::h9cfa273486b2befd
mov r14, rax
xor ecx, ecx
call sym.core::ptr::drop_in_place_core::option::Option_std::io::error::Error__::h9c338c472c3d6426
test r14, r14
je 0x14014b3d2
mov ecx, 1
mov rdx, rbp
call sym.core::ptr::drop_in_place_core::result::Result_usize_std::io::error::Error__::h4244bb6d14f9263a
mov rbp, r14
mov r14, rbx
mov rbx, r12
mov r12, r13
mov r13, qword [rsp + 0x30]
mov rcx, rbp
call sym._ZN3std2io5error5Error4kind17h256353ff5241588cE.2687
cmp al, 0xd
jne 0x14014b410
mov qword [rsp + 0x20], rbp
mov rcx, rbx
lea rdx, [rsp + 0x38]
call sym.tokio::runtime::io::registration::Registration::clear_readiness::h133cfd82d25cd5d6
lea rbp, [rsp + 0x20]
mov rcx, rbp
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17h3d563bd91dafb1beE.8412
jmp 0x14014b2f5
mov eax, 1
jmp 0x14014b423
mov eax, 2
jmp 0x14014b423
movsxd rbp, eax
xor eax, eax
mov rdx, rbp
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.38.0_src_io_poll_evented.rs
call sym.core::option::unwrap_failed::h9762a13207486022
ud2
Function at 0x14014b445
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov r13, r8
mov r14, rdx
mov rbx, rcx
lea r12, [rsp + 0x52]
lea r15, [rsp + 0x6a]
mov rdi, qword [rcx + 0x10]
mov rsi, qword [rcx + 0x18]
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
mov qword [rsp + 0x78], rax
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x70], rax
xorps xmm6, xmm6
mov qword [rsp + 0x58], rsi
lea rcx, [rsp + 0x48]
mov rdx, rdi
mov r8, r14
mov r9b, 1
call sym.tokio::runtime::io::registration::Registration::poll_ready::h146b2b709fc85ec4
mov al, byte [rsp + 0x51]
cmp al, 3
je 0x14014b5db
mov rbp, qword [rsp + 0x48]
cmp al, 2
je 0x14014b5e7
mov cl, byte [rsp + 0x50]
movzx edx, word [r12 + 4]
mov word [r15 + 4], dx
mov edx, dword [r12]
mov dword [r15], edx
mov qword [rsp + 0x60], rbp
mov byte [rsp + 0x68], cl
mov byte [rsp + 0x69], al
cmp rsi, 0xffffffffffffffff
je 0x14014b61d
and dword [rsp + 0x48], 0
movups xmmword [rsp + 0x28], xmm6
and dword [rsp + 0x20], 0
mov rcx, rsi
mov rdx, r13
mov r8, qword [rsp + 0x78]
lea r9, [rsp + 0x48]
call sub.WS2_32.dll_WSASend
cmp eax, 0xffffffff
jne 0x14014b5ee
mov ebp, eax
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
xor ecx, ecx
cmp ebp, 0xffffffff
sete cl
mov qword [rsp + 0x40], rcx
mov ebp, dword [rsp + 0x48]
cmove rbp, rax
mov rcx, rbp
call sym._ZN3std2io5error5Error4kind17h256353ff5241588cE.4285
cmp al, 0xd
jne 0x14014b5b5
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x14014b5b5
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x14014b629
mov rsi, rdi
mov rdi, r12
mov r12, rbx
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call sym.mio::sys::windows::selector::SelectorInner::reregister::h9cfa273486b2befd
mov rbx, rax
xor ecx, ecx
call sym.core::ptr::drop_in_place_core::option::Option_std::io::error::Error__::h9c338c472c3d6426
test rbx, rbx
je 0x14014b5a7
mov rcx, qword [rsp + 0x40]
mov rdx, rbp
call sym.core::ptr::drop_in_place_core::result::Result_usize_std::io::error::Error__::h4244bb6d14f9263a
mov rbp, rbx
mov rbx, r12
mov r12, rdi
mov rdi, rsi
mov rsi, qword [rsp + 0x58]
mov rcx, rbp
call sym._ZN3std2io5error5Error4kind17h256353ff5241588cE.4285
cmp al, 0xd
jne 0x14014b5f9
mov rcx, rbx
lea rdx, [rsp + 0x60]
call sym.tokio::runtime::io::registration::Registration::clear_readiness::h133cfd82d25cd5d6
mov rcx, rbp
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17h0562a83f0f531b03E.4339
jmp 0x14014b49d
mov eax, 2
mov qword [rsp + 0x40], rax
jmp 0x14014b5f9
mov eax, 1
jmp 0x14014b5f4
mov ebp, dword [rsp + 0x48]
xor eax, eax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rdx, rbp
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str._home_ubuntu_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.38.0_src_io_poll_evented.rs
call sym.core::option::unwrap_failed::h9762a13207486022
ud2
Function at 0x14014bc66
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
cmp byte [rcx + 0x60], 0
je 0x14014bd07
mov rdi, rcx
mov rbx, qword [rcx + 0x30]
mov rcx, rbx
mov edx, 1
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x14014bc97
mov byte [rdi + 0x60], 0
xor esi, esi
jmp 0x14014bcfa
call sub.kernel32.dll_GetLastError
mov esi, eax
cmp eax, 5
jne 0x14014bcf2
mov rcx, rbx
xor edx, edx
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x14014bcba
cmp eax, 0x102
je 0x14014bc8f
jmp 0x14014bcce
lea rdx, [rsp + 0x3c]
and dword [rdx], 0
mov rcx, rbx
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x14014bc8f
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
lea rcx, [rsp + 0x30]
call sym.core::ptr::drop_in_place_std::io::error::Error_::h1101bbc27c16f6e8
shl rsi, 0x20
or rsi, 2
lea rcx, [rsp + 0x28]
mov qword [rcx], rsi
call sym._ZN4core3ptr81drop_in_place_LT_core..result..Result_LT__LP__RP__C_std..io..error..Error_GT__GT_17h7fa876163fd83674E.8417
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401669b0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]