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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x78
call fcn.1402f6840
sub rsp, rax
mov rax, qword [0x1403d0740]
xor rax, rsp
mov qword [rsp + 0x68], rax
movzx ebx, byte [rcx]
lea r12, [rcx + 0x10]
mov r11, qword [rsp + 0xe0]
mov rbp, r9
mov rax, qword [rcx + 0x28]
mov r15, r8
mov r10, qword [rcx + 0x30]
mov r14, rdx
mov qword [rsp + 0x50], r11
mov rdi, rcx
mov byte [rsp + 0x30], bl
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r10
test bl, 0x40
jne 0x1401a2499
mov r8, r10
mov rdx, r12
call rax
mov r10, qword [rsp + 0x38]
mov r9, rbp
mov r11, qword [rsp + 0x50]
xor esi, esi
mov r8d, ebx
and r8d, 7
mov r13d, reloc.WS2_32.dll_ntohs
sub r13d, r8d
mov byte [rdi], r8b
mov ecx, esi
cmp r13d, 0xf
jae 0x1401a24d7
mov edx, r13d
add rdx, rdi
nop dword [rax]
movzx eax, byte [rdx]
mov byte [rdx], sil
lea rdx, [rdx + 1]
or rcx, rax
shl rcx, 8
sub r8, 1
jne 0x1401a24c0
movzx eax, byte [rdi + 0xf]
or rcx, rax
mov byte [rdi + 0xf], 1
cmp rcx, rbp
je 0x1401a24f1
mov eax, 0xffffffff
jmp 0x1401a261a
mov rbx, rbp
shr rbx, 4
test rbx, rbx
je 0x1401a2572
mov qword [rsp + 0x28], r12
mov r9, r10
mov r8, rbx
mov qword [rsp + 0x20], rdi
mov rdx, r15
mov rcx, r14
call r11
shl rbx, 4
add r14, rbx
add r15, rbx
sub rbp, rbx
je 0x1401a25cc
shr rbx, 4
lea r8, [rdi + 0x10]
mov r9, 0xfffffffffffffff8
mov rdx, rsi
sub r9, rdi
nop
movzx eax, byte [r8 - 1]
lea r8, [r8 - 1]
add rdx, rax
movzx ecx, bl
add rdx, rcx
shr rbx, 8
mov byte [r8], dl
lea rax, [r8 + r9]
shr rdx, 8
test rax, rax
je 0x1401a257a
test rbx, rbx
jne 0x1401a2540
test rdx, rdx
jne 0x1401a2540
jmp 0x1401a257a
mov rbp, r9
test r9, r9
je 0x1401a25cc
mov rbx, qword [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov r8, rbx
mov rcx, rdi
call qword [rsp + 0x40]
test rbp, rbp
je 0x1401a25ba
mov rcx, rsi
nop word [rax + rax]
movzx eax, byte [rcx + r14]
inc esi
xor al, byte [rsp + rcx + 0x58]
mov byte [rcx + r15], al
xor byte [rcx + rdi + 0x10], al
mov ecx, esi
cmp rcx, rbp
jb 0x1401a25a0
mov rsi, qword [rsp + 0x40]
mov r8, rbx
mov rdx, r12
mov rcx, r12
call rsi
jmp 0x1401a25d6
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
cmp r13d, 0x10
jae 0x1401a25f2
mov r8d, reloc.WS2_32.dll_recv
mov ecx, r13d
sub r8d, r13d
add rcx, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8, rbx
lea rdx, [rsp + 0x58]
mov rcx, rdi
call rsi
mov rax, qword [rsp + 0x58]
xor qword [r12], rax
mov rax, qword [rsp + 0x60]
xor qword [rdi + 0x18], rax
movzx eax, byte [rsp + 0x30]
mov byte [rdi], al
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1402f6590
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401a4560
Capabilities:
Encode data using xor

Disassembly:
push rbx
xor r10d, r10d
mov rbx, rdx
mov r11, rcx
test r8, r8
je 0x1401a46b5
cmp r8, 8
jb 0x1401a4689
lea rcx, [r9 - 1]
lea rax, [r8 - 1]
add rcx, r8
add rax, rdx
cmp r9, rax
ja 0x1401a459a
cmp rcx, rdx
jae 0x1401a4689
lea rax, [r8 - 1]
add rax, r11
cmp r9, rax
ja 0x1401a45af
cmp rcx, r11
jae 0x1401a4689
mov rcx, r11
mov qword [rsp + 0x18], rdi
sub rcx, rbx
cmp r8, 0x40
jb 0x1401a4649
mov rdi, r8
mov qword [rsp + 0x10], rsi
and edi, 0x3f
mov rsi, r8
sub rsi, rdi
lea rax, [rdx + 0x10]
mov rdx, r9
sub rdx, rbx
nop
movdqu xmm0, xmmword [rax - 0x10]
add r10, 0x40
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rdx + rax - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rcx + rax - 0x30]
movdqu xmmword [rdx + rax - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rcx + rax - 0x20]
movdqu xmmword [rdx + rax - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rdx + rax - 0x20], xmm2
cmp r10, rsi
jb 0x1401a45e0
mov rsi, qword [rsp + 0x10]
cmp rdi, 8
jb 0x1401a467f
jmp 0x1401a464f
mov rdx, r9
sub rdx, rbx
mov rdi, r8
and rdi, 0xfffffffffffffff8
lea rax, [r10 + rbx]
nop word [rax + rax]
movq xmm1, qword [rcx + rax]
add r10, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rdx + rax - 8], xmm1
cmp r10, rdi
jb 0x1401a4660
mov rdi, qword [rsp + 0x18]
cmp r10, r8
jae 0x1401a46b5
sub r11, rbx
lea rax, [r10 + rbx]
sub r9, rbx
sub r8, r10
nop word [rax + rax]
movzx ecx, byte [rax + r11]
xor cl, byte [rax]
mov byte [rax + r9], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x1401a46a0
pop rbx
ret

Function at 0x1401a47a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
mov eax, 0x20
call fcn.1402f6840
sub rsp, rax
mov rdi, qword [rcx + 0x28]
mov rbx, rdx
mov rbp, rcx
cmp rdx, rdi
ja 0x1401a47de
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 0x1401a482a
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.140132360
test rax, rax
jne 0x1401a4826
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.1401a43b0
xor byte [rsi + 0xf], dil
add r15, 0x10
sub r12, 1
jne 0x1401a4850
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 0x1401a9250
Capabilities:
Encode data using xor

Disassembly:
mov eax, reloc.WS2_32.dll_getservbyport
call fcn.1402f6840
sub rsp, rax
cmp dword [rsp + 0x68], 0
je 0x1401a9279
lea rax, [0x1401a7820]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.14019fd20
lea rax, [0x1401a69d0]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.14019fa60
Function at 0x1401abf10
Capabilities:
Hash data using sha1

Disassembly:
push rbx
mov eax, 0x20
call fcn.1402f6840
sub rsp, rax
mov rbx, rcx
call fcn.140198dc0
test eax, eax
jne 0x1401abf31
add rsp, 0x20
pop rbx
ret
lea rcx, [rbx + 0x5c]
add rsp, 0x20
pop rbx
jmp fcn.1401709e0
Function at 0x1401af240
Capabilities:
Hash data using sha512

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x20
call fcn.1402f6840
sub rsp, rax
mov rbx, rdx
mov rdi, rcx
add rcx, 0x40
xor edx, edx
mov r8d, 0xb0
call sub.VCRUNTIME140.dll_memset
movabs rsi, 0x1f83d9abfb41bd6b
movabs rbp, 0x5be0cd19137e2179
mov qword [rdi + 0x30], rsi
movabs rcx, 0x6a09e667f3bcc908
mov qword [rdi + 0x38], rbp
movabs rdx, 0xbb67ae8584caa73b
mov qword [rdi], rcx
movabs r8, 0x3c6ef372fe94f82b
mov qword [rdi + 8], rdx
movabs r9, 0xa54ff53a5f1d36f1
mov qword [rdi + 0x10], r8
movabs r10, 0x510e527fade682d1
mov qword [rdi + 0x18], r9
movabs r11, 0x9b05688c2b3e6c1f
mov qword [rdi + 0x20], r10
mov qword [rdi + 0x28], r11
movzx eax, byte [rbx]
mov qword [rdi + 0xe8], rax
mov rax, qword [rbx]
xor rax, rcx
mov qword [rdi], rax
mov rax, qword [rbx + 8]
xor rax, rdx
mov qword [rdi + 8], rax
mov rax, qword [rbx + 0x10]
xor rax, r8
mov qword [rdi + 0x10], rax
mov rax, qword [rbx + 0x18]
xor rax, r9
mov qword [rdi + 0x18], rax
mov rax, qword [rbx + 0x20]
xor rax, r10
mov qword [rdi + 0x20], rax
mov rax, qword [rbx + 0x28]
xor rax, r11
mov qword [rdi + 0x28], rax
mov rax, qword [rbx + 0x30]
xor rax, rsi
mov rsi, qword [rsp + 0x40]
mov qword [rdi + 0x30], rax
mov rax, qword [rbx + 0x38]
mov rbx, qword [rsp + 0x30]
xor rax, rbp
mov rbp, qword [rsp + 0x38]
mov qword [rdi + 0x38], rax
add rsp, 0x20
pop rdi
ret

Function at 0x1401b1860
Capabilities:
Hash data using sha256

Disassembly:
xorps xmm0, xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
movups xmmword [rcx + 0x70], xmm0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
movzx eax, byte [rdx]
mov qword [rcx + 0x78], rax
mov eax, dword [rdx]
xor eax, 0x6a09e667
mov dword [rcx], eax
mov eax, dword [rdx + 4]
xor eax, 0xbb67ae85
mov dword [rcx + 4], eax
mov eax, dword [rdx + 8]
xor eax, 0x3c6ef372
mov dword [rcx + 8], eax
mov eax, dword [rdx + 0xc]
xor eax, 0xa54ff53a
mov dword [rcx + 0xc], eax
mov eax, dword [rdx + 0x10]
xor eax, 0x510e527f
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x14]
xor eax, 0x9b05688c
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 0x18]
xor eax, 0x1f83d9ab
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0x1c]
xor eax, 0x5be0cd19
mov dword [rcx + 0x1c], eax
ret
Function at 0x1401d4940
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, 0x28
call fcn.1402f6840
sub rsp, rax
mov r11, rcx
cmp dword [rsp + 0x50], r9d
jne 0x1401d4a38
movzx r10d, byte [r8]
lea eax, [r10 - 0x6a]
cmp al, 1
ja 0x1401d4a38
mov qword [rsp + 0x20], rbx
lea rdx, [r8 + 1]
cmp r10b, 0x6b
jne 0x1401d49f0
lea ebx, [r9 - 3]
xor eax, eax
test ebx, ebx
jle 0x1401d499a
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x1401d499a
cmp cl, 0xbb
jne 0x1401d49dd
inc eax
cmp eax, ebx
jl 0x1401d4984
sub ebx, eax
test eax, eax
jne 0x1401d49f4
call fcn.140132950
lea r8, str.RSA_padding_check_X931
mov edx, 0x56
lea rcx, str.crypto_rsa_rsa_x931.c
call fcn.140132a70
mov edx, 0x8a
xor r8d, r8d
lea ecx, [r8 + 4]
call fcn.140132b70
mov rbx, qword [rsp + 0x20]
mov eax, 0xffffffff
add rsp, 0x28
ret
call fcn.140132950
lea r8, str.RSA_padding_check_X931
mov edx, 0x4e
jmp 0x1401d49b1
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x1401d4a21
call fcn.140132950
lea r8, str.RSA_padding_check_X931
mov edx, 0x5f
lea rcx, str.crypto_rsa_rsa_x931.c
call fcn.140132a70
mov edx, 0x8b
jmp 0x1401d49c2
mov r8d, ebx
mov rcx, r11
call sub.VCRUNTIME140.dll_memcpy
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
call fcn.140132950
lea r8, str.RSA_padding_check_X931
mov edx, 0x43
lea rcx, str.crypto_rsa_rsa_x931.c
call fcn.140132a70
xor r8d, r8d
mov edx, 0x89
lea ecx, [r8 + 4]
call fcn.140132b70
mov eax, 0xffffffff
add rsp, 0x28
ret

Function at 0x1401fc780
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 0x1401fc7bf
mov r9, rdx
mov rdx, rcx
sub rdx, r9
movzx eax, byte [r9]
cmp byte [rdx + r9], al
jne 0x1401fc7bf
inc r9
inc r10d
mov rax, r9
sub rax, r11
cmp rax, rbx
jl 0x1401fc7a4
lea edx, [r8 - 1]
movsxd rax, edx
test edx, edx
js 0x1401fc7ea
mov r8, rdi
lea rcx, [rax + r11]
sub r8, r11
cmp byte [rcx + r8], 0
jne 0x1401fc7ea
cmp byte [rcx], 0xff
jne 0x1401fc7ea
dec edx
dec rcx
cmp rcx, r11
jns 0x1401fc7d4
cmp r10d, edx
jl case.0x1401fc843.2
jle 0x1401fc808
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.0x1401fc843.2
lea r11, [0x140000000]
cdqe
movzx eax, byte [r11 + rax + 0x1fc8b8]
mov ecx, dword [r11 + rax*4 + 0x1fc898]
add rcx, r11
jmp rcx
mov eax, 7
jmp 0x1401fc874
mov eax, 6
jmp 0x1401fc874
mov eax, 5
jmp 0x1401fc874
mov eax, 4
jmp 0x1401fc874
mov eax, 3
jmp 0x1401fc874
mov eax, 2
jmp 0x1401fc874
mov eax, 1
test dl, r9b
jne case.0x1401fc843.2
and r8b, dl
lea eax, [rax + r10*8]
cmp r8b, dl
je 0x1401fc88a
mov eax, 0xffffffff
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
Function at 0x1401fd620
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.1402f6840
sub rsp, rax
mov r11, rcx
test r9, r9
jne 0x1401fd66a
call fcn.140132950
lea r8, str.c2i_ibuf
mov edx, 0xa0
lea rcx, str.crypto_asn1_a_int.c
call fcn.140132a70
xor r8d, r8d
mov edx, 0xde
lea ecx, [r8 + 0xd]
call fcn.140132b70
xor eax, eax
add rsp, 0x28
ret
movzx r10d, byte [r8]
and r10d, 0x80
test rdx, rdx
je 0x1401fd67d
mov dword [rdx], r10d
cmp r9, 1
jne 0x1401fd69f
test r11, r11
je 0x1401fd695
movzx eax, byte [r8]
test r10d, r10d
je 0x1401fd693
neg al
mov byte [rcx], al
mov eax, 1
add rsp, 0x28
ret
movzx ecx, byte [r8]
test cl, cl
jne 0x1401fd6b1
mov eax, 1
jmp 0x1401fd76a
xor eax, eax
cmp cl, 0xff
jne 0x1401fd7af
xor edx, edx
lea rcx, [r9 - 1]
mov eax, 1
cmp r9, rax
jbe 0x1401fd75f
cmp rcx, 8
jb 0x1401fd750
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 [rax + r8 + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
orps xmm2, xmm1
cmp rax, rdx
jb 0x1401fd6f0
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 0x1401fd75f
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax + r8]
inc rax
or edx, ecx
cmp rax, r9
jb 0x1401fd750
xor eax, eax
test edx, edx
setne al
test edx, edx
je 0x1401fd7af
movzx ecx, byte [r8 + 1]
and ecx, 0x80
cmp r10d, ecx
jne 0x1401fd7af
call fcn.140132950
lea r8, str.c2i_ibuf
mov edx, 0xc1
lea rcx, str.crypto_asn1_a_int.c
call fcn.140132a70
xor r8d, r8d
mov edx, 0xdd
lea ecx, [r8 + 0xd]
call fcn.140132b70
xor eax, eax
add rsp, 0x28
ret
sub r9, rax
test r11, r11
je 0x1401fd7fd
add rax, r8
mov rdx, r9
neg r10d
sbb r10d, r10d
movzx r10d, r10b
mov ecx, r10d
and ecx, 1
test r9, r9
je 0x1401fd7fd
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 0x1401fd7e0
mov rax, r9
add rsp, 0x28
ret
Function at 0x1401fd810
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 0x1401fd915
test r10, r10
je 0x1401fd915
movzx eax, byte [rcx]
test r8d, r8d
jne 0x1401fd859
cmp al, 0x7f
jbe 0x1401fd90e
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1401fd91d
mov r11b, 0xff
cmp al, 0x80
jbe 0x1401fd86f
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1401fd91d
jne 0x1401fd90e
mov eax, 1
lea rcx, [r10 - 1]
cmp r10, rax
jbe 0x1401fd8ff
cmp rcx, 8
jb 0x1401fd8f1
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 [rax + rbx + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
orps xmm2, xmm1
cmp rax, rdx
jb 0x1401fd8a0
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 0x1401fd8ff
movzx ecx, byte [rax + rbx]
inc rax
or edx, ecx
cmp rax, r10
jb 0x1401fd8f1
neg edx
sbb r11b, r11b
movzx r11d, r11b
mov edx, r11d
and edx, 1
mov eax, edx
add rax, r10
jmp 0x1401fd91d
mov eax, 1
mov r10, rdx
test rdi, rdi
je 0x1401fd975
mov rcx, qword [r9]
test rcx, rcx
je 0x1401fd975
mov edx, edx
movzx r8d, r11b
add rdx, rcx
and r8d, 1
mov byte [rcx], r11b
test r10, r10
je 0x1401fd972
lea r9, [r10 + rbx]
mov rbx, r10
sub rbx, r10
add rbx, rdx
nop dword [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 0x1401fd950
add qword [rdi], rax
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x1401fdb60
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.1402f6840
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.1401fd810
Function at 0x14021d250
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1a0
call fcn.1402f6840
sub rsp, rax
mov rax, qword [0x1403d0740]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, r8
mov rsi, rdx
mov r8, r9
lea rdx, str.SHA512
call fcn.14018c340
mov rdi, rax
test rax, rax
je 0x14021d2d3
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.14018b2e0
mov rcx, rdi
mov ebx, eax
call fcn.14018c390
test ebx, ebx
jne 0x14021d2da
lea edx, [rbx + 0x40]
lea rcx, [rsp + 0x150]
call fcn.140001240
xor eax, eax
jmp 0x14021d38e
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.14021c570
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x30]
call fcn.140218f00
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x80]
call fcn.140219180
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x58]
call fcn.140219180
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.14021a820
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x80]
call fcn.14021a820
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.1402f6590
add rsp, 0x1a0
pop rdi
pop rsi
pop rbx
ret
Function at 0x14021d3b0
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.1402f6840
sub rsp, rax
mov rax, qword [0x1403d0740]
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.14018c340
mov rdi, rax
call fcn.14018c280
xor ebp, ebp
mov rbx, rax
test rdi, rdi
je 0x14021d5bb
test rax, rax
je 0x14021d5bb
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.14018b8d0
test eax, eax
je 0x14021d5bb
lea r8d, [rbp + 0x20]
mov rdx, r12
mov rcx, rbx
call fcn.14018b910
test eax, eax
je 0x14021d5bb
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0xd0]
call fcn.14018b740
test eax, eax
je 0x14021d5bb
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.14018b8d0
test eax, eax
je 0x14021d5bb
lea r8d, [rbp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0xf0]
call fcn.14018b910
test eax, eax
je 0x14021d5bb
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.14018b910
test eax, eax
je 0x14021d5bb
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0x110]
call fcn.14018b740
test eax, eax
je 0x14021d5bb
lea rcx, [rsp + 0x110]
call fcn.14021fb20
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x30]
call fcn.14021c570
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14021c4e0
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.14018b8d0
test eax, eax
je 0x14021d5bb
lea r8d, [rbp + 0x20]
mov rdx, rsi
mov rcx, rbx
call fcn.14018b910
test eax, eax
je 0x14021d5bb
lea r8d, [rbp + 0x20]
mov rdx, r13
mov rcx, rbx
call fcn.14018b910
test eax, eax
je 0x14021d5bb
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.14018b910
test eax, eax
je 0x14021d5bb
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0x150]
call fcn.14018b740
test eax, eax
je 0x14021d5bb
lea rcx, [rsp + 0x150]
call fcn.14021fb20
lea rcx, [rsi + 0x20]
lea r9, [rsp + 0x110]
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x150]
call fcn.14021daa0
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.14018c390
mov rcx, rbx
call fcn.14018c1d0
mov eax, ebp
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1402f6590
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14021d930
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x70]
mov eax, 0x170
call fcn.1402f6840
sub rsp, rax
mov rax, qword [0x1403d0740]
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.14021c570
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.140218f00
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.140219180
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.14021a820
lea rcx, [rbp + 0x40]
mov edx, 0x20
call fcn.140001240
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1402f6590
mov rbx, qword [rsp + 0x190]
add rsp, 0x170
pop rbp
ret
Function at 0x1402224a0
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 0x1402224f1
cmp rcx, r9
jb 0x1402224f1
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 0x1402224d0
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 0x140222500
ret