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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
mov eax, 0x20
call fcn.140386150
sub rsp, rax
mov rdi, qword [rcx + 0x28]
mov rbx, rdx
mov rbp, rcx
cmp rdx, rdi
ja 0x1401a3e1e
shl rbx, 4
add rbx, qword [rcx + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [rcx + 0x30]
cmp rbx, rcx
jb 0x1401a3e6a
sub rdx, rcx
lea r8, str.cryptomodesocb128.c
add rdx, 4
mov r9d, WSACleanup
and rdx, 0xfffffffffffffffc
add rdx, rcx
mov rcx, qword [rbp + 0x58]
mov qword [rbp + 0x30], rdx
shl rdx, 4
call fcn.1401916d0
test rax, rax
jne 0x1401a3e66
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
mov qword [rbp + 0x58], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r12
mov r12, rbx
mov qword [rsp + 0x50], r15
mov r15, rdi
shl r15, 4
sub r12, rdi
nop word [rax + rax]
mov rcx, qword [rbp + 0x58]
mov edx, 1
add rcx, r15
movzx edi, byte [rcx]
lea rsi, [rcx + 0x10]
shr dil, 7
mov r8, rsi
neg dil
and dil, 0x87
call fcn.1401a39e0
xor byte [rsi + 0xf], dil
add r15, 0x10
sub r12, 1
jne 0x1401a3e90
mov r15, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov qword [rbp + 0x28], rbx
shl rbx, 4
add rbx, qword [rbp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1401a4390
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
lea rsi, [rcx - 1]
movsxd rdi, r9d
not rcx
shr rsi, 0x3f
shr rcx, 0x3f
mov r11, rdx
and rsi, rcx
mov r10, r8
mov ecx, dword [rdx + 8]
dec rsi
xor ecx, dword [r8 + 8]
and ecx, esi
xor dword [rdx + 8], ecx
xor dword [r8 + 8], ecx
movq xmm4, rsi
mov ecx, dword [rdx + 0x10]
xor ecx, dword [r8 + 0x10]
and ecx, esi
punpcklqdq xmm4, xmm4
xor dword [rdx + 0x10], ecx
xor dword [r8 + 0x10], ecx
mov edx, dword [rdx + 0x14]
mov ecx, edx
mov eax, dword [r8 + 0x14]
xor rcx, rax
and ecx, 4
and rcx, rsi
mov eax, ecx
xor eax, edx
mov dword [r11 + 0x14], eax
xor dword [r8 + 0x14], ecx
xor ecx, ecx
mov edx, ecx
test r9d, r9d
jle 0x1401a44a9
cmp edi, 2
jb 0x1401a44a9
mov r9, qword [r8]
lea rax, [rdi - 1]
mov r8, qword [r11]
lea rbx, [rdi - 1]
lea rbx, [r9 + rbx*8]
lea rax, [r8 + rax*8]
cmp r9, rax
ja 0x1401a443a
cmp rbx, r8
jae 0x1401a44a9
cmp r9, r10
ja 0x1401a4444
cmp rbx, r10
jae 0x1401a44a9
cmp r9, r11
ja 0x1401a444e
cmp rbx, r11
jae 0x1401a44a9
cmp r8, r10
ja 0x1401a4458
cmp rax, r10
jae 0x1401a44a9
cmp r8, r11
ja 0x1401a4462
cmp rax, r11
jae 0x1401a44a9
mov eax, edi
and eax, 0xfffffffe
nop word [rax + rax]
movdqu xmm2, xmmword [rcx + r9]
add edx, 2
movdqu xmm1, xmmword [rcx + r8]
lea rcx, [rcx + 0x10]
movdqa xmm3, xmm2
xorps xmm3, xmm1
andps xmm3, xmm4
movdqa xmm0, xmm3
xorps xmm3, xmm2
xorps xmm0, xmm1
movdqu xmmword [rcx + r8 - 0x10], xmm0
movdqu xmmword [rcx + r9 - 0x10], xmm3
cmp edx, eax
jl 0x1401a4470
movsxd rax, edx
cmp rax, rdi
jge 0x1401a44de
mov rcx, qword [r11]
mov rdx, qword [rcx + rax*8]
lea r8, [rcx + rax*8]
mov rcx, qword [r10]
mov r9, rdx
xor r9, qword [rcx + rax*8]
and r9, rsi
xor rdx, r9
mov qword [r8], rdx
mov rcx, qword [r10]
xor qword [rcx + rax*8], r9
inc rax
cmp rax, rdi
jl 0x1401a44b1
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x1401c57d0
Capabilities:
Encode data using add xor sub operations

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x1401c583c
movzx ecx, byte [rcx]
test cl, cl
je 0x1401c583c
mov r11d, 0x100
nop word [rax + rax]
movsx r9d, cl
lea r10, [r10 + 1]
or r9d, r11d
mov r8d, eax
mov edx, r9d
mov ecx, 0x20
shr edx, 2
add r11d, 0x100
xor edx, r9d
imul r9d, r9d
and edx, 0xf
sub ecx, edx
shr r8, cl
mov ecx, edx
mov edx, eax
mov eax, r8d
shl edx, cl
movzx ecx, byte [r10]
or eax, edx
xor eax, r9d
test cl, cl
jne 0x1401c57f0
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret

Function at 0x1401c5840
Capabilities:
Encode data using add xor sub operations

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x1401c58b0
movzx ecx, byte [rcx]
test cl, cl
je 0x1401c58b0
mov r11d, 0x100
nop word [rax + rax]
movsx r9d, cl
lea r10, [r10 + 1]
mov r8d, eax
and r9d, 0xffffffdf
or r9d, r11d
mov ecx, 0x20
mov edx, r9d
add r11d, 0x100
shr edx, 2
xor edx, r9d
imul r9d, r9d
and edx, 0xf
sub ecx, edx
shr r8, cl
mov ecx, edx
mov edx, eax
mov eax, r8d
shl edx, cl
movzx ecx, byte [r10]
or eax, edx
xor eax, r9d
test cl, cl
jne 0x1401c5860
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret
Function at 0x1401c6040
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
mov eax, gethostbyaddr
call fcn.140386150
sub rsp, rax
movsxd rbx, ecx
mov edi, r8d
mov dword [rsp + 0x40], 1
mov rbp, rdx
cmp ebx, 0xffffffff
jne 0x1401c60ab
call fcn.140191cc0
lea r8, str.BIO_connect
lea edx, [rbx + 0x55]
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140191de0
xor r8d, r8d
lea ecx, [rbx + 0x21]
mov edx, 0x87
call fcn.140191ee0
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.140191b60
test eax, eax
je 0x1401c615e
mov rsi, rbx
test dil, 4
je 0x1401c6175
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 0x1401c6175
call fcn.140191cc0
lea r8, str.BIO_connect
mov edx, 0x5e
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140191de0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_setsockopt__
mov ecx, 2
mov edx, eax
call fcn.140191ee0
call fcn.140191cc0
lea r8, str.BIO_connect
mov edx, 0x60
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140191de0
xor r8d, r8d
mov edx, 0x89
mov ecx, 0x20
call fcn.140191ee0
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 0x1401c6202
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 0x1401c6202
call fcn.140191cc0
lea r8, str.BIO_connect
mov edx, 0x68
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140191de0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_setsockopt__
mov ecx, 2
mov edx, eax
call fcn.140191ee0
call fcn.140191cc0
lea r8, str.BIO_connect
mov edx, 0x6a
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140191de0
xor r8d, r8d
mov edx, 0x8a
jmp 0x1401c6154
mov rcx, rbp
call fcn.140192250
mov rcx, rbp
mov ebx, eax
call fcn.140192240
mov rdx, rax
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1401c6296
mov ecx, eax
call fcn.1401c5fa0
test eax, eax
jne 0x1401c615e
call fcn.140191cc0
lea r8, str.BIO_connect
mov edx, WSACleanup
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140191de0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_connect__
mov ecx, 2
mov edx, eax
call fcn.140191ee0
call fcn.140191cc0
lea r8, str.BIO_connect
mov edx, reloc.WS2_32.dll_WSACleanup
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.140191de0
xor r8d, r8d
lea edx, [r8 + 0x67]
jmp 0x1401c6154
mov eax, 1
jmp 0x1401c6160
Function at 0x1401c7450
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x28
call fcn.140386150
sub rsp, rax
cmp dword [0x1404f4ff0], 0
jne 0x1401c75d0
mov qword [rsp + 0x40], rsi
lea r8d, [rax + 8]
mov qword [rsp + 0x48], rdi
lea rcx, str.OPENSSL_ia32cap
mov qword [rsp + 0x30], rbx
lea rdi, [0x1404f4f90]
mov rdx, rdi
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x20], r14
mov dword [0x1404f4ff0], 1
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x2e
ja 0x1401c7592
movzx ebx, word [0x1404f4f90]
xor ebp, ebp
cmp bx, 0x7e
mov ecx, ebp
mov r14d, 2
cmove ecx, r14d
add rcx, rdi
call fcn.1401c75e0
mov rsi, rax
cmp bx, 0x7e
jne 0x1401c7511
lea rcx, [0x1404f8660]
mov rbx, rax
call fcn.1400041f0
not rsi
movabs rcx, 0xedfff7fdffffffff
and rax, rsi
and ebx, 0x1000000
mov rsi, rax
and rsi, rcx
test rbx, rbx
cmove rsi, rax
jmp 0x1401c752a
cmp word [0x1404f4f90], 0x3a
jne 0x1401c752a
lea rcx, [0x1404f8660]
call fcn.1400041f0
mov rsi, rax
movzx eax, word [0x1404f4f90]
test ax, ax
je 0x1401c7548
lea rdi, [rdi + 2]
cmp ax, 0x3a
je 0x1401c7551
movzx eax, word [rdi]
test ax, ax
jne 0x1401c7536
mov qword [0x1404f8668], rbp
jmp 0x1401c75a1
movzx ebx, word [rdi]
cmp bx, 0x7e
cmove rbp, r14
lea rcx, [rdi + rbp]
call fcn.1401c75e0
mov rcx, rax
shr rcx, 0x20
cmp bx, 0x7e
jne 0x1401c7584
not eax
not ecx
and dword [0x1404f8668], eax
and dword [0x1404f866c], ecx
jmp 0x1401c75a1
mov dword [0x1404f8668], eax
mov dword [0x1404f866c], ecx
jmp 0x1401c75a1
lea rcx, [0x1404f8660]
call fcn.1400041f0
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 [0x1404f8664], esi
mov rsi, qword [rsp + 0x40]
mov dword [0x1404f8660], eax
add rsp, 0x28
ret
Function at 0x1401db980
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, 0x28
call fcn.140386150
sub rsp, rax
mov r11, rcx
cmp dword [rsp + 0x50], r9d
jne 0x1401dba78
movzx r10d, byte [r8]
lea eax, [r10 - 0x6a]
cmp al, 1
ja 0x1401dba78
mov qword [rsp + 0x20], rbx
lea rdx, [r8 + 1]
cmp r10b, 0x6b
jne 0x1401dba30
lea ebx, [r9 - 3]
xor eax, eax
test ebx, ebx
jle 0x1401db9da
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x1401db9da
cmp cl, 0xbb
jne 0x1401dba1d
inc eax
cmp eax, ebx
jl 0x1401db9c4
sub ebx, eax
test eax, eax
jne 0x1401dba34
call fcn.140191cc0
lea r8, str.RSA_padding_check_X931
mov edx, 0x56
lea rcx, str.crypto_rsa_rsa_x931.c
call fcn.140191de0
mov edx, 0x8a
xor r8d, r8d
lea ecx, [r8 + 4]
call fcn.140191ee0
mov rbx, qword [rsp + 0x20]
mov eax, 0xffffffff
add rsp, 0x28
ret
call fcn.140191cc0
lea r8, str.RSA_padding_check_X931
mov edx, 0x4e
jmp 0x1401db9f1
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x1401dba61
call fcn.140191cc0
lea r8, str.RSA_padding_check_X931
mov edx, 0x5f
lea rcx, str.crypto_rsa_rsa_x931.c
call fcn.140191de0
mov edx, 0x8b
jmp 0x1401dba02
mov r8d, ebx
mov rcx, r11
call fcn.1403bd2c0
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
call fcn.140191cc0
lea r8, str.RSA_padding_check_X931
mov edx, 0x43
lea rcx, str.crypto_rsa_rsa_x931.c
call fcn.140191de0
xor r8d, r8d
mov edx, 0x89
lea ecx, [r8 + 4]
call fcn.140191ee0
mov eax, 0xffffffff
add rsp, 0x28
ret
Function at 0x1401f7600
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.140386150
sub rsp, rax
mov r11, rcx
test r9, r9
jne 0x1401f764a
call fcn.140191cc0
lea r8, str.c2i_ibuf
mov edx, 0xa0
lea rcx, str.crypto_asn1_a_int.c
call fcn.140191de0
xor r8d, r8d
mov edx, 0xde
lea ecx, [r8 + 0xd]
call fcn.140191ee0
xor eax, eax
add rsp, 0x28
ret
movzx r10d, byte [r8]
and r10d, 0x80
test rdx, rdx
je 0x1401f765d
mov dword [rdx], r10d
cmp r9, 1
jne 0x1401f767f
test r11, r11
je 0x1401f7675
movzx eax, byte [r8]
test r10d, r10d
je 0x1401f7673
neg al
mov byte [rcx], al
mov eax, 1
add rsp, 0x28
ret
movzx ecx, byte [r8]
test cl, cl
jne 0x1401f7691
mov eax, 1
jmp 0x1401f774a
xor eax, eax
cmp cl, 0xff
jne 0x1401f778f
xor edx, edx
lea rcx, [r9 - 1]
mov eax, 1
cmp r9, rax
jbe 0x1401f773f
cmp rcx, 8
jb 0x1401f7730
and ecx, 7
mov rdx, r9
sub rdx, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop word [rax + rax]
movd xmm1, dword [rax + r8]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
orps xmm3, xmm1
movd xmm1, dword [r8 + rax + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
orps xmm2, xmm1
cmp rax, rdx
jb 0x1401f76d0
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd edx, xmm2
cmp rax, r9
jae 0x1401f773f
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax + r8]
inc rax
or edx, ecx
cmp rax, r9
jb 0x1401f7730
xor eax, eax
test edx, edx
setne al
test edx, edx
je 0x1401f778f
movzx ecx, byte [r8 + 1]
and ecx, 0x80
cmp r10d, ecx
jne 0x1401f778f
call fcn.140191cc0
lea r8, str.c2i_ibuf
mov edx, 0xc1
lea rcx, str.crypto_asn1_a_int.c
call fcn.140191de0
xor r8d, r8d
mov edx, 0xdd
lea ecx, [r8 + 0xd]
call fcn.140191ee0
xor eax, eax
add rsp, 0x28
ret
sub r9, rax
test r11, r11
je 0x1401f77dd
add rax, r8
mov rdx, r9
neg r10d
sbb r10d, r10d
movzx r10d, r10b
mov ecx, r10d
and ecx, 1
test r9, r9
je 0x1401f77dd
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 0x1401f77c0
mov rax, r9
add rsp, 0x28
ret
Function at 0x1401f77f0
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 0x1401f78f1
test r10, r10
je 0x1401f78f1
movzx eax, byte [rcx]
test r8d, r8d
jne 0x1401f7839
cmp al, 0x7f
jbe 0x1401f78ea
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1401f78f9
mov r11b, 0xff
cmp al, 0x80
jbe 0x1401f784f
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1401f78f9
jne 0x1401f78ea
mov eax, 1
lea rcx, [r10 - 1]
cmp r10, rax
jbe 0x1401f78df
cmp rcx, 8
jb 0x1401f78d1
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
orps xmm3, xmm1
movd xmm1, dword [rbx + rax + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
orps xmm2, xmm1
cmp rax, rdx
jb 0x1401f7880
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd edx, xmm2
cmp rax, r10
jae 0x1401f78df
movzx ecx, byte [rax + rbx]
inc rax
or edx, ecx
cmp rax, r10
jb 0x1401f78d1
neg edx
sbb r11b, r11b
mov edx, r11d
and edx, 1
mov eax, edx
add rax, r10
jmp 0x1401f78f9
mov eax, 1
mov r10, rdx
test rdi, rdi
je 0x1401f7955
mov rcx, qword [r9]
test rcx, rcx
je 0x1401f7955
mov edx, edx
mov r8d, r11d
add rdx, rcx
mov byte [rcx], r11b
and r8d, 1
test r10, r10
je 0x1401f7952
lea r9, [r10 + rbx]
mov rbx, r10
sub rbx, r10
add rbx, rdx
nop word [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 0x1401f7930
add qword [rdi], rax
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x1401f7b60
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.140386150
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.1401f77f0
Function at 0x140223330
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1a0
call fcn.140386150
sub rsp, rax
mov rax, qword [0x1404f29c0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, r8
mov rsi, rdx
mov r8, r9
lea rdx, str.SHA512
call fcn.1401cbde0
mov rdi, rax
test rax, rax
je 0x1402233b3
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.1401cafa0
mov rcx, rdi
mov ebx, eax
call fcn.1401cbe30
test ebx, ebx
jne 0x1402233ba
lea edx, [rbx + 0x40]
lea rcx, [rsp + 0x150]
call fcn.140004400
xor eax, eax
jmp 0x14022346e
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.140222650
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x30]
call fcn.14021efe0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x80]
call fcn.14021f260
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x58]
call fcn.14021f260
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.140220900
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x80]
call fcn.140220900
movzx eax, byte [rsp + 0x30]
lea rcx, [rsp + 0x150]
shl al, 7
mov edx, 0x40
xor byte [rsi + 0x1f], al
call fcn.140004400
mov eax, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140386260
add rsp, 0x1a0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140223490
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.140386150
sub rsp, rax
mov rax, qword [0x1404f29c0]
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.1401cbde0
mov rdi, rax
call fcn.1401cbd20
xor ebp, ebp
mov rbx, rax
test rdi, rdi
je 0x14022369b
test rax, rax
je 0x14022369b
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.1401cb590
test eax, eax
je 0x14022369b
lea r8d, [rbp + 0x20]
mov rdx, r12
mov rcx, rbx
call fcn.1401cb5d0
test eax, eax
je 0x14022369b
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0xd0]
call fcn.1401cb400
test eax, eax
je 0x14022369b
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.1401cb590
test eax, eax
je 0x14022369b
lea r8d, [rbp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0xf0]
call fcn.1401cb5d0
test eax, eax
je 0x14022369b
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.1401cb5d0
test eax, eax
je 0x14022369b
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0x110]
call fcn.1401cb400
test eax, eax
je 0x14022369b
lea rcx, [rsp + 0x110]
call fcn.140225c00
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x30]
call fcn.140222650
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1402225c0
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.1401cb590
test eax, eax
je 0x14022369b
lea r8d, [rbp + 0x20]
mov rdx, rsi
mov rcx, rbx
call fcn.1401cb5d0
test eax, eax
je 0x14022369b
lea r8d, [rbp + 0x20]
mov rdx, r13
mov rcx, rbx
call fcn.1401cb5d0
test eax, eax
je 0x14022369b
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.1401cb5d0
test eax, eax
je 0x14022369b
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0x150]
call fcn.1401cb400
test eax, eax
je 0x14022369b
lea rcx, [rsp + 0x150]
call fcn.140225c00
lea rcx, [rsi + 0x20]
lea r9, [rsp + 0x110]
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x150]
call fcn.140223b80
mov ebp, 1
mov edx, 0x40
lea rcx, [rsp + 0x110]
call fcn.140004400
mov edx, 0x40
lea rcx, [rsp + 0xd0]
call fcn.140004400
mov rcx, rdi
call fcn.1401cbe30
mov rcx, rbx
call fcn.1401cbc70
mov eax, ebp
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140386260
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140223a10
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x70]
mov eax, 0x170
call fcn.140386150
sub rsp, rax
mov rax, qword [0x1404f29c0]
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.140222650
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.14021efe0
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.14021f260
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.140220900
lea rcx, [rbp + 0x40]
mov edx, 0x20
call fcn.140004400
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140386260
mov rbx, qword [rsp + 0x190]
add rsp, 0x170
pop rbp
ret
Function at 0x140228580
Capabilities:
Encode data using xor

Disassembly:
mov r9, rcx
movd xmm4, r8d
mov r10d, r8d
pshufd xmm4, xmm4, 0
lea rcx, [rdx + 0x3c]
lea rax, [r9 + 0x3c]
cmp rdx, rax
ja 0x1402285d1
cmp rcx, r9
jb 0x1402285d1
sub r9, rdx
mov r8d, reloc.WS2_32.dll_recv
nop dword [rax + rax]
mov ecx, dword [rdx + r9]
lea rdx, [rdx + 4]
mov eax, ecx
xor eax, dword [rdx - 4]
and eax, r10d
xor ecx, eax
mov dword [rdx + r9 - 4], ecx
xor dword [rdx - 4], eax
sub r8, 1
jne 0x1402285b0
ret
sub r9, rdx
mov eax, 4
nop dword [rax]
movdqu xmm1, xmmword [r9 + rdx]
movdqu xmm2, xmmword [rdx]
lea rdx, [rdx + 0x10]
movdqa xmm3, xmm1
xorps xmm3, xmm2
andps xmm3, xmm4
movdqa xmm0, xmm3
xorps xmm3, xmm2
xorps xmm0, xmm1
movdqu xmmword [r9 + rdx - 0x10], xmm0
movdqu xmmword [rdx - 0x10], xmm3
sub rax, 1
jne 0x1402285e0
ret
Function at 0x140243ee0
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 0x140243f1f
mov r9, rdx
mov rdx, rcx
sub rdx, r9
movzx eax, byte [r9]
cmp byte [rdx + r9], al
jne 0x140243f1f
inc r9
inc r10d
mov rax, r9
sub rax, r11
cmp rax, rbx
jl 0x140243f04
lea edx, [r8 - 1]
movsxd rax, edx
test edx, edx
js 0x140243f4a
mov r8, rdi
lea rcx, [rax + r11]
sub r8, r11
cmp byte [rcx + r8], 0
jne 0x140243f4a
cmp byte [rcx], 0xff
jne 0x140243f4a
dec edx
dec rcx
cmp rcx, r11
jns 0x140243f34
cmp r10d, edx
jl case.0x140243fa3.2
jle 0x140243f68
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.0x140243fa3.2
lea r11, [0x140000000]
cdqe
movzx eax, byte [r11 + rax + 0x244018]
mov ecx, dword [r11 + rax*4 + 0x243ff8]
add rcx, r11
jmp rcx
mov eax, 7
jmp 0x140243fd4
mov eax, 6
jmp 0x140243fd4
mov eax, 5
jmp 0x140243fd4
mov eax, 4
jmp 0x140243fd4
mov eax, 3
jmp 0x140243fd4
mov eax, 2
jmp 0x140243fd4
mov eax, 1
test dl, r9b
jne case.0x140243fa3.2
and r8b, dl
lea eax, [rax + r10*8]
cmp r8b, dl
je 0x140243fea
mov eax, 0xffffffff
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret