joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004dcc0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x100
mov rax, qword [0x1400ec008]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov ebx, edx
mov dword [rsp + 0x40], 0x80
mov edi, ecx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x80
call fcn.14007a110
lea r8, [rsp + 0x40]
mov ecx, edi
lea rdx, [rsp + 0x50]
test ebx, ebx
je 0x14004dd6a
call fcn.14002e210
cmp eax, 0xffffffff
jne 0x14004ddc1
call fcn.140084fc0
mov r8d, dword [rax]
lea eax, [r8 - 0x64]
cmp eax, 0x28
ja 0x14004dd40
lea eax, [r8 - 0x64]
movsxd rcx, eax
lea rbx, str.Address_already_in_use
mov rbx, qword [rbx + rcx*8]
jmp 0x14004dd54
lea rbx, [0x1400ff560]
mov edx, 0x5e
mov rcx, rbx
call fcn.14008b31c
mov rdx, rbx
lea rcx, str.getsockname_failed:__.100s
call fcn.140046b30
xor eax, eax
jmp 0x14004de3d
call fcn.14002e320
cmp eax, 0xffffffff
jne 0x14004ddc1
call fcn.140084fc0
mov r8d, dword [rax]
lea eax, [r8 - 0x64]
cmp eax, 0x28
ja 0x14004dd99
lea eax, [r8 - 0x64]
movsxd rcx, eax
lea rbx, str.Address_already_in_use
mov rbx, qword [rbx + rcx*8]
jmp 0x14004ddad
lea rbx, [0x1400ff560]
mov edx, 0x5e
mov rcx, rbx
call fcn.14008b31c
mov rdx, rbx
lea rcx, str.getpeername_failed:__.100s
call fcn.140046c10
or eax, 0xffffffff
jmp 0x14004de3d
movzx eax, word [rsp + 0x50]
cmp ax, 0x17
jne 0x14004ddd7
mov edx, 0x1c
mov dword [rsp + 0x40], edx
jmp 0x14004dde1
cmp ax, 2
jne 0x14004dd63
mov edx, dword [rsp + 0x40]
mov dword [rsp + 0x30], 8
lea rax, [rsp + 0xd0]
mov dword [rsp + 0x28], 0x20
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x14004de30
mov ecx, eax
call fcn.14003d9b0
mov r8, rax
lea rdx, str.get_sock_port
lea rcx, str._s:_getnameinfo_NI_NUMERICSERV_failed:__s
call fcn.14004db00
lea rcx, [rsp + 0xd0]
call fcn.14008ace0
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140078840
mov rbx, qword [rsp + 0x118]
add rsp, 0x100
pop rdi
ret
Function at 0x1400619a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
test rdx, rdx
je 0x140061a68
mov rax, qword [rcx + 0x28]
cmp r8, rax
ja 0x1400619ca
mov rcx, qword [rcx + 0x20]
call fcn.140079910
jmp 0x1400619e2
mov r9, qword [rcx + 0x20]
mov ecx, dword [rcx]
mov qword [rsp + 0x20], rax
call fcn.14004f8a0
test eax, eax
js 0x140061a95
xor edi, edi
mov ecx, edi
cmp qword [rbx + 0x28], rcx
jbe 0x140061a01
nop dword [rax]
mov rax, qword [rbx + 0x20]
xor byte [rax + rcx], 0x36
inc rcx
cmp rcx, qword [rbx + 0x28]
jb 0x1400619f0
mov rcx, qword [rbx + 8]
mov r8, qword [rbx + 0x28]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rcx + 8]
call qword [sym.imp.libcrypto.dll_EVP_DigestUpdate]
cmp eax, 1
jne 0x140061a95
cmp qword [rbx + 0x28], rdi
jbe 0x140061a41
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0x20]
xor byte [rax + rdi], 0x6a
inc rdi
cmp rdi, qword [rbx + 0x28]
jb 0x140061a30
mov rcx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x28]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rcx + 8]
call qword [sym.imp.libcrypto.dll_EVP_DigestUpdate]
cmp eax, 1
jne 0x140061a95
mov rdi, qword [rbx + 0x20]
xor eax, eax
mov rcx, qword [rbx + 0x28]
rep stosb byte [rdi], al
mov rcx, qword [rbx + 0x18]
mov rdx, qword [rbx + 8]
mov eax, dword [rcx]
cmp dword [rdx], eax
jne 0x140061a95
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.libcrypto.dll_EVP_MD_CTX_copy_ex]
test eax, eax
je 0x140061a95
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
or eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140065790
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1400ec008]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ebp, dword [rsp + 0xc0]
xor eax, eax
mov r14d, dword [rsp + 0xc8]
mov rsi, rcx
mov qword [rsp + 0x28], rax
mov r12, r9
mov qword [rsp + 0x30], rax
mov r15, r8
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov qword [rsp + 0x40], rax
mov eax, edx
shr rax, 0x20
movzx r13d, al
mov ecx, edx
shl r13d, 8
mov edi, edx
shr rdi, 0x30
mov r11d, edx
mov r9d, edx
mov r10d, edx
mov r8d, edx
shr rcx, 0x28
movzx eax, cl
mov rcx, rsi
or r13d, eax
mov edx, edx
movzx eax, dil
shl r13d, 8
or r13d, eax
shr rdx, 8
movzx eax, dl
lea rdx, [rsp + 0x28]
shr r8, 0x10
shr r9, 0x38
movzx edi, r11b
shl edi, 8
or edi, eax
shr r10, 0x18
movzx eax, r8b
lea r8, [rsp + 0x28]
shl edi, 8
or edi, eax
shl r13d, 8
or r13d, r9d
movzx eax, r10b
shl edi, 8
lea r9d, [rbx + 0x20]
or edi, eax
mov qword [rsi + 0x30], rbx
mov dword [rsp + 0x20], edi
mov dword [rsi + 0x3c], edi
mov dword [rsi + 0x38], r13d
call fcn.14006ad90
cmp dword [rsp + 0xd8], ebx
jne 0x1400658e4
lea r8d, [r14 + rbp]
mov rdx, r12
lea r9, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.14006b700
lea rdi, [r12 + r14]
mov r8d, ebx
add rdi, rbp
lea r9d, [rbx + 0x10]
lea rax, [rsp + 0x48]
cmp byte [rax], 0xd
jne 0x1400658be
cmp byte [rax + 1], 0xa
lea rcx, [rax + 1]
jne 0x1400658be
cmp byte [rdi], 0xa
cmove rax, rcx
movzx edx, byte [rdi]
inc rdi
movzx ecx, byte [rax]
inc rax
xor edx, ecx
or r8d, edx
sub r9, 1
jne 0x1400658a8
test r8d, r8d
je 0x1400658e0
lea ebx, [r9 - 0x1e]
jmp 0x140065949
mov edi, dword [rsp + 0x20]
test r14d, r14d
je 0x140065906
lea rcx, [rsi + 0x40]
mov r9d, r14d
mov r8, r15
mov qword [rcx + 0x30], rbx
mov rdx, r12
mov dword [rcx + 0x38], r13d
mov dword [rcx + 0x3c], edi
call fcn.14006ad90
lea r8, [r14 + r15]
mov qword [rsi + 0x30], 1
lea rdx, [r14 + r12]
mov dword [rsi + 0x38], r13d
mov r9d, ebp
mov dword [rsi + 0x3c], edi
mov rcx, rsi
call fcn.14006ad90
cmp dword [rsp + 0xd8], ebx
je 0x140065949
lea rcx, [r14 + rbp]
mov rdx, r15
add rcx, r15
lea r8d, [r14 + rbp]
lea r9, [rsp + 0x28]
call fcn.14006b700
xor eax, eax
lea rdi, [rsp + 0x48]
mov ecx, 0x10
rep stosb byte [rdi], al
lea rdi, [rsp + 0x20]
mov ecx, 8
rep stosb byte [rdi], al
lea rdi, [rsp + 0x28]
mov ecx, 0x20
rep stosb byte [rdi], al
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140078840
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140068b40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1400ec008]
xor rax, rsp
mov qword [rsp + 0x20], rax
xor r10d, r10d
lea rax, [rdx + 0x7c]
mov r9, rcx
mov rdi, r8
add rcx, 0x7c
mov rbx, rdx
mov esi, r10d
lea r11d, [r10 + 0x20]
cmp r9, rax
ja 0x140068b83
cmp rcx, rdx
jae 0x140068bd4
mov rcx, rbx
lea rax, [r8 + 0x10]
sub rcx, rdi
mov rdx, r9
sub rdx, rdi
mov r8d, 4
mov esi, r11d
nop dword [rax]
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm0, xmmword [rax - 0x10]
lea rax, [rax + 0x20]
paddd xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmmword [rdx + rax - 0x30], xmm1
movdqu xmm2, xmmword [rcx + rax - 0x20]
paddd xmm2, xmm0
movdqu xmmword [rdx + rax - 0x20], xmm2
sub r8, 1
jne 0x140068ba0
movsxd rax, esi
cmp rax, r11
jge 0x140068c03
mov r8, r9
lea rcx, [rdi + rax*4]
sub r8, rdi
sub rbx, rdi
mov rdx, r11
sub rdx, rax
nop
mov eax, dword [rcx + rbx]
add eax, dword [rcx]
mov dword [rcx + r8], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x140068bf0
mov r8, r9
mov ebx, 0x1f
nop dword [rax + rax]
mov ecx, dword [r8]
lea r8, [r8 + 4]
mov eax, ecx
shr eax, 8
add dword [r8], eax
movzx eax, cl
mov dword [r8 - 4], eax
sub rbx, 1
jne 0x140068c10
lea rbx, [0x1400c5920]
mov r8, r10
sub rbx, r9
mov rdx, r9
nop dword [rax]
add r10d, dword [rbx + rdx]
movzx ecx, byte [rdx]
mov eax, dword [rdx]
lea rdx, [rdx + 4]
sub cl, r10b
sub eax, r10d
shr eax, 0x1f
mov byte [rsp + r8], cl
mov r10d, eax
inc r8
cmp r8, r11
jl 0x140068c40
lea r8d, [rax - 1]
lea rdx, [rsp]
nop dword [rax]
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
xor ecx, dword [r9]
lea r9, [r9 + 4]
and ecx, r8d
xor dword [r9 - 4], ecx
sub r11, 1
jne 0x140068c70
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.140078840
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140068cb0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r9, rcx
lea r11, [rdx + 8]
lea r10, [rcx + 2]
mov ebx, 0xa
nop word [rax + rax]
mov ecx, dword [r11 - 4]
lea r10, [r10 + 8]
movzx eax, byte [r11 - 8]
mov r8d, dword [r11 - 8]
lea r11, [r11 + 0xc]
and al, 7
mov byte [r10 - 0xa], al
mov eax, r8d
shr eax, 3
and al, 7
shr r8d, 6
mov byte [r10 - 9], al
movzx eax, byte [r11 - 0x10]
shl al, 2
xor r8b, al
mov eax, ecx
shr eax, 1
and r8b, 7
and al, 7
mov byte [r10 - 8], r8b
mov byte [r10 - 7], al
mov eax, ecx
shr eax, 4
and al, 7
shr ecx, 7
mov byte [r10 - 6], al
movzx eax, byte [r11 - 0xc]
add al, al
xor cl, al
and cl, 7
mov byte [r10 - 5], cl
mov ecx, dword [r11 - 0xc]
mov eax, ecx
shr eax, 2
shr ecx, 5
and al, 7
and cl, 7
mov byte [r10 - 4], al
mov byte [r10 - 3], cl
sub rbx, 1
jne 0x140068cd0
movzx eax, byte [rdx + 0x78]
lea r10, [r9 + 0x54]
mov ecx, dword [rdx + 0x78]
lea r8d, [rbx + 0x54]
and al, 7
mov byte [r9 + 0x50], al
mov eax, ecx
shr eax, 3
and al, 7
shr ecx, 6
mov byte [r9 + 0x51], al
movzx eax, byte [rdx + 0x7c]
shl al, 2
xor cl, al
and cl, 7
mov byte [r9 + 0x52], cl
mov ecx, dword [rdx + 0x7c]
mov eax, ecx
shr eax, 1
shr ecx, 4
and al, 7
and cl, 7
mov byte [r9 + 0x53], al
xor al, al
mov byte [r10], cl
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [r9]
lea r9, [r9 + 1]
add cl, al
movzx eax, cl
sar cl, 3
add byte [r9], cl
and al, 7
mov byte [r9 - 1], al
sar al, 2
movzx ecx, al
shl cl, 3
sub byte [r9 - 1], cl
sub r8, 1
jne 0x140068db0
add byte [r10], al
mov rbx, qword [rsp + 8]
ret
Function at 0x140069a50
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0xa8
mov rax, qword [0x1400ec008]
xor rax, rsp
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [rcx]
xor edx, edx
lea r10, [0x1400c59a0]
movups xmm1, xmmword [rcx + 0x10]
mov r8, rcx
sub r10, rcx
movups xmmword [rsp], xmm0
lea r9d, [rdx + 0x1f]
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rsp + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rsp + 0x50], xmm1
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm1
nop dword [rax]
nop word [rax + rax]
mov eax, dword [r10 + r8]
add eax, dword [r8]
lea r8, [r8 + 4]
add edx, eax
movzx eax, dl
shr edx, 8
mov dword [r8 - 4], eax
sub r9, 1
jne 0x140069ad0
lea r9, [rcx + 0x7c]
lea eax, [rdx + 0x80]
add dword [r9], eax
lea rax, [rsp + 0x7c]
mov r8d, dword [r9]
shr r8d, 7
and r8d, 1
neg r8d
movd xmm2, r8d
pshufd xmm2, xmm2, 0
cmp rcx, rax
ja 0x140069b6e
lea rax, [rsp]
cmp r9, rax
jb 0x140069b6e
lea r10, [rsp]
mov r9d, 0x20
sub r10, rcx
nop dword [rax]
nop word [rax + rax]
mov edx, dword [rcx + r10]
xor edx, dword [rcx]
lea rcx, [rcx + 4]
and edx, r8d
xor dword [rcx - 4], edx
sub r9, 1
jne 0x140069b40
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140078840
add rsp, 0xa8
ret
lea r8, [rsp]
sub r8, rcx
lea rax, [rsp]
sub rax, rcx
lea rdx, [rcx + 0x10]
lea rcx, [rax - 0x10]
mov eax, 4
nop dword [rax]
movdqu xmm0, xmmword [rdx - 0x10]
movdqu xmm1, xmmword [rcx + rdx]
lea rdx, [rdx + 0x20]
pxor xmm1, xmm0
pand xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rdx - 0x30], xmm1
movdqu xmm0, xmmword [rdx - 0x20]
movdqu xmm1, xmmword [r8 + rdx - 0x20]
pxor xmm1, xmm0
pand xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rdx - 0x20], xmm1
sub rax, 1
jne 0x140069b90
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140078840
add rsp, 0xa8
ret
Function at 0x14006ab10
Capabilities:
Encrypt data using curve25519

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x1d0
mov rax, qword [0x1400ec008]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
movups xmm2, xmmword [rdx]
mov ebx, 0x10
mov rdi, rcx
movups xmm0, xmmword [rdx + 0x10]
lea rcx, [rsp + 0x24]
mov edx, ebx
movd eax, xmm2
movups xmmword [r11 - 0x28], xmm0
and al, 0xf8
psrldq xmm0, 0xf
movups xmmword [r11 - 0x38], xmm2
mov byte [r11 - 0x38], al
movd eax, xmm0
and al, 0x3f
or al, 0x40
mov byte [r11 - 0x19], al
inc r8
nop
movzx eax, byte [r8 - 1]
lea r8, [r8 + 2]
mov dword [rcx - 4], eax
lea rcx, [rcx + 8]
movzx eax, byte [r8 - 2]
mov dword [rcx - 8], eax
sub rdx, 1
jne 0x14006ab70
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x20]
call fcn.14006a110
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xa0]
call fcn.14006a760
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x120]
call fcn.140069bf0
lea rcx, [rsp + 0x120]
call fcn.140069a50
lea rax, [rsp + 0x124]
lea r11, [rdi + 1]
nop dword [rax + rax]
movzx ecx, byte [rax - 4]
lea rax, [rax + 8]
mov byte [r11 - 1], cl
lea r11, [r11 + 2]
movzx ecx, byte [rax - 8]
mov byte [r11 - 2], cl
sub rbx, 1
jne 0x14006abf0
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140078840
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1d0
pop rdi
ret
Function at 0x14006ac40
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov r9, rcx
movzx eax, byte [rdx + 2]
movzx r8d, byte [rdx + 3]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 1]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx]
shl r8d, 8
or r8d, eax
mov dword [rcx + 0x10], r8d
movzx eax, byte [rdx + 6]
movzx ecx, byte [rdx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 4]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x14], ecx
movzx eax, byte [rdx + 0xa]
movzx ecx, byte [rdx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 8]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x18], ecx
movzx eax, byte [rdx + 0xe]
movzx ecx, byte [rdx + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xc]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x1c], ecx
movzx eax, byte [rdx + 0x12]
movzx ecx, byte [rdx + 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x10]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x20], ecx
movzx eax, byte [rdx + 0x16]
movzx ecx, byte [rdx + 0x17]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x14]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x24], ecx
movzx eax, byte [rdx + 0x1a]
movzx ecx, byte [rdx + 0x1b]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x18]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x28], ecx
movzx ecx, byte [rdx + 0x1f]
movzx eax, byte [rdx + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1c]
shl ecx, 8
or ecx, eax
mov dword [r9], 0x61707865
mov dword [r9 + 0x2c], ecx
mov dword [r9 + 4], 0x3320646e
mov dword [r9 + 8], 0x79622d32
mov dword [r9 + 0xc], 0x6b206574
ret
Function at 0x14006bee0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, dword [rcx + 0x7c]
lea r10, [rcx + 0x74]
mov r9d, r11d
mov r8, rcx
xor r9d, 0x7f
mov ebx, 5
dec r9d
shr r9d, 0x1f
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [r10 - 0x10]
mov eax, dword [r10 - 0xc]
xor ecx, 0xff
mov edx, dword [r10 + 4]
lea r10, [r10 - 0x18]
xor eax, 0xff
dec ecx
dec eax
shr ecx, 0x1f
shr eax, 0x1f
xor edx, 0xff
and ecx, eax
dec edx
mov eax, dword [r10 + 0x10]
xor eax, 0xff
shr edx, 0x1f
dec eax
shr eax, 0x1f
and ecx, eax
mov eax, dword [r10 + 0x14]
xor eax, 0xff
dec eax
shr eax, 0x1f
and ecx, eax
mov eax, dword [r10 + 0x18]
xor eax, 0xff
dec eax
shr eax, 0x1f
and ecx, eax
and ecx, edx
and r9d, ecx
sub rbx, 1
jne 0x14006bf10
mov ecx, dword [r8]
sub ecx, 0xed
not ecx
shr ecx, 0x1f
and ecx, r9d
neg ecx
mov eax, ecx
movzx edx, cl
and eax, 0x7f
sub r11d, eax
mov eax, 0x1e
mov dword [r8 + 0x7c], r11d
nop dword [rax]
nop dword [rax + rax]
sub dword [r8 + rax*4], edx
sub dword [r8 + rax*4 - 4], edx
sub rax, 2
test rax, rax
jg 0x14006bfb0
mov rbx, qword [rsp + 8]
and ecx, 0xed
sub dword [r8], ecx
ret

Function at 0x14006c100
Capabilities:
Encode data using xor

Disassembly:
mov r9, rdx
movzx r10d, r8b
neg r10d
lea rdx, [rcx + 0x7c]
lea rax, [r9 + 0x7c]
movd xmm2, r10d
pshufd xmm2, xmm2, 0
cmp rcx, rax
ja 0x14006c147
cmp rdx, r9
jb 0x14006c147
sub r9, rcx
mov r8d, 0x20
nop
mov edx, dword [rcx + r9]
xor edx, dword [rcx]
lea rcx, [rcx + 4]
and edx, r10d
xor dword [rcx - 4], edx
sub r8, 1
jne 0x14006c130
ret
lea rax, [rcx + 0x10]
sub r9, rcx
mov ecx, 4
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [r9 + rax - 0x10]
lea rax, [rax + 0x20]
pxor xmm1, xmm0
pand xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [r9 + rax - 0x20]
pxor xmm1, xmm0
pand xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
sub rcx, 1
jne 0x14006c160
ret
Function at 0x14006e360
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
movzx eax, byte [rdx + 2]
movzx ecx, byte [rdx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx]
shl ecx, 8
or ecx, eax
mov dword [0x140110710], ecx
movzx eax, byte [rdx + 6]
movzx ecx, byte [rdx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 4]
shl ecx, 8
or ecx, eax
mov dword [0x140110714], ecx
movzx eax, byte [rdx + 0xa]
movzx ecx, byte [rdx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 8]
shl ecx, 8
or ecx, eax
mov dword [0x140110718], ecx
movzx eax, byte [rdx + 0xe]
movzx ecx, byte [rdx + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xc]
shl ecx, 8
or ecx, eax
mov dword [0x14011071c], ecx
movzx eax, byte [rdx + 0x12]
movzx ecx, byte [rdx + 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x10]
shl ecx, 8
or ecx, eax
mov dword [0x140110720], ecx
movzx eax, byte [rdx + 0x16]
movzx ecx, byte [rdx + 0x17]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x14]
shl ecx, 8
or ecx, eax
mov dword [0x140110724], ecx
movzx eax, byte [rdx + 0x1a]
movzx ecx, byte [rdx + 0x1b]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x18]
shl ecx, 8
or ecx, eax
mov dword [0x140110728], ecx
movzx ecx, byte [rdx + 0x1f]
movzx eax, byte [rdx + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1c]
shl ecx, 8
or ecx, eax
mov dword [0x140110700], 0x61707865
mov dword [0x14011072c], ecx
mov dword [0x140110704], 0x3320646e
mov dword [0x140110708], 0x79622d32
mov dword [0x14011070c], 0x6b206574
ret
Function at 0x14006eba0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
call fcn.14006e4b0
xor r11d, r11d
lea r10, [0x1401102f0]
test rbx, rbx
je 0x14006ec74
mov r9d, 0x28
mov eax, r11d
cmp rdi, r9
cmovb r9, rdi
test r9, r9
je 0x14006ec74
cmp r9, 0x20
jb 0x14006ec50
lea rdx, [r10 - 1]
lea rcx, [rbx - 1]
add rdx, r9
add rcx, r9
cmp r10, rcx
ja 0x14006ebff
cmp rdx, rbx
jae 0x14006ec50
mov r8, r9
mov rdx, rbx
and r8, 0xffffffffffffffe0
sub rdx, r10
nop dword [rax]
movdqu xmm0, xmmword [rax + r10]
lea rcx, [rdx + rax]
movdqu xmm1, xmmword [rcx + r10]
lea rcx, [rdx + rax]
pxor xmm1, xmm0
movdqu xmmword [rax + r10], xmm1
movdqu xmm0, xmmword [rax + r10 + 0x10]
movdqu xmm1, xmmword [rcx + r10 + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rax + r10 + 0x10], xmm1
add rax, 0x20
cmp rax, r8
jb 0x14006ec10
cmp rax, r9
jae 0x14006ec74
sub rbx, r10
nop dword [rax + rax]
lea r8, [rax + r10]
inc rax
movzx ecx, byte [rbx + r8]
xor byte [r8], cl
cmp rax, r9
jb 0x14006ec60
mov rdx, r10
call fcn.14006e360
movzx eax, byte [0x140110312]
movzx ecx, byte [0x140110313]
mov rbx, qword [rsp + 0x30]
shl ecx, 8
or ecx, eax
mov qword [0x140110730], r11
movzx eax, byte [0x140110311]
shl ecx, 8
or ecx, eax
mov qword [0x1401106f8], 0x3d8
movzx eax, byte [0x140110310]
shl ecx, 8
or ecx, eax
movzx eax, byte [0x140110316]
mov dword [0x140110738], ecx
movzx ecx, byte [0x140110317]
shl ecx, 8
or ecx, eax
movzx eax, byte [0x140110315]
shl ecx, 8
or ecx, eax
movzx eax, byte [0x140110314]
shl ecx, 8
or ecx, eax
xor eax, eax
mov dword [0x14011073c], ecx
mov qword [0x1401102f0], rax
mov qword [0x1401102f8], rax
mov qword [0x140110300], rax
mov qword [0x140110308], rax
mov qword [0x140110310], rax
add rsp, 0x20
pop rdi
ret
Function at 0x14006fff0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
xor r11d, r11d
lea r15, [0x1400c5b30]
mov r14, r9
mov rbx, rdx
mov r10, rcx
mov eax, r11d
cmp rdx, 2
jbe 0x1400700c8
lea edx, [r11 + 4]
nop dword [rax + rax]
movzx r9d, byte [r10]
sub rbx, 3
movzx edi, byte [r10 + 1]
movzx ebp, r9b
movzx esi, byte [r10 + 2]
movzx ecx, dil
shr cl, 4
and r9b, 3
and dil, 0xf
shl r9b, 4
add r9b, cl
shl dil, 2
movzx ecx, sil
shr bpl, 2
shr cl, 6
add r10, 3
add dil, cl
and sil, 0x3f
cmp rdx, r14
ja 0x14007016e
movzx ecx, bpl
add rdx, 4
movzx ecx, byte [rcx + r15]
mov byte [rax + r8], cl
movzx ecx, r9b
movzx ecx, byte [rcx + r15]
mov byte [rax + r8 + 1], cl
movzx ecx, dil
movzx ecx, byte [rcx + r15]
mov byte [rax + r8 + 2], cl
movzx ecx, sil
movzx ecx, byte [rcx + r15]
mov byte [rax + r8 + 3], cl
add rax, 4
cmp rbx, 2
ja 0x140070030
test rbx, rbx
je 0x14007018c
xor r9b, r9b
mov word [rsp + 0x29], r11w
xor dil, dil
mov byte [rsp + 0x28], r9b
xor dl, dl
test rbx, rbx
je 0x140070116
mov rdx, r11
nop dword [rax]
movzx ecx, byte [r10]
inc r11d
mov byte [rsp + rdx + 0x28], cl
inc r10
mov edx, r11d
cmp rdx, rbx
jb 0x1400700f0
movzx edi, byte [rsp + 0x2a]
movzx edx, byte [rsp + 0x29]
movzx r9d, byte [rsp + 0x28]
movzx ecx, dl
shr dil, 6
movzx r10d, r9b
shr cl, 4
and r9b, 3
shr r10b, 2
and dl, 0xf
shl r9b, 4
shl dl, 2
add r9b, cl
lea rcx, [rax + 4]
add dl, dil
cmp rcx, r14
ja 0x14007016e
movzx ecx, r10b
movzx ecx, byte [rcx + r15]
mov byte [rax + r8], cl
movzx ecx, r9b
movzx ecx, byte [rcx + r15]
mov byte [rax + r8 + 1], cl
cmp rbx, 1
jne 0x140070173
mov byte [rax + r8 + 2], 0x3d
jmp 0x140070180
or eax, 0xffffffff
jmp 0x140070196
movzx ecx, dl
movzx ecx, byte [rcx + r15]
mov byte [rax + r8 + 2], cl
add rax, 3
mov byte [rax + r8], 0x3d
inc rax
cmp rax, r14
jae 0x14007016e
mov byte [rax + r8], 0
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
pop r15
pop r14
pop rdi
ret