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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x18028f9a8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov edx, 0x40
lea rcx, [rsp + 0x28]
call fcn.1800360e0
nop
mov rax, rsi
shl rax, 7
lea rdx, [r12 - 0x40]
add rdx, rax
mov r8d, 0x40
mov rbp, qword [rsp + 0x28]
mov rcx, rbp
call fcn.1801a4560
test rsi, rsi
je 0x18009b4b1
mov rbx, r15
mov rdi, r12
sub rdi, r15
lea r14, [rsi + rsi]
nop
lea r8, [rdi + rbx]
mov rax, rbp
mov r9d, 4
nop dword [rax]
mov rdx, qword [rax]
xor rdx, qword [r8]
mov rcx, qword [rax + 8]
xor rcx, qword [r8 + 8]
mov qword [rax], rdx
mov qword [rax + 8], rcx
lea rax, [rax + 0x10]
lea r8, [r8 + 0x10]
sub r9, 1
jne 0x18009b3d0
movups xmm0, xmmword [rbp]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp + 0x10]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rbp + 0x20]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rbp + 0x30]
movups xmmword [rsp + 0x70], xmm1
lea r8d, [r9 + 8]
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.180102a20
mov r8d, 0x40
mov rdx, rbp
mov rcx, rbx
call fcn.1801a4560
add rbx, 0x40
sub r14, 1
jne 0x18009b3c0
test rsi, rsi
je 0x18009b4b1
mov rbx, r12
mov rdi, r15
mov r14, rsi
nop word [rax + rax]
mov r8d, 0x40
mov rdx, rdi
mov rcx, rbx
call fcn.1801a4560
sub rdi, 0xffffffffffffff80
add rbx, 0x40
sub r14, 1
jne 0x18009b460
test rsi, rsi
je 0x18009b4b1
mov rbx, rsi
shl rbx, 6
add rbx, r12
lea rdi, [r15 + 0x40]
mov r8d, 0x40
mov rdx, rdi
mov rcx, rbx
call fcn.1801a4560
add rbx, 0x40
sub rdi, 0xffffffffffffff80
sub rsi, 1
jne 0x18009b492
test rbp, rbp
je 0x18009b4cd
mov rdx, qword [rsp + 0x38]
sub rdx, rbp
mov r8d, 1
mov rcx, rbp
call fcn.180033660
nop
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180186840
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18009b4f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x20
mov rbx, rcx
mov r15, r9
shl rbx, 7
mov rbp, r8
mov r13, rdx
mov r12, rcx
test rdx, rdx
je 0x18009b565
mov qword [rsp + 0x50], r14
mov rsi, rdx
mov r14, rbx
imul r14, r13
xor edi, edi
nop
test rbx, rbx
je 0x18009b546
mov rcx, qword [r15]
mov r8, rbx
add rcx, rdi
mov rdx, rbp
call fcn.1801a4560
mov r8, qword [r15]
mov rdx, rbp
add r8, r14
mov rcx, r12
call fcn.18009b340
add rdi, rbx
sub rsi, 1
jne 0x18009b530
mov r14, qword [rsp + 0x50]
test r13, r13
je 0x18009b60c
mov rdi, rbx
lea rsi, [r13 - 1]
imul rdi, r13
nop dword [rax]
mov r8d, dword [rbx + rbp - 0x40]
mov r9, rbx
and r8, rsi
mov rax, rbp
imul r8, rbx
add r8, qword [r15]
cmp rbx, 0x10
jb 0x18009b5d0
mov r10, rbx
shr r10, 4
imul r9, r10, 0xfffffffffffffff0
add r9, rbx
nop dword [rax]
mov rdx, qword [r8 + 8]
xor rdx, qword [rax + 8]
mov rcx, qword [r8]
add r8, 0x10
xor qword [rax], rcx
mov qword [rax + 8], rdx
add rax, 0x10
sub r10, 1
jne 0x18009b5b0
test r9, r9
je 0x18009b5f1
sub r8, rax
nop dword [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub r9, 1
jne 0x18009b5e0
mov r8, qword [r15]
mov rdx, rbp
add r8, rdi
mov rcx, r12
call fcn.18009b340
sub r13, 1
jne 0x18009b580
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1800a1220
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rdi
push r14
mov rax, qword [rdx + 8]
xor edi, edi
sub rax, qword [rdx]
mov rbx, r8
mov r14, rdx
mov rbp, rcx
cmp rax, 4
jb 0x1800a13a7
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r12
mov r12, qword [rsp + 0x58]
mov qword [rsp + 0x38], r13
mov r13, qword [rsp + 0x48]
mov qword [rsp + 0x40], r15
mov r15, qword [rsp + 0x50]
test r15, r15
je 0x1800a129a
xor edx, edx
lea rax, [rdi + r12]
mov rcx, r15
shr rcx, 2
div rcx
mov eax, dword [r13 + rdx*4]
xor edx, edx
bswap eax
xor dword [rbx], eax
lea rax, [r12 + 1]
add rax, rdi
div rcx
mov eax, dword [r13 + rdx*4]
bswap eax
xor dword [r9], eax
xor esi, esi
nop dword [rax]
mov rax, qword [rbp + 0x20]
mov ecx, dword [rsi + rax]
xor dword [rbx], ecx
mov r10d, dword [rbx]
mov eax, r10d
mov r11, qword [rbp + 8]
shr rax, 0x10
movzx edx, al
mov eax, r10d
shr eax, 0x18
movzx ecx, al
mov eax, r10d
shr rax, 8
mov r8d, dword [r11 + rdx*4 + 0x400]
add r8d, dword [r11 + rcx*4]
movzx ecx, al
movzx eax, r10b
add eax, 0x300
xor r8d, dword [r11 + rcx*4 + 0x800]
add r8d, dword [r11 + rax*4]
xor dword [r9], r8d
mov rax, qword [rbp + 0x20]
mov r11d, dword [rsi + rax + 4]
add rsi, 8
xor r11d, dword [r9]
mov dword [r9], r11d
mov eax, r11d
mov r10, qword [rbp + 8]
shr eax, 0x10
movzx edx, al
mov eax, r11d
shr eax, 0x18
movzx ecx, al
mov eax, r11d
shr eax, 8
mov r8d, dword [r10 + rdx*4 + 0x400]
add r8d, dword [r10 + rcx*4]
movzx ecx, al
movzx eax, r11b
add eax, 0x300
xor r8d, dword [r10 + rcx*4 + 0x800]
add r8d, dword [r10 + rax*4]
xor dword [rbx], r8d
cmp rsi, 0x40
jne 0x1800a12a0
mov rax, qword [rbp + 0x20]
mov edx, dword [r9]
mov ecx, dword [rax + 0x40]
xor ecx, dword [rbx]
mov dword [r9], ecx
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x44]
xor ecx, edx
mov dword [rbx], ecx
mov rax, qword [r14]
mov dword [rax + rdi*4], ecx
mov eax, dword [r9]
mov rcx, qword [r14]
mov dword [rcx + rdi*4 + 4], eax
add rdi, 2
mov rax, qword [r14 + 8]
sub rax, qword [r14]
sar rax, 2
cmp rdi, rax
jne 0x1800a1265
mov r15, qword [rsp + 0x40]
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
pop r14
pop rdi
pop rbp
pop rbx
ret
Function at 0x1800a13b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rbx, qword [rsp + 0x80]
mov rbp, r9
mov r11, r8
mov rsi, rdx
mov rdi, rcx
test bl, 3
jne 0x1800a14e6
mov qword [rsp + 0x60], r14
xor r10d, r10d
mov r9d, 2
nop
xor edx, edx
mov r8, qword [rdi + 0x20]
lea rax, [r9 - 2]
div r11
lea rax, [r9 - 1]
movzx ecx, byte [rdx + rsi]
xor edx, edx
div r11
shl ecx, 8
movzx eax, byte [rdx + rsi]
xor edx, edx
or ecx, eax
mov rax, r9
div r11
shl ecx, 8
movzx eax, byte [rdx + rsi]
xor edx, edx
or ecx, eax
lea rax, [r9 + 1]
div r11
shl ecx, 8
add r9, 4
movzx eax, byte [rdx + rsi]
or ecx, eax
xor dword [r8 + r10], ecx
add r10, 4
cmp r10, 0x48
jne 0x1800a13f0
test rbx, rbx
je 0x1800a1463
mov rcx, rbx
xor edx, edx
shr rcx, 2
mov eax, 0x12
div rcx
mov rsi, rdx
jmp 0x1800a1465
xor esi, esi
mov qword [rsp + 0x30], 0
lea r9, [rsp + 0x80]
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x40]
lea rdx, [rdi + 0x20]
mov qword [rsp + 0x20], rbp
mov rcx, rdi
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x80], 0
call fcn.1800a1220
mov qword [rsp + 0x30], rsi
lea rdx, [rdi + 8]
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov rcx, rdi
call fcn.1800a1220
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
lea r9, str.gold
mov dword [rsp + 0x20], 0x14a
lea r8, [0x1801fb1c0]
lea rdx, [0x1801e63c8]
lea rcx, str.salt_length___4__0
call fcn.180043540
int3

Function at 0x1800a1510
Capabilities:
Encrypt data using blowfish

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
mov rbp, rcx
mov edx, 0x12
add rcx, 0x20
mov rdi, r8
call fcn.180039a60
mov rcx, qword [rbp + 0x20]
lea rdx, [0x1801fa170]
mov r8d, 0x48
call fcn.1801a4560
mov edx, 0x400
lea rcx, [rbp + 8]
call fcn.180039a60
mov rcx, qword [rbp + 8]
lea rdx, [0x1801fa1c0]
mov r8d, 0x1000
call fcn.1801a4560
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.1800a13b0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1800a15b0
Capabilities:
Encrypt data using camellia

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov r10, rcx
lea r12, [0x1801ff200]
xor r10, rdx
mov rax, r10
shr rax, 0x38
movzx r15d, byte [rax + r12]
mov rax, r10
shr rax, 0x20
rol al, 1
movzx eax, al
movzx r14d, byte [rax + r12]
mov rax, r10
shr rax, 8
mov r8d, r14d
rol al, 1
xor r8, r15
movzx eax, al
movzx ebp, byte [rax + r12]
movzx eax, r10b
movzx esi, byte [rax + r12]
mov rax, r10
shr rax, 0x10
mov edi, esi
movzx ecx, al
xor rdi, rbp
xor rbp, r14
mov r11, rdi
movzx eax, byte [rcx + r12]
ror al, 1
movzx r9d, al
mov rax, r10
shr rax, 0x28
xor r11, r9
movzx ecx, al
movzx eax, byte [rcx + r12]
ror al, 1
movzx ebx, al
mov rax, r10
shr rax, 0x18
movzx ecx, al
shr r10, 0x30
movzx eax, byte [rcx + r12]
rol al, 1
movzx edx, al
movzx eax, r10b
xor rdi, rdx
xor rsi, rdx
xor rbp, rdx
xor rsi, r9
xor rbp, r9
movzx ecx, byte [rax + r12]
rol cl, 1
movzx r10d, cl
mov rcx, r11
xor rcx, rbx
mov eax, r10d
xor rax, rdi
xor rcx, r8
xor rax, r8
shl rcx, 8
or rcx, rax
mov eax, r15d
xor rax, r10
shl rcx, 8
xor rax, rbx
xor rax, rsi
or rcx, rax
mov eax, r10d
xor rax, rbx
shl rcx, 8
xor rax, rbp
or rcx, rax
mov eax, r15d
xor rax, r11
shl rcx, 8
xor rax, r10
xor r10, rbx
or rax, rcx
xor r10, rdi
shl rax, 8
or rax, r10
mov rdi, qword [rsp + 0x38]
xor r14, rbx
mov rbx, qword [rsp + 0x20]
xor r14, rsi
mov rsi, qword [rsp + 0x30]
xor r15, rbp
mov rbp, qword [rsp + 0x28]
shl rax, 8
or rax, r14
shl rax, 8
or rax, r15
pop r15
pop r14
pop r12
ret
Function at 0x1800a9b00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov r11d, dword [rcx]
lea rbp, [r8 + 0x78]
mov ebx, dword [rdx]
lea r15, [0x180000000]
mov rdi, rdx
mov rsi, rcx
mov r14d, 8
nop dword [rax]
nop dword [rax + rax]
mov r9d, dword [rbp + 4]
lea rbp, [rbp - 0x10]
xor r9d, ebx
mov r10d, ebx
ror r10d, 4
xor r10d, dword [rbp + 0x10]
mov eax, r10d
shr eax, 0x18
movzx edx, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, r10d
shr eax, 8
mov r8d, dword [r15 + rdx*4 + 0x211ae0]
xor r8d, dword [r15 + rcx*4 + 0x2122e0]
movzx ecx, al
mov eax, r9d
shr eax, 0x18
xor r8d, dword [r15 + rcx*4 + 0x212ae0]
movzx ecx, al
mov eax, r9d
shr eax, 0x10
xor r8d, dword [r15 + rcx*4 + 0x211ee0]
movzx ecx, al
mov eax, r9d
shr eax, 8
xor r8d, dword [r15 + rcx*4 + 0x2126e0]
movzx ecx, al
movzx eax, r9b
mov r9d, dword [rbp + 0xc]
xor r8d, dword [r15 + rcx*4 + 0x212ee0]
xor r8d, dword [r15 + rax*4 + 0x2136e0]
movzx eax, r10b
xor r8d, dword [r15 + rax*4 + 0x2132e0]
xor r11d, r8d
xor r9d, r11d
mov r10d, r11d
ror r10d, 4
xor r10d, dword [rbp + 8]
mov eax, r10d
shr eax, 0x18
movzx edx, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, r10d
shr eax, 8
mov r8d, dword [r15 + rdx*4 + 0x211ae0]
xor r8d, dword [r15 + rcx*4 + 0x2122e0]
movzx ecx, al
mov eax, r9d
shr eax, 0x18
xor r8d, dword [r15 + rcx*4 + 0x212ae0]
movzx ecx, al
mov eax, r9d
shr eax, 0x10
xor r8d, dword [r15 + rcx*4 + 0x211ee0]
movzx ecx, al
mov eax, r9d
shr eax, 8
xor r8d, dword [r15 + rcx*4 + 0x2126e0]
movzx ecx, al
movzx eax, r9b
xor r8d, dword [r15 + rcx*4 + 0x212ee0]
xor r8d, dword [r15 + rax*4 + 0x2136e0]
movzx eax, r10b
xor r8d, dword [r15 + rax*4 + 0x2132e0]
xor ebx, r8d
sub r14, 1
jne 0x1800a9b40
mov rbp, qword [rsp + 0x20]
mov dword [rsi], r11d
mov rsi, qword [rsp + 0x28]
mov dword [rdi], ebx
mov rbx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
Function at 0x1800a9f80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov r11d, dword [rcx]
lea r14, [r8 + 0xc]
mov ebx, dword [rdx]
lea r15, [0x180000000]
mov rdi, rdx
mov rsi, rcx
mov ebp, 8
nop dword [rax]
nop word [rax + rax]
mov r9d, dword [r14 - 8]
lea r14, [r14 + 0x10]
xor r9d, ebx
mov r10d, ebx
ror r10d, 4
xor r10d, dword [r14 - 0x1c]
mov eax, r10d
shr eax, 0x18
movzx edx, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, r10d
shr eax, 8
mov r8d, dword [r15 + rdx*4 + 0x211ae0]
xor r8d, dword [r15 + rcx*4 + 0x2122e0]
movzx ecx, al
mov eax, r9d
shr eax, 0x18
xor r8d, dword [r15 + rcx*4 + 0x212ae0]
movzx ecx, al
mov eax, r9d
shr eax, 0x10
xor r8d, dword [r15 + rcx*4 + 0x211ee0]
movzx ecx, al
mov eax, r9d
shr eax, 8
xor r8d, dword [r15 + rcx*4 + 0x2126e0]
movzx ecx, al
movzx eax, r9b
mov r9d, dword [r14 - 0x10]
xor r8d, dword [r15 + rcx*4 + 0x212ee0]
xor r8d, dword [r15 + rax*4 + 0x2136e0]
movzx eax, r10b
xor r8d, dword [r15 + rax*4 + 0x2132e0]
xor r11d, r8d
xor r9d, r11d
mov r10d, r11d
ror r10d, 4
xor r10d, dword [r14 - 0x14]
mov eax, r10d
shr eax, 0x18
movzx edx, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, r10d
shr eax, 8
mov r8d, dword [r15 + rdx*4 + 0x211ae0]
xor r8d, dword [r15 + rcx*4 + 0x2122e0]
movzx ecx, al
mov eax, r9d
shr eax, 0x18
xor r8d, dword [r15 + rcx*4 + 0x212ae0]
movzx ecx, al
mov eax, r9d
shr eax, 0x10
xor r8d, dword [r15 + rcx*4 + 0x211ee0]
movzx ecx, al
mov eax, r9d
shr eax, 8
xor r8d, dword [r15 + rcx*4 + 0x2126e0]
movzx ecx, al
movzx eax, r9b
xor r8d, dword [r15 + rcx*4 + 0x212ee0]
xor r8d, dword [r15 + rax*4 + 0x2136e0]
movzx eax, r10b
xor r8d, dword [r15 + rax*4 + 0x2132e0]
xor ebx, r8d
sub rbp, 1
jne 0x1800a9fc0
mov rbp, qword [rsp + 0x20]
mov dword [rsi], r11d
mov rsi, qword [rsp + 0x28]
mov dword [rdi], ebx
mov rbx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
Function at 0x1800ab3e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov rsi, rcx
cmp qword [rcx + 8], rax
jne 0x1800ab410
call fcn.180036630
test rdi, rdi
je 0x1800ab482
mov qword [rsp + 0x30], r15
sub r14, rbx
nop dword [rax]
mov r8, qword [rsi + 0x20]
lea rdx, [r14 + rbx]
mov r9d, 8
mov rcx, rbx
call fcn.180099de0
mov rax, qword [rsi + 0x38]
lea rcx, [rsi + 0x38]
mov r9d, 1
mov r8, rbx
mov rdx, rbx
call qword [rax + 0x48]
mov rdx, qword [rsi + 8]
mov r8d, 8
mov rax, rbx
nop word [rax + rax]
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
xor byte [rax], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x1800ab460
add rbx, 8
sub rdi, 1
jne 0x1800ab420
mov r15, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1800ab4a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov rsi, rcx
cmp qword [rcx + 8], rax
jne 0x1800ab4d0
call fcn.180036630
test rdi, rdi
je 0x1800ab542
mov qword [rsp + 0x30], r15
sub r14, rbx
nop dword [rax]
mov r8, qword [rsi + 8]
lea rdx, [r14 + rbx]
mov r9d, 8
mov rcx, rbx
call fcn.180099de0
mov rax, qword [rsi + 0x38]
lea rcx, [rsi + 0x38]
mov r9d, 1
mov r8, rbx
mov rdx, rbx
call qword [rax + 0x40]
mov rdx, qword [rsi + 0x20]
mov r8d, 8
mov rax, rbx
nop word [rax + rax]
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
xor byte [rax], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x1800ab520
add rbx, 8
sub rdi, 1
jne 0x1800ab4e0
mov r15, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1800ade70
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rbx, rdx
mov rsi, rcx
mov edx, 0x10
lea rcx, [rsp + 0x28]
call fcn.1800ad2d0
nop
mov rdi, qword [rsp + 0x28]
mov r8, rdi
sub r8, rbx
lea r9, [0x180202ee0]
sub r9, rbx
mov edx, 8
nop dword [rax]
movzx ecx, word [rbx]
rol cx, 8
mov word [r8 + rbx], cx
movzx eax, word [r9 + rbx]
xor ax, cx
mov word [r8 + rbx + 0x10], ax
lea rbx, [rbx + 2]
sub rdx, 1
jne 0x1800adec0
mov edx, 0x40
lea rcx, [rsi + 8]
call fcn.1800ad170
xor r8d, r8d
mov r9d, 1
nop dword [rax + rax]
lea rax, [r9 - 1]
and eax, 7
movzx ecx, word [rdi + rax*2]
rol cx, 2
mov rax, qword [rsi + 8]
mov word [r8 + rax], cx
lea rdx, [r9 + 1]
mov rax, rdx
and eax, 7
movzx ecx, word [rdi + rax*2 + 0x10]
rol cx, 1
mov rax, qword [rsi + 8]
mov word [rax + r8 + 2], cx
mov rax, r9
and eax, 7
movzx ecx, word [rdi + rax*2]
rol cx, 5
mov rax, qword [rsi + 8]
mov word [rax + r8 + 4], cx
lea rax, [r9 + 3]
and eax, 7
mov rcx, qword [rsi + 8]
movzx eax, word [rdi + rax*2 + 0x10]
mov word [rcx + r8 + 6], ax
lea rax, [r9 - 4]
and eax, 7
movzx ecx, word [rdi + rax*2]
rol cx, 8
mov rax, qword [rsi + 8]
mov word [rax + r8 + 8], cx
lea rax, [r9 + 2]
and eax, 7
mov rcx, qword [rsi + 8]
movzx eax, word [rdi + rax*2 + 0x10]
mov word [rcx + r8 + 0xa], ax
lea rax, [r9 - 3]
and eax, 7
movzx ecx, word [rdi + rax*2]
ror cx, 3
mov rax, qword [rsi + 8]
mov word [rax + r8 + 0xc], cx
lea rax, [r9 - 2]
and eax, 7
mov rcx, qword [rsi + 8]
movzx eax, word [rdi + rax*2 + 0x10]
mov word [rcx + r8 + 0xe], ax
mov r9, rdx
lea r8, [r8 + 0x10]
lea rax, [rdx - 1]
cmp rax, 8
jne 0x1800adf00
test rdi, rdi
je 0x1800adff2
mov rdx, qword [rsp + 0x38]
sub rdx, rdi
sar rdx, 1
lea r8d, [rax - 6]
mov rcx, rdi
call fcn.180033660
nop
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1800afd50
Capabilities:
Encode data using xor

Disassembly:
push r15
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r14
mov rbx, r8
mov rsi, rdx
mov r14, rcx
mov edx, 0x20
lea rcx, [rsp + 0x28]
call fcn.1800ad2d0
nop
mov rdi, qword [rsp + 0x28]
cmp rbx, 2
jb 0x1800afdb7
mov r9, rdi
sub rsi, rdi
shr rbx, 1
movzx eax, word [rsi + r9]
rol ax, 8
mov word [r9], ax
lea r9, [r9 + 2]
sub rbx, 1
jne 0x1800afda0
xor ebx, ebx
mov r10d, ebx
lea r9, [rdi + 0x10]
lea r15, [0x180000000]
mov r11d, 0x1ff
nop dword [rax]
movzx eax, word [r9 - 0x10]
movzx edx, ax
and dx, 0x7f
mov ecx, eax
shr rcx, 7
movzx r8d, word [r15 + rcx*2 + 0x203200]
xor r8w, dx
inc r10
mov rax, r10
and eax, 7
movzx ecx, word [rdi + rax*2]
movzx eax, dx
movzx eax, byte [rax + r15 + 0x203180]
and al, 0x7f
movzx edx, al
movzx eax, cx
shr ax, 9
xor ax, r8w
and ax, 0x7f
xor dx, ax
and rcx, r11
movzx eax, r8w
xor rcx, rax
movzx eax, word [r15 + rcx*2 + 0x203200]
xor ax, dx
shl dx, 9
or dx, ax
mov word [r9], dx
shr dx, 9
mov word [r9 + 0x10], dx
movzx eax, word [r9]
and ax, r11w
mov word [r9 + 0x20], ax
lea r9, [r9 + 2]
cmp r10, 8
jne 0x1800afdd0
lea edx, [r10 + 0x5c]
lea rcx, [r14 + 8]
call fcn.1800ad170
mov edx, 0x64
lea rcx, [r14 + 0x20]
call fcn.1800ad170
nop
movzx eax, byte [rbx + r15 + 0x203630]
mov rcx, qword [r14 + 8]
movzx eax, word [rdi + rax*2]
mov word [rcx + rbx*2], ax
movzx eax, byte [rbx + r15 + 0x2036a0]
mov rcx, qword [r14 + 0x20]
movzx eax, word [rdi + rax*2]
mov word [rcx + rbx*2], ax
inc rbx
cmp rbx, 0x64
jne 0x1800afe80
test rdi, rdi
je 0x1800afed0
mov rdx, qword [rsp + 0x38]
sub rdx, rdi
sar rdx, 1
lea r8d, [rbx - 0x62]
mov rcx, rdi
call fcn.180033660
nop
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret
Function at 0x1800afef0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
push r15
sub rsp, 0x38
mov rax, qword [rcx + 0x28]
mov r15, r9
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
cmp qword [rcx + 0x20], rax
jne 0x1800aff19
call fcn.180036630
mov qword [rsp + 0x68], rsi
call fcn.180048c80
test al, al
je 0x1800aff5c
cmp r15, 4
jb 0x1800aff5c
mov rsi, r15
shr rsi, 2
imul rax, rsi, 0xfffffffffffffffc
add r15, rax
nop dword [rax + rax]
mov r8, rbx
mov rdx, rdi
mov rcx, rbp
call fcn.180107310
add rdi, 0x40
add rbx, 0x40
sub rsi, 1
jne 0x1800aff40
test r15, r15
je 0x1800b00fc
mov qword [rsp + 0x30], r12
lea rsi, [rdi + 8]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
lea r14, [rbx + 8]
sub rbx, rdi
lea rax, [rbx - 8]
mov qword [rsp + 0x78], rax
nop dword [rax + rax]
mov rbx, qword [rbp + 0x20]
mov r12d, 0x10
mov edi, dword [rsi - 8]
lea rbp, [0x180203708]
mov r10d, dword [rsi - 4]
mov r11d, dword [rsi]
mov eax, dword [rsi + 4]
mov r13d, dword [rbx + 4]
bswap edi
bswap r10d
bswap r11d
bswap eax
nop dword [rax]
mov r8d, r11d
xor r8d, edi
mov edx, r8d
mov ecx, r8d
rol ecx, 8
ror edx, 8
xor edx, ecx
mov ecx, r13d
xor r8d, edx
xor ecx, r8d
xor r10d, ecx
mov ecx, dword [rbx + 0xc]
xor ecx, r8d
mov r8d, dword [rbx + 8]
xor eax, ecx
mov r9d, eax
rol eax, 2
xor r9d, r10d
rol r10d, 1
mov edx, r9d
mov ecx, r9d
rol ecx, 8
ror edx, 8
xor edx, ecx
mov ecx, eax
xor r9d, edx
mov edx, eax
movzx eax, byte [r12 + rbp]
xor r8d, r9d
xor r8d, r11d
mov r11d, edx
rol r8d, 5
or ecx, r8d
not ecx
xor r10d, ecx
mov ecx, r8d
and ecx, r10d
xor eax, ecx
xor eax, dword [rbx]
xor eax, r9d
xor eax, edi
xor r11d, eax
mov ecx, eax
xor r11d, r8d
ror eax, 2
xor r11d, r10d
or ecx, r11d
mov edi, r11d
not ecx
ror r11d, 5
xor r10d, ecx
and edi, r10d
ror r10d, 1
xor edi, edx
sub r12, 1
jne 0x1800affc0
mov rbp, qword [rsp + 0x60]
mov r8d, r11d
xor r8d, edi
mov edx, r8d
mov ecx, r8d
rol ecx, 8
ror edx, 8
xor edx, ecx
mov ecx, r13d
xor r8d, edx
xor ecx, r8d
xor r10d, ecx
mov ecx, dword [rbx + 0xc]
xor ecx, r8d
xor eax, ecx
mov r8d, eax
xor r8d, r10d
mov edx, r8d
mov ecx, r8d
rol ecx, 8
ror edx, 8
xor edx, ecx
mov ecx, dword [rbx + 8]
xor r8d, edx
mov rdx, qword [rsp + 0x78]
xor ecx, r8d
xor r8d, edi
xor r8d, dword [rbx]
xor ecx, r11d
btc r8d, 7
bswap r8d
bswap r10d
bswap ecx
bswap eax
mov dword [rdx + rsi], r8d
add rsi, 0x10
mov dword [r14 - 4], r10d
mov dword [r14], ecx
mov dword [r14 + 4], eax
add r14, 0x10
sub r15, 1
jne 0x1800aff90
mov r14, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x68]
add rsp, 0x38
pop r15
pop rdi
pop rbp
pop rbx
ret