joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140051c80
Capabilities:
Generate random numbers via winapi

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov r15, rdx
mov rdi, rcx
mov edx, 0x20
lea rcx, [r15 + 8]
call fcn.1400bf090
xor ebx, ebx
mov rax, qword [rdi + 0x10]
sub rax, qword [rdi + 8]
test rax, 0xfffffffffffffff8
je 0x140051da5
lea ebp, [rbx + 1]
nop dword [rax]
mov rax, qword [rdi + 8]
mov r9, qword [rax + rbx*8]
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
movzx ecx, byte [rsp + 0x40]
test eax, eax
cmovne ecx, ebp
mov byte [rsp + 0x40], cl
mov rsi, qword [r15 + 0x10]
test cl, cl
je 0x140051d2a
mov r8, qword [r15 + 8]
mov edx, esi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x140051d25
test rsi, rsi
jne 0x140051d54
movzx ecx, byte [rsp + 0x40]
test cl, cl
je 0x140051d3b
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
inc rbx
mov rax, qword [rdi + 0x10]
sub rax, qword [rdi + 8]
sar rax, 3
cmp rbx, rax
je 0x140051da5
jmp 0x140051cd0
mov rbx, qword [r15 + 0x10]
mov rax, qword [r15]
mov r8, rbx
mov rdx, qword [r15 + 8]
mov rcx, r15
call qword [rax + 8]
xorps xmm0, xmm0
cvtsi2sd xmm0, rbx
test rbx, rbx
jns 0x140051d7d
addsd xmm0, qword [0x14034cea0]
mulsd xmm0, qword [0x14034cd00]
addsd xmm0, qword [r15 + 0x30]
movsd qword [r15 + 0x30], xmm0
cmp byte [rsp + 0x40], 0
je 0x140051da5
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x14005df80
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x20
mov r8, qword [rcx + 0x10]
mov rbx, rcx
test r8, r8
je 0x14005df9d
mov rcx, qword [rcx + 8]
xor edx, edx
call fcn.1402a04b0
xor eax, eax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x28], rax
mov r8, qword [rbx + 0x50]
test r8, r8
je 0x14005dfc3
mov rcx, qword [rbx + 0x48]
lea r8, [r8*4]
xor edx, edx
call fcn.1402a04b0
mov rax, qword [rbx + 0x68]
mov dword [rax], 0x67452301
mov rax, qword [rbx + 0x68]
mov dword [rax + 4], 0xefcdab89
mov rax, qword [rbx + 0x68]
mov dword [rax + 8], 0x98badcfe
mov rax, qword [rbx + 0x68]
mov dword [rax + 0xc], 0x10325476
mov rax, qword [rbx + 0x68]
mov dword [rax + 0x10], 0xc3d2e1f0
add rsp, 0x20
pop rbx
ret

Function at 0x14005e950
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14005ea92
mov qword [rsp + 0x18], r8
push rbx
push rsi
push rdi
sub rsp, 0x20
mov qword [rsp + 0x40], rbp
mov rsi, r8
mov rdi, rdx
xor ebp, ebp
mov rbx, rcx
nop word [rax + rax]
mov rcx, qword [rbx + 0x18]
lea rax, [rsp + 0x58]
lea rdx, [rsp + 0x50]
shr rcx, 3
sub rcx, qword [rbx + 0x40]
cmp rcx, rsi
mov qword [rsp + 0x58], rcx
cmovae rax, rdx
mov r9, qword [rax]
sub rsi, r9
mov qword [rsp + 0x50], rsi
test r9, r9
je 0x14005ea62
nop word [rax + rax]
mov rdx, qword [rbx + 0x40]
mov rcx, rdx
and ecx, 7
je 0x14005e9f2
mov rax, qword [rbx + 0x20]
shr rdx, 3
shl cl, 3
lea r8, [rax + rdx*8]
movzx edx, byte [rdi]
inc rdi
shl rdx, cl
xor qword [r8], rdx
inc qword [rbx + 0x40]
dec r9
jne 0x14005e9c0
jmp 0x14005ea62
test r9, r9
je 0x14005ea62
test r9b, 7
jne 0x14005ea25
mov rcx, qword [rbx + 0x40]
mov rax, qword [rbx + 0x20]
add rdi, 8
shr rcx, 3
lea rcx, [rax + rcx*8]
mov rax, qword [rdi - 8]
xor qword [rcx], rax
add qword [rbx + 0x40], 8
sub r9, 8
jne 0x14005e9f7
jmp 0x14005ea62
test r9, r9
je 0x14005ea62
nop word [rax + rax]
mov rdx, qword [rbx + 0x40]
mov rax, qword [rbx + 0x20]
inc rdi
mov rcx, rdx
and dl, 7
shr rcx, 3
lea r8, [rax + rcx*8]
movzx ecx, dl
movzx edx, byte [rdi - 1]
shl cl, 3
shl rdx, cl
xor qword [r8], rdx
inc qword [rbx + 0x40]
dec r9
jne 0x14005ea30
mov rax, qword [rbx + 0x18]
shr rax, 3
cmp qword [rbx + 0x40], rax
jne 0x14005ea7d
mov rcx, qword [rbx + 0x20]
call fcn.14005e000
mov qword [rbx + 0x40], rbp
test rsi, rsi
jne 0x14005e980
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x14005ebb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx]
mov rbp, rdx
mov rbx, rcx
call qword [rax + 0x28]
mov rcx, qword [rbx + 0x18]
lea rdx, [rsp + 0x50]
sub rcx, 0x10
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x40]
cmp rcx, rax
mov qword [rsp + 0x40], rcx
mov rcx, qword [rbx + 0x10]
cmovae r8, rdx
add rcx, 0x10
mov rdx, rbp
mov r8, qword [r8]
call fcn.140298710
mov rax, qword [rbx]
mov rdi, qword [rbx + 0x10]
mov rcx, rbx
call qword [rax + 0x28]
lea r8, [rdi + 0x10]
lea rcx, [rdi + 0x20]
mov r9, rax
mov rdx, rdi
call fcn.14001af00
xor dl, dl
xor edi, edi
mov r10d, edi
lea r14, [0x140322060]
nop dword [rax]
nop word [rax + rax]
mov r9, rdi
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
movzx eax, dl
movzx eax, byte [rax + r14]
xor byte [rcx + r9], al
movzx eax, byte [rcx + r9]
mov rdx, qword [rbx + 0x10]
movzx eax, byte [rax + r14]
xor byte [rdx + r9 + 1], al
movzx eax, byte [rdx + r9 + 1]
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rax + r14]
xor byte [rcx + r9 + 2], al
movzx eax, byte [rcx + r9 + 2]
mov rdx, qword [rbx + 0x10]
movzx eax, byte [rax + r14]
xor byte [rdx + r9 + 3], al
movzx eax, byte [rdx + r9 + 3]
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rax + r14]
xor byte [rcx + r9 + 4], al
movzx eax, byte [rcx + r9 + 4]
mov rdx, qword [rbx + 0x10]
movzx eax, byte [rax + r14]
add rdx, 5
add rdx, r9
add r9, 8
xor byte [rdx], al
movzx eax, byte [rdx]
mov r8, qword [rbx + 0x10]
movzx eax, byte [rax + r14]
xor byte [r8 + r9 - 2], al
movzx eax, byte [r8 + r9 - 2]
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rax + r14]
xor byte [rcx + r9 - 1], al
movzx edx, byte [rcx + r9 - 1]
cmp r9, 0x30
jne 0x14005ec50
add dl, r10b
inc r10
cmp r10, 0x12
jne 0x14005ec40
mov rax, qword [rbx + 0x30]
mov rcx, rbx
movzx esi, byte [rax + 0xf]
mov rax, qword [rbx]
call qword [rax + 0x28]
test rax, rax
je 0x14005ed5e
nop word [rax + rax]
movzx ecx, byte [rdi + rbp]
mov rdx, qword [rbx + 0x30]
movzx eax, sil
xor rcx, rax
inc rdi
movzx eax, byte [rcx + r14]
mov rcx, rbx
xor byte [rdx + rdi - 1], al
movzx esi, byte [rdx + rdi - 1]
mov rax, qword [rbx]
call qword [rax + 0x28]
cmp rdi, rax
jne 0x14005ed30
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14005eea0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx]
mov rsi, qword [rcx + 0x70]
mov r14, rdx
mov rbx, rcx
call qword [rax + 0x28]
cmp rsi, rax
je 0x14005eef5
nop word [rax + rax]
mov rax, qword [rbx]
mov rdi, qword [rbx + 0x50]
mov rcx, rbx
call qword [rax + 0x28]
mov rcx, rbx
inc rsi
sub al, byte [rbx + 0x70]
mov byte [rdi + rsi - 1], al
mov rax, qword [rbx]
call qword [rax + 0x28]
cmp rsi, rax
jne 0x14005eed0
mov rax, qword [rbx]
mov rbp, qword [rbx + 0x50]
mov rcx, rbx
call qword [rax + 0x28]
mov rcx, qword [rbx + 0x18]
lea rdx, [rsp + 0x60]
sub rcx, 0x10
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0x50]
cmp rcx, rax
mov qword [rsp + 0x50], rcx
mov rcx, qword [rbx + 0x10]
cmovae r8, rdx
add rcx, 0x10
mov rdx, rbp
mov r8, qword [r8]
call fcn.140298710
mov rax, qword [rbx]
mov rdi, qword [rbx + 0x10]
mov rcx, rbx
call qword [rax + 0x28]
lea r8, [rdi + 0x10]
lea rcx, [rdi + 0x20]
mov r9, rax
mov rdx, rdi
call fcn.14001af00
xor dl, dl
xor edi, edi
mov r10d, edi
lea r15, [0x140322060]
nop word [rax + rax]
mov r9, rdi
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
movzx eax, dl
movzx eax, byte [rax + r15]
xor byte [rcx + r9], al
movzx eax, byte [rcx + r9]
mov rdx, qword [rbx + 0x10]
movzx eax, byte [rax + r15]
xor byte [rdx + r9 + 1], al
movzx eax, byte [rdx + r9 + 1]
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rax + r15]
xor byte [rcx + r9 + 2], al
movzx eax, byte [rcx + r9 + 2]
mov rdx, qword [rbx + 0x10]
movzx eax, byte [rax + r15]
xor byte [rdx + r9 + 3], al
movzx eax, byte [rdx + r9 + 3]
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rax + r15]
xor byte [rcx + r9 + 4], al
movzx eax, byte [rcx + r9 + 4]
mov rdx, qword [rbx + 0x10]
movzx eax, byte [rax + r15]
add rdx, 5
add rdx, r9
add r9, 8
xor byte [rdx], al
movzx eax, byte [rdx]
mov r8, qword [rbx + 0x10]
movzx eax, byte [rax + r15]
xor byte [r8 + r9 - 2], al
movzx eax, byte [r8 + r9 - 2]
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rax + r15]
xor byte [rcx + r9 - 1], al
movzx edx, byte [rcx + r9 - 1]
cmp r9, 0x30
jne 0x14005ef80
add dl, r10b
inc r10
cmp r10, 0x12
jne 0x14005ef70
mov rax, qword [rbx + 0x30]
mov rcx, rbx
movzx esi, byte [rax + 0xf]
mov rax, qword [rbx]
call qword [rax + 0x28]
test rax, rax
je 0x14005f08e
nop word [rax + rax]
movzx ecx, byte [rdi + rbp]
mov rdx, qword [rbx + 0x30]
movzx eax, sil
xor rcx, rax
inc rdi
movzx eax, byte [rcx + r15]
mov rcx, rbx
xor byte [rdx + rdi - 1], al
movzx esi, byte [rdx + rdi - 1]
mov rax, qword [rbx]
call qword [rax + 0x28]
cmp rdi, rax
jne 0x14005f060
mov rdx, qword [rbx + 0x30]
mov rcx, rbx
call fcn.14005ebb0
mov rax, qword [rbx]
mov rdi, qword [rbx + 0x10]
mov rcx, rbx
call qword [rax]
mov rdx, rdi
mov rcx, r14
mov r8, rax
call fcn.140298710
mov rax, qword [rbx + 8]
lea rcx, [rbx + 8]
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
jmp qword [rax]
Function at 0x14005f790
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
mov r8, qword [rcx + 0x10]
mov rbx, rcx
test r8, r8
je 0x14005f7ad
mov rcx, qword [rcx + 8]
xor edx, edx
call fcn.1402a04b0
xor eax, eax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x28], rax
mov r8, qword [rbx + 0x50]
test r8, r8
je 0x14005f7d3
mov rcx, qword [rbx + 0x48]
lea r8, [r8*4]
xor edx, edx
call fcn.1402a04b0
mov rax, qword [rbx + 0x68]
mov dword [rax], 0x67452301
mov rax, qword [rbx + 0x68]
mov dword [rax + 4], 0xefcdab89
mov rax, qword [rbx + 0x68]
mov dword [rax + 8], 0x98badcfe
mov rax, qword [rbx + 0x68]
mov dword [rax + 0xc], 0x10325476
add rsp, 0x20
pop rbx
ret

Function at 0x14005f810
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140060052
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push r14
push r15
sub rsp, 0x60
mov rax, qword [rcx + 0x70]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], r12
mov r15d, dword [rax]
mov esi, dword [rax + 4]
mov ebp, dword [rax + 8]
mov r14d, dword [rax + 0xc]
mov rbx, rcx
mov qword [rsp + 0x48], r13
nop word [rax + rax]
Function at 0x140063be0
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x20
mov r8, qword [rcx + 0x10]
mov rbx, rcx
test r8, r8
je 0x140063bfd
mov rcx, qword [rcx + 8]
xor edx, edx
call fcn.1402a04b0
xor eax, eax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x28], rax
mov r8, qword [rbx + 0x70]
test r8, r8
je 0x140063c23
mov rcx, qword [rbx + 0x68]
lea r8, [r8*4]
xor edx, edx
call fcn.1402a04b0
mov rax, qword [rbx + 0x48]
mov dword [rax], 0x67452301
mov rax, qword [rbx + 0x48]
mov dword [rax + 4], 0xefcdab89
mov rax, qword [rbx + 0x48]
mov dword [rax + 8], 0x98badcfe
mov rax, qword [rbx + 0x48]
mov dword [rax + 0xc], 0x10325476
mov rax, qword [rbx + 0x48]
mov dword [rax + 0x10], 0xc3d2e1f0
add rsp, 0x20
pop rbx
ret
Function at 0x140066450
Capabilities:
Hash data using sha224

Disassembly:
push rbx
sub rsp, 0x20
mov r8, qword [rcx + 0x10]
mov rbx, rcx
test r8, r8
je 0x14006646d
mov rcx, qword [rcx + 8]
xor edx, edx
call fcn.1402a04b0
xor eax, eax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x28], rax
mov rax, qword [rbx + 0x48]
mov dword [rax], 0xc1059ed8
mov rax, qword [rbx + 0x48]
mov dword [rax + 4], 0x367cd507
mov rax, qword [rbx + 0x48]
mov dword [rax + 8], 0x3070dd17
mov rax, qword [rbx + 0x48]
mov dword [rax + 0xc], 0xf70e5939
mov rax, qword [rbx + 0x48]
mov dword [rax + 0x10], 0xffc00b31
mov rax, qword [rbx + 0x48]
mov dword [rax + 0x14], 0x68581511
mov rax, qword [rbx + 0x48]
mov dword [rax + 0x18], 0x64f98fa7
mov rax, qword [rbx + 0x48]
mov dword [rax + 0x1c], 0xbefa4fa4
add rsp, 0x20
pop rbx
ret

Function at 0x1400664e0
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0x20
mov r8, qword [rcx + 0x10]
mov rbx, rcx
test r8, r8
je 0x1400664fd
mov rcx, qword [rcx + 8]
xor edx, edx
call fcn.1402a04b0
xor eax, eax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x28], rax
mov rax, qword [rbx + 0x48]
mov dword [rax], 0x6a09e667
mov rax, qword [rbx + 0x48]
mov dword [rax + 4], 0xbb67ae85
mov rax, qword [rbx + 0x48]
mov dword [rax + 8], 0x3c6ef372
mov rax, qword [rbx + 0x48]
mov dword [rax + 0xc], 0xa54ff53a
mov rax, qword [rbx + 0x48]
mov dword [rax + 0x10], 0x510e527f
mov rax, qword [rbx + 0x48]
mov dword [rax + 0x14], 0x9b05688c
mov rax, qword [rbx + 0x48]
mov dword [rax + 0x18], 0x1f83d9ab
mov rax, qword [rbx + 0x48]
mov dword [rax + 0x1c], 0x5be0cd19
add rsp, 0x20
pop rbx
ret
Function at 0x14006a4c0
Capabilities:
Hash data using sha384

Disassembly:
push rbx
sub rsp, 0x20
mov r8, qword [rcx + 0x10]
mov rbx, rcx
test r8, r8
je 0x14006a4dd
mov rcx, qword [rcx + 8]
xor edx, edx
call fcn.1402a04b0
xor eax, eax
movabs rcx, 0xcbbb9d5dc1059ed8
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x28], rax
mov rax, qword [rbx + 0x48]
mov qword [rax], rcx
mov rax, qword [rbx + 0x48]
movabs rcx, 0x629a292a367cd507
mov qword [rax + 8], rcx
mov rax, qword [rbx + 0x48]
movabs rcx, 0x9159015a3070dd17
mov qword [rax + 0x10], rcx
mov rax, qword [rbx + 0x48]
movabs rcx, 0x152fecd8f70e5939
mov qword [rax + 0x18], rcx
mov rax, qword [rbx + 0x48]
movabs rcx, 0x67332667ffc00b31
mov qword [rax + 0x20], rcx
mov rax, qword [rbx + 0x48]
movabs rcx, 0x8eb44a8768581511
mov qword [rax + 0x28], rcx
mov rax, qword [rbx + 0x48]
movabs rcx, 0xdb0c2e0d64f98fa7
mov qword [rax + 0x30], rcx
mov rax, qword [rbx + 0x48]
movabs rcx, 0x47b5481dbefa4fa4
mov qword [rax + 0x38], rcx
add rsp, 0x20
pop rbx
ret

Function at 0x14006a580
Capabilities:
Hash data using sha512

Disassembly:
push rbx
sub rsp, 0x20
mov r8, qword [rcx + 0x10]
mov rbx, rcx
test r8, r8
je 0x14006a59d
mov rcx, qword [rcx + 8]
xor edx, edx
call fcn.1402a04b0
xor eax, eax
movabs rcx, 0x6a09e667f3bcc908
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x28], rax
mov rax, qword [rbx + 0x48]
mov qword [rax], rcx
mov rax, qword [rbx + 0x48]
movabs rcx, 0xbb67ae8584caa73b
mov qword [rax + 8], rcx
mov rax, qword [rbx + 0x48]
movabs rcx, 0x3c6ef372fe94f82b
mov qword [rax + 0x10], rcx
mov rax, qword [rbx + 0x48]
movabs rcx, 0xa54ff53a5f1d36f1
mov qword [rax + 0x18], rcx
mov rax, qword [rbx + 0x48]
movabs rcx, 0x510e527fade682d1
mov qword [rax + 0x20], rcx
mov rax, qword [rbx + 0x48]
movabs rcx, 0x9b05688c2b3e6c1f
mov qword [rax + 0x28], rcx
mov rax, qword [rbx + 0x48]
movabs rcx, 0x1f83d9abfb41bd6b
mov qword [rax + 0x30], rcx
mov rax, qword [rbx + 0x48]
movabs rcx, 0x5be0cd19137e2179
mov qword [rax + 0x38], rcx
add rsp, 0x20
pop rbx
ret
Function at 0x14006ca00
Capabilities:
Hash data using tiger

Disassembly:
mov rdx, qword [rcx]
mov r8, rcx
movabs rcx, 0xa5a5a5a5a5a5a5a5
mov rax, qword [rdx + 0x38]
xor rax, rcx
sub qword [rdx], rax
mov rdx, qword [r8]
mov rax, qword [rdx]
xor qword [rdx + 8], rax
mov rdx, qword [r8]
mov rax, qword [rdx + 8]
add qword [rdx + 0x10], rax
mov rcx, qword [r8]
movabs rdx, 0x123456789abcdef
mov rax, qword [rcx + 8]
not rax
shl rax, 0x13
xor rax, qword [rcx + 0x10]
sub qword [rcx + 0x18], rax
mov rcx, qword [r8]
mov rax, qword [rcx + 0x18]
xor qword [rcx + 0x20], rax
mov rcx, qword [r8]
mov rax, qword [rcx + 0x20]
add qword [rcx + 0x28], rax
mov rcx, qword [r8]
mov rax, qword [rcx + 0x20]
not rax
shr rax, 0x17
xor rax, qword [rcx + 0x28]
sub qword [rcx + 0x30], rax
mov rcx, qword [r8]
mov rax, qword [rcx + 0x30]
xor qword [rcx + 0x38], rax
mov rcx, qword [r8]
mov rax, qword [rcx + 0x38]
add qword [rcx], rax
mov rcx, qword [r8]
mov rax, qword [rcx + 0x38]
not rax
shl rax, 0x13
xor rax, qword [rcx]
sub qword [rcx + 8], rax
mov rcx, qword [r8]
mov rax, qword [rcx + 8]
xor qword [rcx + 0x10], rax
mov rcx, qword [r8]
mov rax, qword [rcx + 0x10]
add qword [rcx + 0x18], rax
mov rcx, qword [r8]
mov rax, qword [rcx + 0x10]
not rax
shr rax, 0x17
xor rax, qword [rcx + 0x18]
sub qword [rcx + 0x20], rax
mov rcx, qword [r8]
mov rax, qword [rcx + 0x20]
xor qword [rcx + 0x28], rax
mov rcx, qword [r8]
mov rax, qword [rcx + 0x28]
add qword [rcx + 0x30], rax
mov rcx, qword [r8]
mov rax, qword [rcx + 0x30]
xor rax, rdx
sub qword [rcx + 0x38], rax
ret
Function at 0x14007bac0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rbx, rdx
mov rdi, rcx
xor ecx, ecx
mov dword [rsp + 0x20], ecx
mov rax, qword [rdx]
test byte [rax], 0x80
mov esi, ecx
movzx eax, r8b
cmovne esi, eax
mov qword [rdi], rcx
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rcx
mov qword [rdi + 0x18], rcx
mov cl, 1
call fcn.14001ce70
mov qword [rdi + 0x18], rax
xor edx, edx
mov rcx, rdi
call fcn.1400bf090
mov rdx, qword [rbx + 8]
mov rcx, rdi
call fcn.1400bf090
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x48], rcx
mov rax, qword [rdi + 8]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
cmp rax, rcx
cmovae r8, rdx
mov r8, qword [r8]
mov rdx, qword [rbx]
mov rcx, qword [rdi]
call fcn.140298710
nop
xor al, al
mov r9, qword [rdi + 8]
test r9, r9
je 0x14007bb92
nop word [rax + rax]
mov rdx, qword [rdi]
movzx r8d, byte [rdx + r9 - 1]
movzx ecx, r8b
add cl, cl
or cl, al
mov byte [rdx + r9 - 1], cl
movzx eax, r8b
shr al, 7
dec r9
jne 0x14007bb70
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
xor byte [rcx + rax - 1], sil
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400b3b50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
call qword [rax]
xor edi, edi
mov ecx, edi
mov rax, qword [rbx + 0x18]
mov byte [rcx + rax], cl
inc rcx
cmp rcx, 0x100
jne 0x1400b3b76
mov r10, rdi
mov r9, rdi
nop
mov r8, qword [rbx + 0x18]
xor edx, edx
mov rax, r9
movzx ecx, byte [r8 + r9]
div rsi
inc r9
movzx eax, byte [rdx + rbp]
add rax, r10
add rcx, rax
movzx r10d, cl
movzx ecx, byte [r8 + r9 - 1]
movzx eax, byte [r8 + r10]
mov byte [r8 + r9 - 1], al
mov byte [r8 + r10], cl
cmp r9, 0x100
jne 0x1400b3b90
nop
mov rcx, rbx
call fcn.1400b3930
add rdi, qword [rbx + 0x40]
cmp rdi, qword [rbx + 8]
jbe 0x1400b3bd0
mov rax, qword [rbx + 8]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
xor edx, edx
div qword [rbx + 0x40]
add qword [rbx + 0x58], rdx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b46c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x18
mov eax, dword [rdx + 0x34]
mov r8d, dword [rdx]
mov r14d, dword [rdx + 4]
mov r15d, dword [rdx + 8]
mov r12d, dword [rdx + 0xc]
mov ebp, dword [rdx + 0x10]
mov r9d, dword [rdx + 0x14]
mov r10d, dword [rdx + 0x18]
mov r11d, dword [rdx + 0x1c]
mov ebx, dword [rdx + 0x20]
mov edi, dword [rdx + 0x24]
mov esi, dword [rdx + 0x28]
mov r13d, dword [rdx + 0x2c]
mov ecx, dword [rdx + 0x30]
mov dword [rsp + 0x68], eax
mov eax, dword [rdx + 0x38]
mov edx, dword [rdx + 0x3c]
mov qword [rsp + 8], 0xa
mov dword [rsp + 0x70], eax
nop dword [rax]
lea eax, [rcx + r8]
rol eax, 7
xor ebp, eax
lea eax, [r8 + rbp]
rol eax, 9
xor ebx, eax
lea eax, [rbx + rbp]
rol eax, 0xd
xor ecx, eax
lea eax, [rcx + rbx]
ror eax, 0xe
xor r8d, eax
lea eax, [r9 + r14]
rol eax, 7
xor edi, eax
lea eax, [rdi + r9]
rol eax, 9
xor dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
add eax, edi
rol eax, 0xd
xor r14d, eax
mov eax, dword [rsp + 0x68]
add eax, r14d
ror eax, 0xe
xor r9d, eax
lea eax, [rsi + r10]
rol eax, 7
xor dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
add eax, esi
rol eax, 9
xor r15d, eax
mov eax, dword [rsp + 0x70]
add eax, r15d
rol eax, 0xd
xor r10d, eax
lea eax, [r10 + r15]
ror eax, 0xe
xor esi, eax
lea eax, [rdx + r13]
rol eax, 7
xor r12d, eax
lea eax, [rdx + r12]
rol eax, 9
xor r11d, eax
lea eax, [r11 + r12]
rol eax, 0xd
xor r13d, eax
lea eax, [r11 + r13]
ror eax, 0xe
xor edx, eax
lea eax, [r12 + r8]
rol eax, 7
xor r14d, eax
mov dword [rsp], r14d
lea eax, [r14 + r8]
rol eax, 9
xor r15d, eax
lea eax, [r15 + r14]
rol eax, 0xd
xor r12d, eax
lea eax, [r12 + r15]
ror eax, 0xe
xor r8d, eax
lea eax, [r9 + rbp]
rol eax, 7
xor r10d, eax
lea eax, [r10 + r9]
rol eax, 9
xor r11d, eax
lea eax, [r11 + r10]
rol eax, 0xd
xor ebp, eax
lea eax, [r11 + rbp]
ror eax, 0xe
xor r9d, eax
lea eax, [rsi + rdi]
rol eax, 7
xor r13d, eax
lea eax, [rsi + r13]
rol eax, 9
mov r14d, dword [rsp + 0x70]
xor ebx, eax
lea eax, [rbx + r13]
rol eax, 0xd
xor edi, eax
lea eax, [rdi + rbx]
ror eax, 0xe
xor esi, eax
mov eax, dword [rsp + 0x70]
add eax, edx
rol eax, 7
xor ecx, eax
lea eax, [rdx + rcx]
rol eax, 9
xor dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
add eax, ecx
rol eax, 0xd
xor r14d, eax
mov eax, dword [rsp + 0x68]
add eax, r14d
mov dword [rsp + 0x70], r14d
mov r14d, dword [rsp]
ror eax, 0xe
xor edx, eax
dec qword [rsp + 8]
jne 0x1400b4720
mov rcx, qword [rsp + 0x60]
mov dword [rcx], r8d
mov dword [rcx + 4], r9d
mov dword [rcx + 8], esi
mov dword [rcx + 0xc], edx
mov dword [rcx + 0x10], r10d
mov dword [rcx + 0x14], r11d
mov dword [rcx + 0x18], ebx
mov dword [rcx + 0x1c], edi
add rsp, 0x18
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400b4c70
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [rcx]
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
call qword [rax]
cmp rsi, 0x10
jne 0x1400b4d12
mov rax, qword [rbx + 8]
mov dword [rax], 0x61707865
mov eax, dword [rdi]
mov rcx, qword [rbx + 8]
mov dword [rcx + 4], eax
mov eax, dword [rdi + 4]
mov rcx, qword [rbx + 8]
mov dword [rcx + 8], eax
mov eax, dword [rdi + 8]
mov rcx, qword [rbx + 8]
mov dword [rcx + 0xc], eax
mov rcx, qword [rbx + 8]
mov eax, dword [rdi + 0xc]
mov dword [rcx + 0x10], eax
mov rax, qword [rbx + 8]
mov dword [rax + 0x14], 0x3120646e
mov rax, qword [rbx + 8]
mov dword [rax + 0x28], 0x79622d36
mov rcx, qword [rbx + 8]
mov eax, dword [rdi]
mov dword [rcx + 0x2c], eax
mov rcx, qword [rbx + 8]
mov eax, dword [rdi + 4]
mov dword [rcx + 0x30], eax
mov rcx, qword [rbx + 8]
mov eax, dword [rdi + 8]
mov dword [rcx + 0x34], eax
mov rcx, qword [rbx + 8]
mov eax, dword [rdi + 0xc]
mov dword [rcx + 0x38], eax
jmp 0x1400b4d87
cmp rsi, 0x20
jne 0x1400b4d92
mov rax, qword [rbx + 8]
mov dword [rax], 0x61707865
mov eax, dword [rdi]
mov rcx, qword [rbx + 8]
mov dword [rcx + 4], eax
mov eax, dword [rdi + 4]
mov rcx, qword [rbx + 8]
mov dword [rcx + 8], eax
mov eax, dword [rdi + 8]
mov rcx, qword [rbx + 8]
mov dword [rcx + 0xc], eax
mov rcx, qword [rbx + 8]
mov eax, dword [rdi + 0xc]
mov dword [rcx + 0x10], eax
mov rax, qword [rbx + 8]
mov dword [rax + 0x14], 0x3320646e
mov rax, qword [rbx + 8]
mov dword [rax + 0x28], 0x79622d32
mov rcx, qword [rbx + 8]
mov eax, dword [rdi + 0x10]
mov dword [rcx + 0x2c], eax
mov rcx, qword [rbx + 8]
mov eax, dword [rdi + 0x14]
mov dword [rcx + 0x30], eax
mov eax, dword [rdi + 0x18]
mov rcx, qword [rbx + 8]
mov dword [rcx + 0x34], eax
mov rdx, qword [rbx + 8]
mov eax, dword [rdi + 0x1c]
mov dword [rdx + 0x38], eax
mov rax, qword [rbx + 8]
mov dword [rax + 0x3c], 0x6b206574
xor eax, eax
lea rdx, [rsp + 0x20]
mov r8d, 8
mov dword [rsp + 0x21], eax
mov word [rsp + 0x25], ax
mov byte [rsp + 0x27], al
mov rax, qword [rbx]
mov rcx, rbx
mov byte [rsp + 0x20], 0
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140297ff0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret