joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005ff89
Capabilities:
Receive data
Receive data on socket

Disassembly:
jmp 0x14005ff89
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r15, rdx
mov rbx, rcx
lea r12, [rsp + 0x3a]
lea r13, [rsp + 0x4a]
mov rbp, qword [rcx + 8]
mov r14, qword [r8 + 8]
mov rdi, qword [r8 + 0x10]
mov qword [rsp + 0x50], r8
mov rax, qword [r8]
add rax, rdi
mov qword [rsp + 0x68], rax
mov rcx, r14
sub rcx, rdi
mov eax, 0x7fffffff
cmp rcx, rax
cmovae rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x70], rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x28], r14
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov r8, r15
xor r9d, r9d
call fcn.14005fd36
mov al, byte [rsp + 0x39]
cmp al, 3
je 0x140060120
mov rsi, qword [rsp + 0x30]
cmp al, 2
je 0x140060158
mov cl, byte [rsp + 0x38]
movzx edx, word [r12 + 4]
mov word [r13 + 4], dx
mov edx, dword [r12]
mov dword [r13], edx
mov qword [rsp + 0x40], rsi
mov byte [rsp + 0x48], cl
mov byte [rsp + 0x49], al
cmp r14, rdi
jb 0x14006016e
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x14006016e
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x140060127
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
je 0x14006012c
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call fcn.1400297ef
cmp al, 0xd
jne 0x1400600fa
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400600fa
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x14006016e
mov r14, rbp
mov rbp, rbx
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call case.0x140015c7a.89
mov rbx, rax
xor ecx, ecx
call fcn.140003f7a
test rbx, rbx
je 0x1400600ef
mov ecx, 1
mov rdx, rsi
call fcn.140004063
mov rsi, rbx
mov rbx, rbp
mov rbp, r14
mov r14, qword [rsp + 0x28]
mov rcx, rsi
call fcn.14005c0f1
cmp al, 0xd
jne 0x140060158
mov rcx, rbx
lea rdx, [rsp + 0x40]
call fcn.14005f7c1
mov rcx, rsi
call fcn.1400038a6
jmp 0x14005fff3
mov eax, 1
jmp 0x14006015a
movsxd r8, eax
jmp 0x14006012f
xor r8d, r8d
lea rax, [rdi + r8]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdx + 0x18]
cmp rax, rcx
jbe 0x140060148
mov qword [rdx + 0x18], rax
mov rcx, rax
add rdi, r8
jb 0x14006016e
cmp rcx, rax
jb 0x14006016e
mov qword [rdx + 0x10], rax
xor esi, esi
xor eax, eax
mov rdx, rsi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x140060172
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rbp, r9
mov rbx, r8
mov r14, rdx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0xd0]
lea r15, [rsp + 0x4a]
lea r13, [rsp + 0x5a]
mov rdi, qword [rdx + 8]
mov r12, qword [rdx + 0x10]
mov ecx, 0x7fffffff
cmp rax, rcx
cmovb rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rdx + 0x18]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x40]
mov rdx, rdi
mov r8, rbx
call fcn.14005ff3a
mov al, byte [rsp + 0x49]
cmp al, 3
je 0x1400602e6
mov rcx, qword [rsp + 0x40]
cmp al, 2
je 0x1400602f4
mov dl, byte [rsp + 0x48]
movzx r8d, word [r15 + 4]
mov word [r13 + 4], r8w
mov r8d, dword [r15]
mov dword [r13], r8d
mov qword [rsp + 0x50], rcx
mov byte [rsp + 0x58], dl
mov byte [rsp + 0x59], al
cmp r12, 0xffffffffffffffff
je 0x140060335
mov rcx, r12
mov rdx, rbp
mov r8, qword [rsp + 0x60]
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
jne 0x140060302
call fcn.140057aaa
mov rsi, rax
mov rcx, rax
call fcn.1400297ef
cmp al, 0xd
jne 0x1400602c0
cmp qword [rsp + 0x38], 0
je 0x1400602c0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x140060335
mov rdi, r12
mov r12, r14
mov r14, r15
mov r15, rbx
mov rbx, rbp
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call case.0x140015c7a.89
mov rbp, rax
xor ecx, ecx
call fcn.140003f7a
test rbp, rbp
je 0x1400602ac
mov ecx, 1
mov rdx, rsi
call fcn.140004063
mov rsi, rbp
mov rbp, rbx
mov rbx, r15
mov r15, r14
mov r14, r12
mov r12, rdi
mov rdi, qword [rsp + 0x30]
mov rcx, rsi
call fcn.14005c0f1
cmp al, 0xd
jne 0x140060314
mov rcx, r14
lea rdx, [rsp + 0x50]
call fcn.14005f7c1
mov rcx, rsi
call fcn.1400038a6
jmp 0x1400601c9
mov rax, qword [rsp + 0x28]
mov qword [rax], 2
jmp 0x140060324
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
jmp 0x14006030e
movsxd rcx, eax
mov rax, qword [rsp + 0x28]
and qword [rax], 0
mov qword [rax + 8], rcx
jmp 0x140060324
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x140060339
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rdi, r9
mov rbp, r8
mov r14, rdx
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x100]
lea r15, [rsp + 0x52]
lea r13, [rsp + 0x72]
mov rbx, qword [rdx + 8]
mov r12, qword [rdx + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovb rcx, rax
mov qword [rsp + 0x78], rcx
mov rax, qword [rdx + 0x18]
mov qword [rsp + 0x60], rax
lea rsi, [rsp + 0x48]
xorps xmm6, xmm6
mov qword [rsp + 0x58], rbx
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
mov r9b, 1
call fcn.14005fd36
mov al, byte [rsp + 0x51]
cmp al, 3
je 0x1400604d5
mov rcx, qword [rsp + 0x48]
cmp al, 2
je 0x1400604e3
mov dl, byte [rsp + 0x50]
movzx r8d, word [r15 + 4]
mov word [r13 + 4], r8w
mov r8d, dword [r15]
mov dword [r13], r8d
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x70], dl
mov byte [rsp + 0x71], al
cmp r12, 0xffffffffffffffff
je 0x140060530
and dword [rsp + 0x48], 0
movups xmmword [rsp + 0x28], xmm6
and dword [rsp + 0x20], 0
mov rcx, r12
mov rdx, rdi
mov r8, qword [rsp + 0x78]
mov r9, rsi
call qword [sym.imp.ws2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x1400604f1
call fcn.140057aaa
mov rsi, rax
mov rcx, rax
call fcn.1400297ef
cmp al, 0xd
jne 0x1400604aa
cmp qword [rsp + 0x60], 0
je 0x1400604aa
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x140060530
mov rbx, r12
mov r12, r14
mov r14, r15
mov r15, rbp
mov rbp, rdi
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call case.0x140015c7a.89
mov rdi, rax
xor ecx, ecx
call fcn.140003f7a
test rdi, rdi
je 0x140060496
mov ecx, 1
mov rdx, rsi
call fcn.140004063
mov rsi, rdi
mov rdi, rbp
mov rbp, r15
mov r15, r14
mov r14, r12
mov r12, rbx
mov rbx, qword [rsp + 0x58]
mov rcx, rsi
call fcn.14005c0f1
cmp al, 0xd
jne 0x140060504
mov rcx, r14
lea rdx, [rsp + 0x68]
call fcn.14005f7c1
mov rcx, rsi
call fcn.1400038a6
lea rsi, [rsp + 0x48]
jmp 0x1400603a3
mov rax, qword [rsp + 0x40]
mov qword [rax], 2
jmp 0x140060514
mov rax, qword [rsp + 0x40]
mov qword [rax], 1
jmp 0x1400604fe
mov ecx, dword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
and qword [rax], 0
mov qword [rax + 8], rcx
jmp 0x140060514
mov rax, qword [rsp + 0x40]
mov qword [rax], 1
mov qword [rax + 8], rsi
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x140068040
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [r9 - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [r10 - 1]
vmovups xmm15, xmmword [r9 - 0x70]
lea r12, [r9 - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x140068160
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x1400680a0
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x1400680a0
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rcx]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rcx + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rcx + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rcx + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rcx + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rcx + 0x50]
lea rcx, [rcx + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rdx], xmm9
vmovups xmmword [rdx + 0x10], xmm10
vmovups xmmword [rdx + 0x20], xmm11
vmovups xmmword [rdx + 0x30], xmm12
vmovups xmmword [rdx + 0x40], xmm13
vmovups xmmword [rdx + 0x50], xmm14
lea rdx, [rdx + 0x60]
ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x1400680a0
Function at 0x14006a1bd
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
mov rcx, r9
mov r8, qword [rsp + 0x28]
xchg rcx, rdx
test rcx, rcx
je 0x14006a331
lea rsp, [rsp - 0xb8]
movaps xmmword [rsp + 0x10], xmm6
movaps xmmword [rsp + 0x20], xmm7
movaps xmmword [rsp + 0x30], xmm8
movaps xmmword [rsp + 0x40], xmm9
movaps xmmword [rsp + 0x50], xmm10
movaps xmmword [rsp + 0x60], xmm11
movaps xmmword [rsp + 0x70], xmm12
movaps xmmword [rsp + 0x80], xmm13
movaps xmmword [rsp + 0x90], xmm14
movaps xmmword [rsp + 0xa0], xmm15
movdqu xmm0, xmmword [r8]
movdqa xmm8, xmmword [0x1400ad420]
sub rsi, rdi
call fcn.14006a340
movdqa xmm6, xmm0
pshufb xmm6, xmmword [0x1400ad410]
test rcx, 1
je 0x14006a27a
movdqu xmm7, xmmword [rdi]
call fcn.1400699c0
pxor xmm0, xmm7
paddd xmm6, xmm8
movdqu xmmword [rsi + rdi], xmm0
sub rcx, 1
lea rdi, [rdi + 0x10]
je 0x14006a2e6
movdqa xmm14, xmm6
movdqa xmm15, xmm6
paddd xmm15, xmm8
movdqa xmm1, xmmword [0x1400ad410]
movdqa xmm0, xmm14
movdqa xmm6, xmm15
pshufb xmm0, xmm1
pshufb xmm6, xmm1
call fcn.140069b20
movdqu xmm1, xmmword [rdi]
movdqu xmm2, xmmword [rdi + 0x10]
movdqa xmm3, xmmword [0x1400ad430]
pxor xmm0, xmm1
pxor xmm6, xmm2
paddd xmm14, xmm3
paddd xmm15, xmm3
movdqu xmmword [rsi + rdi], xmm0
movdqu xmmword [rsi + rdi + 0x10], xmm6
sub rcx, 2
lea rdi, [rdi + 0x20]
jne 0x14006a289
movaps xmm6, xmmword [rsp + 0x10]
movaps xmm7, xmmword [rsp + 0x20]
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm10, xmmword [rsp + 0x50]
movaps xmm11, xmmword [rsp + 0x60]
movaps xmm12, xmmword [rsp + 0x70]
movaps xmm13, xmmword [rsp + 0x80]
movaps xmm14, xmmword [rsp + 0x90]
movaps xmm15, xmmword [rsp + 0xa0]
lea rsp, [rsp + 0xb8]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
ret

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

Disassembly:
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 fcn.14006a690
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
ret
Function at 0x14006a79a
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, 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
aesenc xmm8, xmm0
aesenc xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006a770
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
aesenclast xmm8, xmm0
aesenclast xmm9, xmm0
ret
Function at 0x14006b7c0
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r8, 0xd
jne 0x14006b86e
mov r10, qword [rcx]
mov r11, qword [rcx + 5]
shr r11, 0x18
mov r12d, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
ret
cmp r8, 0x10
jb 0x14006b919
add r10, qword [rcx]
adc r11, qword [rcx + 8]
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
lea rcx, [rcx + 0x10]
sub r8, 0x10
jmp 0x14006b86e
cmp r8, 0
je 0x14006b9df
xor r13, r13
xor r14, r14
xor r15, r15
add rcx, r8
shld r14, r13, 8
shl r13, 8
movzx r15, byte [rcx - 1]
xor r13, r15
dec rcx
dec r8
jne 0x14006b92f
add r10, r13
adc r11, r14
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
ret
Function at 0x140086130
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rsi, rcx
mov rdi, rdx
mov r15d, 8
sub rsi, r8
mov rbx, r8
mov rdx, r8
mov r8d, r15d
mov r14, rcx
mov rax, qword [rsi + rdx]
xor qword [rdx], rax
add rdx, r15
sub r8, 1
jne 0x140086163
cmp rdi, 1
jbe 0x1400861b6
add rsi, 0x40
lea rbp, [rdi - 1]
mov rcx, rbx
call fcn.140086a3c
mov rcx, rbx
call fcn.140086938
call fcn.140086440
mov rcx, rbx
mov rdx, r15
mov rax, qword [rsi + rcx]
xor qword [rcx], rax
add rcx, r15
sub rdx, 1
jne 0x14008619c
add rsi, 0x40
sub rbp, 1
jne 0x140086181
mov rcx, rbx
call fcn.140086a3c
mov rcx, rbx
call fcn.140086938
shl rdi, 6
mov rcx, r15
sub rdi, rbx
lea rdx, [rdi + r14]
mov rax, qword [rdx + rbx]
xor qword [rbx], rax
add rbx, r15
sub rcx, 1
jne 0x1400861d4
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140086294
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1400e6058]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [r8]
mov rsi, rcx
lea rcx, [rsp + 0x30]
movups xmm1, xmmword [r8 + 0x10]
mov rdi, rdx
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [r8 + 0x20]
movaps xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [r8 + 0x30]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
call fcn.140086e10
xor ebx, ebx
test rdi, rdi
je 0x14008641b
mov r14d, 0xffff0000
movabs r15, 0xff000000ff00
movabs r12, 0xf000f000f000f0
mov r9, qword [rsp + rbx*8 + 0x50]
mov r8, qword [rsp + rbx*8 + 0x30]
mov rdx, r9
shl rdx, 0x20
mov eax, r8d
or rdx, rax
shr r8, 0x20
mov rcx, rdx
shr rcx, 0x10
xor rcx, rdx
and rcx, r14
mov rax, rcx
shl rax, 0x10
xor rax, rcx
xor rdx, rax
mov rcx, rdx
shr rcx, 8
xor rcx, rdx
and rcx, r15
mov rax, rcx
shl rax, 8
xor rax, rcx
xor rdx, rax
mov rcx, rdx
shr rcx, 4
xor rcx, rdx
and rcx, r12
mov rax, rcx
shl rax, 4
xor rax, rcx
xor rax, rdx
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
movabs rax, 0xffffffff00000000
and r9, rax
or r9, r8
mov r8d, 8
mov rcx, r9
shr rcx, 0x10
xor rcx, r9
and rcx, r14
mov rax, rcx
shl rax, 0x10
xor rax, rcx
xor r9, rax
mov rcx, r9
shr rcx, 8
xor rcx, r9
and rcx, r15
mov rax, rcx
shl rax, 8
xor rax, rcx
xor r9, rax
mov rcx, r9
shr rcx, 4
xor rcx, r9
and rcx, r12
mov rax, rcx
shl rax, 4
xor rax, rcx
mov rcx, rsi
xor rax, r9
mov qword [rsp + 0x28], rax
call fcn.1400904c0
lea rcx, [rsi + 8]
mov r8d, 8
lea rdx, [rsp + 0x28]
call fcn.1400904c0
inc rbx
add rsi, 0x10
cmp rbx, rdi
jb 0x140086313
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14008fa10
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400866b4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rcx
mov dword [rcx + 0xf0], 0xa
lea rcx, [rsp + 0x20]
call fcn.140086030
mov r8d, 0x10
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400904c0
add rbx, 0x10
mov edi, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400869b0
lea rax, [0x1400ad580]
xor r9d, r9d
movzx r10d, byte [rdi + rax - 1]
mov rdx, qword [rsp + r9*8 + 0x30]
mov cl, r9b
shl cl, 2
mov rax, rdx
shr rax, 0x10
mov r8, r10
shr r8, cl
movabs rcx, 0xf000000000000
and r8d, 0xf
and rdx, rcx
or rax, rdx
shr rax, 0x24
xor r8, rax
xor r8, qword [rsp + r9*8 + 0x20]
mov rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
mov qword [rsp + r9*8 + 0x20], rax
inc r9
cmp r9, 2
jb 0x140086710
mov r8d, 0x10
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400904c0
inc rdi
add rbx, 0x10
cmp rdi, 0xa
jbe 0x1400866f1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400867a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rdi, rcx
mov dword [rcx + 0xf0], 0xe
lea rcx, [rbp - 0x30]
mov rbx, rdx
call fcn.140086030
mov esi, 0x10
lea rdx, [rbp - 0x30]
mov r8d, esi
mov rcx, rdi
call fcn.1400904c0
lea rdx, [rbx + 0x10]
lea rcx, [rbp - 0x20]
call fcn.140086030
lea rcx, [rdi + 0x10]
mov r8d, esi
lea rdx, [rbp - 0x20]
call fcn.1400904c0
add rdi, 0x20
lea ebx, [rsi - 0xe]
lea r14d, [rsi + 0x10]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x10]
call fcn.1400869b0
mov rax, rbx
lea rcx, [0x1400ad580]
shr rax, 1
xor r9d, r9d
movzx r10d, byte [rax + rcx - 1]
mov rdx, qword [rbp + r9*8 - 0x10]
mov cl, r9b
shl cl, 2
mov rax, rdx
shr rax, 0x10
mov r8, r10
shr r8, cl
movabs rcx, 0xf000000000000
and r8d, 0xf
and rdx, rcx
or rax, rdx
shr rax, 0x24
xor r8, rax
xor r8, qword [rbp + r9*8 - 0x30]
mov rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
mov qword [rbp + r9*8 - 0x30], rax
inc r9
cmp r9, 2
jb 0x140086833
mov r8, rsi
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.1400904c0
cmp rbx, 0xe
je 0x14008691b
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x10]
call fcn.1400869b0
movdqu xmm0, xmmword [rbp - 0x20]
mov eax, 0x30
lea rcx, [rdi + 0x10]
movdqu xmm4, xmmword [rbp - 0x10]
mov r8, rsi
lea rdx, [rbp - 0x20]
movq xmm3, rax
psrlq xmm4, xmm3
xorps xmm4, xmm0
movq xmm0, rsi
movdqa xmm2, xmm4
movdqa xmm1, xmm4
psllq xmm2, xmm0
movq xmm0, r14
xorps xmm2, xmm4
psllq xmm1, xmm0
psllq xmm4, xmm3
xorps xmm2, xmm1
xorps xmm2, xmm4
movdqu xmmword [rbp - 0x20], xmm2
call fcn.1400904c0
add rbx, 2
add rdi, r14
cmp rbx, 0xe
jbe 0x140086810
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
Function at 0x140086f4c
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14008713c
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x1400e6058]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov r14, qword [rbp + 0x430]
mov r12, rdx
mov r15, rcx
mov qword [rsp + 0x30], r9
mov rdx, r9
lea rcx, [rbp - 0x80]
mov rsi, r8
call fcn.140086200
lea rbx, [rbp + 0x340]
mov edi, 4
mov r8d, 0x10
mov rdx, r14
mov rcx, rbx
call fcn.1400904c0
add rbx, 0x10
sub rdi, 1
jne 0x140086fb2
lea r13d, [rdi + 4]
mov r8d, r13d
lea rdx, [rbp + 0x34c]
lea rcx, [rsp + 0x20]
call fcn.1400904c0
mov r14d, dword [rsp + 0x20]
lea rax, [rbp + 0x380]
sub r15, rax
lea rax, [rbp + 0x380]
sub r12, rax
bswap r14d
xor ebx, ebx
lea rdi, [rbp + 0x34c]
lea eax, [rbx + r14]
mov r8, r13
bswap eax
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
mov rcx, rdi
call fcn.1400904c0
inc rbx
add rdi, 0x10
cmp rbx, r13
jb 0x14008700a
mov r13, qword [rsp + 0x30]
lea rdx, [rbp + 0x340]
mov edi, 4
lea rcx, [rsp + 0x40]
cmp rsi, rdi
mov rbx, rsi
cmovae rbx, rdi
mov r8, rbx
mov qword [rsp + 0x20], rbx
call fcn.140086d98
mov edx, dword [r13 + 0xf0]
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140086130
lea r8, [rsp + 0x40]
mov rdx, rbx
lea rcx, [rbp + 0x380]
call fcn.140086294
test rbx, rbx
je 0x1400870f8
lea rdi, [rbp + 0x380]
mov r13, rbx
mov ebx, 2
lea rdx, [r15 + rdi]
mov r8d, 8
lea rcx, [rsp + 0x28]
call fcn.1400904c0
mov r8d, 8
lea rcx, [rsp + 0x38]
mov rdx, rdi
call fcn.1400904c0
mov rax, qword [rsp + 0x38]
lea rcx, [r12 + rdi]
xor qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1400904c0
add rdi, 8
sub rbx, 1
jne 0x14008709a
sub r13, 1
jne 0x140087095
mov rbx, qword [rsp + 0x20]
lea edi, [r13 + 4]
sub rsi, rbx
je 0x140087113
add r15, 0x40
add r12, 0x40
add r14d, edi
mov r13d, 4
jmp 0x140087001
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.14008fa10
mov rbx, qword [rsp + 0x520]
add rsp, 0x4d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140089cec
Capabilities:
Encrypt data using curve25519

Disassembly:
mov al, byte [rcx + 0x1f]
and byte [rcx], 0xf8
and al, 0x3f
or al, 0x40
mov byte [rcx + 0x1f], al
ret