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

Disassembly:
pxor xmm15, xmm9
movdqu xmm11, xmmword [rbx + r12]
movdqa xmm12, xmm10
movdqu xmm13, xmmword [rbx + r13]
movdqa xmm14, xmm10
pxor xmm10, xmm15
movdqu xmm15, xmmword [rbx + r14]
pxor xmm11, xmm10
pxor xmm8, xmm2
pxor xmm2, xmm10
pxor xmm12, xmm11
pxor xmm8, xmm3
pxor xmm3, xmm11
pxor xmm13, xmm12
pxor xmm8, xmm4
pxor xmm4, xmm12
pxor xmm14, xmm13
pxor xmm8, xmm5
pxor xmm5, xmm13
pxor xmm15, xmm14
pxor xmm8, xmm6
pxor xmm6, xmm14
pxor xmm8, xmm7
pxor xmm7, xmm15
movups xmm0, xmmword [r11 + 0x20]
lea r12, [r8 + 1]
lea r13, [r8 + 3]
lea r14, [r8 + 5]
add r8, 6
pxor xmm10, xmm9
bsf r12, r12
bsf r13, r13
bsf r14, r14
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
pxor xmm11, xmm9
pxor xmm12, xmm9
aesenc xmm6, xmm1
pxor xmm13, xmm9
pxor xmm14, xmm9
aesenc xmm7, xmm1
movups xmm1, xmmword [r11 + 0x30]
pxor xmm15, xmm9
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [r11 + 0x40]
shl r12, 4
shl r13, 4
jmp 0x5d76c0
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x5d76c0
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [r11 + 0x10]
shl r14, 4
aesenclast xmm2, xmm10
movdqu xmm10, xmmword [rbx]
mov rax, r10
aesenclast xmm3, xmm11
aesenclast xmm4, xmm12
aesenclast xmm5, xmm13
aesenclast xmm6, xmm14
aesenclast xmm7, xmm15
repz ret

Function at 0x5d7760
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
pxor xmm15, xmm9
movdqu xmm11, xmmword [rbx + r12]
movdqa xmm12, xmm10
movdqu xmm13, xmmword [rbx + r13]
pxor xmm10, xmm15
pxor xmm11, xmm10
pxor xmm8, xmm2
pxor xmm2, xmm10
pxor xmm12, xmm11
pxor xmm8, xmm3
pxor xmm3, xmm11
pxor xmm13, xmm12
pxor xmm8, xmm4
pxor xmm4, xmm12
pxor xmm8, xmm5
pxor xmm5, xmm13
movups xmm0, xmmword [r11 + 0x20]
pxor xmm10, xmm9
pxor xmm11, xmm9
pxor xmm12, xmm9
pxor xmm13, xmm9
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
movups xmm1, xmmword [r11 + 0x30]
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
movups xmm0, xmmword [r11 + 0x40]
jmp 0x5d7800
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x5d7800
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
movups xmm1, xmmword [r11 + 0x10]
mov rax, r10
aesenclast xmm2, xmm10
aesenclast xmm3, xmm11
aesenclast xmm4, xmm12
aesenclast xmm5, xmm13
repz ret
Function at 0x5d7880
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
pxor xmm7, xmm15
pxor xmm7, xmm9
pxor xmm8, xmm2
pxor xmm2, xmm7
movups xmm0, xmmword [r11 + 0x20]
aesenc xmm2, xmm1
movups xmm1, xmmword [r11 + 0x30]
pxor xmm7, xmm9
aesenc xmm2, xmm0
movups xmm0, xmmword [r11 + 0x40]
jmp 0x5d78c0
aesenc xmm2, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x5d78c0
aesenc xmm2, xmm1
movups xmm1, xmmword [r11 + 0x10]
mov rax, r10
aesenclast xmm2, xmm7
repz ret

Function at 0x5d7cc0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
pxor xmm15, xmm9
movdqu xmm11, xmmword [rbx + r12]
movdqa xmm12, xmm10
movdqu xmm13, xmmword [rbx + r13]
movdqa xmm14, xmm10
pxor xmm10, xmm15
movdqu xmm15, xmmword [rbx + r14]
pxor xmm11, xmm10
pxor xmm2, xmm10
pxor xmm12, xmm11
pxor xmm3, xmm11
pxor xmm13, xmm12
pxor xmm4, xmm12
pxor xmm14, xmm13
pxor xmm5, xmm13
pxor xmm15, xmm14
pxor xmm6, xmm14
pxor xmm7, xmm15
movups xmm0, xmmword [r11 + 0x20]
lea r12, [r8 + 1]
lea r13, [r8 + 3]
lea r14, [r8 + 5]
add r8, 6
pxor xmm10, xmm9
bsf r12, r12
bsf r13, r13
bsf r14, r14
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
pxor xmm11, xmm9
pxor xmm12, xmm9
aesdec xmm6, xmm1
pxor xmm13, xmm9
pxor xmm14, xmm9
aesdec xmm7, xmm1
movups xmm1, xmmword [r11 + 0x30]
pxor xmm15, xmm9
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
movups xmm0, xmmword [r11 + 0x40]
shl r12, 4
shl r13, 4
jmp 0x5d7dc0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x5d7dc0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
movups xmm1, xmmword [r11 + 0x10]
shl r14, 4
aesdeclast xmm2, xmm10
movdqu xmm10, xmmword [rbx]
mov rax, r10
aesdeclast xmm3, xmm11
aesdeclast xmm4, xmm12
aesdeclast xmm5, xmm13
aesdeclast xmm6, xmm14
aesdeclast xmm7, xmm15
repz ret
Function at 0x5d7e60
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
pxor xmm15, xmm9
movdqu xmm11, xmmword [rbx + r12]
movdqa xmm12, xmm10
movdqu xmm13, xmmword [rbx + r13]
pxor xmm10, xmm15
pxor xmm11, xmm10
pxor xmm2, xmm10
pxor xmm12, xmm11
pxor xmm3, xmm11
pxor xmm13, xmm12
pxor xmm4, xmm12
pxor xmm5, xmm13
movups xmm0, xmmword [r11 + 0x20]
pxor xmm10, xmm9
pxor xmm11, xmm9
pxor xmm12, xmm9
pxor xmm13, xmm9
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [r11 + 0x30]
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [r11 + 0x40]
jmp 0x5d7f00
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x5d7f00
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [r11 + 0x10]
mov rax, r10
aesdeclast xmm2, xmm10
aesdeclast xmm3, xmm11
aesdeclast xmm4, xmm12
aesdeclast xmm5, xmm13
repz ret

Function at 0x5d7f80
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
pxor xmm7, xmm15
pxor xmm7, xmm9
pxor xmm2, xmm7
movups xmm0, xmmword [r11 + 0x20]
aesdec xmm2, xmm1
movups xmm1, xmmword [r11 + 0x30]
pxor xmm7, xmm9
aesdec xmm2, xmm0
movups xmm0, xmmword [r11 + 0x40]
jmp 0x5d7fc0
aesdec xmm2, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x5d7fc0
aesdec xmm2, xmm1
movups xmm1, xmmword [r11 + 0x10]
mov rax, r10
aesdeclast xmm2, xmm7
repz ret
Function at 0x5d8a30
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 8
call fcn.005d8aa0
shl edx, 4
test eax, eax
jne 0x5d8a96
lea rcx, [r8 + rdx + 0x10]
movups xmm0, xmmword [r8]
movups xmm1, xmmword [rcx]
movups xmmword [rcx], xmm0
movups xmmword [r8], xmm1
lea r8, [r8 + 0x10]
lea rcx, [rcx - 0x10]
movups xmm0, xmmword [r8]
movups xmm1, xmmword [rcx]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea r8, [r8 + 0x10]
lea rcx, [rcx - 0x10]
movups xmmword [rcx + 0x10], xmm0
movups xmmword [r8 - 0x10], xmm1
cmp rcx, r8
ja 0x5d8a5b
movups xmm0, xmmword [r8]
aesimc xmm0, xmm0
pxor xmm1, xmm1
movups xmmword [rcx], xmm0
pxor xmm0, xmm0
add rsp, 8
repz ret
Function at 0x5da580
Capabilities:
Encode data using xor

Disassembly:
lea r11, [0x005dc300]
movdqu xmm7, xmmword [rcx]
lea rcx, [rcx + 0x10]
movdqa xmm0, xmmword [r11]
movdqa xmm1, xmmword [r11 + 0x10]
movdqa xmm2, xmmword [r11 + 0x20]
movdqa xmm3, xmmword [r11 + 0x30]
movdqa xmm4, xmmword [r11 + 0x40]
pcmpeqd xmm5, xmm5
movdqu xmm6, xmmword [rcx]
movdqa xmmword [rax], xmm7
lea rax, [rax + 0x10]
dec r10d
jmp 0x5da5d0
pshufb xmm6, xmm4
movdqa xmm8, xmm0
movdqa xmm9, xmm1
pand xmm8, xmm6
pand xmm9, xmm6
movdqa xmm10, xmm2
pcmpeqb xmm8, xmm0
psllq xmm0, 4
movdqa xmm11, xmm3
pcmpeqb xmm9, xmm1
psllq xmm1, 4
pand xmm10, xmm6
pand xmm11, xmm6
movdqa xmm12, xmm0
pcmpeqb xmm10, xmm2
psllq xmm2, 4
movdqa xmm13, xmm1
pcmpeqb xmm11, xmm3
psllq xmm3, 4
movdqa xmm14, xmm2
movdqa xmm15, xmm3
pxor xmm8, xmm5
pxor xmm9, xmm5
pand xmm12, xmm6
pand xmm13, xmm6
movdqa xmmword [rax], xmm8
pcmpeqb xmm12, xmm0
psrlq xmm0, 4
movdqa xmmword [rax + 0x10], xmm9
pcmpeqb xmm13, xmm1
psrlq xmm1, 4
lea rcx, [rcx + 0x10]
pand xmm14, xmm6
pand xmm15, xmm6
movdqa xmmword [rax + 0x20], xmm10
pcmpeqb xmm14, xmm2
psrlq xmm2, 4
movdqa xmmword [rax + 0x30], xmm11
pcmpeqb xmm15, xmm3
psrlq xmm3, 4
movdqu xmm6, xmmword [rcx]
pxor xmm13, xmm5
pxor xmm14, xmm5
movdqa xmmword [rax + 0x40], xmm12
movdqa xmmword [rax + 0x50], xmm13
movdqa xmmword [rax + 0x60], xmm14
movdqa xmmword [rax + 0x70], xmm15
lea rax, [rax + 0x80]
dec r10d
jne 0x5da5d0
movdqa xmm7, xmmword [r11 + 0x50]
repz ret
Function at 0x5f61e0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd8
movsxd rax, dword [r9 + 8]
mov rbp, rdx
mov rdx, rax
mov rdi, rcx
mov rbx, r8
mov r12, r9
mov dword [rsp + 0x2c], eax
mov qword [rsp + 0x20], rax
call fcn.004fb020
test rax, rax
je 0x5f63e0
cmp qword [rsp + 0x20], 0x10
ja 0x5f63a0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rsi, rax
mov r10, qword [rbp]
mov rax, qword [rdi]
mov r11, qword [rbx]
mov rcx, qword [rsp + 0x20]
test r10, r10
mov qword [rsp + 0x30], rax
mov rax, qword [r12]
cmove r10, rsi
test r11, r11
cmove r11, rsi
mov qword [rsp + 0x38], rax
test rcx, rcx
je 0x5f63e4
movsxd r9, dword [rbp + 8]
movsxd rax, dword [rbx + 0xc]
xor r8d, r8d
movsxd r12, dword [rbx + 8]
movsxd r15, dword [rbp + 0xc]
xor ebx, ebx
mov qword [rsp + 0x48], rax
mov rax, r9
sub rcx, r9
mov rdx, r9
lea rbp, [r9 + 1]
lea r13, [rsi + r9*8]
sub rax, r12
sub r9, qword [rsp + 0x48]
mov r14, rcx
neg rdx
xor ecx, ecx
mov r12, rax
sub rbp, r15
add r9, 1
nop
mov rax, qword [r10 + rcx*8]
mov r15, rdx
sar r15, 0x3f
and rax, r15
add rax, rbx
mov r15, rax
lea rax, [r12 + rdx]
setb bl
sar rax, 0x3f
and rax, qword [r11 + r8*8]
movzx ebx, bl
add rax, r15
mov qword [r13 + rdx*8], rax
lea rax, [rbp + rdx]
adc rbx, 0
shr rax, 0x3f
add rcx, rax
lea rax, [r9 + rdx]
add rdx, 1
shr rax, 0x3f
add r8, rax
cmp r14, rdx
jne 0x5f62b0
mov r14, qword [rsp + 0x30]
mov r9d, dword [rsp + 0x2c]
mov rdx, rsi
mov r8, qword [rsp + 0x38]
mov rcx, r14
call fcn.005ef130
mov rdx, rsi
mov rcx, r14
sub rbx, rax
mov rax, qword [rsp + 0x20]
lea r9, [rsi + rax*8]
nop
mov r8, qword [rcx]
mov rax, qword [rdx]
add rdx, 8
add rcx, 8
xor rax, r8
and rax, rbx
xor rax, r8
mov qword [rcx - 8], rax
mov qword [rdx - 8], 0
cmp r9, rdx
jne 0x5f6330
mov eax, dword [rsp + 0x2c]
mov dword [rdi + 0x10], 0
mov ebx, 1
mov dword [rdi + 8], eax
cmp rsi, qword [rsp + 0x40]
je 0x5f6387
mov r8d, 0x5a
lea rdx, str.crypto_bn_bn_mod.c
mov rcx, rsi
call fcn.0054a000
mov eax, ebx
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x20]
mov r8d, 0x3c
lea rdx, str.crypto_bn_bn_mod.c
lea rcx, [rax*8]
call fcn.0054a030
mov rsi, rax
test rax, rax
je 0x5f63e0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
jmp 0x5f6236
xor ebx, ebx
jmp 0x5f6387
mov rcx, qword [rsp + 0x30]
mov r8, rax
xor r9d, r9d
mov rdx, rsi
call fcn.005ef130
jmp 0x5f6358
Function at 0x60b9e0
Capabilities:
Query environment variable

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [0x009a2fc0]
test eax, eax
je 0x60ba10
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov dword [0x009a2fc0], 1
mov r8d, 0x30
lea rdx, [0x009a2f60]
lea rcx, str.OPENSSL_ia32cap
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
sub eax, 1
cmp eax, 0x2e
ja 0x60bbf0
movzx r12d, word [0x009a2f60]
xor edx, edx
mov edi, 0xa
lea rax, [0x009a2f60]
cmp r12w, 0x7e
sete dl
lea rsi, [rax + rdx*2]
cmp word [rsi], 0x30
je 0x60bc10
xor r13d, r13d
mov ebp, edi
jmp 0x60ba81
sub ebx, 0x30
cmp edi, ebx
jbe 0x60baa9
imul r13, rbp
add r13, rbx
add rsi, 2
movzx ebx, word [rsi - 2]
mov edx, 4
mov ecx, ebx
call fcn.00507c10
test eax, eax
jne 0x60ba73
mov edx, 0x10
mov ecx, ebx
call fcn.00507c10
test eax, eax
jne 0x60bb12
cmp r12w, 0x7e
je 0x60bc30
movzx eax, word [0x009a2f60]
cmp ax, 0x3a
je 0x60bb21
test ax, ax
je 0x60bae2
lea rax, [0x009a2f60]
jmp 0x60bad6
cmp dx, 0x3a
je 0x60bb50
add rax, 2
movzx edx, word [rax]
test dx, dx
jne 0x60bad0
mov rdx, qword [0x0091c540]
mov qword [rdx + 8], 0
mov eax, r13d
mov rbx, r13
or ah, 4
shr rbx, 0x20
mov dword [rdx], eax
mov dword [rdx + 4], ebx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov ecx, ebx
call fcn.00507c30
lea ebx, [rax - 0x57]
jmp 0x60ba76
mov rcx, qword [0x0091c540]
call fcn.005c41b0
mov r13, rax
movzx eax, word [0x009a2f60]
test ax, ax
je 0x60bae2
cmp ax, 0x3a
jne 0x60bac6
lea rax, [0x009a2f60]
nop dword [rax]
movzx r12d, word [rax + 2]
xor edx, edx
cmp r12w, 0x7e
sete dl
add rdx, 1
lea rsi, [rax + rdx*2]
cmp word [rsi], 0x30
je 0x60bca0
mov edi, 0xa
xor r14d, r14d
mov ebp, edi
jmp 0x60bb8e
sub ebx, 0x30
cmp edi, ebx
jbe 0x60bbb6
imul r14, rbp
add r14, rbx
add rsi, 2
movzx ebx, word [rsi - 2]
mov edx, 4
mov ecx, ebx
call fcn.00507c10
test eax, eax
jne 0x60bb80
mov edx, 0x10
mov ecx, ebx
call fcn.00507c10
test eax, eax
jne 0x60bbe0
mov rax, r14
shr rax, 0x20
cmp r12w, 0x7e
je 0x60bc70
mov rdx, qword [0x0091c540]
mov qword [rdx + 8], r14
jmp 0x60baf1
mov ecx, ebx
call fcn.00507c30
lea ebx, [rax - 0x57]
jmp 0x60bb83
mov rcx, qword [0x0091c540]
call fcn.005c41b0
mov rdx, qword [0x0091c540]
mov r13, rax
jmp 0x60baf1
movzx ecx, word [rsi + 2]
call fcn.00507c30
cmp eax, 0x78
je 0x60bc89
add rsi, 2
mov edi, 8
jmp 0x60ba6c
mov rcx, qword [0x0091c540]
call fcn.005c41b0
mov rcx, r13
mov rdx, r13
not rcx
and edx, 0x1000000
and rcx, rax
mov r13, rcx
test rdx, rdx
je 0x60bb30
movabs rax, 0xedfff7fdffffffff
and r13, rax
jmp 0x60bb30
mov rdx, qword [0x0091c540]
mov ebx, r14d
not eax
not ebx
and dword [rdx + 0xc], eax
and dword [rdx + 8], ebx
jmp 0x60baf1
add rsi, 4
mov edi, 0x10
jmp 0x60ba6c
movzx ecx, word [rsi + 2]
call fcn.00507c30
cmp eax, 0x78
je 0x60bcbc
add rsi, 2
mov edi, 8
jmp 0x60bb76
add rsi, 4
mov edi, 0x10
jmp 0x60bb76
Function at 0x61cbb0
Capabilities:
Encrypt data using curve25519

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1b0
lea rsi, [rsp + 0xd0]
mov rdi, rcx
mov rcx, rdx
mov edx, 0x20
mov r8, rsi
lea rbp, [rsp + 0x40]
lea r12, [rsp + 0x70]
call fcn.00596ce0
movzx eax, byte [rsp + 0xef]
mov rdx, rsi
lea rbx, [rsp + 0x110]
mov rcx, rbx
and byte [rsp + 0xd0], 0xf8
and eax, 0x3f
or eax, 0x40
mov byte [rsp + 0xef], al
call fcn.00618e40
lea rdx, [rbx + 0x50]
mov rcx, rbp
call fcn.00615c40
mov r8, rbp
mov rdx, rbx
mov rcx, r12
call fcn.00614f30
lea rdx, [rbx + 0x28]
mov r8, rbp
lea rbx, [rsp + 0xa0]
mov rcx, rbx
call fcn.00614f30
mov rdx, rbx
mov rcx, rdi
call fcn.00614cf0
lea rcx, [rsp + 0x20]
mov rdx, r12
call fcn.00614cf0
movzx eax, byte [rsp + 0x20]
mov edx, 0x40
mov rcx, rsi
and eax, 1
shl eax, 7
xor byte [rdi + 0x1f], al
call fcn.005c43c0
nop
add rsp, 0x1b0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x61ccc0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x178
movdqu xmm2, xmmword [rdx + 0x10]
movdqu xmm1, xmmword [rdx]
movaps xmmword [rsp + 0x30], xmm2
movzx eax, byte [rsp + 0x3f]
mov rsi, rcx
lea rdi, [rsp + 0x20]
lea rcx, [rsp + 0xd0]
mov rdx, rdi
movaps xmmword [rsp + 0x20], xmm1
lea rbp, [rsp + 0xa0]
and eax, 0x7f
and byte [rsp + 0x20], 0xf8
lea rbx, [rsp + 0x40]
or eax, 0x40
mov byte [rsp + 0x3f], al
call fcn.00618e40
mov r8d, dword [rsp + 0x118]
movdqu xmm0, xmmword [rsp + 0xf8]
paddd xmm0, xmmword [rsp + 0x120]
mov edx, dword [rsp + 0x140]
movdqu xmm3, xmmword [rsp + 0xf8]
mov ecx, dword [rsp + 0x11c]
movaps xmmword [rsp + 0x40], xmm0
lea eax, [rdx + r8]
sub edx, r8d
movdqu xmm0, xmmword [rsp + 0x108]
paddd xmm0, xmmword [rsp + 0x130]
mov dword [rsp + 0x60], eax
movdqu xmm4, xmmword [rsp + 0x108]
mov eax, dword [rsp + 0x144]
mov dword [rsp + 0x90], edx
lea rdx, [rsp + 0x70]
movaps xmmword [rsp + 0x50], xmm0
movdqa xmm0, xmmword [rsp + 0x120]
lea r9d, [rax + rcx]
sub eax, ecx
mov rcx, rbp
psubd xmm0, xmm3
mov dword [rsp + 0x64], r9d
movaps xmmword [rsp + 0x70], xmm0
movdqa xmm0, xmmword [rsp + 0x130]
mov dword [rsp + 0x94], eax
psubd xmm0, xmm4
movaps xmmword [rsp + 0x80], xmm0
call fcn.00615c40
mov r8, rbp
mov rdx, rbx
mov rcx, rbx
call fcn.00614f30
mov rdx, rbx
mov rcx, rsi
call fcn.00614cf0
mov edx, 0x20
mov rcx, rdi
call fcn.005c43c0
nop
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x65bec0
Capabilities:
Encode data using base64

Disassembly:
push rbx
lea r11, [0x008f1ba0]
mov rbx, rdx
test rcx, rcx
je 0x65bedf
test byte [rcx + 0x5c], 2
lea rax, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
cmovne r11, rax
test r9d, r9d
jle 0x65bfc3
xor eax, eax
jmp 0x65bf4a
movzx edx, byte [r8 + 1]
mov rbx, r10
add r8, 3
shl edx, 8
or edx, ecx
movzx ecx, byte [r8 - 1]
or edx, ecx
mov ecx, edx
shr ecx, 0x12
movzx ecx, byte [r11 + rcx]
mov byte [r10 - 4], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [r11 + rcx]
mov byte [r10 - 3], cl
mov ecx, edx
and edx, 0x3f
shr ecx, 6
and ecx, 0x3f
movzx ecx, byte [r11 + rcx]
mov byte [r10 - 2], cl
movzx edx, byte [r11 + rdx]
mov byte [r10 - 1], dl
sub r9d, 3
je 0x65bf86
movzx edx, byte [r8]
lea r10, [rbx + 4]
add eax, 4
shl edx, 0x10
mov ecx, edx
cmp r9d, 2
jg 0x65bef0
je 0x65bf90
shr edx, 0x12
shr ecx, 0xc
movzx edx, byte [r11 + rdx]
and ecx, 0x30
mov byte [rbx], dl
movzx edx, byte [r11 + rcx]
mov byte [rbx + 1], dl
mov edx, 0x3d
mov byte [rbx + 2], dl
mov byte [rbx + 3], 0x3d
mov byte [r10], 0
pop rbx
ret
movzx edx, byte [r8 + 1]
shl edx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
movzx ecx, byte [r11 + rcx]
mov byte [rbx], cl
mov ecx, edx
shr edx, 6
shr ecx, 0xc
and edx, 0x3c
and ecx, 0x3f
movzx ecx, byte [r11 + rcx]
mov byte [rbx + 1], cl
movzx edx, byte [r11 + rdx]
jmp 0x65bf7f
mov r10, rbx
xor eax, eax
mov byte [r10], 0
pop rbx
ret
Function at 0x65c090
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov ebp, dword [rsp + 0x90]
mov rdi, rcx
mov rsi, rdx
mov r13, r8
mov r12, r9
mov dword [r8], 0
test ebp, ebp
jle 0x65c270
mov ebx, dword [rcx + 4]
cmp ebx, 0x50
jg 0x65c314
movsxd rax, dword [rcx]
sub ebx, eax
cmp ebx, ebp
jg 0x65c2e0
xor r14d, r14d
test eax, eax
jne 0x65c274
lea r10, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
lea r9, [0x008f1ba0]
test byte [rdi + 0x5c], 2
mov rcx, r9
cmovne rcx, r10
test ebx, ebx
jle 0x65c245
mov r11, rsi
mov r15, r12
xor r8d, r8d
jmp 0x65c174
movzx r11d, byte [r15 + 1]
add r15, 3
shl r11d, 8
or edx, r11d
movzx r11d, byte [r15 - 1]
or edx, r11d
mov r11d, edx
shr r11d, 0x12
movzx r11d, byte [rcx + r11]
mov byte [rax - 4], r11b
mov r11d, edx
shr r11d, 0xc
and r11d, 0x3f
movzx r11d, byte [rcx + r11]
mov byte [rax - 3], r11b
mov r11d, edx
and edx, 0x3f
shr r11d, 6
and r11d, 0x3f
movzx r11d, byte [rcx + r11]
mov byte [rax - 2], r11b
movzx edx, byte [rcx + rdx]
mov r11, rax
mov byte [rax - 1], dl
sub ebx, 3
je 0x65c1b6
movzx edx, byte [r15]
lea rax, [r11 + 4]
add r8d, 4
shl edx, 0x10
cmp ebx, 2
jg 0x65c112
je 0x65c210
mov ebx, edx
shr edx, 0xc
shr ebx, 0x12
and edx, 0x30
movzx ebx, byte [rcx + rbx]
mov byte [r11], bl
movzx edx, byte [rcx + rdx]
mov byte [r11 + 1], dl
mov edx, 0x3d
mov byte [r11 + 2], dl
mov byte [r11 + 3], 0x3d
movsxd r8, r8d
add rsi, r8
add r14, r8
mov byte [rax], 0
movsxd rdx, dword [rdi + 4]
add r12, rdx
sub ebp, edx
test byte [rdi + 0x5c], 1
jne 0x65c1dc
mov byte [rsi], 0xa
add r14, 1
add rsi, 1
mov byte [rsi], 0
mov ebx, dword [rdi + 4]
cmp ebx, ebp
jg 0x65c250
cmp r14, 0x7fffffff
jbe 0x65c0f4
mov dword [r13], 0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movzx ebx, byte [r15 + 1]
shl ebx, 8
or edx, ebx
mov ebx, edx
shr ebx, 0x12
movzx ebx, byte [rcx + rbx]
mov byte [r11], bl
mov ebx, edx
shr edx, 6
shr ebx, 0xc
and edx, 0x3c
and ebx, 0x3f
movzx ebx, byte [rcx + rbx]
mov byte [r11 + 1], bl
movzx edx, byte [rcx + rdx]
jmp 0x65c1ad
mov rax, rsi
jmp 0x65c1bf
cmp r14, 0x7fffffff
ja 0x65c1f3
test ebp, ebp
jne 0x65c300
mov dword [rdi], ebp
mov eax, 1
mov dword [r13], r14d
jmp 0x65c1fd
xor eax, eax
jmp 0x65c1fd
movsxd r14, ebx
mov rdx, r9
lea rcx, [rcx + rax + 8]
sub ebp, ebx
mov r8, r14
add r12, r14
call sub.msvcrt.dll_memcpy
mov r9d, dword [rdi + 4]
mov rdx, rsi
lea r8, [rdi + 8]
mov rcx, rdi
call fcn.0065bec0
mov dword [rdi], 0
movsxd r14, eax
add rsi, r14
test byte [rdi + 0x5c], 1
jne 0x65c2bc
mov byte [rsi], 0xa
add r14, 1
add rsi, 1
mov byte [rsi], 0
mov ebx, dword [rdi + 4]
cmp ebp, ebx
jl 0x65c250
cmp r14, 0x7fffffff
jbe 0x65c0e6
jmp 0x65c1f3
lea rcx, [rcx + rax + 8]
movsxd r8, ebp
mov rdx, r9
call sub.msvcrt.dll_memcpy
add dword [rdi], ebp
mov eax, 1
jmp 0x65c1fd
lea rcx, [rdi + 8]
movsxd r8, ebp
mov rdx, r12
call sub.msvcrt.dll_memcpy
jmp 0x65c261
mov r8d, 0xab
lea rdx, str.crypto_evp_encode.c
lea rcx, str.assertion_failed:_ctx__length____int_sizeof_ctx__enc_data_
call fcn.0060c2b0
nop
nop
Function at 0x65c390
Capabilities:
Encode data using base64

