joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cd914
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x268
mov rax, qword [0x1401d4770]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, qword [rsp + 0x2b0]
mov rdi, rdx
mov eax, 0x10624dd3
mov qword [rsp + 0x48], rcx
imul r9d
mov ebp, r8d
mov dword [rsp + 0x40], 1
sar edx, 6
mov rbx, rcx
mov eax, edx
xor r8d, r8d
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3e8
mov dword [rsp + 0x30], edx
lea rdx, [rsp + 0x40]
sub r9d, eax
imul eax, r9d, 0x3e8
xor r9d, r9d
lea ecx, [r9 + 0x40]
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jns 0x1400cd9cd
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14014b850
mov rcx, rax
lea r8, str.select
mov r9d, ebx
lea rdx, str.Socket_error:__s___d_n
call fcn.140024ee0
or eax, 0xffffffff
jmp 0x1400cda20
jne 0x1400cd9d3
xor eax, eax
jmp 0x1400cda20
xor r9d, r9d
mov r8d, ebp
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test eax, eax
jns 0x1400cda16
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14014b850
mov rcx, rax
lea r8, str.recv
mov r9d, ebx
lea rdx, str.Socket_error:__s___d_n
call fcn.140024ee0
test rsi, rsi
je 0x1400cda1e
and dword [rsi], 0
mov eax, edi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140140c60
add rsp, 0x268
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400dc730
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x30
and dword [rax + 0x10], 0
lea r9, [rax + 0x10]
mov edx, 0x29
mov dword [rax - 0x18], 4
lea r8d, [rdx - 0xe]
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x1400dc7c1
call fcn.1400ce5d0
mov rdi, rax
test rax, rax
je 0x1400dc7c1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x28], 0x87
lea rax, str.C:UsersUserDocumentsGitHubp2poolexternal_srclibzmq_srcip.cpp
mov r9d, ebx
mov r8, rdi
mov qword [rsp + 0x20], rax
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140024ee0
mov ecx, 2
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
mov rcx, rdi
call fcn.1400cec20
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400dc7d0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x4e0
mov rax, qword [0x1401d4770]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov rbx, rdx
lea r8, [rsp + 0x40]
mov edx, 1
call fcn.1400e52c0
test eax, eax
jne 0x1400dc89a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x276d
je 0x1400dc832
add eax, 0xffffd8e2
cmp eax, 0x18
ja 0x1400dc8cc
mov ecx, 0x1400001
bt ecx, eax
jae 0x1400dc8cc
call fcn.1400ce5d0
mov rdi, rax
test rax, rax
je 0x1400dc8cc
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x28], 0x9a
lea rax, str.C:UsersUserDocumentsGitHubp2poolexternal_srclibzmq_srcip.cpp
mov r9d, ebx
mov r8, rdi
mov qword [rsp + 0x20], rax
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140024ee0
mov ecx, 2
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
mov rcx, rdi
call fcn.1400cec20
jmp 0x1400dc8cc
mov dword [rsp + 0x30], 2
lea r8, [rsp + 0xc0]
and dword [rsp + 0x28], 0
lea rcx, [rsp + 0x40]
and qword [rsp + 0x20], 0
mov r9d, 0x401
mov edx, eax
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x1400dc8d0
xor eax, eax
jmp 0x1400dc8e5
lea rdx, [rsp + 0xc0]
mov rcx, rbx
call fcn.14001aa10
movzx eax, word [rsp + 0x40]
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.140140c60
mov rbx, qword [rsp + 0x500]
add rsp, 0x4e0
pop rdi
ret

Function at 0x1400dc910
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x1401d4770]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400dc98a
mov ecx, 2
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x20], 0x121
lea r9, str.C:UsersUserDocumentsGitHubp2poolexternal_srclibzmq_srcip.cpp
lea r8, str.rc__0
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140024ee0
mov ecx, 2
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
lea rcx, str.rc__0
call fcn.1400cec20
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x1400dc99b
shr ax, 8
cmp al, 2
je 0x1400dc9e8
mov ecx, 2
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x20], 0x123
lea r9, str.C:UsersUserDocumentsGitHubp2poolexternal_srclibzmq_srcip.cpp
lea r8, str.LOBYTE__wsa_data.wVersion___2__HIBYTE__wsa_data.wVersion___2
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140024ee0
mov ecx, 2
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
lea rcx, str.LOBYTE__wsa_data.wVersion___2__HIBYTE__wsa_data.wVersion___2
call fcn.1400cec20
mov al, 1
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140140c60
add rsp, 0x1e8
ret
Function at 0x1400dd0f0
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x10], edx
push rdi
sub rsp, 0x30
xor edx, edx
mov dword [rax - 0x18], 4
lea r9, [rax + 0x10]
lea r8d, [rdx + 3]
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x1400dd17d
call fcn.1400ce5d0
mov rdi, rax
test rax, rax
je 0x1400dd17d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x28], 0xbc
lea rax, str.C:UsersUserDocumentsGitHubp2poolexternal_srclibzmq_srcip.cpp
mov r9d, ebx
mov r8, rdi
mov qword [rsp + 0x20], rax
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140024ee0
mov ecx, 2
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
mov rcx, rdi
call fcn.1400cec20
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400dd220
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
mov r8d, 1
mov dword [rax - 0x18], 4
lea r9, [rax + 0x10]
mov dword [rax + 0x10], r8d
mov rsi, rcx
lea edx, [r8 + 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x1400dd2b9
call fcn.1400ce5d0
mov rdi, rax
test rax, rax
je 0x1400dd2b9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x28], 0x13f
lea rax, str.C:UsersUserDocumentsGitHubp2poolexternal_srclibzmq_srcip.cpp
mov r9d, ebx
mov r8, rdi
mov qword [rsp + 0x20], rax
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140024ee0
mov ecx, 2
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
mov rcx, rdi
call fcn.1400cec20
mov rcx, rsi
call fcn.1400f5aa0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400dd2e0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
lea r8, [rsp + 0x48]
mov dword [rsp + 0x48], 1
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x1400dd369
call fcn.1400ce5d0
mov rdi, rax
test rax, rax
je 0x1400dd369
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x28], WSAGetLastError
lea rax, str.C:UsersUserDocumentsGitHubp2poolexternal_srclibzmq_srcip.cpp
mov r9d, ebx
mov r8, rdi
mov qword [rsp + 0x20], rax
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140024ee0
mov ecx, 2
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
mov rcx, rdi
call fcn.1400cec20
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400df970
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x1401d4770]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov qword [rcx], rdx
mov rbx, rcx
mov qword [rcx + 8], r8
test r9, r9
je 0x1400df9ac
add rcx, 0x10
mov r8d, reloc.WS2_32.dll_ntohs
mov rdx, r9
call fcn.1401556a0
lea rax, [rbx + 0x30]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x1400dfb70]
and dword [rsp + 0x20], 0
mov edx, 0x400000
xor ecx, ecx
call fcn.140151410
mov qword [rbx + 0x28], rax
test rax, rax
jne 0x1400dfa31
mov edx, 0x100
lea rcx, [rsp + 0x30]
call fcn.1400ce530
mov ecx, 2
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x20], 0x39
lea r9, str.C:UsersUserDocumentsGitHubp2poolexternal_srclibzmq_src_thread.cpp
lea r8, [rsp + 0x30]
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140024ee0
mov ecx, 2
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
lea rcx, [rsp + 0x30]
call fcn.1400cec20
mov byte [rbx + 0x20], 1
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140140c60
add rsp, 0x140
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rax, r8
mov dword [rsp + 0x38], 0x80
xor ebx, ebx
lea r8, [rsp + 0x38]
test edx, edx
mov rdx, rax
jne 0x1400e52e7
call qword [sym.imp.WS2_32.dll_getsockname]
jmp 0x1400e52ed
call qword [sym.imp.WS2_32.dll_getpeername]
mov ecx, eax
mov eax, dword [rsp + 0x38]
test ecx, ecx
cmovne eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400e60c0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x1401d4770]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, rdx
mov r14, rcx
call fcn.1400f8370
cmp eax, 2
je 0x1400e6120
mov rcx, r14
call fcn.1400f8370
cmp eax, 0x17
je 0x1400e6120
and qword [rdi + 0x10], 0
cmp qword [rdi + 0x18], 0x10
jb 0x1400e6115
mov rdi, qword [rdi]
mov byte [rdi], 0
or eax, 0xffffffff
jmp 0x1400e62a6
mov rcx, r14
call fcn.1400f9130
mov rcx, r14
mov ebx, eax
call fcn.14001d500
mov dword [rsp + 0x30], 2
lea r8, [rbp - 0x80]
and dword [rsp + 0x28], 0
mov r9d, 0x401
and qword [rsp + 0x20], 0
mov edx, ebx
mov rcx, rax
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x1400e6175
and qword [rdi + 0x10], 0
cmp qword [rdi + 0x18], 0x10
jb 0x1400e616d
mov rdi, qword [rdi]
mov byte [rdi], 0
jmp 0x1400e62a6
mov eax, dword [str.tcp:__]
mov rcx, r14
mov dword [rsp + 0x68], eax
movzx eax, word [0x1401b2dd8]
mov word [rsp + 0x6c], ax
mov al, byte [0x1401b2dda]
mov byte [rsp + 0x6e], al
mov eax, 0x3a
mov word [rsp + 0x40], ax
movabs rax, 0x5b2f2f3a706374
mov qword [rsp + 0x70], rax
movzx eax, word [0x1401ab188]
mov word [rsp + 0x44], ax
mov al, byte [0x1401ab18a]
mov byte [rsp + 0x46], al
call fcn.1400f8370
movzx r8d, word [r14 + 2]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
cmp eax, 0x17
jne 0x1400e6244
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.1400e5670
cmp rdi, rax
je 0x1400e6206
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call fcn.140045df0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400e62a4
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e629f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e62cf
jmp 0x1400e629f
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call fcn.1400e5500
cmp rdi, rax
je 0x1400e626b
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call fcn.140045df0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400e62a4
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e629f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e62c9
call fcn.140140cc0
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140140c60
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x4a0
pop r14
pop rdi
pop rbp
ret
call fcn.140149dd0
int3
call fcn.140149dd0
int3
Function at 0x1400e64c0
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x30
mov rdi, rcx
cmp qword [rcx], 0xffffffffffffffff
je 0x1400e665d
mov dword [rax + 8], 1
mov dword [rax - 0x28], 4
lea r9, [rax + 8]
mov edx, 0xffff
mov r8d, 0x80
mov rcx, qword [rcx]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov ebx, eax
mov r14d, 2
lea r12, str.C:UsersUserDocumentsGitHubp2poolexternal_srclibzmq_src_signaler.cpp
test eax, eax
je 0x1400e658b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x276d
je 0x1400e665d
cmp ebx, 0xffffffff
jne 0x1400e658b
call fcn.1400ce5d0
mov rsi, rax
test rax, rax
je 0x1400e658b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, r14d
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x28], 0x78
mov qword [rsp + 0x20], r12
mov r9d, ebx
mov r8, rsi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140024ee0
mov ecx, r14d
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
mov rcx, rsi
call fcn.1400cec20
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x1400e65f0
call fcn.1400ce5d0
mov rsi, rax
test rax, rax
je 0x1400e65f0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, r14d
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x28], 0x7a
mov qword [rsp + 0x20], r12
mov r9d, ebx
mov r8, rsi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140024ee0
mov ecx, r14d
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
mov rcx, rsi
call fcn.1400cec20
mov rcx, qword [rdi + 8]
cmp rcx, 0xffffffffffffffff
je 0x1400e665d
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x1400e665d
call fcn.1400ce5d0
mov rdi, rax
test rax, rax
je 0x1400e665d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, r14d
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x28], 0x7e
mov qword [rsp + 0x20], r12
mov r9d, ebx
mov r8, rdi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140024ee0
mov ecx, r14d
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
mov rcx, rdi
call fcn.1400cec20
nop
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop r12
pop rdi
ret
Function at 0x1400e6680
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rcx, qword [rcx + 8]
lea rdx, [rax + 8]
xor r9d, r9d
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_recv]
mov esi, 2
lea rbp, str.C:UsersUserDocumentsGitHubp2poolexternal_srclibzmq_src_signaler.cpp
cmp eax, 0xffffffff
jne 0x1400e6711
call fcn.1400ce5d0
mov rdi, rax
test rax, rax
je 0x1400e6716
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, esi
mov ebx, eax
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x28], 0x12a
mov r9d, ebx
mov qword [rsp + 0x20], rbp
mov r8, rdi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140024ee0
mov ecx, esi
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
mov rcx, rdi
call fcn.1400cec20
jmp 0x1400e6716
cmp eax, 1
je 0x1400e6759
mov ecx, esi
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x20], 0x132
mov r9, rbp
lea r8, str.nbytes__sizeof__dummy_
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140024ee0
mov ecx, esi
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
lea rcx, str.nbytes__sizeof__dummy_
call fcn.1400cec20
cmp byte [rsp + 0x40], 0
je 0x1400e67a3
mov ecx, esi
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x20], 0x133
mov r9, rbp
lea r8, str.dummy__0
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140024ee0
mov ecx, esi
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
lea rcx, str.dummy__0
call fcn.1400cec20
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400e67c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rcx, qword [rcx + 8]
lea rdx, [rax + 8]
xor r9d, r9d
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_recv]
mov esi, 2
lea rbp, str.C:UsersUserDocumentsGitHubp2poolexternal_srclibzmq_src_signaler.cpp
cmp eax, 0xffffffff
jne 0x1400e6871
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400e681a
call fcn.140150770
mov dword [rax], reloc.WS2_32.dll_inet_addr
or eax, 0xffffffff
jmp 0x1400e6905
call fcn.1400ce5d0
mov rdi, rax
test rax, rax
je 0x1400e6876
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, esi
mov ebx, eax
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x28], 0x159
mov r9d, ebx
mov qword [rsp + 0x20], rbp
mov r8, rdi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140024ee0
mov ecx, esi
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
mov rcx, rdi
call fcn.1400cec20
jmp 0x1400e6876
cmp eax, 1
je 0x1400e68b9
mov ecx, esi
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x20], 0x170
mov r9, rbp
lea r8, str.nbytes__sizeof__dummy_
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140024ee0
mov ecx, esi
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
lea rcx, str.nbytes__sizeof__dummy_
call fcn.1400cec20
cmp byte [rsp + 0x40], 0
je 0x1400e6903
mov ecx, esi
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x20], 0x171
mov r9, rbp
lea r8, str.dummy__0
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140024ee0
mov ecx, esi
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
lea rcx, str.dummy__0
call fcn.1400cec20
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rsi, rcx
mov byte [rax + 8], 0
lea r14, str.C:UsersUserDocumentsGitHubp2poolexternal_srclibzmq_src_signaler.cpp
mov rcx, qword [rsi]
lea rdx, [rsp + 0x40]
xor r9d, r9d
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x1400e69ba
call fcn.1400ce5d0
mov rdi, rax
test rax, rax
je 0x1400e6943
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x28], 0xa3
mov r9d, ebx
mov qword [rsp + 0x20], r14
mov r8, rdi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140024ee0
mov ecx, 2
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
mov rcx, rdi
call fcn.1400cec20
jmp 0x1400e6943
cmp eax, 1
je 0x1400e6a08
mov ecx, 2
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x20], 0xa7
mov r9, r14
lea r8, str.nbytes__sizeof__dummy_
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140024ee0
mov ecx, 2
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
lea rcx, str.nbytes__sizeof__dummy_
call fcn.1400cec20
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400e7780
Capabilities:
Set socket configuration

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, rdx
lea rbp, [rcx + 0x520]
mov r9b, 1
mov qword [r11 - 0x18], rbp
lea rdx, [rcx + 0x18]
mov rdi, rcx
mov r8b, r9b
mov rcx, rax
call fcn.1400f57a0
mov qword [rdi + 0x4e8], rax
cmp rax, 0xffffffffffffffff
jne 0x1400e77cc
or eax, 0xffffffff
jmp 0x1400e78de
mov rcx, rax
call fcn.1400dcff0
mov rcx, qword [rdi + 0x4e8]
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov dword [rsp + 0x40], 1
mov r8d, 0xfffffffb
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x1400e7868
call fcn.1400ce5d0
mov rsi, rax
test rax, rax
je 0x1400e7868
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x28], 0x62
lea rax, str.C:UsersUserDocumentsGitHubp2poolexternal_srclibzmq_src_tcp_listener.cpp
mov r9d, ebx
mov r8, rsi
mov qword [rsp + 0x20], rax
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140024ee0
mov ecx, 2
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
mov rcx, rsi
call fcn.1400cec20
mov rcx, rbp
call fcn.1400e5980
mov rcx, rbp
mov ebx, eax
call fcn.1400e5970
mov rcx, qword [rdi + 0x4e8]
mov rdx, rax
mov r8d, ebx
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1400e78aa
mov edx, dword [rdi + 0x168]
mov rcx, qword [rdi + 0x4e8]
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x1400e78dc
call fcn.140150770
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.1400ce920
mov dword [rbx], eax
call fcn.140150770
mov rcx, rdi
mov ebx, dword [rax]
call fcn.1400e6df0
call fcn.140150770
mov dword [rax], ebx
jmp 0x1400e77c4
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400f5700
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x10], edx
push rdi
sub rsp, 0x30
lea r9, [rax + 0x10]
mov dword [rax - 0x18], 4
mov edx, 0xffff
mov r8d, 0x1002
mov rdi, rcx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edx, eax
mov rcx, rdi
mov ebx, eax
call fcn.1400dc600
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400f5750
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x10], edx
push rdi
sub rsp, 0x30
lea r9, [rax + 0x10]
mov dword [rax - 0x18], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rdi, rcx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edx, eax
mov rcx, rdi
mov ebx, eax
call fcn.1400dc600
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret