joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000fed0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x14009eae4], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x14000ff30
movdqa xmm0, xmmword [0x14006d350]
movdqa xmm1, xmmword [0x14006d340]
movdqa xmmword [0x140082930], xmm0
movdqa xmm0, xmmword [0x14006d320]
movdqa xmmword [0x140082940], xmm1
movdqa xmm1, xmmword [0x14006d330]
movdqa xmmword [0x140082950], xmm0
movdqa xmmword [0x140082960], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.140058f40
xor edx, edx
mov qword [rbx + 0x110], rdx
mov byte [rbx + 0x118], dl
mov rcx, qword [rbx + 0xf8]
lea rax, [0x14006d300]
mov eax, dword [rdx + rax]
mov dword [rdx + rcx], eax
add rdx, 4
cmp rdx, 0x20
jl 0x14000ff4c
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
shl edi, 0x10
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
add rsp, 0x20
pop rdi
ret

Function at 0x1400145d4
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
mov sil, dl
mov word [rcx + 0x83e2], r15w
mov rbx, rcx
mov byte [rcx + 0x83d9], r15b
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
mov r14b, 1
jmp 0x14001463b
test r14b, r14b
jne 0x14001462b
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
test sil, sil
je 0x140014626
call fcn.1400147a4
jmp 0x14001462b
call fcn.1400142e0
mov rcx, qword [rsp + 0x40]
call fcn.14005a938
mov rcx, rbp
mov r14b, r15b
lea rdx, [rsp + 0x40]
call fcn.140013af0
mov rbp, rax
test rax, rax
jne 0x14001460d
test sil, sil
jne 0x14001465a
mov rcx, rbx
call fcn.140014670
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
Function at 0x1400175cc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x850
mov rax, qword [0x140081ee0]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rax, rdx
mov rbx, r8
mov rdi, rcx
lea rdx, [rsp + 0x40]
mov rcx, rax
mov r8d, 0x400
call fcn.140045d78
mov ecx, 1
call fcn.14005e734
xor ebp, ebp
cmp rdi, rax
jne 0x140017623
cmp byte [0x140083f8c], bpl
jne 0x140017643
mov ecx, 2
call fcn.14005e734
cmp rdi, rax
jne 0x1400176fd
cmp byte [0x140083f8d], bpl
je 0x1400176fd
mov ecx, 1
call fcn.14005e734
sub rdi, rax
neg rdi
sbb ecx, ecx
add ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdi, rax
call fcn.140006ac4
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x40]
mov esi, 0x1800
mov qword [rsp + 0x20], rbp
lea rbx, [0x1400877a0]
mov r8d, esi
mov rcx, qword [rax]
mov rdx, rbx
call fcn.14005d174
cmp dword [0x140083f88], 3
jne 0x1400176ae
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], bp
jne 0x14001769c
add r8d, r8d
mov rdx, rbx
jmp 0x1400176e8
mov r8, rsi
mov rcx, rbx
lea rsi, [0x14008a7a0]
mov rdx, rsi
call fcn.140048ca8
cmp dword [0x140083f88], 1
je 0x1400176d8
mov rdx, rsi
mov rcx, rsi
call qword [sym.imp.USER32.dll_CharToOemA]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], bpl
jne 0x1400176dc
mov rdx, rsi
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140017768
call fcn.140006ac4
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x40]
lea rbx, [0x1400877a0]
mov qword [rsp + 0x20], rbp
mov r8d, 0x1800
mov rdx, rbx
mov rcx, qword [rax]
call fcn.14005d174
mov ecx, 2
call fcn.14005e734
mov ecx, ebp
cmp rdi, rax
setne cl
add ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], bp
jne 0x140017748
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rbp
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140055f90
mov rbx, qword [rsp + 0x888]
add rsp, 0x850
pop rdi
pop rsi
pop rbp
ret
Function at 0x140017ac0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
lea rsi, [0x14008bfb0]
mov r10, r8
mov rbx, rdx
mov r11d, ecx
test r8, r8
je 0x140017b09
test bl, 7
je 0x140017b09
movzx ecx, byte [rbx]
inc rbx
movzx eax, r11b
xor rcx, rax
mov eax, r11d
shr eax, 8
mov r11d, dword [rsi + rcx*4]
xor r11d, eax
sub r10, 1
jne 0x140017ae4
cmp r10, 8
jb 0x140017bb3
mov rdi, r10
shr rdi, 3
imul rax, rdi, 0xfffffffffffffff8
add r10, rax
xor r11d, dword [rbx]
mov r9d, dword [rbx + 4]
add rbx, 8
mov eax, r9d
shr eax, 0x18
movzx edx, al
mov eax, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr eax, 8
mov r8d, dword [rsi + rdx*4]
xor r8d, dword [rsi + rcx*4 + 0x400]
movzx ecx, al
mov eax, r11d
shr eax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
movzx ecx, al
mov eax, r11d
shr eax, 0x10
xor r8d, dword [rsi + rcx*4 + 0x1000]
movzx ecx, al
mov eax, r11d
shr eax, 8
xor r8d, dword [rsi + rcx*4 + 0x1400]
movzx ecx, al
movzx eax, r9b
xor r8d, dword [rsi + rcx*4 + 0x1800]
xor r8d, dword [rsi + rax*4 + 0xc00]
movzx eax, r11b
mov r11d, r8d
xor r11d, dword [rsi + rax*4 + 0x1c00]
sub rdi, 1
jne 0x140017b21
test r10, r10
je 0x140017bd8
movzx ecx, byte [rbx]
inc rbx
movzx eax, r11b
xor rcx, rax
mov eax, r11d
shr eax, 8
mov r11d, dword [rsi + rcx*4]
xor r11d, eax
sub r10, 1
jne 0x140017bb8
mov rbx, qword [rsp + 8]
mov eax, r11d
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x140017bec
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
xor esi, esi
lea r14, [0x14008dfb0]
mov r10, r8
mov r11, rdx
mov r9, rcx
test r8, r8
je 0x140017c3e
test r11b, 7
je 0x140017c3e
movzx ecx, byte [r11]
inc r11
movzx eax, r9b
xor rcx, rax
mov rax, r9
shr rax, 8
mov r9, qword [r14 + rcx*8]
xor r9, rax
sub r10, 1
jne 0x140017c16
mov rax, r10
mov rdi, rsi
shr rax, 3
lea rcx, [r11 + rax*8]
mov rbx, rcx
sub rbx, r11
add rbx, 7
shr rbx, 3
cmp r11, rcx
cmova rbx, rsi
test rbx, rbx
je 0x140017d03
mov r8, qword [r11]
inc rdi
xor r8, r9
add r11, 8
mov rdx, r8
mov rax, r8
shr rax, 0x30
movzx ecx, al
mov rax, r8
shr rax, 0x28
shr rdx, 0x38
mov r9, qword [r14 + rdx*8]
xor r9, qword [r14 + rcx*8 + 0x800]
movzx ecx, al
mov rax, r8
shr rax, 0x20
xor r9, qword [r14 + rcx*8 + 0x1000]
movzx ecx, al
mov rax, r8
shr rax, 0x18
xor r9, qword [r14 + rcx*8 + 0x1800]
movzx ecx, al
mov rax, r8
shr rax, 0x10
xor r9, qword [r14 + rcx*8 + 0x2000]
movzx ecx, al
mov rax, r8
shr rax, 8
xor r9, qword [r14 + rcx*8 + 0x2800]
movzx ecx, al
movzx eax, r8b
xor r9, qword [r14 + rcx*8 + 0x3000]
xor r9, qword [r14 + rax*8 + 0x3800]
cmp rdi, rbx
jb 0x140017c6a
and r10d, 7
jbe 0x140017d2b
movzx ecx, byte [r11]
inc r11
movzx eax, r9b
xor rcx, rax
mov rax, r9
shr rax, 8
mov r9, qword [r14 + rcx*8]
xor r9, rax
sub r10, 1
jne 0x140017d09
mov rbx, qword [rsp + 8]
mov rax, r9
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
ret
Function at 0x140017d64
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [rcx + 4], 0
mov r8, rcx
jne 0x140017dab
xor r9d, r9d
mov r10d, r9d
mov r11d, 8
mov edx, r10d
mov ecx, r10d
shr edx, 1
mov eax, edx
mov r10d, edx
xor eax, 0xedb88320
and cl, 1
cmovne r10d, eax
sub r11, 1
jne 0x140017d79
mov dword [r8], r10d
inc r9d
add r8, 4
cmp r9d, 0x100
jb 0x140017d70
ret

Function at 0x140017dac
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r8, rcx
xor r9d, r9d
mov r11d, pe_nt_image_headers64
mov r10, r9
mov ebx, 8
mov rdx, r10
mov cl, r10b
shr rdx, 1
movabs r10, 0xc96c5795d7870f42
mov rax, rdx
xor rax, r10
mov r10, rdx
and cl, 1
cmovne r10, rax
sub rbx, 1
jne 0x140017dc5
mov qword [r8], r10
inc r9
add r8, 8
sub r11, 1
jne 0x140017dbd
mov rbx, qword [rsp + 8]
ret

Function at 0x140017f6c
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140081ee0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp dword [rcx], 2
mov rdi, rdx
mov rbx, rcx
mov esi, 0x20
jne 0x140017fec
mov eax, dword [rcx + 4]
lea r9d, [rsi - 0x1c]
mov dword [rsp + 0x30], eax
lea r8, [r11 - 0x38]
lea rax, [r11 - 0x30]
mov edx, esi
mov rcx, rdi
mov qword [r11 - 0x48], rax
call fcn.1400192c4
xor r8d, r8d
lea r10, [rsp + 0x38]
mov dword [rbx + 4], r8d
mov r9d, r8d
movzx eax, byte [r10]
mov ecx, r8d
and ecx, 3
inc r8d
shl ecx, 3
inc r10
shl eax, cl
xor r9d, eax
cmp r8d, esi
jb 0x140017fcb
mov dword [rbx + 4], r9d
cmp dword [rbx], 3
jne 0x14001801f
lea rax, [rsp + 0x38]
mov r9, rsi
lea r8, [rbx + 4]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call fcn.1400192c4
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbx + 4], xmm0
movups xmmword [rbx + 0x14], xmm1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140055f90
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140018040
Capabilities:
Encode data using xor

Disassembly:
mov r10, rdx
mov r9, rcx
test r8, r8
je 0x1400180f0
mov eax, 0x1234
add word [r9 + 0x10b8], ax
movzx edx, word [r9 + 0x10b8]
mov eax, edx
shr rax, 1
movzx eax, al
movzx ecx, word [r9 + rax*4 + 0xba4]
mov eax, edx
xor word [r9 + 0x10ba], cx
shr rax, 1
movzx eax, al
movzx ecx, word [r9 + rax*4 + 0xba6]
sub word [r9 + 0x10bc], cx
mov ecx, 1
movzx eax, word [r9 + 0x10bc]
xor ax, dx
mov word [r9 + 0x10b8], ax
movzx eax, word [r9 + 0x10be]
ror ax, cl
xor ax, word [r9 + 0x10ba]
ror ax, cl
xor word [r9 + 0x10b8], ax
mov word [r9 + 0x10be], ax
movzx eax, word [r9 + 0x10b8]
shr ax, 8
xor byte [r10], al
inc r10
sub r8, 1
jne 0x14001804f
ret
Function at 0x140018124
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140081ee0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, dword [rdx]
mov r15d, 0x1f
mov r11d, dword [rcx + 0x10a8]
mov r9, rdx
mov esi, dword [rdx + 8]
mov r10, rcx
movups xmm0, xmmword [rdx]
mov ebx, dword [rcx + 0x10a4]
mov r12d, r15d
xor r11d, dword [rdx + 4]
xor edi, ebx
xor esi, dword [rcx + 0x10ac]
mov ebp, dword [rdx + 0xc]
xor ebp, dword [rcx + 0x10b0]
movdqu xmmword [rsp + 0x20], xmm0
mov rax, r12
mov edx, ebp
and eax, 3
rol edx, 0xb
add edx, esi
dec r12
mov r8d, dword [r10 + rax*4 + 0x10a4]
xor edx, r8d
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx r14d, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
or r14d, ecx
movzx ecx, dl
shl r14d, 8
mov edx, esi
movzx eax, byte [rax + r10 + 0xfa4]
or r14d, eax
ror edx, 0xf
movzx eax, byte [rcx + r10 + 0xfa4]
xor edx, ebp
add edx, r8d
shl r14d, 8
or r14d, eax
mov eax, edx
shr eax, 0x10
xor r14d, edi
movzx eax, al
mov edi, esi
mov esi, r14d
movzx r8d, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 8
shl ecx, 8
or r8d, ecx
movzx eax, al
shl r8d, 8
movzx ecx, dl
movzx eax, byte [rax + r10 + 0xfa4]
or r8d, eax
movzx eax, byte [rcx + r10 + 0xfa4]
shl r8d, 8
or r8d, eax
xor r8d, r11d
mov r11d, ebp
sub r15d, 1
mov ebp, r8d
jns 0x140018188
xor ebx, r14d
lea rdx, [rsp + 0x20]
mov dword [r9], ebx
mov rcx, r10
mov eax, dword [r10 + 0x10a8]
xor eax, r8d
mov dword [r9 + 4], eax
mov eax, dword [r10 + 0x10ac]
xor eax, edi
mov dword [r9 + 8], eax
xor r11d, dword [r10 + 0x10b0]
mov dword [r9 + 0xc], r11d
call fcn.140019210
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140055f90
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140018354
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov ebx, dword [rcx + 0x10a4]
mov r9, rdx
mov r11d, dword [rcx + 0x10a8]
mov edi, ebx
mov esi, dword [rdx + 8]
mov r10, rcx
mov ebp, dword [rdx + 0xc]
xor edi, dword [rdx]
xor r11d, dword [rdx + 4]
xor esi, dword [rcx + 0x10ac]
xor ebp, dword [rcx + 0x10b0]
xor r15d, r15d
lea r12d, [r15 + 0x20]
mov rax, r15
mov edx, ebp
and eax, 3
rol edx, 0xb
add edx, esi
inc r15
mov r8d, dword [r10 + rax*4 + 0x10a4]
xor edx, r8d
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx r14d, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
or r14d, ecx
movzx ecx, dl
shl r14d, 8
mov edx, esi
movzx eax, byte [rax + r10 + 0xfa4]
or r14d, eax
ror edx, 0xf
movzx eax, byte [rcx + r10 + 0xfa4]
xor edx, ebp
add edx, r8d
shl r14d, 8
or r14d, eax
mov eax, edx
shr eax, 0x10
xor r14d, edi
movzx eax, al
mov edi, esi
mov esi, r14d
movzx r8d, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 8
shl ecx, 8
or r8d, ecx
movzx eax, al
shl r8d, 8
movzx ecx, dl
movzx eax, byte [rax + r10 + 0xfa4]
or r8d, eax
movzx eax, byte [rcx + r10 + 0xfa4]
shl r8d, 8
or r8d, eax
xor r8d, r11d
mov r11d, ebp
mov ebp, r8d
sub r12, 1
jne 0x1400183a5
xor ebx, r14d
mov rdx, r9
mov dword [r9], ebx
mov rcx, r10
mov eax, dword [r10 + 0x10a8]
xor eax, r8d
mov dword [r9 + 4], eax
mov eax, dword [r10 + 0x10ac]
xor eax, edi
mov dword [r9 + 8], eax
xor r11d, dword [r10 + 0x10b0]
mov dword [r9 + 0xc], r11d
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
jmp fcn.140019210

Function at 0x140018504
Capabilities:
Create new key via cryptacquirecontext
Encode data using xor
Generate random numbers via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov dword [rax - 0x28], 0xf0000040
mov rsi, rdx
mov qword [rax + 0x18], rdi
mov rbp, rcx
xor r8d, r8d
xor edx, edx
lea rcx, [rax + 0x18]
lea r9d, [rdi + 1]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140018563
mov rcx, qword [rsp + 0x60]
mov r8, rbp
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x60]
cmp eax, 1
sete bl
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test bl, bl
jne 0x1400185c0
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], rdi
call fcn.1400476c0
lea rcx, [rsp + 0x68]
call fcn.140047484
mov rbx, rax
call fcn.14005ec64
movsxd rcx, eax
add rbx, rcx
test rsi, rsi
je 0x1400185c0
mov r8d, dword [0x140091fb0]
mov cl, dil
mov rdx, rbx
and cl, 7
shl cl, 3
shr rdx, cl
xor dl, dil
add dl, r8b
inc r8d
mov byte [rdi + rbp], dl
inc rdi
cmp rdi, rsi
jb 0x140018596
mov dword [0x140091fb0], r8d
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x140018770
Capabilities:
Encode data using xor

Disassembly:
xor r11d, r11d
mov r8, rdx
mov word [rcx + 0x10b5], r11w
mov byte [rcx + 0x10b4], r11b
mov al, byte [rdx]
test al, al
je 0x1400187bc
mov dl, r11b
mov r9b, r11b
mov r10b, r11b
add dl, al
add r10b, al
xor r9b, al
rol dl, 1
inc r8
mov byte [rcx + 0x10b6], dl
mov byte [rcx + 0x10b4], r10b
mov byte [rcx + 0x10b5], r9b
mov al, byte [r8]
test al, al
jne 0x140018794
ret

Function at 0x1400187c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
add rcx, 0xba4
call fcn.140017d64
or r8, 0xffffffffffffffff
xor esi, esi
inc r8
cmp byte [rdi + r8], sil
jne 0x1400187e7
mov rdx, rdi
or ecx, 0xffffffff
call fcn.140017ac0
mov word [rbx + 0x10b8], ax
shr eax, 0x10
mov word [rbx + 0x10ba], ax
mov dword [rbx + 0x10bc], esi
mov al, byte [rdi]
test al, al
je 0x14001885b
mov r8d, esi
mov r9d, esi
movzx edx, al
inc rdi
movzx ecx, al
movzx eax, word [rbx + rdx*4 + 0xba4]
xor ax, cx
xor r9w, ax
mov word [rbx + 0x10bc], r9w
movzx eax, word [rbx + rdx*4 + 0xba6]
add ax, cx
add r8w, ax
mov word [rbx + 0x10be], r8w
mov al, byte [rdi]
test al, al
jne 0x14001881e
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140019210
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r9d, dword [rcx + 0x10a4]
lea r8, [rdx + 1]
mov r10d, dword [rcx + 0x10a8]
mov rdi, rdx
mov r11d, dword [rcx + 0x10ac]
mov rsi, rdx
mov ebx, dword [rcx + 0x10b0]
sub rdi, r8
sub rsi, r8
mov ebp, 4
sub rdx, r8
movzx eax, byte [rdi + r8]
xor r9d, dword [rcx + rax*4 + 0xba4]
mov dword [rcx + 0x10a4], r9d
movzx eax, byte [r8]
lea r8, [r8 + 4]
xor r10d, dword [rcx + rax*4 + 0xba4]
mov dword [rcx + 0x10a8], r10d
movzx eax, byte [rsi + r8 - 2]
xor r11d, dword [rcx + rax*4 + 0xba4]
mov dword [rcx + 0x10ac], r11d
movzx eax, byte [rdx + r8 - 1]
xor ebx, dword [rcx + rax*4 + 0xba4]
mov dword [rcx + 0x10b0], ebx
sub rbp, 1
jne 0x140019256
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret

Function at 0x14001a3f4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r9d, dword [rdx]
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
cmp r9d, dword [r8]
jbe 0x14001a44b
cmp dword [r8], 1
mov ecx, 1
jb 0x14001a430
mov eax, dword [rdx + rcx*4]
xor eax, dword [r8 + rcx*4]
mov dword [rsi + rcx*4], eax
inc ecx
cmp ecx, dword [r8]
jbe 0x14001a41f
mov r8d, dword [rdx]
lea rdx, [rdx + rcx*4]
sub r8d, dword [rbx]
lea rcx, [rsi + rcx*4]
shl r8, 2
call fcn.140059180
mov eax, dword [rdi]
jmp 0x14001a484
jae 0x14001a488
mov edx, 1
cmp r9d, edx
jb 0x14001a469
mov ecx, edx
inc edx
mov eax, dword [rdi + rcx*4]
xor eax, dword [r8 + rcx*4]
mov dword [rsi + rcx*4], eax
cmp edx, dword [rdi]
jbe 0x14001a457
mov r8d, dword [r8]
sub r8d, dword [rdi]
mov ecx, edx
shl r8, 2
lea rdx, [rbx + rcx*4]
lea rcx, [rsi + rcx*4]
call fcn.140059180
mov eax, dword [rbx]
mov dword [rsi], eax
jmp 0x14001a4cb
or r8d, 0xffffffff
test r9d, r9d
je 0x14001a4a8
lea rcx, [rbx + r9*4]
sub rdx, rbx
mov eax, dword [rdx + rcx]
xor eax, dword [rcx]
jne 0x14001a4a8
sub rcx, 4
add r9d, r8d
jne 0x14001a498
mov dword [rsi], r9d
test r9d, r9d
je 0x14001a4cb
sub rdi, rbx
lea rcx, [rbx + r9*4]
sub rsi, rbx
mov eax, dword [rcx + rdi]
xor eax, dword [rcx]
mov dword [rsi + rcx], eax
lea rcx, [rcx - 4]
add r9d, r8d
jne 0x14001a4ba
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14001aaa8
Capabilities:
Encode data using xor

Disassembly:
movsxd r8, dword [rcx]
cmp r8d, 0x11
jle 0x14001aad3
lea rdx, [rcx - 0x38]
lea rdx, [rdx + r8*4]
add r8d, 0xffffffef
mov eax, dword [rdx + 0x38]
xor dword [rdx - 0xc], eax
xor dword [rdx], eax
and dword [rdx + 0x38], 0
lea rdx, [rdx - 4]
sub r8, 1
jne 0x14001aabd
cmp dword [rcx], 0x11
jbe 0x14001aaed
mov dword [rcx], 0x11
mov eax, dword [rcx]
cmp dword [rcx + rax*4], 0
jne 0x14001aaed
sub eax, 1
mov dword [rcx], eax
jne 0x14001aade
ret
Function at 0x14001b8e4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, r8
mov qword [rcx], r9
mov r14, r9
mov r8, rdx
xor r9d, r9d
mov rbx, rcx
mov bpl, 1
movzx eax, word [r15]
test ax, ax
je 0x14001b93e
mov ecx, r9d
mov edx, 0xff
cmp ax, dx
ja 0x14001b937
inc rcx
movzx eax, word [r15 + rcx*2]
test ax, ax
jne 0x14001b91e
jmp 0x14001b93e
movzx ebp, ax
shr bp, 8
mov rax, qword [rbx + 0x18]
mov rdi, r9
mov byte [r14 + rax], bpl
mov rax, qword [rbx + 0x18]
inc rax
mov qword [rbx + 0x10], rax
inc rax
mov qword [rbx + 0x18], rax
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], r9b
jne 0x14001b95f
mov qword [rsp + 0x70], rax
cmp word [r15], r9w
je 0x14001bad4
lea rdx, [r15 + rdi*2]
mov r11b, byte [rdx + 1]
mov r13b, byte [rdx]
mov byte [rsp + 0x60], r11b
cmp rdi, rax
jae 0x14001ba6e
lea r10, [rdi + r8]
mov esi, r9d
mov r9, r10
mov r8, rdx
xor r12d, r12d
cmp word [r8], r12w
je 0x14001b9c3
movzx ecx, word [r8]
movsx eax, byte [r9]
cmp ecx, eax
jne 0x14001b9c3
inc esi
add r8, 2
inc r9
cmp esi, 0x81
jl 0x14001b9a0
cmp esi, 2
jl 0x14001b9f0
movsxd rax, esi
mov edx, 3
mov rcx, rbx
add rdi, rax
call fcn.14001b6f4
mov rax, qword [rbx + 0x18]
sub sil, 2
mov byte [r14 + rax], sil
inc qword [rbx + 0x18]
jmp 0x14001babc
mov r12b, r13b
sub r12b, byte [r10]
xor r9d, r9d
mov esi, r9d
movzx r8d, word [rdx]
test r8w, r8w
je 0x14001ba35
movzx ecx, r8w
shr cx, 8
cmp cl, bpl
jne 0x14001ba35
movsx ecx, byte [r10]
movzx eax, r12b
add ecx, eax
xor ecx, r8d
test cl, cl
jne 0x14001ba35
inc esi
add rdx, 2
inc r10
cmp esi, 0x81
jl 0x14001b9fc
cmp esi, 2
jl 0x14001ba6e
movsxd rax, esi
mov edx, 3
mov rcx, rbx
add rdi, rax
call fcn.14001b6f4
mov rax, qword [rbx + 0x18]
sub sil, 2
or sil, 0x80
mov byte [r14 + rax], sil
inc qword [rbx + 0x18]
mov rax, qword [rbx + 0x18]
mov byte [rax + r14], r12b
jmp 0x14001b9e7
mov rcx, rbx
test r11b, r11b
jne 0x14001ba87
xor edx, edx
call fcn.14001b6f4
mov rax, qword [rbx + 0x18]
mov byte [r14 + rax], r13b
jmp 0x14001bab5
cmp r11b, bpl
jne 0x14001ba93
mov edx, 1
jmp 0x14001ba78
mov edx, 2
call fcn.14001b6f4
mov rax, qword [rbx + 0x18]
mov cl, byte [rsp + 0x60]
mov byte [r14 + rax], r13b
inc qword [rbx + 0x18]
mov rax, qword [rbx + 0x18]
mov byte [rax + r14], cl
inc qword [rbx + 0x18]
inc rdi
mov rax, qword [rsp + 0x70]
xor r9d, r9d
mov r8, qword [rsp + 0x68]
cmp word [r15 + rdi*2], r9w
jne 0x14001b977
mov rax, qword [rbx + 0x10]
mov ecx, 8
sub ecx, dword [rbx + 0xc]
mov dl, byte [rbx + 8]
shl dl, cl
mov byte [r14 + rax], dl
mov rax, qword [rbx + 0x18]
mov rbx, qword [rsp + 0x78]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret