joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14024b7c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push r12
push r13
push r14
mov eax, 0x50
call fcn.1403831c0
sub rsp, rax
mov r14, qword [rsp + 0xa8]
lea r10, [rax - 0x51]
mov rbp, qword [rsp + 0xb0]
xor r11d, r11d
cmp r14, 1
mov eax, r11d
mov r13, r9
mov r12, r8
mov r9, qword [rcx]
setne al
add rax, rbp
mov rsi, rcx
cmp rax, r9
jbe 0x14024b81e
xor eax, eax
add rsp, 0x50
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
mov qword [rsp + 0x80], rbx
cmp r14, 1
je 0x14024b923
lea r10, [r8 - 1]
add r10, r9
movzx ebx, byte [r10]
cmp dword [rsp + 0xb8], r11d
je 0x14024b85b
sub r9, rbx
mov eax, 1
sub r9, rbp
dec r9
mov qword [rcx], r9
jmp 0x14024b95a
lea rcx, [rbx + rax]
mov qword [rsp + 0x98], r15
mov r15d, 0x100
mov r8, r9
sub r8, rcx
mov rax, r9
xor r8, rcx
xor rax, rcx
or r8, rax
xor r8, r9
shr r8, 0x3f
dec r8
cmp r9, r15
cmovb r15, r9
test r15, r15
je 0x14024b8fd
mov qword [rsp + 0x90], rdi
mov rdi, rbx
shr rdi, 0x3f
nop dword [rax]
nop dword [rax + rax]
mov rax, r11
lea r10, [r10 - 1]
shr rax, 0x3f
mov rcx, rbx
sub rcx, r11
inc r11
shr rcx, 0x3f
xor cl, al
xor al, dil
or cl, al
xor cl, dil
dec cl
movzx edx, cl
movzx ecx, byte [r10 + 1]
xor rcx, rbx
and rdx, rcx
not rdx
and r8, rdx
cmp r11, r15
jb 0x14024b8b0
mov rdx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov r15, qword [rsp + 0x98]
lea rax, [rbx + 1]
not r8
movzx r10d, r8b
dec r10
shr r10, 0x3f
neg r10
and rax, r10
sub r9, rax
mov qword [rsi], r9
mov rax, qword [rsp + 0xc0]
mov r9, r13
mov qword [rsp + 0x40], rax
mov r8, r12
mov rax, qword [rsp + 0xa0]
mov rcx, rsi
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.14024b3f0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret

Function at 0x14024ff80
Capabilities:
Initialize winsock library

Disassembly:
mov eax, 0x28
call fcn.1403831c0
sub rsp, rax
cmp dword [0x1404dce50], 0
jne 0x14025003a
xor edx, edx
mov dword [0x1404dce50], 1
mov r8d, 0x198
lea rcx, [0x1404dce60]
call fcn.1403850b0
mov ecx, 0x202
lea rdx, [0x1404dce60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14025003a
call fcn.140204080
lea r8, str.BIO_sock_init
mov edx, __WSAFDIsSet
lea rcx, str.crypto_bio_bio_sock.c
call fcn.1402041a0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_wsastartup__
mov ecx, 2
mov edx, eax
call fcn.1402042a0
call fcn.140204080
lea r8, str.BIO_sock_init
mov edx, __WSAFDIsSet
lea rcx, str.crypto_bio_bio_sock.c
call fcn.1402041a0
xor r8d, r8d
lea edx, [r8 + 0x7a]
lea ecx, [rdx - 0x5a]
call fcn.1402042a0
mov eax, 0xffffffff
add rsp, 0x28
ret
mov eax, 1
add rsp, 0x28
ret
Function at 0x140250050
Capabilities:
Set socket configuration

Disassembly:
push rbx
mov eax, 0x20
call fcn.1403831c0
sub rsp, rax
mov dword [rsp + 0x30], edx
lea r8, [rsp + 0x30]
mov edx, 0x8004667e
movsxd rcx, ecx
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov ebx, eax
test eax, eax
jns 0x1402500b2
call fcn.140204080
lea r8, str.BIO_socket_ioctl
mov edx, 0xd1
lea rcx, str.crypto_bio_bio_sock.c
call fcn.1402041a0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_ioctlsocket__
mov ecx, 2
mov edx, eax
call fcn.1402042a0
xor eax, eax
test ebx, ebx
sete al
add rsp, 0x20
pop rbx
ret

Function at 0x1402500c0
Capabilities:
Get socket status

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x260
call fcn.1403831c0
sub rsp, rax
mov rax, qword [0x1404c39e8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov edi, ecx
mov rbx, r8
mov esi, edx
cmp ecx, 0x3f
ja 0x140250152
test rbx, rbx
jne 0x1402500fa
lea eax, [r8 + 1]
jmp 0x140250157
xor ecx, ecx
call fcn.14039614c
mov rcx, rax
cmp rbx, rax
jge 0x14025010d
xor eax, eax
jmp 0x140250157
xor eax, eax
mov qword [rsp + 0x48], rdi
sub ebx, ecx
mov dword [rsp + 0x34], eax
test esi, esi
mov dword [rsp + 0x40], 1
lea r8, [rsp + 0x40]
mov dword [rsp + 0x30], ebx
cmovne r8, rax
lea rdx, [rsp + 0x40]
cmove rdx, rax
lea ecx, [rdi + 1]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
jmp 0x140250157
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140382da0
add rsp, 0x260
pop rdi
pop rsi
pop rbx
ret
Function at 0x140251360
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
mov eax, gethostbyname
call fcn.1403831c0
sub rsp, rax
movsxd rbx, ecx
mov edi, r8d
mov dword [rsp + 0x40], 1
mov rbp, rdx
cmp ebx, 0xffffffff
jne 0x1402513cb
call fcn.140204080
lea r8, str.BIO_connect
lea edx, [rbx + 0x55]
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.1402041a0
xor r8d, r8d
lea ecx, [rbx + 0x21]
mov edx, 0x87
call fcn.1402042a0
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov edx, edi
mov qword [rsp + 0x48], rsi
shr edx, 3
mov ecx, ebx
and edx, 1
call fcn.140250050
test eax, eax
je 0x14025147e
mov rsi, rbx
test dil, 4
je 0x140251495
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 8
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x140251495
call fcn.140204080
lea r8, str.BIO_connect
mov edx, 0x5e
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.1402041a0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_setsockopt__
mov ecx, 2
mov edx, eax
call fcn.1402042a0
call fcn.140204080
lea r8, str.BIO_connect
mov edx, 0x60
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.1402041a0
xor r8d, r8d
mov edx, 0x89
mov ecx, 0x20
call fcn.1402042a0
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test dil, 0x10
je 0x140251522
mov edx, 6
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x40]
mov rcx, rsi
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x140251522
call fcn.140204080
lea r8, str.BIO_connect
mov edx, 0x68
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.1402041a0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_setsockopt__
mov ecx, 2
mov edx, eax
call fcn.1402042a0
call fcn.140204080
lea r8, str.BIO_connect
mov edx, 0x6a
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.1402041a0
xor r8d, r8d
mov edx, 0x8a
jmp 0x140251474
mov rcx, rbp
call fcn.140247a40
mov rcx, rbp
mov ebx, eax
call fcn.140138720
mov rdx, rax
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1402515b6
mov ecx, eax
call fcn.140202880
test eax, eax
jne 0x14025147e
call fcn.140204080
lea r8, str.BIO_connect
mov edx, WSACleanup
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.1402041a0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_connect__
mov ecx, 2
mov edx, eax
call fcn.1402042a0
call fcn.140204080
lea r8, str.BIO_connect
mov edx, reloc.WS2_32.dll_WSACleanup
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.1402041a0
xor r8d, r8d
lea edx, [r8 + 0x67]
jmp 0x140251474
mov eax, 1
jmp 0x140251480
Function at 0x140271f20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor r10d, r10d
movsxd rbx, r8d
mov r11, rdx
mov rdi, rcx
test r8d, r8d
jle 0x140271f5f
mov r9, rdx
mov rdx, rcx
sub rdx, r9
movzx eax, byte [r9]
cmp byte [rdx + r9], al
jne 0x140271f5f
inc r9
inc r10d
mov rax, r9
sub rax, r11
cmp rax, rbx
jl 0x140271f44
lea edx, [r8 - 1]
movsxd rax, edx
test edx, edx
js 0x140271f8a
mov r8, rdi
lea rcx, [rax + r11]
sub r8, r11
cmp byte [rcx + r8], 0
jne 0x140271f8a
cmp byte [rcx], 0xff
jne 0x140271f8a
dec edx
dec rcx
cmp rcx, r11
jns 0x140271f74
cmp r10d, edx
jl case.0x140271fe3.2
jle 0x140271fa8
lea eax, [r10*8]
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
movsxd rax, r10d
movzx r8d, byte [rax + r11]
movzx r9d, byte [rax + rdi]
movzx edx, r8b
xor dl, r9b
movzx eax, dl
dec eax
cmp eax, 0x7e
ja case.0x140271fe3.2
lea r11, [0x140000000]
cdqe
movzx eax, byte [r11 + rax + 0x272058]
mov ecx, dword [r11 + rax*4 + 0x272038]
add rcx, r11
jmp rcx
mov eax, 7
jmp 0x140272014
mov eax, 6
jmp 0x140272014
mov eax, 5
jmp 0x140272014
mov eax, 4
jmp 0x140272014
mov eax, 3
jmp 0x140272014
mov eax, 2
jmp 0x140272014
mov eax, 1
test dl, r9b
jne case.0x140271fe3.2
and r8b, dl
lea eax, [rax + r10*8]
cmp r8b, dl
je 0x14027202a
mov eax, 0xffffffff
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
Function at 0x140272dc0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.1403831c0
sub rsp, rax
mov r11, rcx
test r9, r9
jne 0x140272e0a
call fcn.140204080
lea r8, str.c2i_ibuf
mov edx, 0xa0
lea rcx, str.crypto_asn1_a_int.c
call fcn.1402041a0
xor r8d, r8d
mov edx, 0xde
lea ecx, [r8 + 0xd]
call fcn.1402042a0
xor eax, eax
add rsp, 0x28
ret
movzx r10d, byte [r8]
and r10d, 0x80
test rdx, rdx
je 0x140272e1d
mov dword [rdx], r10d
cmp r9, 1
jne 0x140272e3f
test r11, r11
je 0x140272e35
movzx eax, byte [r8]
test r10d, r10d
je 0x140272e33
neg al
mov byte [rcx], al
mov eax, 1
add rsp, 0x28
ret
movzx ecx, byte [r8]
test cl, cl
jne 0x140272e51
mov eax, 1
jmp 0x140272f0a
xor eax, eax
cmp cl, 0xff
jne 0x140272f4f
xor edx, edx
lea rcx, [r9 - 1]
mov eax, 1
cmp r9, rax
jbe 0x140272eff
cmp rcx, 8
jb 0x140272ef0
and ecx, 7
mov rdx, r9
sub rdx, rcx
xorps xmm2, xmm2
xorps xmm3, xmm3
nop word [rax + rax]
movd xmm1, dword [rax + r8]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
por xmm2, xmm1
movd xmm1, dword [rax + r8 + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
por xmm1, xmm3
movdqa xmm3, xmm1
cmp rax, rdx
jb 0x140272e90
por xmm2, xmm1
movdqa xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd edx, xmm2
cmp rax, r9
jae 0x140272eff
nop dword [rax]
movzx ecx, byte [rax + r8]
inc rax
or edx, ecx
cmp rax, r9
jb 0x140272ef0
xor eax, eax
test edx, edx
setne al
test edx, edx
je 0x140272f4f
movzx ecx, byte [r8 + 1]
and ecx, 0x80
cmp r10d, ecx
jne 0x140272f4f
call fcn.140204080
lea r8, str.c2i_ibuf
mov edx, 0xc1
lea rcx, str.crypto_asn1_a_int.c
call fcn.1402041a0
xor r8d, r8d
mov edx, 0xdd
lea ecx, [r8 + 0xd]
call fcn.1402042a0
xor eax, eax
add rsp, 0x28
ret
sub r9, rax
test r11, r11
je 0x140272f9d
add rax, r8
mov rdx, r9
neg r10d
sbb r10d, r10d
movzx r10d, r10b
mov ecx, r10d
and ecx, 1
test r9, r9
je 0x140272f9d
lea r8, [rax + r9]
mov rax, r9
sub rax, r9
add r11, rax
nop
movzx eax, byte [r8 - 1]
lea r8, [r8 - 1]
dec rdx
xor eax, r10d
add ecx, eax
mov byte [r11 + rdx], cl
shr ecx, 8
test rdx, rdx
jne 0x140272f80
mov rax, r9
add rsp, 0x28
ret
Function at 0x140272fb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov r10, rdx
xor r11b, r11b
xor edx, edx
mov rdi, r9
mov rbx, rcx
test rcx, rcx
je 0x1402730c4
test r10, r10
je 0x1402730c4
movzx eax, byte [rcx]
test r8d, r8d
jne 0x140272ff9
cmp al, 0x7f
jbe 0x1402730bd
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1402730cc
mov r11b, 0xff
cmp al, 0x80
jbe 0x14027300f
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1402730cc
jne 0x1402730bd
mov eax, 1
lea rcx, [r10 - 1]
cmp r10, rax
jbe 0x1402730ae
cmp rcx, 8
jb 0x1402730a0
and ecx, 7
mov rdx, r10
sub rdx, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop dword [rax]
movd xmm1, dword [rax + rbx]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
por xmm3, xmm1
movd xmm1, dword [rax + rbx + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
por xmm2, xmm1
cmp rax, rdx
jb 0x140273040
por xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd edx, xmm2
cmp rax, r10
jae 0x1402730ae
nop word [rax + rax]
movzx ecx, byte [rax + rbx]
inc rax
or edx, ecx
cmp rax, r10
jb 0x1402730a0
neg edx
sbb r11b, r11b
movzx r11d, r11b
mov edx, r11d
and edx, 1
mov eax, edx
add rax, r10
jmp 0x1402730cc
mov eax, 1
mov r10, rdx
test rdi, rdi
je 0x140273125
mov rcx, qword [r9]
test rcx, rcx
je 0x140273125
mov edx, edx
movzx r8d, r11b
add rdx, rcx
and r8d, 1
mov byte [rcx], r11b
test r10, r10
je 0x140273122
lea r9, [r10 + rbx]
mov rbx, r10
sub rbx, r10
add rbx, rdx
nop dword [rax + rax]
movzx edx, byte [r9 - 1]
lea r9, [r9 - 1]
dec r10
movzx ecx, r11b
xor edx, ecx
add r8d, edx
mov byte [rbx + r10], r8b
shr r8d, 8
test r10, r10
jne 0x140273100
add qword [rdi], rax
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x140273310
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.1403831c0
sub rsp, rax
mov r8d, dword [rcx + 4]
mov r9, rdx
movsxd rdx, dword [rcx]
and r8d, 0x100
mov rcx, qword [rcx + 8]
add rsp, 0x28
jmp fcn.140272fb0
Function at 0x140277660
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x28
call fcn.1403831c0
sub rsp, rax
cmp dword [0x1404dd110], 0
jne 0x1402777e0
mov qword [rsp + 0x30], rbx
lea r8d, [rax + 8]
mov qword [rsp + 0x38], rbp
lea rcx, str.OPENSSL_ia32cap
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
lea rdi, [0x1404dd0b0]
mov rdx, rdi
mov qword [rsp + 0x20], r14
mov dword [0x1404dd110], 1
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x2e
ja 0x1402777a2
movzx ebx, word [0x1404dd0b0]
xor ebp, ebp
cmp bx, 0x7e
mov ecx, ebp
mov r14d, 2
cmove ecx, r14d
add rcx, rdi
call fcn.1402777f0
mov rsi, rax
cmp bx, 0x7e
jne 0x140277721
lea rcx, [0x1404e04f0]
mov rbx, rax
call fcn.140001030
not rsi
movabs rcx, 0xedfff7fdffffffff
and rax, rsi
and ebx, 0x1000000
mov rsi, rax
and rsi, rcx
test rbx, rbx
cmove rsi, rax
jmp 0x14027773a
cmp word [0x1404dd0b0], 0x3a
jne 0x14027773a
lea rcx, [0x1404e04f0]
call fcn.140001030
mov rsi, rax
movzx eax, word [0x1404dd0b0]
test ax, ax
je 0x140277758
lea rdi, [rdi + 2]
cmp ax, 0x3a
je 0x140277761
movzx eax, word [rdi]
test ax, ax
jne 0x140277746
mov qword [0x1404e04f8], rbp
jmp 0x1402777b1
movzx ebx, word [rdi]
cmp bx, 0x7e
cmove rbp, r14
lea rcx, [rdi + rbp]
call fcn.1402777f0
mov rcx, rax
shr rcx, 0x20
cmp bx, 0x7e
jne 0x140277794
not eax
not ecx
and dword [0x1404e04f8], eax
and dword [0x1404e04fc], ecx
jmp 0x1402777b1
mov dword [0x1404e04f8], eax
mov dword [0x1404e04fc], ecx
jmp 0x1402777b1
lea rcx, [0x1404e04f0]
call fcn.140001030
mov rsi, rax
mov r14, qword [rsp + 0x20]
mov eax, esi
mov rdi, qword [rsp + 0x48]
bts eax, 0xa
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
shr rsi, 0x20
mov dword [0x1404e04f4], esi
mov rsi, qword [rsp + 0x40]
mov dword [0x1404e04f0], eax
add rsp, 0x28
ret
Function at 0x1402aa3d0
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, reloc.WS2_32.dll_WSASetLastError
call fcn.1403831c0
sub rsp, rax
mov rax, qword [0x1404c39e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, r9
mov rbx, rcx
cmp edx, 0x1d
je 0x1402aa407
mov eax, 0xfffffffe
jmp 0x1402aa527
test rbx, rbx
je 0x1402aa525
cmp r8d, 0x30
jne 0x1402aa525
mov r8d, gethostbyname
mov rdx, rdi
call fcn.1402aa2b0
test eax, eax
jle 0x1402aa525
movdqa xmm0, xmmword [str.666666666666666600]
lea rdx, [rsp + 0x20]
mov r8d, 0x28
movq qword [rsp + 0x40], xmm0
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
call fcn.1402aa2b0
test eax, eax
je 0x1402aa525
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.1402aa0b0
test eax, eax
je 0x1402aa525
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx + 0x14], xmm0
mov rdx, rdi
mov rcx, rbx
movups xmmword [rbx + 0x24], xmm0
lea r8d, [rax + 0x30]
movups xmmword [rbx + 0x34], xmm0
movups xmmword [rbx + 0x44], xmm0
mov qword [rbx + 0x54], rax
mov dword [rbx + 0x5c], eax
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov dword [rbx + 0x10], 0xc3d2e1f0
call fcn.1402aa2b0
test eax, eax
jle 0x1402aa525
movdqa xmm0, xmmword [0x1403fab20]
lea rdx, [rsp + 0x20]
mov r8d, 0x28
movq qword [rsp + 0x40], xmm0
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
call fcn.1402aa2b0
test eax, eax
je 0x1402aa525
mov r8d, socket
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1402aa2b0
test eax, eax
je 0x1402aa525
mov edx, socket
lea rcx, [rsp + 0x48]
call fcn.140001240
mov eax, 1
jmp 0x1402aa527
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140382da0
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x1402cad80
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1a0
call fcn.1403831c0
sub rsp, rax
mov rax, qword [0x1404c39e8]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, r8
mov rsi, rdx
mov r8, r9
lea rdx, str.SHA512
call fcn.14020ba30
mov rdi, rax
test rax, rax
je 0x1402cae03
xor r9d, r9d
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x150]
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea edx, [r9 + 0x20]
call fcn.14020a8f0
mov rcx, rdi
mov ebx, eax
call fcn.14020ba80
test ebx, ebx
jne 0x1402cae0a
lea edx, [rbx + 0x40]
lea rcx, [rsp + 0x150]
call fcn.140001240
xor eax, eax
jmp 0x1402caebe
movzx eax, byte [rsp + 0x16f]
lea rdx, [rsp + 0x150]
and byte [rsp + 0x150], 0xf8
lea rcx, [rsp + 0xb0]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x16f], al
call fcn.1402ca0c0
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x30]
call fcn.1402c6a50
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x80]
call fcn.1402c6cd0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x58]
call fcn.1402c6cd0
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.1402c8370
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x80]
call fcn.1402c8370
movzx eax, byte [rsp + 0x30]
lea rcx, [rsp + 0x150]
shl al, 7
mov edx, 0x40
xor byte [rsi + 0x1f], al
call fcn.140001240
mov eax, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140382da0
add rsp, 0x1a0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1402caee0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1a8
call fcn.1403831c0
sub rsp, rax
mov rax, qword [0x1404c39e8]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov r12, qword [rsp + 0x210]
mov r15, r8
mov r8, qword [rsp + 0x220]
mov r14, rdx
mov rsi, rcx
lea rdx, str.SHA512
mov rcx, qword [rsp + 0x218]
mov r13, r9
call fcn.14020ba30
mov rdi, rax
call fcn.14020b970
xor ebp, ebp
mov rbx, rax
test rdi, rdi
je 0x1402cb0eb
test rax, rax
je 0x1402cb0eb
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.14020aef0
test eax, eax
je 0x1402cb0eb
lea r8d, [rbp + 0x20]
mov rdx, r12
mov rcx, rbx
call fcn.14020af30
test eax, eax
je 0x1402cb0eb
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0xd0]
call fcn.14020ad50
test eax, eax
je 0x1402cb0eb
movzx eax, byte [rsp + 0xef]
xor r8d, r8d
and byte [rsp + 0xd0], 0xf8
and al, 0x3f
or al, 0x40
mov rdx, rdi
mov rcx, rbx
mov byte [rsp + 0xef], al
call fcn.14020aef0
test eax, eax
je 0x1402cb0eb
lea r8d, [rbp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0xf0]
call fcn.14020af30
test eax, eax
je 0x1402cb0eb
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.14020af30
test eax, eax
je 0x1402cb0eb
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0x110]
call fcn.14020ad50
test eax, eax
je 0x1402cb0eb
lea rcx, [rsp + 0x110]
call fcn.1402cd660
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x30]
call fcn.1402ca0c0
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1402ca030
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.14020aef0
test eax, eax
je 0x1402cb0eb
lea r8d, [rbp + 0x20]
mov rdx, rsi
mov rcx, rbx
call fcn.14020af30
test eax, eax
je 0x1402cb0eb
lea r8d, [rbp + 0x20]
mov rdx, r13
mov rcx, rbx
call fcn.14020af30
test eax, eax
je 0x1402cb0eb
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.14020af30
test eax, eax
je 0x1402cb0eb
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0x150]
call fcn.14020ad50
test eax, eax
je 0x1402cb0eb
lea rcx, [rsp + 0x150]
call fcn.1402cd660
lea rcx, [rsi + 0x20]
lea r9, [rsp + 0x110]
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x150]
call fcn.1402cb5d0
mov ebp, 1
mov edx, 0x40
lea rcx, [rsp + 0x110]
call fcn.140001240
mov edx, 0x40
lea rcx, [rsp + 0xd0]
call fcn.140001240
mov rcx, rdi
call fcn.14020ba80
mov rcx, rbx
call fcn.14020b8c0
mov eax, ebp
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140382da0
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1402cb460
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x70]
mov eax, 0x170
call fcn.1403831c0
sub rsp, rax
mov rax, qword [0x1404c39e8]
xor rax, rsp
mov qword [rbp + 0x60], rax
movups xmm0, xmmword [rdx]
mov rbx, rcx
lea rcx, [rsp + 0x50]
movups xmm1, xmmword [rdx + 0x10]
movd eax, xmm0
movups xmmword [rbp + 0x40], xmm0
and al, 0xf8
mov byte [rbp + 0x40], al
mov rax, qword [rdx + 0x18]
lea rdx, [rbp + 0x40]
shr rax, 0x38
and al, 0x3f
or al, 0x40
movups xmmword [rbp + 0x50], xmm1
mov byte [rbp + 0x5f], al
call fcn.1402ca0c0
mov ecx, dword [rsp + 0x78]
mov edx, dword [rbp - 0x60]
mov r8d, dword [rbp - 0x3c]
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rsp + 0x7c]
mov dword [rbp + 0x18], edx
mov edx, dword [rbp - 0x5c]
mov dword [rbp - 0x10], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x80]
mov dword [rbp + 0x1c], edx
mov edx, dword [rbp - 0x58]
mov dword [rbp - 0xc], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x7c]
mov dword [rbp + 0x20], edx
mov edx, dword [rbp - 0x54]
mov dword [rbp - 8], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x78]
mov dword [rbp + 0x24], edx
mov edx, dword [rbp - 0x50]
mov dword [rbp - 4], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x74]
mov dword [rbp + 0x28], edx
mov edx, dword [rbp - 0x4c]
mov dword [rbp], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x70]
mov dword [rbp + 0x2c], edx
mov edx, dword [rbp - 0x48]
mov dword [rbp + 4], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x6c]
mov dword [rbp + 0x30], edx
mov edx, dword [rbp - 0x44]
mov dword [rbp + 8], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x68]
mov dword [rbp + 0x34], edx
mov edx, dword [rbp - 0x40]
mov dword [rbp + 0xc], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov dword [rbp + 0x38], edx
lea rcx, [rsp + 0x20]
mov edx, dword [rbp - 0x64]
mov dword [rbp + 0x10], eax
lea eax, [rdx + r8]
sub r8d, edx
lea rdx, [rbp + 0x18]
mov dword [rbp + 0x3c], r8d
mov dword [rbp + 0x14], eax
call fcn.1402c6a50
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.1402c6cd0
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.1402c8370
lea rcx, [rbp + 0x40]
mov edx, 0x20
call fcn.140001240
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140382da0
mov rbx, qword [rsp + 0x190]
add rsp, 0x170
pop rbp
ret

Function at 0x1402d2e00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.1403831c0
sub rsp, rax
mov rcx, qword [rcx + 0x28]
add rsp, 0x28
jmp fcn.140230740