joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1404a0410
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x1404ba4c0]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1404a044c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.140493eb4
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x1404a0508
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1404a056e
test ebx, ebx
jne 0x1404a056e
lea ecx, [rax + 2]
call fcn.140493eb4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140493610
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x140128970
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 0x1401289a1
xor al, al
jmp 0x140128b31
mov eax, dword [rsp + 0x24]
mov ecx, eax
call fcn.14030f8dc
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1401289c0
xor al, al
jmp 0x140128b31
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 0x1401289e7
xor al, al
jmp 0x140128b31
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x2c], 0
mov qword [rsp + 0x38], 0
jmp 0x140128a0c
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 0x140128b0d
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.14030a190
mov rax, qword [rsp + 0x48]
add rax, 0xa
mov r8d, 6
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14030a190
mov r8d, 4
lea rdx, str.WAET
lea rcx, [rsp + 0x40]
call fcn.14030a090
test eax, eax
jne 0x140128abb
xor al, al
jmp 0x140128b31
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140128ae4
mov r8d, 4
lea rdx, str.HPET
lea rcx, [rsp + 0x40]
call fcn.14030a090
test eax, eax
jne 0x140128ae4
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 0x140128afe
xor al, al
jmp 0x140128b31
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
jmp 0x1401289ff
cmp dword [rsp + 0x2c], 8
jge 0x140128b18
xor al, al
jmp 0x140128b31
movzx eax, byte [rsp + 0x20]
cmp qword [rsp + 0x30], 0
je 0x140128b2f
mov rcx, qword [rsp + 0x30]
call fcn.14030f8c8
mov al, 1
add rsp, 0x60
pop rdi
ret
Function at 0x14012d8e0
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, [0x140341cc8]
lea rcx, [0x14042bcd0]
call fcn.14012f4a8
mov qword [rsp + 0x58], rax
xor edx, edx
mov rcx, qword [rsp + 0x118]
call fcn.140137738
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x38]
call fcn.14013faf0
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.14012f460
lea rdx, [0x140341cc4]
mov rcx, rax
call fcn.14012f4a8
mov qword [rsp + 0x80], rax
mov edx, 1
mov rcx, qword [rsp + 0x118]
call fcn.140137738
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x60]
call fcn.14013faf0
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.14012f460
mov qword [rsp + 0x88], rax
lea rdx, [0x140133b60]
mov rcx, qword [rsp + 0x88]
call fcn.140137274
nop
lea rcx, [rsp + 0xc0]
call fcn.1401369cc
nop
lea rcx, [rsp + 0xe0]
call fcn.1401369cc
lea rcx, [0x14042b9c0]
call fcn.14012a56c
mov qword [rsp + 0x90], rax
lea rcx, [0x14042b9c0]
call fcn.140129474
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, [0x14042b9c0]
call fcn.140129474
call rax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
lea rcx, [0x14042b9c0]
call fcn.14012a56c
mov qword [rsp + 0xa8], rax
lea rcx, [0x14042b9c0]
call fcn.140129474
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, [0x14042b9c0]
call fcn.14013bb20
mov edx, 1
lea rcx, [0x14042b9c0]
call fcn.14012a544
add rsp, 0x108
ret
Function at 0x140152300
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 0x1401523a3
mov qword [rsp + 0x30], rdi
call fcn.140142410
mov rdi, rax
test rax, rax
je 0x14015239e
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.140317644
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rdi
call fcn.1401429f0
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
ret

Function at 0x1401523b0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x4e0
mov rax, qword [0x140428078]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov rbx, rdx
lea r8, [rsp + 0x40]
mov edx, 1
call fcn.14015b070
test eax, eax
jne 0x14015247c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x276d
je 0x140152412
add eax, 0xffffd8e2
cmp eax, 0x18
ja 0x1401524ae
mov ecx, 0x1400001
bt ecx, eax
jae 0x1401524ae
call fcn.140142410
mov rdi, rax
test rax, rax
je 0x1401524ae
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.140317644
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rdi
call fcn.1401429f0
xor eax, eax
jmp 0x1401524e0
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 0x1401524b2
xor eax, eax
jmp 0x1401524e0
lea rax, [rsp + 0xc0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1401524c1
lea rdx, [rsp + 0xc0]
mov rcx, rbx
call fcn.14013b61c
movzx eax, word [rsp + 0x40]
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.140309780
mov rbx, qword [rsp + 0x500]
add rsp, 0x4e0
pop rdi
ret
Function at 0x140152510
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x140428078]
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 0x14015258a
mov ecx, 2
call fcn.140317644
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
lea rcx, str.rc__0
call fcn.1401429f0
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x14015259b
shr ax, 8
cmp al, 2
je 0x1401525e8
mov ecx, 2
call fcn.140317644
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
lea rcx, str.LOBYTE__wsa_data.wVersion___2__HIBYTE__wsa_data.wVersion___2
call fcn.1401429f0
mov al, 1
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140309780
add rsp, 0x1e8
ret
Function at 0x140153350
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 0x1401533ec
mov qword [rsp + 0x30], rdi
call fcn.140142410
mov rdi, rax
test rax, rax
je 0x1401533e7
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.140317644
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rdi
call fcn.1401429f0
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
ret

Function at 0x140153490
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 0x140153538
mov qword [rsp + 0x50], rdi
call fcn.140142410
mov rdi, rax
test rax, rax
je 0x140153533
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.140317644
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rdi
call fcn.1401429f0
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
mov rcx, rsi
call fcn.14016e110
add rsp, 0x30
pop rsi
ret

Function at 0x140153550
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 0x1401535e7
mov qword [rsp + 0x30], rdi
call fcn.140142410
mov rdi, rax
test rax, rax
je 0x1401535e2
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.140317644
mov rcx, rax
mov dword [rsp + 0x28], WSAGetLastError
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rdi
call fcn.1401429f0
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
ret
Function at 0x14015b070
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 0x14015b0a3
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 0x14015c1e0
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 0x14015c382
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 0x14015c2a8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x276d
je 0x14015c382
cmp ebx, 0xffffffff
jne 0x14015c2a8
call fcn.140142410
mov rsi, rax
test rax, rax
je 0x14015c2a8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, 2
call fcn.140317644
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rsi
call fcn.1401429f0
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x14015c311
call fcn.140142410
mov rsi, rax
test rax, rax
je 0x14015c311
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, 2
call fcn.140317644
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rsi
call fcn.1401429f0
mov rcx, qword [rdi + 8]
cmp rcx, 0xffffffffffffffff
je 0x14015c382
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x14015c382
call fcn.140142410
mov rdi, rax
test rax, rax
je 0x14015c382
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, 2
call fcn.140317644
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rdi
call fcn.1401429f0
nop
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14015c3a0
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 0x14015c434
call fcn.140142410
mov rdi, rax
test rax, rax
je 0x14015c439
mov qword [rsp + 0x48], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.140317644
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rdi
call fcn.1401429f0
mov rbx, qword [rsp + 0x48]
jmp 0x14015c439
cmp eax, 1
je 0x14015c482
mov ecx, 2
call fcn.140317644
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
lea rcx, str.nbytes__sizeof__dummy_
call fcn.1401429f0
cmp byte [rsp + 0x40], 0
mov rdi, qword [rsp + 0x50]
je 0x14015c4d7
mov ecx, 2
call fcn.140317644
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
lea rcx, str.dummy__0
call fcn.1401429f0
add rsp, 0x30
pop rsi
ret
Function at 0x14015c4e0
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 0x14015c59f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14015c538
call fcn.14030fe3c
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.140142410
mov rdi, rax
test rax, rax
je 0x14015c5a4
mov qword [rsp + 0x48], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.140317644
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rdi
call fcn.1401429f0
mov rbx, qword [rsp + 0x48]
jmp 0x14015c5a4
cmp eax, 1
je 0x14015c5ed
mov ecx, 2
call fcn.140317644
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
lea rcx, str.nbytes__sizeof__dummy_
call fcn.1401429f0
cmp byte [rsp + 0x40], 0
je 0x14015c63d
mov ecx, 2
call fcn.140317644
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
lea rcx, str.dummy__0
call fcn.1401429f0
mov rsi, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x14015c650
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 0x14015c6f7
call fcn.140142410
mov rbx, rax
test rax, rax
je 0x14015c680
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov edi, eax
call fcn.140317644
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rbx
call fcn.1401429f0
jmp 0x14015c680
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp eax, 1
je 0x14015c754
mov ecx, 2
call fcn.140317644
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
lea rcx, str.nbytes__sizeof__dummy_
call fcn.1401429f0
add rsp, 0x30
pop rbp
ret
Function at 0x14016e020
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 0x14016e0fe
mov qword [rsp + 0x50], rsi
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp eax, 0x2733
jne 0x14016e05e
call fcn.14030fe3c
mov dword [rax], reloc.WS2_32.dll_inet_addr
jmp 0x14016e0f9
add eax, 0xffffd8be
mov qword [rsp + 0x40], rbx
cmp eax, 0xb
ja 0x14016e077
mov ecx, 0xcbd
bt ecx, eax
jb 0x14016e0e3
mov qword [rsp + 0x48], rbp
call fcn.140142410
mov rbp, rax
test rax, rax
je 0x14016e0de
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.140317644
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rbp
call fcn.1401429f0
mov rbp, qword [rsp + 0x48]
call fcn.14030fe3c
mov ecx, esi
mov rbx, rax
call fcn.140142740
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 0x14016e1f0
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 0x14016e2b5
cmp eax, 0x2733
je 0x14016e2bd
lea ecx, [rax - 0x2742]
cmp ecx, 0xf
ja 0x14016e238
mov edx, 0x841d
bt edx, ecx
jae 0x14016e238
mov eax, esi
add rsp, 0x30
pop rsi
ret
cmp eax, 0x2747
je 0x14016e2bd
mov qword [rsp + 0x48], rdi
call fcn.140142410
mov rdi, rax
test rax, rax
je 0x14016e2b0
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.140317644
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rdi
call fcn.1401429f0
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 0x14016e3c0
Capabilities:
Set socket configuration

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
test edx, edx
jg 0x14016e3d5
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.140151e70
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14016e430
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.140151e70
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret