joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a1e50
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov r8d, dword [rdx + 0x80]
call sub.ws2_32.dll_connect
test eax, eax
je 0x1400a1e76
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400a2180
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
sub rsp, 0xb0
mov rax, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x2c], pe_nt_image_headers64
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x2c]
mov rcx, rax
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x1400a2240
mov eax, dword [rsp + 0x2c]
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [rsi + 0x78], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rsi + 0x68], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rsi + 0x58], xmm0
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x48], xmm0
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rsp + 0x50]
movaps xmm3, xmmword [rsp + 0x60]
movups xmmword [rsi + 0x38], xmm3
movups xmmword [rsi + 0x28], xmm2
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov dword [rsi + 0x88], eax
xor eax, eax
jmp 0x1400a2256
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0xb0
pop rsi
ret

Function at 0x1400a2410
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
movzx eax, dl
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
mov edx, 0x8004667e
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x1400a2436
xor eax, eax
add rsp, 0x28
ret
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret

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

Disassembly:
sub rsp, 0x28
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
je 0x1400a24a3
movsxd rdx, eax
jmp 0x1400a24cc
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov ecx, eax
mov rdx, rcx
shl rdx, 0x20
or rdx, 2
mov eax, 1
cmp ecx, 0x274a
jne 0x1400a24ce
mov rcx, rdx
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17hdfd0ab801912ac95E.llvm.15634666395627040849
xor edx, edx
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400a24e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
sub rsp, 0x40
mov rax, r8
mov rsi, rcx
mov ecx, dword [rsp + 0x70]
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], ecx
mov r8d, 0xffffffff
cmp r9, r8
cmovb r8, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea rcx, [rsp + 0x3c]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x38]
mov rcx, rdx
mov rdx, rax
call sub.ws2_32.dll_WSARecv
cmp eax, 0xffffffff
je 0x1400a2547
mov eax, dword [rsp + 0x38]
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], 0
mov qword [rsi], 0
jmp 0x1400a25b1
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
shl rax, 0x20
or rax, 2
movabs rcx, 0xffffffff00000000
and rcx, rax
movabs rdx, 0x273800000000
cmp rcx, rdx
je 0x1400a2585
movabs rdx, 0x274a00000000
cmp rcx, rdx
jne 0x1400a25a6
xor ecx, ecx
xor edx, edx
jmp 0x1400a258e
mov ecx, dword [rsp + 0x38]
mov edx, 1
mov qword [rsi + 8], rcx
mov dword [rsi + 0x10], edx
mov qword [rsi], 0
mov rcx, rax
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17hdfd0ab801912ac95E.llvm.15634666395627040849
jmp 0x1400a25b1
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rax, rsi
add rsp, 0x40
pop rsi
ret

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

Disassembly:
push rsi
sub rsp, 0xc0
mov r10, r8
mov rsi, rcx
mov eax, dword [rsp + 0xf0]
xorps xmm0, xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x3c], pe_nt_image_headers64
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, r9
lea rcx, [rsp + 0x3c]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov rcx, rdx
mov rdx, r10
mov r9d, eax
call sub.ws2_32.dll_recvfrom
cmp eax, 0xffffffff
je 0x1400a2650
cdqe
jmp 0x1400a266e
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov rcx, rax
shl rcx, 0x20
or rcx, 2
cmp eax, 0x274a
jne 0x1400a26e4
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17hdfd0ab801912ac95E.llvm.1403790902676146460
xor eax, eax
movaps xmm0, xmmword [rsp + 0xb0]
movups xmmword [rsi + 0x80], xmm0
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [rsi + 0x70], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rsi + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rsi + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movaps xmm2, xmmword [rsp + 0x60]
movaps xmm3, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x40], xmm3
movups xmmword [rsi + 0x30], xmm2
movups xmmword [rsi + 0x20], xmm1
movups xmmword [rsi + 0x10], xmm0
mov ecx, dword [rsp + 0x3c]
mov qword [rsi + 8], rax
mov dword [rsi + 0x90], ecx
xor eax, eax
mov qword [rsi], rax
mov rax, rsi
add rsp, 0xc0
pop rsi
ret
mov qword [rsi + 8], rcx
mov eax, 1
jmp 0x1400a26d5
Function at 0x1400a26f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
sub rsp, 0xc0
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x3c], pe_nt_image_headers64
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
mov r9d, 2
call sub.ws2_32.dll_recvfrom
cmp eax, 0xffffffff
jne 0x1400a278d
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov rcx, rax
shl rcx, 0x20
or rcx, 2
cmp eax, 0x274a
je 0x1400a2788
cmp eax, 0x2738
jne 0x1400a2808
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17hdfd0ab801912ac95E.llvm.1403790902676146460
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0xb8]
mov qword [rsi + 0x80], rax
movups xmm0, xmmword [rsp + 0xa8]
movups xmmword [rsi + 0x70], xmm0
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rsi + 0x60], xmm0
movups xmm0, xmmword [rsp + 0x88]
movups xmmword [rsi + 0x50], xmm0
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rsi + 0x40], xmm0
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi + 0x30], xmm0
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x20], xmm0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi + 0x10], xmm0
mov eax, dword [rsp + 0x3c]
mov dword [rsi + 0x88], eax
xor eax, eax
mov qword [rsi + 8], rcx
mov qword [rsi], rax
mov rax, rsi
add rsp, 0xc0
pop rsi
ret
mov eax, 1
jmp 0x1400a27f5
Function at 0x1400a2810
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x178
mov rax, r8
mov rsi, rcx
mov ecx, dword [rsp + 0x1c0]
xorps xmm0, xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], pe_nt_image_headers64
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x5c], ecx
mov r8d, 0xffffffff
cmp r9, r8
cmovb r8, r9
movups xmmword [rsp + 0x38], xmm0
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x5c]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x54]
mov rcx, rdx
mov rdx, rax
call sub.ws2_32.dll_WSARecvFrom
cmp eax, 0xffffffff
je 0x1400a28c6
xor ebx, ebx
mov ebp, dword [rsp + 0x54]
jmp 0x1400a291d
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov edi, eax
shl rdi, 0x20
or rdi, 2
movabs rax, 0xffffffff00000000
and rax, rdi
movabs rcx, 0x273800000000
cmp rax, rcx
je 0x1400a290c
xor ebx, ebx
movabs rcx, 0x274a00000000
cmp rax, rcx
je 0x1400a2911
mov eax, 1
jmp 0x1400a2a36
mov ebx, 1
mov ebp, dword [rsp + 0x54]
mov rcx, rdi
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17hdfd0ab801912ac95E.llvm.1403790902676146460
mov edi, ebp
mov ebp, dword [rsp + 0x58]
movaps xmm0, xmmword [rsp + 0x60]
movaps xmm1, xmmword [rsp + 0x70]
movaps xmm2, xmmword [rsp + 0x80]
movaps xmm3, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0x100], xmm1
movaps xmmword [rsp + 0x110], xmm2
movaps xmmword [rsp + 0x120], xmm3
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x130], xmm0
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x140], xmm0
movaps xmm0, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x150], xmm0
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x160], xmm0
movaps xmm0, xmmword [rsp + 0x160]
movups xmmword [rsp + 0xd4], xmm0
movaps xmm0, xmmword [rsp + 0x150]
movups xmmword [rsp + 0xc4], xmm0
movaps xmm0, xmmword [rsp + 0x140]
movups xmmword [rsp + 0xb4], xmm0
movaps xmm0, xmmword [rsp + 0x130]
movups xmmword [rsp + 0xa4], xmm0
movaps xmm0, xmmword [rsp + 0xf0]
movaps xmm1, xmmword [rsp + 0x100]
movaps xmm2, xmmword [rsp + 0x110]
movaps xmm3, xmmword [rsp + 0x120]
movups xmmword [rsp + 0x94], xmm3
movups xmmword [rsp + 0x84], xmm2
movups xmmword [rsp + 0x74], xmm1
movups xmmword [rsp + 0x64], xmm0
mov dword [rsi + 0x10], ebx
lea rcx, [rsi + 0x14]
lea rdx, [rsp + 0x60]
mov r8d, 0x84
call sym.memcpy
mov dword [rsi + 0x98], ebp
xor eax, eax
mov qword [rsi + 8], rdi
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x178
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1400a2a50
Capabilities:
Send data
Send data on socket

Disassembly:
sub rsp, 0x28
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
je 0x1400a2a78
movsxd rdx, eax
xor eax, eax
add rsp, 0x28
ret
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x28
ret

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

Disassembly:
sub rsp, 0x48
mov dword [rsp + 0x44], 0
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], r9d
lea r9, [rsp + 0x44]
call sub.ws2_32.dll_WSASend
cmp eax, 0xffffffff
je 0x1400a2adf
mov edx, dword [rsp + 0x44]
xor eax, eax
add rsp, 0x48
ret
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x48
ret

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

Disassembly:
sub rsp, 0x38
mov eax, dword [rsp + 0x60]
cmp r8, 0x7fffffff
mov r10d, 0x7fffffff
cmovae r8, r10
mov r10d, dword [r9 + 0x80]
mov dword [rsp + 0x28], r10d
mov qword [rsp + 0x20], r9
mov r9d, eax
call sub.ws2_32.dll_sendto
cmp eax, 0xffffffff
je 0x1400a2b41
movsxd rdx, eax
xor eax, eax
add rsp, 0x38
ret
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x38
ret

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

Disassembly:
sub rsp, 0x58
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x54], 0
mov r10d, 0xffffffff
cmp r8, r10
cmovae r8, r10
mov r10d, dword [r9 + 0x80]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], r10d
mov qword [rsp + 0x28], r9
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x54]
call sub.ws2_32.dll_WSASendTo
cmp eax, 0xffffffff
je 0x1400a2bb7
mov edx, dword [rsp + 0x54]
xor eax, eax
add rsp, 0x58
ret
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x58
ret

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

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x34], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea r9, [rsp + 0x34]
call sub.ws2_32.dll_WSASendMsg
cmp eax, 0xffffffff
je 0x1400a2bfe
mov edx, dword [rsp + 0x34]
xor eax, eax
add rsp, 0x38
ret
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x38
ret
Function at 0x1400a2cb0
Capabilities:
Set socket configuration

Disassembly:
push rsi
sub rsp, 0x30
mov r10d, dword [rsp + 0x60]
xor eax, eax
cmp r10d, 0x3b9aca00
je 0x1400a2d04
mov esi, 0x3e8
mov rax, r9
mov r11d, edx
mul rsi
mov r9, rdx
mov edx, r11d
mov r10d, r10d
imul r10, r10, 0x431bde83
shr r10, 0x32
add r10, rax
adc r9, 0
mov eax, 0xffffffff
cmp r10, rax
cmovae r10, rax
xor eax, eax
neg r9
sbb eax, eax
or eax, r10d
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400a2d27
xor eax, eax
add rsp, 0x30
pop rsi
ret
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rsi
ret

Function at 0x1400a3010
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x34], r9d
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400a3037
xor eax, eax
add rsp, 0x38
ret
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1400a3050
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
mov dword [rsp + 0x20], 0xc
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400a306d
xor eax, eax
add rsp, 0x28
ret
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret

Function at 0x1400a3080
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
mov dword [rsp + 0x20], 0x14
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400a309d
xor eax, eax
add rsp, 0x28
ret
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret

Function at 0x1400a30b0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
movzx eax, word [rsp + 0x60]
mov word [rsp + 0x34], r9w
mov word [rsp + 0x36], ax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400a30e2
xor eax, eax
add rsp, 0x38
ret
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1400a3100
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x30], r9
mov dword [rsp + 0x20], 8
lea r9, [rsp + 0x30]
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400a3127
xor eax, eax
add rsp, 0x38
ret
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1400a3140
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x34], r9d
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400a3167
xor eax, eax
add rsp, 0x38
ret
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
Function at 0x1400a3680
Capabilities:
Connect pipe

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rdi, 0xd00000003
mov rsi, qword [rcx]
mov al, 1
xchg byte [rsi + 0xb8], al
test al, al
je 0x1400a36a4
mov rax, rdi
jmp 0x1400a36fe
lea rdx, [rsi + 0x10]
mov rcx, qword [rsi + 0xb0]
call sub.kernel32.dll_ConnectNamedPipe
test eax, eax
jne 0x1400a36ea
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov ecx, eax
mov rax, rcx
shl rax, 0x20
or rax, 2
cmp ecx, 0xe8
je 0x1400a36e2
cmp ecx, 0x3e5
je 0x1400a3705
cmp ecx, 0x217
jne 0x1400a3715
mov rcx, rax
call fcn.1400a3310
xor eax, eax
xchg byte [rsi + 0xb8], al
mov rcx, rsi
xor edx, edx
call sym.mio::sys::windows::named_pipe::Inner::post_register::heb13ccc4e7a71e7b
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rax
call fcn.1400a3310
lock inc qword [rsi]
jg 0x1400a369f
ud2
xor ecx, ecx
xchg byte [rsi + 0xb8], cl
jmp 0x1400a36fe

Function at 0x1400a4ab0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
mov bl, 1
cmp qword [rdx + 0x10], 0
jne 0x1400a4bf8
mov r12, r8
mov r15, rdx
mov r14, rcx
lea rdx, [rcx + 0x10]
lea rcx, [rsp + 0x38]
call sym.mio::sys::windows::named_pipe::Inner::get_buffer::h47976284815231cf
lea r13, [r14 + 0x38]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r8d, 0xffffffff
cmp rsi, r8
cmovb r8, rsi
mov rcx, qword [r14 + 0xb0]
mov qword [rsp + 0x20], r13
mov rdx, rdi
xor r9d, r9d
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x1400a4b35
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov rcx, rax
shl rcx, 0x20
or rcx, 2
cmp eax, 0x3e5
jne 0x1400a4b9f
call fcn.1400a3310
mov dword [rsp + 0x34], 0
mov rcx, qword [r14 + 0xb0]
lea r8, [rsp + 0x34]
mov rdx, r13
xor r9d, r9d
call sub.kernel32.dll_GetOverlappedResult
test eax, eax
jne 0x1400a4b74
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov rcx, rax
shl rcx, 0x20
or rcx, 2
cmp eax, 0x3e4
jne 0x1400a4b9f
call fcn.1400a3310
mov qword [r15 + 0x10], 1
mov qword [r15 + 0x18], 0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [r15 + 0x20], xmm0
mov rax, qword [rsp + 0x48]
mov qword [r15 + 0x30], rax
lock inc qword [r14]
jg 0x1400a4bf8
ud2
mov eax, ecx
and eax, 3
cmp rax, 2
jb 0x1400a4bc6
cmp eax, 2
jne 0x1400a4bc6
mov rax, rcx
shr rax, 0x20
cmp eax, 0x218
jne 0x1400a4bc6
call fcn.1400a3310
xor ebx, ebx
jmp 0x1400a4be2
mov qword [r15 + 0x10], 3
mov qword [r15 + 0x18], rcx
mov bl, 1
mov rcx, r15
mov rdx, r14
mov r8, r12
call sym.mio::sys::windows::named_pipe::Io::notify_readable::haaa8a901bdeedcd5
test rsi, rsi
je 0x1400a4bf8
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400a4c30
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rbx, r9
mov rsi, r8
mov r14, rdx
mov rdx, qword [r8 + 0x10]
mov rax, rdx
sub rax, r9
jb 0x1400a4dff
mov rdi, rcx
mov r15, qword [rsi + 8]
lea r12, [r14 + 0x60]
lea rdx, [r15 + rbx]
mov r8d, 0xffffffff
cmp rax, r8
cmovb r8, rax
mov rcx, qword [r14 + 0xb0]
mov qword [rsp + 0x20], r12
xor r9d, r9d
call sub.kernel32.dll_WriteFile
test eax, eax
jne 0x1400a4cac
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov rcx, rax
shl rcx, 0x20
or rcx, 2
cmp eax, 0x3e5
jne 0x1400a4d62
call fcn.1400a3310
mov r13, qword [rsp + 0x90]
mov dword [rsp + 0x2c], 0
mov rcx, qword [r14 + 0xb0]
lea r8, [rsp + 0x2c]
mov rdx, r12
xor r9d, r9d
call sub.kernel32.dll_GetOverlappedResult
test eax, eax
je 0x1400a4d15
mov r15d, dword [rsp + 0x2c]
mov rax, qword [r13 + 0x38]
test rax, rax
je 0x1400a4d8e
cmp eax, 1
je 0x1400a4cf7
cmp eax, 2
jne 0x1400a4d85
mov rdx, qword [r13 + 0x48]
test rdx, rdx
je 0x1400a4d8e
mov rcx, qword [r13 + 0x50]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x1400a4d8e
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov rcx, rax
shl rcx, 0x20
or rcx, 2
cmp eax, 0x3e4
jne 0x1400a4d62
call fcn.1400a3310
mov rax, qword [r13 + 0x38]
test rax, rax
je 0x1400a4dc6
cmp eax, 1
je 0x1400a4d48
cmp eax, 2
jne 0x1400a4dbd
mov rdx, qword [r13 + 0x48]
test rdx, rdx
je 0x1400a4dc6
mov rcx, qword [r13 + 0x50]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x1400a4dc6
mov qword [rdi + 8], rcx
mov qword [rdi], 2
mov rdx, qword [rsi]
test rdx, rdx
je 0x1400a4def
mov r8d, 1
mov rcx, r15
call sym.__rust_dealloc
jmp 0x1400a4def
mov rcx, qword [r13 + 0x40]
call fcn.1400a3310
mov qword [r13 + 0x38], 2
mov qword [r13 + 0x40], rbx
movups xmm0, xmmword [rsi]
movups xmmword [r13 + 0x48], xmm0
mov rax, qword [rsi + 0x10]
mov qword [r13 + 0x58], rax
lock inc qword [r14]
jle 0x1400a4e0e
mov qword [rdi], 1
mov qword [rdi + 8], r15
jmp 0x1400a4def
mov rcx, qword [r13 + 0x40]
call fcn.1400a3310
mov qword [r13 + 0x38], 1
mov qword [r13 + 0x40], rbx
movups xmm0, xmmword [rsi]
movups xmmword [r13 + 0x48], xmm0
mov rax, qword [rsi + 0x10]
mov qword [r13 + 0x58], rax
lock inc qword [r14]
jle 0x1400a4e0e
mov qword [rdi], 0
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:UsersSIDAHMED.cargo_registry_srcindex.crates.io_6f17d22bba15001fmio_1.0.2_src_syswindows_named_pipe.rs
mov rcx, rbx
call sym.core::slice::index::slice_start_index_len_fail::h8d3d56967d6340e8
ud2
Function at 0x1400ab490
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
sub rsp, 0x40
movzx eax, word [rcx]
cmp eax, 2
je 0x1400ab4b8
mov r8, qword [rcx + 8]
cmp eax, 3
jne 0x1400ab4bc
mov rcx, rdx
mov edx, 1
add rsp, 0x40
pop rsi
jmp sym.std::sys_common::net::UdpSocket::connect::h045641db31a0bdfb
xor eax, eax
jmp 0x1400ab4f5
mov word [rsp + 0x20], ax
mov eax, dword [rcx + 2]
mov dword [rsp + 0x22], eax
movzx eax, word [rcx + 6]
mov word [rsp + 0x26], ax
mov qword [rsp + 0x28], r8
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x30], xmm0
xor esi, esi
lea r8, [rsp + 0x20]
mov rcx, rdx
xor edx, edx
call sym.std::sys_common::net::UdpSocket::connect::h045641db31a0bdfb
test rax, rax
je 0x1400ab503
test rax, rax
lea rsi, str.could_not_resolve_to_any_addresses
cmovne rsi, rax
mov rax, rsi
add rsp, 0x40
pop rsi
ret

Function at 0x1400abb00
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
sub rsp, 0x38
cmp word [rcx], 0
mov eax, 2
mov ecx, 0x17
cmove ecx, eax
mov eax, dword [0x1401f30d0]
cmp eax, 4
jne 0x1400abb7a
xor r8d, r8d
call sub.ws2_32.dll_socket
cmp rax, 0xffffffffffffffff
je 0x1400abbc0
mov rsi, rax
mov dword [rsp + 0x2c], 1
lea r8, [rsp + 0x2c]
mov rcx, rax
mov edx, 0x8004667e
call sub.ws2_32.dll_ioctlsocket
test eax, eax
je 0x1400abb76
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call sub.ws2_32.dll_closesocket
mov eax, 1
mov rsi, rdi
jmp 0x1400abbd4
xor eax, eax
jmp 0x1400abbd4
mov byte [rsp + 0x2b], 1
lea rax, [rsp + 0x2b]
mov qword [rsp + 0x30], rax
lea rax, [0x1401f30d0]
lea r9, [0x140191a40]
lea r8, [rsp + 0x30]
mov esi, ecx
mov rcx, rax
mov edi, edx
xor edx, edx
call sym.std::sys::sync::once::futex::Once::call::h603b377ad341f75f
mov ecx, esi
mov edx, edi
xor r8d, r8d
call sub.ws2_32.dll_socket
cmp rax, 0xffffffffffffffff
jne 0x1400abb34
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov eax, 1
mov rdx, rsi
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x1400abce0
Capabilities:
Connect socket

Disassembly:
push rsi
sub rsp, 0x40
cmp word [rdx], 0
je 0x1400abd0c
movups xmm0, xmmword [rdx + 4]
movzx eax, word [rdx + 0x1c]
rol ax, 8
mov r9d, dword [rdx + 0x18]
add rdx, 0x14
mov r8d, 0x1c
mov r10w, 0x17
jmp 0x1400abd26
movzx eax, word [rdx + 6]
rol ax, 8
add rdx, 2
xorps xmm0, xmm0
mov r8d, 0x10
mov r10w, 2
mov edx, dword [rdx]
mov word [rsp + 0x24], r10w
mov word [rsp + 0x26], ax
mov dword [rsp + 0x28], edx
movups xmmword [rsp + 0x2c], xmm0
mov dword [rsp + 0x3c], r9d
mov rcx, qword [rcx]
lea rdx, [rsp + 0x24]
call sub.ws2_32.dll_connect
cmp eax, 0xffffffff
jne 0x1400abd76
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call sym._ZN3std2io5error5Error4kind17h58f73e445c83dc12E.llvm.7490366666914169801
cmp al, 0xd
jne 0x1400abd78
mov rcx, rsi
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17hf4291b1b139fb7c1E.llvm.7490366666914169801
xor esi, esi
mov rax, rsi
add rsp, 0x40
pop rsi
ret