joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140079ea0
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, rdx
mov rdi, rcx
call sym.std::sys::windows::net::Socket::as_raw::h74916cfa8be57cf1
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x48]
mov rcx, rax
mov edx, 0xffff
mov r8d, 8
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140079fd6
mov rcx, rdi
call sym.std::sys::windows::net::Socket::as_raw::h74916cfa8be57cf1
mov rcx, rax
mov r10d, dword [rsi + 8]
xor r8d, r8d
mov r9d, 0
cmp r10d, 0x3b9aca00
je 0x140079f38
mov eax, 0x3e8
mul qword [rsi]
mov r9d, r10d
imul r10, r9, 0x431bde83
shr r10, 0x32
add r10, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r10, rax
cmovae r10, rax
xor r9d, r9d
neg rdx
sbb r9d, r9d
or r9d, r10d
mov r10d, dword [rsi + 0x18]
cmp r10d, 0x3b9aca00
je 0x140079f7b
mov eax, 0x3e8
mul qword [rsi + 0x10]
mov r8d, r10d
imul r10, r8, 0x431bde83
shr r10, 0x32
add r10, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r10, rax
cmovae r10, rax
xor r8d, r8d
neg rdx
sbb r8d, r8d
or r8d, r10d
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x4c], r9d
mov dword [rsp + 0x50], r8d
mov dword [rsp + 0x54], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x48]
mov edx, 0x98000004
mov r9d, 0xc
call sub.ws2_32.dll_WSAIoctl
cmp eax, 0xffffffff
je 0x140079fd6
xor eax, eax
jmp 0x140079fe3
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
shl rax, 0x20
or rax, 2
add rsp, 0x58
pop rdi
pop rsi
ret

Function at 0x14007a060
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call sym.std::sys::windows::net::Socket::as_raw::h74916cfa8be57cf1
movzx ecx, bl
mov dword [rsp + 0x2c], ecx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rax
mov edx, 6
mov r8d, 1
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14007a0a0
xor eax, eax
add rsp, 0x30
pop rbx
ret
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, r9
mov rbx, r8
mov rsi, rcx
mov rcx, rdx
call sym.std::sys::windows::net::Socket::as_raw::h74916cfa8be57cf1
cmp rdi, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, rdi
mov rcx, rax
mov rdx, rbx
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
je 0x14007a10b
cdqe
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x14007a132
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
cmp eax, 0x274a
jne 0x14007a11f
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14007a132
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x14007a140
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, r9
mov rbx, r8
mov rsi, rcx
mov rcx, rdx
call sym.std::sys::windows::net::Socket::as_raw::h74916cfa8be57cf1
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
mov r8d, 0xffffffff
cmp rdi, r8
cmovb r8, rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea rcx, [rsp + 0x3c]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x38]
mov rcx, rax
mov rdx, rbx
call sub.ws2_32.dll_WSARecv
cmp eax, 0xffffffff
je 0x14007a1b6
mov eax, dword [rsp + 0x38]
mov eax, eax
mov qword [rsi + 8], rax
xor eax, eax
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
cmp eax, 0x274a
je 0x14007a1dc
cmp eax, 0x2738
je 0x14007a19c
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14007a1a8
xor eax, eax
jmp 0x14007a1a0

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, r9
mov rbx, r8
mov rsi, rcx
mov rcx, qword [rdx]
call sym.std::sys::windows::net::Socket::as_raw::h74916cfa8be57cf1
cmp rdi, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, rdi
mov rcx, rax
mov rdx, rbx
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
je 0x14007a22b
cdqe
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x14007a252
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
cmp eax, 0x274a
jne 0x14007a23f
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14007a252
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, r9
mov rbx, r8
mov rsi, rcx
mov rcx, qword [rdx]
call sym.std::sys::windows::net::Socket::as_raw::h74916cfa8be57cf1
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
mov r8d, 0xffffffff
cmp rdi, r8
cmovb r8, rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea rcx, [rsp + 0x3c]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x38]
mov rcx, rax
mov rdx, rbx
call sub.ws2_32.dll_WSARecv
cmp eax, 0xffffffff
je 0x14007a2d6
mov eax, dword [rsp + 0x38]
mov eax, eax
mov qword [rsi + 8], rax
xor eax, eax
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
cmp eax, 0x274a
je 0x14007a2fc
cmp eax, 0x2738
je 0x14007a2bc
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14007a2c8
xor eax, eax
jmp 0x14007a2c0
Function at 0x14007a300
Capabilities:
Send data
Send data on socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, r9
mov rbx, r8
mov rsi, rcx
mov rcx, rdx
call sym.std::sys::windows::net::Socket::as_raw::h74916cfa8be57cf1
cmp rdi, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, rdi
mov rcx, rax
mov rdx, rbx
xor r9d, r9d
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
je 0x14007a346
cdqe
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14007a35c
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, r9
mov rbx, r8
mov rsi, rcx
mov rcx, rdx
call sym.std::sys::windows::net::Socket::as_raw::h74916cfa8be57cf1
mov dword [rsp + 0x3c], 0
mov r8d, 0xffffffff
cmp rdi, r8
cmovb r8, rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov rcx, rax
mov rdx, rbx
call sub.ws2_32.dll_WSASend
cmp eax, 0xffffffff
je 0x14007a3ce
mov eax, dword [rsp + 0x3c]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14007a3e4
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, r9
mov rbx, r8
mov rsi, rcx
mov rcx, qword [rdx]
call sym.std::sys::windows::net::Socket::as_raw::h74916cfa8be57cf1
cmp rdi, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, rdi
mov rcx, rax
mov rdx, rbx
xor r9d, r9d
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
je 0x14007a456
cdqe
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14007a46c
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, r9
mov rbx, r8
mov rsi, rcx
mov rcx, qword [rdx]
call sym.std::sys::windows::net::Socket::as_raw::h74916cfa8be57cf1
mov dword [rsp + 0x3c], 0
mov r8d, 0xffffffff
cmp rdi, r8
cmovb r8, rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov rcx, rax
mov rdx, rbx
call sub.ws2_32.dll_WSASend
cmp eax, 0xffffffff
je 0x14007a4de
mov eax, dword [rsp + 0x3c]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14007a4f4
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
Function at 0x14007ac20
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
je 0x14007ad05
mov eax, dword [rsp + 0x3c]
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 dword [rsi + 0x88], eax
xor eax, eax
mov qword [rsi], rax
mov rax, rsi
add rsp, 0xc0
pop rsi
ret
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
cmp eax, 0x274a
je 0x14007ac96
cmp eax, 0x2738
je 0x14007ac96
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14007acf6

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

Disassembly:
push rsi
push rdi
sub rsp, 0x138
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
mov rcx, qword [rdx]
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x2c]
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x14007af5c
mov edi, dword [rsp + 0x2c]
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [rsp + 0x128], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0x118], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rsp + 0x108], xmm0
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0xf8], xmm0
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rsp + 0x50]
movaps xmm3, xmmword [rsp + 0x60]
movups xmmword [rsp + 0xe8], xmm3
movups xmmword [rsp + 0xd8], xmm2
movups xmmword [rsp + 0xc8], xmm1
movups xmmword [rsp + 0xb8], xmm0
mov dword [rsi + 8], eax
lea rcx, [rsi + 0xc]
lea rdx, [rsp + 0xb4]
mov r8d, 0x84
call sym.memcpy
mov dword [rsi + 0x90], edi
xor eax, eax
jmp 0x14007af72
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x138
pop rdi
pop rsi
ret
Function at 0x14007af90
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 r9, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x18]
mov rcx, qword [rcx]
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, r9
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 0x14007b025
cdqe
jmp 0x14007b033
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
cmp eax, 0x274a
jne 0x14007b09c
xor eax, eax
mov ecx, dword [rsp + 0x3c]
mov qword [rsi + 8], rax
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movaps xmm2, xmmword [rsp + 0x60]
movaps xmm3, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm1
movups xmmword [rsi + 0x30], xmm2
movups xmmword [rsi + 0x40], xmm3
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rsi + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rsi + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [rsi + 0x70], xmm0
movaps xmm0, xmmword [rsp + 0xb0]
movups xmmword [rsi + 0x80], xmm0
mov dword [rsi + 0x90], ecx
xor eax, eax
jmp 0x14007b0ad
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0xc0
pop rsi
ret
Function at 0x14007b1b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x160
mov rsi, rcx
xorps xmm0, 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
movaps xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x48], pe_nt_image_headers64
mov rcx, qword [rdx]
mov r8, qword [rdx + 8]
mov rax, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x18]
mov dword [rsp + 0x4c], 0
mov ecx, dword [rcx]
mov dword [rsp + 0xdc], ecx
mov rcx, qword [r8]
mov r8d, 0xffffffff
cmp rdx, r8
cmovb r8, rdx
movups xmmword [rsp + 0x38], xmm0
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x30], rdx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0xdc]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x4c]
mov rdx, rax
call sub.ws2_32.dll_WSARecvFrom
xor edi, edi
cmp eax, 0xffffffff
je 0x14007b323
mov eax, dword [rsp + 0x4c]
mov ebx, dword [rsp + 0x48]
movaps xmm0, xmmword [rsp + 0xc0]
movups xmmword [rsp + 0x150], xmm0
movaps xmm0, xmmword [rsp + 0xb0]
movups xmmword [rsp + 0x140], xmm0
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [rsp + 0x130], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0x120], xmm0
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movaps xmm2, xmmword [rsp + 0x70]
movaps xmm3, xmmword [rsp + 0x80]
movups xmmword [rsp + 0x110], xmm3
movups xmmword [rsp + 0x100], xmm2
movups xmmword [rsp + 0xf0], xmm1
movups xmmword [rsp + 0xe0], xmm0
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], edi
lea rcx, [rsi + 0x14]
lea rdx, [rsp + 0xdc]
mov r8d, 0x84
call sym.memcpy
mov dword [rsi + 0x98], ebx
xor eax, eax
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x160
pop rbx
pop rdi
pop rsi
ret
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
cmp eax, 0x274a
je 0x14007b26d
cmp eax, 0x2738
jne 0x14007b344
mov edi, 1
jmp 0x14007b26d
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14007b312

Function at 0x14007bb00
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov r8d, dword [rdx + 0x80]
call sub.ws2_32.dll_connect
test eax, eax
je 0x14007bb26
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x14007be00
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 0x14007bec0
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 0x14007bed6
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
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 0x14007c0a0
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 0x14007c0c6
xor eax, eax
add rsp, 0x28
ret
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret

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

Disassembly:
push rsi
sub rsp, 0x20
mov r10, r8
mov rsi, rcx
mov eax, dword [rsp + 0x50]
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, r9
mov rcx, rdx
mov rdx, r10
mov r9d, eax
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
je 0x14007c152
cdqe
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x14007c179
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
cmp eax, 0x274a
jne 0x14007c166
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14007c179
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rax, rsi
add rsp, 0x20
pop rsi
ret
Function at 0x14007c190
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 0x14007c1f2
mov eax, dword [rsp + 0x38]
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], 0
xor eax, eax
jmp 0x14007c230
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
cmp eax, 0x2738
je 0x14007c20b
cmp eax, 0x274a
jne 0x14007c21f
xor eax, eax
xor ecx, ecx
jmp 0x14007c214
mov eax, dword [rsp + 0x38]
mov ecx, 1
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], ecx
xor eax, eax
jmp 0x14007c230
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x40
pop rsi
ret

Function at 0x14007c240
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 0x14007c2d0
cdqe
jmp 0x14007c2de
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
cmp eax, 0x274a
jne 0x14007c347
xor eax, eax
mov ecx, dword [rsp + 0x3c]
mov qword [rsi + 8], rax
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movaps xmm2, xmmword [rsp + 0x60]
movaps xmm3, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm1
movups xmmword [rsi + 0x30], xmm2
movups xmmword [rsi + 0x40], xmm3
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rsi + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rsi + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [rsi + 0x70], xmm0
movaps xmm0, xmmword [rsp + 0xb0]
movups xmmword [rsi + 0x80], xmm0
mov dword [rsi + 0x90], ecx
xor eax, eax
jmp 0x14007c358
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0xc0
pop rsi
ret
Function at 0x14007c370
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
je 0x14007c461
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0xb8]
mov qword [rsi + 0x80], rdx
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 dword [rsi + 0x88], eax
mov qword [rsi + 8], rcx
xor eax, eax
mov qword [rsi], rax
mov rax, rsi
add rsp, 0xc0
pop rsi
ret
call sym.std::sys::windows::os::errno::hdb602b353db42c6a
cmp eax, 0x274a
je 0x14007c3e6
cmp eax, 0x2738
je 0x14007c3e6
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14007c452