joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401f9b20
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
mov rcx, qword [rdx]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor edx, edx
xor r8d, r8d
mov r9d, 2
call sub.ws2_32.dll_recvfrom
cmp eax, 0xffffffff
jne 0x1401f9bb9
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov rcx, rax
shl rcx, 0x20
or rcx, 2
cmp eax, 0x274a
je 0x1401f9bb4
cmp eax, 0x2738
jne 0x1401f9c28
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17hc0ff0d6bd577a40fE.llvm.775044960212864569
movaps xmm0, xmmword [rsp + 0xb0]
movups xmmword [rsi + 0x78], xmm0
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [rsi + 0x68], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rsi + 0x58], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rsi + 0x48], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movaps xmm2, xmmword [rsp + 0x60]
movaps xmm3, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x38], xmm3
movups xmmword [rsi + 0x28], xmm2
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov eax, dword [rsp + 0x3c]
mov dword [rsi + 0x88], eax
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 0x1401f9c19
Function at 0x1401f9c40
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
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
mov rcx, qword [rcx]
mov r9, qword [rdx + 0x10]
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, r9
mov rdx, qword [rdx + 0x18]
mov r9d, dword [rdx]
lea rdx, [rsp + 0x3c]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
mov rdx, rax
call sub.ws2_32.dll_recvfrom
cmp eax, 0xffffffff
je 0x1401f9cd5
cdqe
jmp 0x1401f9cf3
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov rcx, rax
shl rcx, 0x20
or rcx, 2
cmp eax, 0x274a
jne 0x1401f9d69
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17hc0ff0d6bd577a40fE.llvm.775044960212864569
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 0x1401f9d5a
Function at 0x1401faf50
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov r8d, dword [rdx + 0x80]
call sub.ws2_32.dll_connect
test eax, eax
je 0x1401faf76
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 0x1401fb280
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 0x1401fb340
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 0x1401fb356
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 0x1401fb510
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 0x1401fb536
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 0x1401fb580
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 0x1401fb5a3
movsxd rdx, eax
jmp 0x1401fb5cc
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 0x1401fb5ce
mov rcx, rdx
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17hc0ff0d6bd577a40fE.llvm.16276987661289959458
xor edx, edx
xor eax, eax
add rsp, 0x28
ret
Function at 0x1401fb5e0
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 0x1401fb647
mov eax, dword [rsp + 0x38]
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], 0
mov qword [rsi], 0
jmp 0x1401fb6b1
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 0x1401fb685
movabs rdx, 0x274a00000000
cmp rcx, rdx
jne 0x1401fb6a6
xor ecx, ecx
xor edx, edx
jmp 0x1401fb68e
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_17hc0ff0d6bd577a40fE.llvm.16276987661289959458
jmp 0x1401fb6b1
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rax, rsi
add rsp, 0x40
pop rsi
ret

Function at 0x1401fb6c0
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 0x1401fb750
cdqe
jmp 0x1401fb76e
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov rcx, rax
shl rcx, 0x20
or rcx, 2
cmp eax, 0x274a
jne 0x1401fb7e4
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17hc0ff0d6bd577a40fE.llvm.775044960212864569
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 0x1401fb7d5
Function at 0x1401fb7f0
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 0x1401fb88d
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov rcx, rax
shl rcx, 0x20
or rcx, 2
cmp eax, 0x274a
je 0x1401fb888
cmp eax, 0x2738
jne 0x1401fb908
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17hc0ff0d6bd577a40fE.llvm.775044960212864569
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 0x1401fb8f5
Function at 0x1401fb910
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 0x1401fb9c6
xor ebx, ebx
mov ebp, dword [rsp + 0x54]
jmp 0x1401fba1d
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 0x1401fba0c
xor ebx, ebx
movabs rcx, 0x274a00000000
cmp rax, rcx
je 0x1401fba11
mov eax, 1
jmp 0x1401fbb36
mov ebx, 1
mov ebp, dword [rsp + 0x54]
mov rcx, rdi
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17hc0ff0d6bd577a40fE.llvm.775044960212864569
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 0x1401fbb50
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 0x1401fbb78
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 0x1401fbba0
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 0x1401fbbdf
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 0x1401fbc00
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 0x1401fbc41
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 0x1401fbc60
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 0x1401fbcb7
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 0x1401fbcd0
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 0x1401fbcfe
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 0x1401fbdb0
Capabilities:
Set socket configuration

Disassembly:
push rsi
sub rsp, 0x30
mov r10d, dword [rsp + 0x60]
xor eax, eax
cmp r10d, 0x3b9aca00
je 0x1401fbe04
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 0x1401fbe27
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 0x1401fc110
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
mov dword [rsp + 0x20], 0x14
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1401fc12d
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 0x1401fc140
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 0x1401fc167
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 0x1401fc180
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 0x1401fc1b2
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 0x1401fc1d0
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 0x1401fc1f7
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 0x1401fc210
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
mov dword [rsp + 0x20], 0xc
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1401fc22d
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 0x1401fc240
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 0x1401fc267
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 0x1402011a0
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 0x1402011c4
mov rax, rdi
jmp 0x14020121e
lea rdx, [rsi + 0x10]
mov rcx, qword [rsi + 0xb0]
call sub.kernel32.dll_ConnectNamedPipe
test eax, eax
jne 0x14020120a
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 0x140201202
cmp ecx, 0x3e5
je 0x140201225
cmp ecx, 0x217
jne 0x140201235
mov rcx, rax
call fcn.140200e30
xor eax, eax
xchg byte [rsi + 0xb8], al
mov rcx, rsi
xor edx, edx
call sym.mio::sys::windows::named_pipe::Inner::post_register::h0ee0ebfd218ae604
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rax
call fcn.140200e30
lock inc qword [rsi]
jg 0x1402011bf
ud2
xor ecx, ecx
xchg byte [rsi + 0xb8], cl
jmp 0x14020121e

Function at 0x1402025d0
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 0x140202718
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::h996dbc57103966c2
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 0x140202655
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov rcx, rax
shl rcx, 0x20
or rcx, 2
cmp eax, 0x3e5
jne 0x1402026bf
call fcn.140200e30
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 0x140202694
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov rcx, rax
shl rcx, 0x20
or rcx, 2
cmp eax, 0x3e4
jne 0x1402026bf
call fcn.140200e30
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 0x140202718
ud2
mov eax, ecx
and eax, 3
cmp rax, 2
jb 0x1402026e6
cmp eax, 2
jne 0x1402026e6
mov rax, rcx
shr rax, 0x20
cmp eax, 0x218
jne 0x1402026e6
call fcn.140200e30
xor ebx, ebx
jmp 0x140202702
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::he69f02683c6ad513
test rsi, rsi
je 0x140202718
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 0x140202750
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 0x14020291f
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 0x1402027cc
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov rcx, rax
shl rcx, 0x20
or rcx, 2
cmp eax, 0x3e5
jne 0x140202882
call fcn.140200e30
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 0x140202835
mov r15d, dword [rsp + 0x2c]
mov rax, qword [r13 + 0x38]
test rax, rax
je 0x1402028ae
cmp eax, 1
je 0x140202817
cmp eax, 2
jne 0x1402028a5
mov rdx, qword [r13 + 0x48]
test rdx, rdx
je 0x1402028ae
mov rcx, qword [r13 + 0x50]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x1402028ae
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov rcx, rax
shl rcx, 0x20
or rcx, 2
cmp eax, 0x3e4
jne 0x140202882
call fcn.140200e30
mov rax, qword [r13 + 0x38]
test rax, rax
je 0x1402028e6
cmp eax, 1
je 0x140202868
cmp eax, 2
jne 0x1402028dd
mov rdx, qword [r13 + 0x48]
test rdx, rdx
je 0x1402028e6
mov rcx, qword [r13 + 0x50]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x1402028e6
mov qword [rdi + 8], rcx
mov qword [rdi], 2
mov rdx, qword [rsi]
test rdx, rdx
je 0x14020290f
mov r8d, 1
mov rcx, r15
call sym.__rust_dealloc
jmp 0x14020290f
mov rcx, qword [r13 + 0x40]
call fcn.140200e30
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 0x14020292e
mov qword [rdi], 1
mov qword [rdi + 8], r15
jmp 0x14020290f
mov rcx, qword [r13 + 0x40]
call fcn.140200e30
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 0x14020292e
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._home_revy_.cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_1.0.2_src_sys_windows_named_pipe.rs
mov rcx, rbx
call sym.core::slice::index::slice_start_index_len_fail::h8d3d56967d6340e8
ud2