Disassembly:
test r8d, r8d
jle 0x65c490
xor eax, eax
lea r10, [0x008f1ba0]
jmp 0x65c407
movzx ecx, byte [rdx + 1]
add rdx, 3
shl ecx, 8
or ecx, r9d
movzx r9d, byte [rdx - 1]
or ecx, r9d
mov r9d, ecx
shr r9d, 0x12
movzx r9d, byte [r10 + r9]
mov byte [r11 - 4], r9b
mov r9d, ecx
shr r9d, 0xc
and r9d, 0x3f
movzx r9d, byte [r10 + r9]
mov byte [r11 - 3], r9b
mov r9d, ecx
and ecx, 0x3f
shr r9d, 6
and r9d, 0x3f
movzx r9d, byte [r10 + r9]
mov byte [r11 - 2], r9b
movzx ecx, byte [r10 + rcx]
mov byte [r11 - 1], cl
mov rcx, r11
sub r8d, 3
je 0x65c448
movzx r9d, byte [rdx]
lea r11, [rcx + 4]
add eax, 4
shl r9d, 0x10
cmp r8d, 2
jg 0x65c3a4
je 0x65c450
mov edx, r9d
shr edx, 0x12
movzx edx, byte [r10 + rdx]
mov byte [rcx], dl
mov edx, r9d
shr edx, 0xc
and edx, 0x30
movzx edx, byte [r10 + rdx]
mov byte [rcx + 1], dl
mov edx, 0x3d
mov byte [rcx + 2], dl
mov byte [rcx + 3], 0x3d
mov byte [r11], 0
ret
movzx edx, byte [rdx + 1]
shl edx, 8
or edx, r9d
mov r8d, edx
shr r8d, 0x12
movzx r8d, byte [r10 + r8]
mov byte [rcx], r8b
mov r8d, edx
shr edx, 6
shr r8d, 0xc
and edx, 0x3c
and r8d, 0x3f
movzx r8d, byte [r10 + r8]
mov byte [rcx + 1], r8b
movzx edx, byte [r10 + rdx]
jmp 0x65c441
mov r11, rcx
xor eax, eax
mov byte [r11], 0
ret
Function at 0x6614d0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc8
mov r14, rcx
mov r12, rdx
mov qword [rsp + 0x120], r8
test r8, r8
je 0x6615eb
lea rax, [rsp + 0x30]
movzx edx, byte [rcx + 0xc]
lea rbp, [rcx + 0xc]
xor r13d, r13d
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x38]
movzx r8d, byte [rcx + 0x14]
lea rdi, [rcx + 0x14]
mov qword [rsp + 0x28], rax
lea rsi, [rsp + 0x40]
nop word [rax + rax]
and edx, 0xffffff9f
and r8d, 0xffffff9f
mov ebx, dword [r12 + r13]
mov r15d, dword [r12 + r13 + 4]
or r8d, 0x20
or edx, 0x40
mov rcx, rbp
add r13, 8
mov byte [r14 + 0x14], r8b
mov byte [r14 + 0xc], dl
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x3c], r15d
mov dword [rsp + 0x34], r15d
call fcn.006112c0
mov rdx, rsi
mov rcx, rbp
call fcn.00611440
mov rcx, qword [rsp + 0x20]
mov r8d, 1
mov rdx, rsi
call fcn.0060db50
mov rcx, rdi
call fcn.006112c0
mov rdx, rsi
mov rcx, rdi
call fcn.00611440
mov rcx, qword [rsp + 0x28]
mov r8d, 1
mov rdx, rsi
call fcn.0060db50
mov ecx, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x3c]
xor ecx, ebx
xor r8d, r15d
xor ebx, dword [rsp + 0x30]
xor r15d, dword [rsp + 0x34]
mov dword [r14 + 0x10], r8d
mov edx, ebx
mov r8d, ecx
mov dword [r14 + 0xc], ebx
mov dword [r14 + 0x14], ecx
mov dword [r14 + 0x18], r15d
cmp qword [rsp + 0x120], r13
ja 0x661530
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret