joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400674a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
lea r8, [rcx + 0x138]
lea rdx, [rcx + 0x130]
mov rcx, qword [rcx + 0x128]
add rsp, 0x28
jmp 0x1400674a0
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x80
mov qword [rax - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov rsi, r8
mov r14, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x1402ca5ac]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140067508
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x1400674f0
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400674e0
jmp 0x140067508
cmp qword [rax + 8], 0
je 0x140067508
mov rdx, rsi
mov rcx, rsi
call fcn.14005bcc0
nop
jmp 0x1400675ef
mov qword [rsp + 0x60], rsi
mov rdx, rsi
mov ecx, 0x160
call fcn.1400274a0
mov rbx, rax
xor edi, edi
test rax, rax
je 0x140067553
mov qword [rax + 0x20], rdi
lea rax, [fcn.1400678b0]
mov qword [rbx + 0x28], rax
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov dword [rbx + 0x30], edi
lea rcx, [rbx + 0x38]
mov rdx, rsi
call fcn.1400633d0
jmp 0x140067556
mov rbx, rdi
mov r8, rbx
mov rdx, r14
mov rcx, rbp
call fcn.14002a4e0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], rdi
test al, al
je 0x1400675ef
mov rax, qword [r14]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1402ca5ac]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
mov ecx, dword [0x1402ca5ac]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [r14]
mov qword [rsp + 0x30], rax
call fcn.1400cba50
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [rbp + 0x28]
call fcn.1400678b0
nop
lea rcx, [rsp + 0x28]
call fcn.14002a0e0
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x1402ca5ac]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140067610
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
lea r8, [rcx + 0x20]
lea rdx, [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
add rsp, 0x28
jmp 0x140067610
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov qword [rax - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov rbx, r8
mov r14, rdx
mov rbp, rcx
mov rdi, qword [rdx]
mov ecx, dword [0x1402ca5ac]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140067678
nop dword [rax + rax]
cmp qword [rax], rdi
je 0x140067660
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140067650
jmp 0x140067678
cmp qword [rax + 8], 0
je 0x140067678
mov rdx, rbx
mov rcx, rbx
call fcn.140067a00
nop
jmp 0x140067797
mov qword [rsp + 0x60], rbx
mov rdx, rbx
mov ecx, 0x48
call fcn.1400274a0
mov rdi, rax
xor esi, esi
test rax, rax
je 0x1400676be
mov qword [rax + 0x20], rsi
lea rax, [0x1400677f0]
mov qword [rdi + 0x28], rax
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
mov dword [rdi + 0x30], esi
movups xmm0, xmmword [rbx]
movups xmmword [rdi + 0x38], xmm0
jmp 0x1400676c1
mov rdi, rsi
mov r8, rdi
mov rdx, r14
mov rcx, rbp
call fcn.14002a4e0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rsi
test al, al
je 0x140067797
mov rax, qword [r14]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1402ca5ac]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
mov ecx, dword [0x1402ca5ac]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x48], rax
mov rax, qword [r14]
mov qword [rsp + 0x50], rax
call fcn.1400cba50
mov rbx, qword [rbp + 0x28]
movups xmm0, xmmword [rdi + 0x38]
movups xmmword [rsp + 0x20], xmm0
lea rax, [rsp + 0x20]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x88], rsi
lea r8, [rsp + 0x20]
mov edx, 0x48
mov rcx, rdi
call fcn.1400274f0
mov qword [rsp + 0x80], rsi
test rbx, rbx
je 0x14006777a
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.140067a00
nop
lea rcx, [rsp + 0x48]
call fcn.14002a0e0
nop
mov rdx, qword [rsp + 0x40]
mov ecx, dword [0x1402ca5ac]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14006f940
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov ecx, dword [0x1402ca5ac]
mov rdi, rdx
mov rbx, qword [rdx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14006f975
cmp qword [rax], rbx
je 0x14006f975
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14006f967
lea rdx, [rdi + 0x10]
mov ecx, 0x58
call fcn.1400274a0
xor ebx, ebx
test rax, rax
je 0x14006f9bc
mov qword [rax + 0x20], rbx
lea rcx, [0x140063740]
mov qword [rax + 0x28], rcx
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov dword [rax + 0x30], ebx
movups xmm0, xmmword [rdi]
movups xmmword [rax + 0x38], xmm0
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [rax + 0x48], xmm0
jmp 0x14006f9bf
mov rax, rbx
mov rcx, qword [0x1402c9b48]
lock inc dword [rcx + 0x30]
mov rdx, rax
call fcn.140028760
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x28], rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14007b170
Capabilities:
Initialize winsock library

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x200
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402bdaf8]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov rsi, rcx
mov qword [rsp + 0x40], rcx
mov ecx, gethostname
call fcn.1401cfa10
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, rax
call fcn.140027570
mov qword [rbx + 0x28], rsi
xor edi, edi
mov qword [rbx + 0x30], rdi
mov qword [rsi], rbx
mov eax, 1
lock xadd dword [0x1402c9900], eax
inc eax
cmp eax, 1
jne 0x14007b1f5
lea ecx, [rdi + 2]
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x1402c9904], eax
lock xadd dword [0x1402c9904], edi
test edi, edi
je 0x14007b209
mov ecx, edi
call fcn.140027f40
nop
mov ecx, 0xa8
call fcn.1401cfa10
mov qword [rsp + 0x20], rax
or r8d, 0xffffffff
mov rdx, rsi
mov rcx, rax
call fcn.1400280b0
mov rbx, rax
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.14004f720
mov r8, rbx
lea rdx, [rsp + 0x28]
mov rcx, qword [rsi]
call fcn.140027800
nop
mov qword [rsi + 0x10], rbx
mov rax, rsi
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1401cf6b0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14007b6d0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
mov byte [rsp + 0x18], r8b
push rsi
sub rsp, 0x30
mov rsi, r9
mov rbp, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x14007b71f
mov dword [rsp + 0x20], 0x2719
call fcn.1400cba50
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
xor al, al
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
ret
xor ecx, ecx
mov qword [rsp + 0x40], rdi
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], 1
mov edx, 0x8004667e
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov edi, eax
call fcn.1400cba50
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x28], rbx
test edi, edi
mov rdi, qword [rsp + 0x40]
mov dword [rsp + 0x20], eax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
js 0x14007b70d
mov dword [rsp + 0x20], 0
call fcn.1400cba50
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov al, 1
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
or byte [rbp], 2
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
ret

Function at 0x14007b7b0
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x14007b7f4
mov dword [rsp + 0x20], 0x2719
call fcn.1400cba50
mov qword [rsp + 0x28], rax
or eax, ebx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
jmp 0x14007b848
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov r8d, esi
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
mov esi, eax
call fcn.1400cba50
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
test esi, esi
jne 0x14007b846
mov dword [rsp + 0x20], esi
call fcn.1400cba50
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14007b860
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rsi, rdx
mov rbx, rcx
mov edx, dword [rdx]
sub edx, 0x79
je 0x14007b8ac
sub edx, 0x450
je 0x14007b8a3
sub edx, 6
je 0x14007b89a
cmp edx, 1
jne 0x14007b8c3
mov dword [rbp - 0x10], 0x2751
jmp 0x14007b8b3
mov dword [rbp - 0x10], 0x2743
jmp 0x14007b8b3
mov dword [rbp - 0x10], 0x274d
jmp 0x14007b8b3
mov dword [rbp - 0x10], 0x274c
call fcn.1400cba50
mov qword [rbp - 8], rax
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
cmp dword [rsi], 0
jne 0x14007b941
cmp rbx, 0xffffffffffffffff
jne 0x14007b8d7
mov dword [rbp - 0x10], 0x2719
jmp 0x14007b931
xor ecx, ecx
mov qword [rsp + 0x50], rdi
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov edx, 0xffff
mov r8d, 0x7010
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.1400cba50
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rbp - 8], rbx
test edi, edi
mov rdi, qword [rsp + 0x50]
mov dword [rbp - 0x10], eax
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
jne 0x14007b941
mov dword [rbp - 0x10], 0
call fcn.1400cba50
mov qword [rbp - 8], rax
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret
Function at 0x14007b960
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r14
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1402bdaf8]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rsi, rdx
mov qword [rbp + 0x178], rcx
mov rbx, rcx
mov qword [rsp + 0x68], rcx
lea rax, [rsp + 0x50]
mov dword [rbp + 0x170], 1
xor r14d, r14d
mov qword [rsp + 0x20], rax
inc ecx
mov qword [rsp + 0x50], r14
xor edx, edx
mov dword [rsp + 0x60], 1
lea r9, [rsp + 0x60]
lea r8, [rbp + 0x170]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x14007baa3
mov dword [rsp + 0x30], r14d
cmp rbx, 0xffffffffffffffff
jne 0x14007b9f5
mov dword [rsp + 0x38], 0x2719
jmp 0x14007ba8f
xor ecx, ecx
mov qword [rsp + 0x4c0], rdi
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], 4
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov r8d, 0x1007
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
mov edi, eax
call fcn.1400cba50
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x40], rbx
test edi, edi
mov rdi, qword [rsp + 0x4c0]
mov dword [rsp + 0x38], eax
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
jne 0x14007baa1
mov dword [rsp + 0x38], r14d
call fcn.1400cba50
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
cmp dword [rsp + 0x30], r14d
je 0x14007ba8a
call fcn.1400cba50
mov ecx, dword [rsp + 0x30]
mov dword [rsp + 0x38], ecx
jmp 0x14007ba94
mov dword [rsp + 0x38], r14d
call fcn.1400cba50
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov al, 1
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1401cf6b0
mov rbx, qword [rsp + 0x4c8]
add rsp, 0x490
pop r14
pop rsi
pop rbp
ret
Function at 0x14007bb80
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rsi, rcx
mov rbx, r8
xor ecx, ecx
mov rdi, rdx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor ebp, ebp
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rbp
lea r9, [rsp + 0x88]
mov qword [rsp + 0x28], rbp
mov r8d, ebx
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov dword [rsp + 0x88], ebp
mov dword [rsp + 0x80], ebp
call qword [sym.imp.WS2_32.dll_WSARecv]
mov edi, eax
call fcn.1400cba50
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x48], rbx
mov rbx, qword [rsp + 0x90]
mov dword [rsp + 0x40], eax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
mov ecx, dword [rbx]
cmp ecx, 0x40
jne 0x14007bc1a
mov dword [rsp + 0x40], 0x2746
jmp 0x14007bc2a
cmp ecx, 0x4d2
jne 0x14007bc3e
mov dword [rsp + 0x40], 0x274d
call fcn.1400cba50
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
jmp 0x14007bc50
cmp ecx, 0x2738
je 0x14007bc4e
cmp ecx, 0xea
jne 0x14007bc50
mov dword [rbx], ebp
test edi, edi
je 0x14007bc64
or eax, 0xffffffff
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x40], ebp
call fcn.1400cba50
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
mov eax, dword [rsp + 0x88]
movups xmmword [rbx], xmm0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x14007bee0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov esi, ecx
mov rbp, r9
xor ecx, ecx
mov ebx, r8d
mov edi, edx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor r9d, r9d
mov dword [rsp + 0x28], 1
mov r8d, ebx
mov dword [rsp + 0x20], 0
mov edx, edi
mov ecx, esi
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rdi, rax
call fcn.1400cba50
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp], xmm0
cmp rdi, 0xffffffffffffffff
jne 0x14007bf54
or rax, rdi
jmp 0x14007bf9c
cmp esi, 0x17
jne 0x14007bf7e
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], 0
lea edx, [rsi + 0x12]
mov dword [rsp + 0x20], 4
lea r8d, [rsi + 4]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x30], 0
call fcn.1400cba50
mov qword [rsp + 0x38], rax
mov rax, rdi
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp], xmm0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14007bfc0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, r9
mov r14, r8
mov rsi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x14007c005
mov dword [rsp + 0x20], 0x2719
call fcn.1400cba50
mov qword [rsp + 0x28], rax
or eax, ebx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
jmp 0x14007c06a
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [r14]
lea r8, [rsp + 0x40]
mov rdx, rsi
mov dword [rsp + 0x40], eax
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockname]
movsxd rcx, dword [rsp + 0x40]
mov esi, eax
mov qword [r14], rcx
call fcn.1400cba50
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
test esi, esi
jne 0x14007c068
mov dword [rsp + 0x20], esi
call fcn.1400cba50
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
mov eax, esi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14007c080
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, r9
mov rdi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x14007c0cf
mov dword [rsp + 0x20], 0x2719
call fcn.1400cba50
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax], xmm0
or eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
xor ecx, ecx
mov qword [rsp + 0x40], rbp
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov r8, rsi
mov edx, 0x8004667e
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov ebp, eax
call fcn.1400cba50
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x28], rbx
mov rbx, qword [rsp + 0x60]
mov dword [rsp + 0x20], eax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
test ebp, ebp
js 0x14007c13e
mov dword [rsp + 0x20], 0
call fcn.1400cba50
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rsi], 0
je 0x14007c13b
or byte [rdi], 1
jmp 0x14007c13e
and byte [rdi], 0xfc
mov rbx, qword [rsp + 0x48]
mov eax, ebp
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14007c160
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov ebp, ecx
mov rbx, r9
xor ecx, ecx
mov rdi, r8
mov rsi, rdx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
test rsi, rsi
jne 0x14007c1ec
test rdi, rdi
jne 0x14007c1ec
test rbx, rbx
jne 0x14007c1ec
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x14007c211
mov eax, 0x10624dd3
imul dword [r8 + 4]
imul eax, dword [r8], 0x3e8
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, eax
mov eax, 1
cmove ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x30], ebx
call fcn.1400cba50
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax], xmm0
xor eax, eax
jmp 0x14007c26d
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x14007c211
cmp dword [r8], 0
jne 0x14007c211
mov eax, dword [r8 + 4]
dec eax
cmp eax, 0x3e6
ja 0x14007c211
mov dword [r8 + 4], 0x3e8
mov qword [rsp + 0x20], r8
mov r9, rbx
mov r8, rdi
mov rdx, rsi
mov ecx, ebp
call qword [sym.imp.WS2_32.dll_select]
mov edi, eax
call fcn.1400cba50
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov rbx, qword [rsp + 0x78]
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
test edi, edi
js 0x14007c26b
mov dword [rsp + 0x30], 0
call fcn.1400cba50
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14007c290
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1402bdaf8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, r9
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x14007c2dc
mov dword [rsp + 0x30], 0x2719
call fcn.1400cba50
mov qword [rsp + 0x38], rax
or eax, ebx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
jmp 0x14007c361
xor ecx, ecx
mov qword [rsp + 0x278], rsi
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], 1
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [rbx + 1]
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call fcn.1400cba50
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
je 0x14007c33d
jle 0x14007c357
mov dword [rsp + 0x30], 0
call fcn.1400cba50
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov eax, esi
mov rsi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401cf6b0
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret
Function at 0x14007c390
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1402bdaf8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, r9
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x14007c3dc
mov dword [rsp + 0x30], 0x2719
call fcn.1400cba50
mov qword [rsp + 0x38], rax
or eax, ebx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
jmp 0x14007c460
xor ecx, ecx
mov qword [rsp + 0x278], rsi
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], 1
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [rbx + 1]
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call fcn.1400cba50
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
je 0x14007c43c
jle 0x14007c456
mov dword [rsp + 0x30], 0
call fcn.1400cba50
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov eax, esi
mov rsi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401cf6b0
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret