joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402138d0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rcx + 0x100]
movups xmm1, xmmword [rdx]
movups xmm3, xmmword [rdx + 0x10]
movaps xmmword [rax], xmm1
movaps xmmword [rax + 0x10], xmm3
aeskeygenassist xmm2, xmm3, 1
pshufd xmm2, xmm2, 0xff
movaps xmm4, xmm1
pslldq xmm4, 4
pxor xmm1, xmm4
pslldq xmm4, 4
pxor xmm1, xmm4
pslldq xmm4, 4
pxor xmm1, xmm4
pxor xmm1, xmm2
movaps xmmword [rax + 0x20], xmm1
aeskeygenassist xmm4, xmm1, 0
pshufd xmm2, xmm4, 0xaa
movaps xmm4, xmm3
pslldq xmm4, 4
pxor xmm3, xmm4
pslldq xmm4, 4
pxor xmm3, xmm4
pslldq xmm4, 4
pxor xmm3, xmm4
pxor xmm3, xmm2
movaps xmmword [rax + 0x30], xmm3
aeskeygenassist xmm2, xmm3, 2
pshufd xmm2, xmm2, 0xff
movaps xmm4, xmm1
pslldq xmm4, 4
pxor xmm1, xmm4
pslldq xmm4, 4
pxor xmm1, xmm4
pslldq xmm4, 4
pxor xmm1, xmm4
pxor xmm1, xmm2
movaps xmmword [rax + 0x40], xmm1
aeskeygenassist xmm4, xmm1, 0
pshufd xmm2, xmm4, 0xaa
movaps xmm4, xmm3
pslldq xmm4, 4
pxor xmm3, xmm4
pslldq xmm4, 4
pxor xmm3, xmm4
pslldq xmm4, 4
pxor xmm3, xmm4
pxor xmm3, xmm2
movaps xmmword [rax + 0x50], xmm3
aeskeygenassist xmm2, xmm3, 4
pshufd xmm2, xmm2, 0xff
movaps xmm4, xmm1
pslldq xmm4, 4
pxor xmm1, xmm4
pslldq xmm4, 4
pxor xmm1, xmm4
pslldq xmm4, 4
pxor xmm1, xmm4
pxor xmm1, xmm2
movaps xmmword [rax + 0x60], xmm1
aeskeygenassist xmm4, xmm1, 0
pshufd xmm2, xmm4, 0xaa
movaps xmm4, xmm3
pslldq xmm4, 4
pxor xmm3, xmm4
pslldq xmm4, 4
pxor xmm3, xmm4
pslldq xmm4, 4
pxor xmm3, xmm4
pxor xmm3, xmm2
movaps xmmword [rax + 0x70], xmm3
aeskeygenassist xmm2, xmm3, 8
pshufd xmm2, xmm2, 0xff
movaps xmm4, xmm1
pslldq xmm4, 4
pxor xmm1, xmm4
pslldq xmm4, 4
pxor xmm1, xmm4
pslldq xmm4, 4
pxor xmm1, xmm4
pxor xmm1, xmm2
movaps xmmword [rax + 0x80], xmm1
aeskeygenassist xmm4, xmm1, 0
pshufd xmm2, xmm4, 0xaa
movaps xmm4, xmm3
pslldq xmm4, 4
pxor xmm3, xmm4
pslldq xmm4, 4
pxor xmm3, xmm4
pslldq xmm4, 4
pxor xmm3, xmm4
pxor xmm3, xmm2
movaps xmmword [rax + 0x90], xmm3
aeskeygenassist xmm2, xmm3, 0x10
pshufd xmm2, xmm2, 0xff
movaps xmm4, xmm1
pslldq xmm4, 4
pxor xmm1, xmm4
pslldq xmm4, 4
pxor xmm1, xmm4
pslldq xmm4, 4
pxor xmm1, xmm4
pxor xmm1, xmm2
movaps xmmword [rax + 0xa0], xmm1
aeskeygenassist xmm4, xmm1, 0
pshufd xmm2, xmm4, 0xaa
movaps xmm4, xmm3
pslldq xmm4, 4
pxor xmm3, xmm4
pslldq xmm4, 4
pxor xmm3, xmm4
pslldq xmm4, 4
pxor xmm3, xmm4
pxor xmm3, xmm2
movaps xmmword [rax + 0xb0], xmm3
aeskeygenassist xmm2, xmm3, 0x20
pshufd xmm2, xmm2, 0xff
movaps xmm4, xmm1
pslldq xmm4, 4
pxor xmm1, xmm4
pslldq xmm4, 4
pxor xmm1, xmm4
pslldq xmm4, 4
pxor xmm1, xmm4
pxor xmm1, xmm2
movaps xmmword [rax + 0xc0], xmm1
aeskeygenassist xmm4, xmm1, 0
pshufd xmm2, xmm4, 0xaa
movaps xmm4, xmm3
pslldq xmm4, 4
pxor xmm3, xmm4
pslldq xmm4, 4
pxor xmm3, xmm4
pslldq xmm4, 4
pxor xmm3, xmm4
pxor xmm3, xmm2
movaps xmmword [rax + 0xd0], xmm3
aeskeygenassist xmm2, xmm3, 0x40
pshufd xmm2, xmm2, 0xff
movaps xmm4, xmm1
pslldq xmm4, 4
pxor xmm1, xmm4
pslldq xmm4, 4
pxor xmm1, xmm4
pslldq xmm4, 4
pxor xmm1, xmm4
pxor xmm1, xmm2
movups xmmword [rax + 0xe0], xmm1
ret
Function at 0x140214520
Capabilities:
Decrypt data using aes via x86 extensions
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rax, qword [0x1404d90c0]
cmp byte [rax], 0
mov rbx, rcx
mov rdi, rdx
mov rsi, r8
je 0x1402146cd
mov rax, qword [rcx + 0x100]
mov rdx, qword [rcx + 0x328]
mov ecx, 0x3f
movups xmm0, xmmword [rdi]
pxor xmm0, xmmword [rax + 0xe0]
aesdec xmm0, xmmword [rax + 0xd0]
aesdec xmm0, xmmword [rax + 0xc0]
aesdec xmm0, xmmword [rax + 0xb0]
aesdec xmm0, xmmword [rax + 0xa0]
aesdec xmm0, xmmword [rax + 0x90]
aesdec xmm0, xmmword [rax + 0x80]
aesdec xmm0, xmmword [rax + 0x70]
aesdec xmm0, xmmword [rax + 0x60]
aesdec xmm0, xmmword [rax + 0x50]
aesdec xmm0, xmmword [rax + 0x40]
aesdec xmm0, xmmword [rax + 0x30]
aesdec xmm0, xmmword [rax + 0x20]
aesdec xmm0, xmmword [rax + 0x10]
aesdeclast xmm0, xmmword [rax]
movaps xmm1, xmm0
pxor xmm0, xmmword [rax + 0xe0]
aesdec xmm0, xmmword [rax + 0xd0]
aesdec xmm0, xmmword [rax + 0xc0]
aesdec xmm0, xmmword [rax + 0xb0]
aesdec xmm0, xmmword [rax + 0xa0]
aesdec xmm0, xmmword [rax + 0x90]
aesdec xmm0, xmmword [rax + 0x80]
aesdec xmm0, xmmword [rax + 0x70]
aesdec xmm0, xmmword [rax + 0x60]
aesdec xmm0, xmmword [rax + 0x50]
aesdec xmm0, xmmword [rax + 0x40]
aesdec xmm0, xmmword [rax + 0x30]
aesdec xmm0, xmmword [rax + 0x20]
aesdec xmm0, xmmword [rax + 0x10]
aesdeclast xmm0, xmmword [rax]
movups xmmword [r8], xmm0
add rdi, 0x10
add r8, 0x10
movups xmm0, xmmword [rdi]
movaps xmm2, xmm0
pxor xmm0, xmmword [rdx + 0xe0]
aesdec xmm0, xmmword [rdx + 0xd0]
aesdec xmm0, xmmword [rdx + 0xc0]
aesdec xmm0, xmmword [rdx + 0xb0]
aesdec xmm0, xmmword [rdx + 0xa0]
aesdec xmm0, xmmword [rdx + 0x90]
aesdec xmm0, xmmword [rdx + 0x80]
aesdec xmm0, xmmword [rdx + 0x70]
aesdec xmm0, xmmword [rdx + 0x60]
aesdec xmm0, xmmword [rdx + 0x50]
aesdec xmm0, xmmword [rdx + 0x40]
aesdec xmm0, xmmword [rdx + 0x30]
aesdec xmm0, xmmword [rdx + 0x20]
aesdec xmm0, xmmword [rdx + 0x10]
aesdeclast xmm0, xmmword [rdx]
pxor xmm0, xmm1
movups xmmword [r8], xmm0
movaps xmm1, xmm2
dec ecx
jne 0x140214637
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140213460
movups xmm0, xmmword [rsi]
lea r8, [rdi + 0x10]
lea r9, [rsi + 0x10]
mov rax, qword [rbx + 0x220]
lea rcx, [rbx + 0x200]
mov edx, 0x3f
movups xmmword [rax], xmm0
call fcn.140212ff0
mov r8, rsi
mov rdx, rsi
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.140213460
Function at 0x140214710
Capabilities:
Encode data using xor
Encrypt data using aes
Encrypt data using aes via x86 extensions
Reference aes constants

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rax, qword [0x1404d90c0]
cmp byte [rax], 0
mov rbx, rcx
mov rdi, rdx
mov rsi, r8
je 0x1402148ba
mov rax, qword [rcx + 0x100]
mov rdx, qword [rcx + 0x328]
mov ecx, 0x3f
movups xmm0, xmmword [rdi]
pxor xmm0, xmmword [rax]
aesenc xmm0, xmmword [rax + 0x10]
aesenc xmm0, xmmword [rax + 0x20]
aesenc xmm0, xmmword [rax + 0x30]
aesenc xmm0, xmmword [rax + 0x40]
aesenc xmm0, xmmword [rax + 0x50]
aesenc xmm0, xmmword [rax + 0x60]
aesenc xmm0, xmmword [rax + 0x70]
aesenc xmm0, xmmword [rax + 0x80]
aesenc xmm0, xmmword [rax + 0x90]
aesenc xmm0, xmmword [rax + 0xa0]
aesenc xmm0, xmmword [rax + 0xb0]
aesenc xmm0, xmmword [rax + 0xc0]
aesenc xmm0, xmmword [rax + 0xd0]
aesenclast xmm0, xmmword [rax + 0xe0]
movaps xmm1, xmm0
pxor xmm0, xmmword [rax]
aesenc xmm0, xmmword [rax + 0x10]
aesenc xmm0, xmmword [rax + 0x20]
aesenc xmm0, xmmword [rax + 0x30]
aesenc xmm0, xmmword [rax + 0x40]
aesenc xmm0, xmmword [rax + 0x50]
aesenc xmm0, xmmword [rax + 0x60]
aesenc xmm0, xmmword [rax + 0x70]
aesenc xmm0, xmmword [rax + 0x80]
aesenc xmm0, xmmword [rax + 0x90]
aesenc xmm0, xmmword [rax + 0xa0]
aesenc xmm0, xmmword [rax + 0xb0]
aesenc xmm0, xmmword [rax + 0xc0]
aesenc xmm0, xmmword [rax + 0xd0]
aesenclast xmm0, xmmword [rax + 0xe0]
movups xmmword [r8], xmm0
add rdi, 0x10
add r8, 0x10
movups xmm0, xmmword [rdi]
pxor xmm0, xmm1
pxor xmm0, xmmword [rdx]
aesenc xmm0, xmmword [rdx + 0x10]
aesenc xmm0, xmmword [rdx + 0x20]
aesenc xmm0, xmmword [rdx + 0x30]
aesenc xmm0, xmmword [rdx + 0x40]
aesenc xmm0, xmmword [rdx + 0x50]
aesenc xmm0, xmmword [rdx + 0x60]
aesenc xmm0, xmmword [rdx + 0x70]
aesenc xmm0, xmmword [rdx + 0x80]
aesenc xmm0, xmmword [rdx + 0x90]
aesenc xmm0, xmmword [rdx + 0xa0]
aesenc xmm0, xmmword [rdx + 0xb0]
aesenc xmm0, xmmword [rdx + 0xc0]
aesenc xmm0, xmmword [rdx + 0xd0]
aesenclast xmm0, xmmword [rdx + 0xe0]
movaps xmm1, xmm0
movups xmmword [r8], xmm0
dec ecx
jne 0x140214827
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140213530
movups xmm0, xmmword [rsi]
lea r8, [rdi + 0x10]
lea r9, [rsi + 0x10]
mov rax, qword [rbx + 0x220]
lea rcx, [rbx + 0x200]
mov edx, 0x3f
movups xmmword [rax], xmm0
call fcn.1402131e0
mov r8, rsi
mov rdx, rsi
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.140213530

Function at 0x140216a90
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
mov r8, rdx
mov edx, 0x20
call fcn.140074820
mov al, byte [rbx + 0x1f]
and byte [rbx], 0xf8
and eax, 0x3f
or eax, 0x40
mov byte [rbx + 0x1f], al
add rsp, 0x20
pop rbx
ret
Function at 0x140217460
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rax, qword [rcx]
mov rbx, rcx
mov rsi, rdx
test rax, rax
je 0x1402174b4
mov byte [rcx + rax + 8], 1
lea r9, [rcx + 8]
lea rdx, [rax + 1]
mov ecx, 0xf
sub rcx, rax
xor eax, eax
cmp rdx, 0x10
mov r8d, 0x10
cmova rcx, rax
add rdx, r9
mov rdi, rdx
mov rdx, r9
rep stosb byte [rdi], al
mov byte [rbx + 0xa0], 1
mov rcx, rbx
call fcn.140217330
mov al, byte [rbx + 0x28]
movups xmm0, xmmword [rbx + 0x18]
lea r11, [rbx + 0x18]
lea rdx, [0x14050aec0]
mov rcx, r11
mov byte [rsp + 0x3f], al
movups xmmword [rsp + 0x2f], xmm0
call fcn.140217680
mov cl, byte [rbx + 0x28]
xor eax, eax
lea r9, [rsp + 0x2f]
sar cl, 7
mov r8b, byte [rbx + rax + 0x18]
mov dl, byte [rax + r9]
xor edx, r8d
and edx, ecx
xor edx, r8d
mov byte [rbx + rax + 0x18], dl
inc rax
cmp rax, 0x11
jne 0x1402174e4
lea rdx, [rbx + 0x3a]
mov rcx, r11
call fcn.140217680
mov rax, qword [rbx + 0x18]
mov rdx, qword [rbx + 0x20]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret

Function at 0x140217b50
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xf8
xor eax, eax
mov rbx, rcx
mov r14, r8
mov r13, r9
mov rcx, qword [rdx + rax]
xor rcx, qword [r14 + rax]
add rax, 8
mov qword [rax + rbx - 8], rcx
cmp rax, 0x40
jne 0x140217b6e
mov rcx, rbx
lea rdi, [rsp + 0x30]
lea r12, [rsp + 0x30]
mov rsi, rbx
call fcn.1402137e0
mov ecx, 0x10
lea rax, [rsp + 0x70]
xor edx, edx
rep movsd dword [rdi], dword [rsi]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [r12 + rdx]
xor rcx, qword [r13 + rdx]
add rdx, 8
mov qword [rdx + rax - 8], rcx
cmp rdx, 0x40
jne 0x140217bad
lea r15, [0x1404e24a0]
lea rbp, [rsp + 0xb0]
mov rcx, qword [rsp + 0x28]
call fcn.1402137e0
xor edx, edx
mov rcx, qword [r12 + rdx]
xor rcx, qword [r15 + rdx]
add rdx, 8
mov qword [rdx + rbp - 8], rcx
cmp rdx, 0x40
jne 0x140217be5
mov ecx, 0x10
mov rdi, r12
mov rsi, rbp
rep movsd dword [rdi], dword [rsi]
mov rcx, r12
call fcn.1402137e0
xor edx, edx
mov rax, qword [rsp + 0x28]
mov rcx, qword [r12 + rdx]
xor rcx, qword [rax + rdx]
mov qword [rbp + rdx], rcx
add rdx, 8
cmp rdx, 0x40
jne 0x140217c13
mov rdi, rax
add r15, 0x40
mov ecx, 0x10
mov rsi, rbp
rep movsd dword [rdi], dword [rsi]
lea rax, [0x1404e27a0]
cmp rax, r15
jne 0x140217bd9
mov rsi, qword [rsp + 0x28]
mov ecx, 0x10
mov rdi, rbx
xor eax, eax
rep movsd dword [rdi], dword [rsi]
mov rdx, qword [rax + rbx]
xor rdx, qword [r14 + rax]
mov qword [rbp + rax], rdx
add rax, 8
cmp rax, 0x40
jne 0x140217c5d
mov ecx, 0x10
mov rdi, rbx
mov rsi, rbp
xor eax, eax
rep movsd dword [rdi], dword [rsi]
mov rdx, qword [rax + rbx]
xor rdx, qword [r13 + rax]
mov qword [rbp + rax], rdx
add rax, 8
cmp rax, 0x40
jne 0x140217c83
mov rdi, rbx
mov rsi, rbp
mov ecx, 0x10
mov rax, rbx
rep movsd dword [rdi], dword [rsi]
add rsp, 0xf8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14024caa0
Capabilities:
Create directory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rsi, rcx
mov rbx, r8
test r8, r8
je 0x140007059
mov dword [r8], 0
mov qword [r8 + 8], 0
mov qword [r8 + 0x10], 0
mov rcx, qword [rsi]
test rdx, rdx
je 0x1400070d8
mov rax, qword [rdx]
xor r8d, r8d
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
mov edx, 1
test eax, eax
je 0x140007090
mov eax, edx
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x28]
lea r8, [rsp + 0x30]
mov rdx, rsi
mov edi, eax
call fcn.140005de0
cmp dword [rsp + 0x28], 3
je 0x1400070c5
lea r9, str.boost::filesystem::create_directory
mov r8, rbx
mov rdx, rsi
mov ecx, edi
call fcn.140014c20
xor edx, edx
mov eax, edx
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x140007073
xor r8d, r8d
xor edx, edx
jmp 0x140007030
Function at 0x14027aa50
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
cmp qword [rdx + 8], 0xffffffffffffffff
mov r15, qword [rdx]
mov r14d, dword [r8]
mov rbp, rcx
mov rsi, rdx
mov r13, r8
mov rbx, r9
lea r12, [rsp + 0x50]
je 0x14027aaa8
lea r8, str._i._
mov edx, 1
mov rcx, r12
call fcn.1402c50b0
movaps xmm0, xmmword [rsp + 0x50]
mov rax, qword [rsp + 0x60]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
jmp 0x14027abea
xor r10d, r10d
xor r9d, r9d
mov r8d, 0x11
mov ecx, r14d
mov dword [rsp + 0x20], r10d
mov edx, 2
mov dword [rsp + 0x28], 1
call qword [sym.imp.WS2_32.dll_WSASocketW]
xor edx, edx
mov rcx, rbx
cmp rax, 0xffffffffffffffff
mov rdi, rax
sete dl
call fcn.140285ad0
lea rax, [rsp + 0x48]
cmp rdi, 0xffffffffffffffff
mov qword [rsp + 0x38], rax
jne 0x14027ab01
mov qword [rsp + 0x48], 0xffffffffffffffff
jmp 0x14027abcf
cmp r14d, 0x17
jne 0x14027ab2e
xor r9d, r9d
mov dword [rsp + 0x20], 4
mov edx, 0x29
mov rcx, rdi
mov dword [rsp + 0x50], r9d
mov r8d, 0x1b
mov r9, r12
call qword [sym.imp.WSOCK32.dll_setsockopt]
mov rax, qword [r15 + 0x30]
mov qword [rsp + 0x48], rdi
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov rdx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test rax, rax
jne 0x14027ab79
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, [0x1404280e0]
mov rcx, r12
call fcn.1402c50b0
movaps xmm1, xmmword [rsp + 0x50]
mov rax, qword [rsp + 0x60]
movups xmmword [rbx], xmm1
mov qword [rbx + 0x10], rax
jmp 0x14027ab88
xor r8d, r8d
xor ecx, ecx
mov dword [rbx], ecx
mov qword [rbx + 8], r8
mov qword [rbx + 0x10], r8
movups xmm2, xmmword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, r12
mov qword [rsp + 0x60], rax
movaps xmmword [rsp + 0x50], xmm2
call fcn.1402ee430
test al, al
jne 0x14027abcf
mov qword [rsi + 8], rdi
lea rcx, [rsi + 0x18]
xor edx, edx
mov byte [rsi + 0x10], 0x20
mov qword [rsp + 0x48], 0xffffffffffffffff
call fcn.140356260
xor edx, edx
xor eax, eax
mov dword [rbx], eax
mov qword [rbx + 8], rdx
mov qword [rbx + 0x10], rdx
movups xmm3, xmmword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
movaps xmmword [rsp + 0x50], xmm3
call fcn.14028bec0
mov rcx, r12
call fcn.1402ee430
test al, al
jne 0x14027ac3d
lea rdi, [rsp + 0x52]
mov ecx, 0x1a
mov edx, dword [r13]
mov byte [rsi + 0x44], 0
rep stosb byte [rdi], al
mov word [rsp + 0x50], 2
mov dword [rsi + 0x40], edx
movaps xmm4, xmmword [rsp + 0x50]
movups xmm5, xmmword [rsp + 0x5c]
movups xmmword [rsi + 0x48], xmm4
movups xmmword [rsi + 0x54], xmm5
jmp 0x14027ac3d
lea r8, [0x14050b6e0]
mov rdx, rbx
mov rcx, rbx
call fcn.1402c4e30
mov rax, qword [rbx + 0x10]
movups xmm0, xmmword [rbx]
mov qword [rbp + 0x10], rax
mov rax, rbp
movups xmmword [rbp], xmm0
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14027cba0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
mov rax, qword [rdx + 8]
mov rsi, qword [rcx + 8]
mov rdx, qword [rdx]
mov r12b, byte [rcx + 0x10]
mov qword [rsp + 0x60], rdx
mov rbx, r8
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x68], rax
cmp rsi, 0xffffffffffffffff
jne 0x14027cbeb
mov edx, 0x2719
mov rcx, r8
call fcn.1402c6050
jmp 0x14027cd36
mov r13d, r12d
and r13d, 0x10
test rax, rax
jne 0x14027cc12
test r13b, r13b
je 0x14027cc12
xor r10d, r10d
xor r9d, r9d
mov dword [r8], r9d
mov qword [r8 + 8], r10
mov qword [r8 + 0x10], r10
jmp 0x14027cd36
lea rax, [rsp + 0x70]
mov r15, qword [sym.imp.WS2_32.dll_WSARecv]
lea r14, [rsp + 0x58]
mov qword [rsp + 0x48], rax
xor ecx, ecx
xor r8d, r8d
lea rdi, [rsp + 0x88]
mov rdx, r14
mov r9, qword [rsp + 0x48]
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x88], ecx
mov rcx, rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], r8
mov r8d, 1
mov qword [rsp + 0x20], rdi
call r15
mov edx, 1
mov rcx, rbx
mov ebp, eax
call fcn.140285ad0
mov rcx, rbx
call fcn.1402ee400
mov edx, 0x2746
cmp eax, 0x40
je 0x14027cc90
cmp eax, 0x4d2
jne 0x14027cc9a
mov edx, 0x274d
mov rcx, rbx
call fcn.1402c6050
jmp 0x14027cca8
cmp eax, 0xea
je 0x14027ccac
cmp eax, 0x2738
je 0x14027ccac
test ebp, ebp
jne 0x14027ccdb
xor eax, eax
xor edx, edx
mov dword [rbx], eax
movsxd rax, dword [rsp + 0x70]
mov qword [rbx + 8], rdx
mov qword [rbx + 0x10], rdx
test eax, eax
jne 0x14027ccd7
test r13b, r13b
je 0x14027ccd7
mov edx, 2
mov rcx, rbx
call fcn.1402c5e70
jmp 0x14027cd36
test eax, eax
jns 0x14027cd38
test r12b, 1
jne 0x14027cd36
mov edx, 0x2733
mov rcx, rdi
call fcn.1402c57f0
mov rdx, rdi
mov rcx, rbx
call fcn.1402c7400
test al, al
jne 0x14027cd1d
mov rcx, qword [rsp + 0x48]
mov edx, 0x4d5
call fcn.1402c57f0
mov rdx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.1402c7400
test al, al
je 0x14027cd36
or r8d, 0xffffffff
xor edx, edx
mov r9, rbx
mov rcx, rsi
call fcn.140287860
test eax, eax
jns 0x14027cc28
xor eax, eax
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14027f4b0
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc8
xor r11d, r11d
xor r10d, r10d
mov ebp, 0x1c
mov rax, qword [rdx + 8]
mov rdi, qword [rcx + 8]
cmp word [r8], 2
mov rdx, qword [rdx]
mov r12b, byte [rcx + 0x10]
mov dword [rsp + 0x78], eax
mov rsi, r8
lea rbx, [rsp + 0xa8]
mov qword [rsp + 0x88], rax
mov eax, 0x10
cmove rbp, rax
lea rax, [rsp + 0x60]
cmp rdi, 0xffffffffffffffff
mov dword [rsp + 0x60], r10d
mov qword [rsp + 0x68], r11
mov qword [rsp + 0x70], r11
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x58], rax
je 0x14027f53e
mov r15, qword [sym.imp.WS2_32.dll_WSASendTo]
lea r14, [rsp + 0x78]
and r12d, 1
jmp 0x14027f5bf
mov rcx, qword [rsp + 0x58]
mov edx, 0x2719
call fcn.1402c6380
jmp 0x14027f66b
cmp eax, 0x4d2
jne 0x14027f568
mov edx, 0x274d
mov rcx, qword [rsp + 0x58]
call fcn.1402c6380
test r13d, r13d
je 0x14027f627
test r12b, r12b
jne 0x14027f66b
lea r13, [rsp + 0x90]
mov edx, 0x2733
mov rcx, r13
call fcn.1402c5bb0
mov rcx, qword [rsp + 0x58]
mov rdx, r13
call fcn.1402c7400
test al, al
je 0x14027f649
mov r9, qword [rsp + 0x58]
or r8d, 0xffffffff
xor edx, edx
mov rcx, rdi
call fcn.140285020
test eax, eax
js 0x14027f66b
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
mov rdx, r14
mov dword [rsp + 0xa8], ecx
mov rcx, rdi
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], r8
mov r8d, 1
mov dword [rsp + 0x20], r9d
mov r9, rbx
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x28], rsi
call r15
mov rcx, qword [rsp + 0x58]
mov edx, 1
mov r13d, eax
call fcn.140285ad0
mov rcx, qword [rsp + 0x58]
call fcn.1402ee400
mov edx, 0x2746
cmp eax, 0x40
jne 0x14027f552
jmp 0x14027f55e
xor edx, edx
xor eax, eax
cmp dword [rsp + 0xa8], 0
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rdx
js 0x14027f571
jmp 0x14027f66b
mov edx, 0x4d5
mov rcx, rbx
call fcn.1402c5bb0
mov rcx, qword [rsp + 0x58]
mov rdx, rbx
call fcn.1402c7400
test al, al
jne 0x14027f5a4
mov rdx, qword [rsp + 0x58]
lea r8, [0x14050b700]
mov rcx, rdx
call fcn.1402c4e30
mov rcx, qword [rsp + 0x58]
mov r8, rbx
lea rax, str._home_dev_i2pd_boost_1_81_0_boost_asio_basic_datagram_socket.hpp
mov qword [rsp + 0xa8], rax
lea rdx, str.send_to
lea rax, str.send_to_boost::asio::const_buffers_1_
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], 0x256
call fcn.140287cc0
nop
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14027f750
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
add rcx, 8
jmp 0x1402b2d30
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x6a8
xor r10d, r10d
mov rsi, qword [rdx + 8]
mov rbx, qword [rsp + 0x710]
mov rdx, qword [rdx]
lea rax, [rsp + 0x290]
mov qword [rsp + 0x690], r10
mov rdi, r8
mov r12d, r9d
mov qword [rsp + 0x68], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x698], r10
xor r10d, r10d
cmp rsi, rdx
jne 0x1402b2d9d
test r10b, r10b
je 0x1402b2dde
mov qword [rsp + 0x698], r8
mov qword [rsp + 0x690], r9
jmp 0x1402b2dde
inc r9
cmp r9, 0x41
je 0x1402b2dc5
mov r10, qword [rdx + 8]
mov r11, qword [rdx]
add rax, 0x10
add rdx, 0x10
mov dword [rax - 0x10], r10d
add r8, r10
mov r10b, 1
mov qword [rax - 8], r11
jmp 0x1402b2d81
test r10b, r10b
je 0x1402b2dde
mov qword [rsp + 0x698], r8
mov qword [rsp + 0x690], 0x40
mov eax, 0x10
cmp word [rdi], 2
mov ebp, 0x1c
mov rsi, qword [rcx]
cmove rbp, rax
mov rax, qword [rsp + 0x690]
mov r14b, byte [rcx + 8]
mov qword [rsp + 0x60], rax
cmp rsi, 0xffffffffffffffff
je 0x1402b2e23
lea rax, [rsp + 0x88]
mov r15, qword [sym.imp.WS2_32.dll_WSASendTo]
mov qword [rsp + 0x58], rax
jmp 0x1402b2ec7
mov edx, 0x2719
mov rcx, rbx
call fcn.1402c6200
jmp 0x1402b2f6f
cmp eax, 0x4d2
jne 0x1402b2e49
mov edx, 0x274d
mov rcx, rbx
call fcn.1402c6200
test r13d, r13d
je 0x1402b2f2d
test r14b, 1
jne 0x1402b2f6f
lea r13, [rsp + 0x70]
mov edx, 0x2733
mov rcx, r13
call fcn.1402c59f0
mov rdx, r13
mov rcx, rbx
call fcn.1402c7480
test al, al
jne 0x1402b2f4b
xor eax, eax
xor edx, edx
lea ecx, [rsi + 1]
xor r9d, r9d
mov qword [rsp + 0x90], rsi
mov r8, qword [rsp + 0x58]
mov dword [rsp + 0x88], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.WSOCK32.dll_select]
mov rcx, rbx
mov edx, eax
mov r13d, eax
shr edx, 0x1f
call fcn.140285ad0
test r13d, r13d
js 0x1402b2f6f
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, rsi
mov dword [rsp + 0x88], r8d
mov r8d, dword [rsp + 0x60]
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], r9
mov r9, qword [rsp + 0x58]
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r12d
call r15
mov edx, 1
mov rcx, rbx
mov r13d, eax
call fcn.140285ad0
mov rcx, rbx
call fcn.1402ee400
mov edx, 0x2746
cmp eax, 0x40
jne 0x1402b2e35
jmp 0x1402b2e41
xor ecx, ecx
xor edx, edx
cmp dword [rsp + 0x88], 0
mov dword [rbx], edx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rcx
js 0x1402b2e52
jmp 0x1402b2f6f
mov rcx, qword [rsp + 0x58]
mov edx, 0x4d5
call fcn.1402c59f0
mov rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.1402c7480
test al, al
je 0x1402b2e81
lea r8, [0x14050b740]
mov rdx, rbx
mov rcx, rbx
call fcn.1402c4e30
nop
add rsp, 0x6a8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret