joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140128a70
Capabilities:
Enumerate system firmware tables

Disassembly:
push rdi
sub rsp, 0x60
xor r8d, r8d
xor edx, edx
mov ecx, 0x41435049
call qword [sym.imp.KERNEL32.dll_EnumSystemFirmwareTables]
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x24], 0
jne 0x140128aa1
xor al, al
jmp 0x140128c31
mov eax, dword [rsp + 0x24]
mov ecx, eax
call fcn.14031521c
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140128ac0
xor al, al
jmp 0x140128c31
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x30]
mov ecx, 0x41435049
call qword [sym.imp.KERNEL32.dll_EnumSystemFirmwareTables]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x140128ae7
xor al, al
jmp 0x140128c31
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x2c], 0
mov qword [rsp + 0x38], 0
jmp 0x140128b0c
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
xor edx, edx
mov eax, dword [rsp + 0x24]
mov ecx, 4
div ecx
mov eax, eax
cmp qword [rsp + 0x38], rax
jae 0x140128c0d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov al, byte [rax]
mov byte [rsp + 0x28], al
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 6
rep stosb byte [rdi], al
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 7
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x48]
mov r8d, 4
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14030fae0
mov rax, qword [rsp + 0x48]
add rax, 0xa
mov r8d, 6
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14030fae0
mov r8d, 4
lea rdx, str.WAET
lea rcx, [rsp + 0x40]
call fcn.14030f9e0
test eax, eax
jne 0x140128bbb
xor al, al
jmp 0x140128c31
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140128be4
mov r8d, 4
lea rdx, str.HPET
lea rcx, [rsp + 0x40]
call fcn.14030f9e0
test eax, eax
jne 0x140128be4
mov byte [rsp + 0x20], 1
mov rax, qword [rsp + 0x48]
mov ecx, 0xffffffff
mov rax, qword [rax + 0x10]
and rax, rcx
test rax, rax
jne 0x140128bfe
xor al, al
jmp 0x140128c31
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
jmp 0x140128aff
cmp dword [rsp + 0x2c], 8
jge 0x140128c18
xor al, al
jmp 0x140128c31
movzx eax, byte [rsp + 0x20]
cmp qword [rsp + 0x30], 0
je 0x140128c2f
mov rcx, qword [rsp + 0x30]
call fcn.140315208
mov al, 1
add rsp, 0x60
pop rdi
ret
Function at 0x14012cefc
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
lea rdx, str.Thread6:__
lea rcx, [0x140439b10]
call fcn.140133108
mov qword [rsp + 0x58], rax
xor edx, edx
mov rcx, qword [rsp + 0x118]
call fcn.14013ddf4
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x38]
call fcn.1401456c0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.1401330c0
lea rdx, [0x140348eec]
mov rcx, rax
call fcn.140133108
mov qword [rsp + 0x80], rax
mov edx, 1
mov rcx, qword [rsp + 0x118]
call fcn.14013ddf4
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x60]
call fcn.1401456c0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call fcn.1401330c0
mov qword [rsp + 0x88], rax
lea rdx, [0x1401389f0]
mov rcx, qword [rsp + 0x88]
call fcn.14013dcb0
nop
lea rcx, [rsp + 0xc0]
call fcn.14013cec8
nop
lea rcx, [rsp + 0xe0]
call fcn.14013cec8
lea rcx, [0x140439420]
call fcn.14012a66c
mov qword [rsp + 0x90], rax
lea rcx, [0x140439420]
call fcn.140129574
mov qword [rsp + 0x98], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rcx, [0x140439420]
call fcn.140129574
call rax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
lea rcx, [0x140439420]
call fcn.14012a66c
mov qword [rsp + 0xa8], rax
lea rcx, [0x140439420]
call fcn.140129574
mov qword [rsp + 0xb0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x34]
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rcx, [0x140439420]
call fcn.1401437e0
mov edx, 1
lea rcx, [0x140439420]
call fcn.14012a644
add rsp, 0x108
ret
Function at 0x140158890
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov edx, 0x29
mov dword [rsp + 0x48], 0
lea r9, [rsp + 0x48]
mov dword [rsp + 0x20], 4
lea r8d, [rdx - 0xe]
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x140158933
mov qword [rsp + 0x30], rdi
call fcn.140146340
mov rdi, rax
test rax, rax
je 0x14015892e
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x28], 0x87
lea rax, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_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.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
mov rcx, rdi
call fcn.140146920
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
ret

Function at 0x140158940
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x4e0
mov rax, qword [0x140431178]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov rbx, rdx
lea r8, [rsp + 0x40]
mov edx, 1
call fcn.140161600
test eax, eax
jne 0x140158a0c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x276d
je 0x1401589a2
add eax, 0xffffd8e2
cmp eax, 0x18
ja 0x140158a3e
mov ecx, 0x1400001
bt ecx, eax
jae 0x140158a3e
call fcn.140146340
mov rdi, rax
test rax, rax
je 0x140158a3e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x28], 0x9a
lea rax, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_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.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
mov rcx, rdi
call fcn.140146920
xor eax, eax
jmp 0x140158a70
xor ecx, ecx
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], ecx
lea r8, [rsp + 0xc0]
mov qword [rsp + 0x20], rcx
mov r9d, 0x401
lea rcx, [rsp + 0x40]
mov edx, eax
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x140158a42
xor eax, eax
jmp 0x140158a70
lea rax, [rsp + 0xc0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140158a51
lea rdx, [rsp + 0xc0]
mov rcx, rbx
call fcn.1401433c8
movzx eax, word [rsp + 0x40]
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.14030f0d0
mov rbx, qword [rsp + 0x500]
add rsp, 0x4e0
pop rdi
ret
Function at 0x140158aa0
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x140431178]
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 0x140158b1a
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x20], 0x124
lea r9, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_srcip.cpp
lea r8, str.rc__0
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
lea rcx, str.rc__0
call fcn.140146920
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x140158b2b
shr ax, 8
cmp al, 2
je 0x140158b78
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x20], 0x126
lea r9, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_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.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
lea rcx, str.LOBYTE__wsa_data.wVersion___2__HIBYTE__wsa_data.wVersion___2
call fcn.140146920
mov al, 1
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14030f0d0
add rsp, 0x1e8
ret
Function at 0x1401598e0
Capabilities:
Set socket configuration

Disassembly:
mov dword [rsp + 0x10], edx
sub rsp, 0x38
xor edx, edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x48]
lea r8d, [rdx + 3]
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x14015997c
mov qword [rsp + 0x30], rdi
call fcn.140146340
mov rdi, rax
test rax, rax
je 0x140159977
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x28], 0xbc
lea rax, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_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.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
mov rcx, rdi
call fcn.140146920
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
ret

Function at 0x140159a20
Capabilities:
Set socket configuration

Disassembly:
push rsi
sub rsp, 0x30
mov edx, 6
mov dword [rsp + 0x48], 1
lea r9, [rsp + 0x48]
mov dword [rsp + 0x20], 4
mov rsi, rcx
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x140159ac8
mov qword [rsp + 0x50], rdi
call fcn.140146340
mov rdi, rax
test rax, rax
je 0x140159ac3
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x28], 0x142
lea rax, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_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.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
mov rcx, rdi
call fcn.140146920
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
mov rcx, rsi
call fcn.1401744f0
add rsp, 0x30
pop rsi
ret

Function at 0x140159ae0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
lea r8, [rsp + 0x48]
mov dword [rsp + 0x48], 1
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x140159b77
mov qword [rsp + 0x30], rdi
call fcn.140146340
mov rdi, rax
test rax, rax
je 0x140159b72
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x28], WSASetLastError
lea rax, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_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.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
mov rcx, rdi
call fcn.140146920
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
ret
Function at 0x140161600
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub rsp, 0x28
mov rax, r8
mov dword [rsp + 0x38], 0x80
test edx, edx
lea r8, [rsp + 0x38]
mov rdx, rax
jne 0x140161633
call qword [sym.imp.WS2_32.dll_getsockname]
mov ecx, eax
xor edx, edx
mov eax, dword [rsp + 0x38]
test ecx, ecx
cmovne eax, edx
add rsp, 0x28
ret
call qword [sym.imp.WS2_32.dll_getpeername]
mov ecx, eax
xor edx, edx
mov eax, dword [rsp + 0x38]
test ecx, ecx
cmovne eax, edx
add rsp, 0x28
ret
Function at 0x140162770
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx]
cmp rcx, 0xffffffffffffffff
je 0x140162912
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov r8d, 0x80
call qword [sym.imp.WS2_32.dll_setsockopt]
mov ebx, eax
lea rbp, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_signaler.cpp
test eax, eax
je 0x140162838
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x276d
je 0x140162912
cmp ebx, 0xffffffff
jne 0x140162838
call fcn.140146340
mov rsi, rax
test rax, rax
je 0x140162838
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x28], 0x78
mov qword [rsp + 0x20], rbp
mov r9d, ebx
mov r8, rsi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
mov rcx, rsi
call fcn.140146920
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x1401628a1
call fcn.140146340
mov rsi, rax
test rax, rax
je 0x1401628a1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x28], 0x7a
mov qword [rsp + 0x20], rbp
mov r9d, ebx
mov r8, rsi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
mov rcx, rsi
call fcn.140146920
mov rcx, qword [rdi + 8]
cmp rcx, 0xffffffffffffffff
je 0x140162912
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x140162912
call fcn.140146340
mov rdi, rax
test rax, rax
je 0x140162912
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x28], 0x7e
mov qword [rsp + 0x20], rbp
mov r9d, ebx
mov r8, rdi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
mov rcx, rdi
call fcn.140146920
nop
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140162930
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
sub rsp, 0x30
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x50], rdi
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_recv]
lea rsi, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_signaler.cpp
cmp eax, 0xffffffff
jne 0x1401629c4
call fcn.140146340
mov rdi, rax
test rax, rax
je 0x1401629c9
mov qword [rsp + 0x48], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x28], 0x12a
mov r9d, ebx
mov qword [rsp + 0x20], rsi
mov r8, rdi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
mov rcx, rdi
call fcn.140146920
mov rbx, qword [rsp + 0x48]
jmp 0x1401629c9
cmp eax, 1
je 0x140162a12
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x20], 0x132
mov r9, rsi
lea r8, str.nbytes__sizeof__dummy_
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
lea rcx, str.nbytes__sizeof__dummy_
call fcn.140146920
cmp byte [rsp + 0x40], 0
mov rdi, qword [rsp + 0x50]
je 0x140162a67
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x20], 0x133
mov r9, rsi
lea r8, str.dummy__0
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
lea rcx, str.dummy__0
call fcn.140146920
add rsp, 0x30
pop rsi
ret
Function at 0x140162a70
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x40]
xor r9d, r9d
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_recv]
lea rsi, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_signaler.cpp
cmp eax, 0xffffffff
jne 0x140162b2f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140162ac8
call fcn.14031577c
mov dword [rax], reloc.WS2_32.dll_inet_addr
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call fcn.140146340
mov rdi, rax
test rax, rax
je 0x140162b34
mov qword [rsp + 0x48], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x28], 0x159
mov r9d, ebx
mov qword [rsp + 0x20], rsi
mov r8, rdi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
mov rcx, rdi
call fcn.140146920
mov rbx, qword [rsp + 0x48]
jmp 0x140162b34
cmp eax, 1
je 0x140162b7d
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x20], 0x170
mov r9, rsi
lea r8, str.nbytes__sizeof__dummy_
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
lea rcx, str.nbytes__sizeof__dummy_
call fcn.140146920
cmp byte [rsp + 0x40], 0
je 0x140162bcd
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x20], 0x171
mov r9, rsi
lea r8, str.dummy__0
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
lea rcx, str.dummy__0
call fcn.140146920
mov rsi, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rdi
ret

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

Disassembly:
push rbp
sub rsp, 0x30
mov qword [rsp + 0x50], rsi
lea rbp, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_signaler.cpp
mov qword [rsp + 0x48], rbx
mov rsi, rcx
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x40], 0
nop dword [rax]
nop dword [rax + rax]
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 0x140162c87
call fcn.140146340
mov rbx, rax
test rax, rax
je 0x140162c10
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov edi, eax
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x28], 0xa3
mov r9d, edi
mov qword [rsp + 0x20], rbp
mov r8, rbx
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
mov rcx, rbx
call fcn.140146920
jmp 0x140162c10
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp eax, 1
je 0x140162ce4
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x20], 0xa7
mov r9, rbp
lea r8, str.nbytes__sizeof__dummy_
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
lea rcx, str.nbytes__sizeof__dummy_
call fcn.140146920
add rsp, 0x30
pop rbp
ret
Function at 0x140174400
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rdi
sub rsp, 0x30
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp eax, 0xffffffff
jne 0x1401744de
mov qword [rsp + 0x50], rsi
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp eax, 0x2733
jne 0x14017443e
call fcn.14031577c
mov dword [rax], reloc.WS2_32.dll_inet_addr
jmp 0x1401744d9
add eax, 0xffffd8be
mov qword [rsp + 0x40], rbx
cmp eax, 0xb
ja 0x140174457
mov ecx, 0xcbd
bt ecx, eax
jb 0x1401744c3
mov qword [rsp + 0x48], rbp
call fcn.140146340
mov rbp, rax
test rax, rax
je 0x1401744be
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x28], 0x107
lea rax, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_tcp.cpp
mov r9d, ebx
mov r8, rbp
mov qword [rsp + 0x20], rax
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
mov rcx, rbp
call fcn.140146920
mov rbp, qword [rsp + 0x48]
call fcn.14031577c
mov ecx, esi
mov rbx, rax
call fcn.140146670
mov dword [rbx], eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov eax, 0xffffffff
cmp edi, eax
cmove edi, eax
mov eax, edi
add rsp, 0x30
pop rdi
ret

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

Disassembly:
push rsi
sub rsp, 0x30
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, 0xffffffff
jne 0x140174695
cmp eax, 0x2733
je 0x14017469d
lea ecx, [rax - 0x2742]
cmp ecx, 0xf
ja 0x140174618
mov edx, 0x841d
bt edx, ecx
jae 0x140174618
mov eax, esi
add rsp, 0x30
pop rsi
ret
cmp eax, 0x2747
je 0x14017469d
mov qword [rsp + 0x48], rdi
call fcn.140146340
mov rdi, rax
test rax, rax
je 0x140174690
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x28], 0xd3
lea rax, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_tcp.cpp
mov r9d, ebx
mov r8, rdi
mov qword [rsp + 0x20], rax
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
mov rcx, rdi
call fcn.140146920
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov eax, esi
add rsp, 0x30
pop rsi
ret
xor eax, eax
add rsp, 0x30
pop rsi
ret

Function at 0x1401747a0
Capabilities:
Set socket configuration

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
test edx, edx
jg 0x1401747b5
xor eax, eax
add rsp, 0x30
pop rdi
ret
mov eax, 0x10624dd3
mov qword [rsp + 0x40], rbx
imul edx
lea r9, [rsp + 0x48]
mov dword [rsp + 0x20], 4
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rsp + 0x48], edx
mov edx, 6
lea r8d, [rdx - 1]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edx, eax
mov rcx, rdi
mov ebx, eax
call fcn.140158400
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140174810
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov edx, 6
mov dword [rsp + 0x48], 1
lea r9, [rsp + 0x48]
mov dword [rsp + 0x20], 4
mov rdi, rcx
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edx, eax
mov rcx, rdi
mov ebx, eax
call fcn.140158400
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret