joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004c2d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rsi
push r13
sub rsp, 0x48
mov r13, qword [rcx + 0x10]
mov rsi, rdx
movsxd rax, dword [rcx + 0x1c]
shl rax, 4
add rax, r13
mov qword [rsp + 8], r13
mov qword [rsp + 0x10], rax
cmp r13, rax
je 0x14004c50b
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
nop dword [rax + rax]
movsxd r14, dword [r13 + 4]
mov eax, dword [r13 + 0xc]
mov r11d, dword [r13]
add eax, r14d
mov ebx, dword [r13 + 8]
mov dword [rsp + 0x78], r11d
mov dword [rsp], ebx
cmp r14d, eax
jge 0x14004c4d9
mov r15, r14
mov r13d, eax
nop word [rax + rax]
mov r10, qword [rsi]
mov eax, r14d
sub eax, dword [rsi + 0x18]
mov edi, r11d
mov r8, qword [rsi + 8]
cdq
sub edi, dword [rsi + 0x14]
mov ebp, ebx
movsxd r9, dword [r10 + 0x14]
imul r9, r15
add r9, qword [r10]
mov qword [rsi + 0x20], r9
idiv dword [r8 + 0x20]
movsxd rax, dword [r8 + 0x14]
movsxd rcx, edx
imul rcx, rax
add rcx, qword [r8]
mov qword [rsi + 0x28], rcx
movsxd rdx, dword [r10 + 0x18]
mov eax, edx
imul eax, r11d
movsxd rcx, eax
add rcx, r9
cmp dword [rsi + 0x10], 0xfe
jge 0x14004c480
mov r12, rdx
nop dword [rax + rax]
mov r8, qword [rsi + 8]
mov eax, edi
movzx ebx, byte [rcx + 1]
cdq
mov r9d, 0x100
inc edi
dec ebp
idiv dword [r8 + 0x1c]
imul edx, dword [r8 + 0x18]
movsxd r8, edx
add r8, qword [rsi + 0x28]
movzx edx, byte [r8 + 1]
movzx r11d, byte [r8 + 2]
or edx, 0xff0000
imul edx, dword [rsi + 0x10]
shl r11d, 0x10
shr edx, 8
and edx, 0xff00ff
mov eax, edx
shr eax, 0x10
sub r9d, eax
movzx eax, byte [r8]
or r11d, eax
imul ebx, r9d
imul r11d, dword [rsi + 0x10]
movzx eax, byte [rcx]
shr ebx, 8
add ebx, edx
shr r11d, 8
movzx edx, byte [rcx + 2]
and r11d, 0xff00ff
shl edx, 0x10
or edx, eax
imul edx, r9d
shr edx, 8
and edx, 0xff00ff
add r11d, edx
mov edx, 0x100
mov eax, r11d
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, ebx
shr eax, 8
or edx, r11d
neg al
and edx, 0xff00ff
or al, bl
mov byte [rcx], dl
mov byte [rcx + 1], al
mov eax, edx
shr eax, 0x10
mov byte [rcx + 2], al
add rcx, r12
test ebp, ebp
jg 0x14004c3b0
mov r11d, dword [rsp + 0x78]
mov ebx, dword [rsp]
jmp 0x14004c4c5
mov r10, rdx
mov r8, qword [rsi + 8]
mov eax, edi
cdq
inc edi
dec ebp
idiv dword [r8 + 0x1c]
mov rax, qword [rsi + 0x28]
imul edx, dword [r8 + 0x18]
movsxd rdx, edx
movzx r8d, word [rdx + rax]
movzx r9d, byte [rdx + rax + 2]
mov word [rsp + 0x60], r8w
movzx eax, byte [rsp + 0x61]
mov byte [rcx + 1], al
mov byte [rcx], r8b
mov byte [rcx + 2], r9b
add rcx, r10
test ebp, ebp
jg 0x14004c483
inc r14d
inc r15
cmp r14d, r13d
jl 0x14004c350
mov r13, qword [rsp + 8]
add r13, 0x10
mov qword [rsp + 8], r13
cmp r13, qword [rsp + 0x10]
jne 0x14004c320
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x68]
add rsp, 0x48
pop r13
pop rsi
ret
Function at 0x14004ccf0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x10
mov r14, qword [rcx + 0x10]
mov rbx, rdx
movsxd r15, dword [rcx + 0x1c]
shl r15, 4
add r15, r14
cmp r14, r15
je 0x14004ce75
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 8], r12
mov qword [rsp], r13
nop dword [rax]
movsxd rdi, dword [r14 + 4]
mov ebp, dword [r14 + 0xc]
mov r12d, dword [r14]
add ebp, edi
mov r13d, dword [r14 + 8]
cmp edi, ebp
jge 0x14004ce50
mov rsi, rdi
nop dword [rax]
mov r10, qword [rbx]
mov eax, edi
sub eax, dword [rbx + 0x18]
mov r11d, r13d
mov r8, qword [rbx + 8]
cdq
movsxd r9, dword [r10 + 0x14]
imul r9, rsi
add r9, qword [r10]
mov qword [rbx + 0x20], r9
idiv dword [r8 + 0x20]
movsxd rax, dword [r8 + 0x14]
movsxd rcx, edx
imul rcx, rax
add rcx, qword [r8]
mov qword [rbx + 0x28], rcx
movsxd rdx, dword [r10 + 0x18]
mov eax, edx
mov r10, rdx
imul eax, r12d
movsxd rcx, eax
add rcx, r9
mov r9d, r12d
sub r9d, dword [rbx + 0x14]
cmp dword [rbx + 0x10], 0xfe
jge 0x14004ce01
nop dword [rax + rax]
mov r8, qword [rbx + 8]
mov eax, r9d
cdq
inc r9d
dec r11d
idiv dword [r8 + 0x1c]
mov rax, qword [rbx + 0x28]
imul edx, dword [r8 + 0x18]
movsxd rdx, edx
movzx r8d, byte [rdx + rax + 3]
mov edx, 0x100
mov eax, dword [rbx + 0x10]
inc eax
imul r8d, eax
movzx eax, byte [rcx]
shr r8d, 8
sub edx, r8d
imul edx, eax
sar edx, 8
add dl, r8b
mov byte [rcx], dl
add rcx, r10
test r11d, r11d
jg 0x14004cdb0
jmp 0x14004ce43
mov r8, qword [rbx + 8]
mov eax, r9d
cdq
inc r9d
dec r11d
idiv dword [r8 + 0x1c]
mov rax, qword [rbx + 0x28]
imul edx, dword [r8 + 0x18]
movsxd rdx, edx
movzx r8d, byte [rdx + rax + 3]
mov edx, 0x100
movzx eax, byte [rcx]
sub edx, r8d
imul edx, eax
sar edx, 8
add dl, r8b
mov byte [rcx], dl
add rcx, r10
test r11d, r11d
jg 0x14004ce01
inc edi
inc rsi
cmp edi, ebp
jl 0x14004cd50
add r14, 0x10
cmp r14, r15
jne 0x14004cd30
mov r13, qword [rsp]
mov r12, qword [rsp + 8]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
add rsp, 0x10
pop r15
pop r14
pop rbx
ret
Function at 0x14004d200
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x10
mov r14, qword [rcx + 0x10]
mov rbx, rdx
movsxd r15, dword [rcx + 0x1c]
shl r15, 4
add r15, r14
cmp r14, r15
je 0x14004d383
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 8], r12
mov qword [rsp], r13
nop dword [rax]
movsxd rdi, dword [r14 + 4]
mov ebp, dword [r14 + 0xc]
mov r12d, dword [r14]
add ebp, edi
mov r13d, dword [r14 + 8]
cmp edi, ebp
jge 0x14004d35e
mov rsi, rdi
nop dword [rax]
mov r10, qword [rbx]
mov eax, edi
sub eax, dword [rbx + 0x18]
mov r11d, r13d
mov r8, qword [rbx + 8]
cdq
movsxd r9, dword [r10 + 0x14]
imul r9, rsi
add r9, qword [r10]
mov qword [rbx + 0x20], r9
idiv dword [r8 + 0x20]
movsxd rax, dword [r8 + 0x14]
movsxd rcx, edx
imul rcx, rax
add rcx, qword [r8]
mov qword [rbx + 0x28], rcx
movsxd rdx, dword [r10 + 0x18]
mov eax, edx
mov r10, rdx
imul eax, r12d
movsxd rcx, eax
add rcx, r9
mov r9d, r12d
sub r9d, dword [rbx + 0x14]
cmp dword [rbx + 0x10], 0xfe
jge 0x14004d310
nop dword [rax + rax]
mov r8, qword [rbx + 8]
mov eax, r9d
cdq
inc r9d
dec r11d
idiv dword [r8 + 0x1c]
mov rax, qword [rbx + 0x28]
imul edx, dword [r8 + 0x18]
movsxd rdx, edx
movzx r8d, byte [rdx + rax]
mov edx, 0x100
mov eax, dword [rbx + 0x10]
inc eax
imul r8d, eax
movzx eax, byte [rcx]
shr r8d, 8
sub edx, r8d
imul edx, eax
sar edx, 8
add dl, r8b
mov byte [rcx], dl
add rcx, r10
test r11d, r11d
jg 0x14004d2c0
jmp 0x14004d351
mov r8, qword [rbx + 8]
mov eax, r9d
cdq
inc r9d
dec r11d
idiv dword [r8 + 0x1c]
mov rax, qword [rbx + 0x28]
imul edx, dword [r8 + 0x18]
movsxd rdx, edx
movzx r8d, byte [rdx + rax]
mov edx, 0x100
movzx eax, byte [rcx]
sub edx, r8d
imul edx, eax
sar edx, 8
add dl, r8b
mov byte [rcx], dl
add rcx, r10
test r11d, r11d
jg 0x14004d310
inc edi
inc rsi
cmp edi, ebp
jl 0x14004d260
add r14, 0x10
cmp r14, r15
jne 0x14004d240
mov r13, qword [rsp]
mov r12, qword [rsp + 8]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
add rsp, 0x10
pop r15
pop r14
pop rbx
ret
Function at 0x140050b20
Capabilities:
Encode data using xor

Disassembly:
push rbx
push r14
push r15
mov eax, dword [rcx + 0x10]
mov ebx, edx
mov r10d, dword [rsp + 0x48]
mov r11d, eax
and eax, 0xff00ff
shr r11d, 8
inc r10d
movsxd r8, r8d
imul eax, r10d
and r11d, 0xff00ff
imul r11d, r10d
mov r14, rcx
mov r15d, r9d
mov r9, qword [rcx]
shr eax, 8
movsxd rdx, dword [r9 + 0x14]
xor eax, r11d
imul r8, rdx
and eax, 0xff00ff
add r8, qword [r9]
xor eax, r11d
mov r11d, dword [rsp + 0x40]
mov qword [rcx + 8], r8
dec r11d
imul ebx, dword [r9 + 0x18]
mov ecx, eax
shr ecx, 0x18
movsxd r10, ebx
add r10, r8
cmp cl, 0xff
jb 0x140050bd1
test r11d, r11d
js 0x140050cd0
nop dword [rax]
movsxd r8, dword [r9 + 0x18]
mov edx, r15d
mov rcx, r10
nop word [rax + rax]
mov dword [rcx], eax
dec edx
add rcx, r8
test edx, edx
jg 0x140050bb0
mov r9, qword [r14]
movsxd rcx, dword [r9 + 0x14]
add r10, rcx
sub r11d, 1
jns 0x140050ba0
pop r15
pop r14
pop rbx
ret
test r11d, r11d
js 0x140050cd0
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x28], rsi
mov esi, 0x100
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], r12
mov r12d, eax
shr eax, 8
and r12d, 0xff00ff
and eax, 0xff00ff
mov ecx, eax
shr ecx, 0x10
sub esi, ecx
nop dword [rax]
movsxd rbp, dword [r9 + 0x18]
mov edi, r15d
mov rbx, r10
nop word [rax + rax]
mov edx, dword [rbx]
mov r8d, 0x100
mov r9d, edx
dec edi
shr edx, 8
and r9d, 0xff00ff
and edx, 0xff00ff
imul r9d, esi
imul edx, esi
shr r9d, 8
shr edx, 8
and r9d, 0xff00ff
and edx, 0xff00ff
add r9d, r12d
add edx, eax
mov ecx, edx
shl edx, 8
shr ecx, 8
and ecx, 0xff00ff
sub r8d, ecx
mov ecx, r9d
shl r8d, 8
or r8d, edx
shr ecx, 8
and ecx, 0xff00ff
and r8d, 0xff00ff00
mov edx, 0x100
sub edx, ecx
or edx, r9d
and edx, 0xff00ff
xor edx, r8d
mov dword [rbx], edx
add rbx, rbp
test edi, edi
jg 0x140050c20
mov r9, qword [r14]
movsxd rcx, dword [r9 + 0x14]
add r10, rcx
sub r11d, 1
jns 0x140050c10
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x20]
pop r15
pop r14
pop rbx
ret
Function at 0x140051db0
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
movsxd rdi, r8d
mov ebp, r9d
mov r15d, edx
mov rsi, rcx
cmp edi, dword [rcx + 0x80]
jle 0x140051df8
mov qword [rcx + 0x80], rdi
mov rcx, qword [rcx + 0x78]
call fcn.1400e0818
mov rcx, rdi
call fcn.1400e0cb8
mov qword [rsi + 0x78], rax
mov rbx, qword [rsi + 0x78]
mov r9d, edi
mov rdx, rbx
mov r8d, r15d
mov rcx, rsi
call fcn.140038d20
mov rax, qword [rsi + 0x48]
imul ebp, dword [rsi + 0x58]
movsxd rcx, dword [rax + 0x18]
mov eax, ecx
mov r11, rcx
imul eax, r15d
sar ebp, 8
movsxd r10, eax
add r10, qword [rsi + 0x70]
cmp ebp, 0xfe
jge 0x140051f00
nop dword [rax + rax]
movzx eax, byte [rbx]
lea rbx, [rbx + 1]
mov r9d, eax
mov ecx, 0x100
shl r9d, 0x10
mov edx, 0x100
or r9d, eax
dec edi
imul r9d, ebp
shr r9d, 8
and r9d, 0xff00ff
mov eax, r9d
shr eax, 0x10
sub ecx, eax
mov eax, dword [r10]
mov r8d, eax
shr eax, 8
and eax, 0xff00ff
and r8d, 0xff00ff
imul eax, ecx
imul r8d, ecx
mov ecx, 0x100
shr eax, 8
and eax, 0xff00ff
shr r8d, 8
and r8d, 0xff00ff
add r8d, r9d
add r9d, eax
mov eax, r9d
shl r9d, 8
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, r8d
shl edx, 8
shr eax, 8
or edx, r9d
and eax, 0xff00ff
and edx, 0xff00ff00
sub ecx, eax
or ecx, r8d
and ecx, 0xff00ff
xor ecx, edx
mov dword [r10], ecx
add r10, r11
test edi, edi
jg 0x140051e40
jmp 0x140051fa0
movzx eax, byte [rbx]
lea rbx, [rbx + 1]
mov r8d, dword [r10]
mov edx, eax
mov r9d, r8d
shl edx, 0x10
or edx, eax
shr r8d, 8
and r8d, 0xff00ff
and r9d, 0xff00ff
mov ecx, 0x100
dec edi
sub ecx, eax
imul r8d, ecx
imul r9d, ecx
mov ecx, 0x100
shr r8d, 8
and r8d, 0xff00ff
shr r9d, 8
add r8d, edx
and r9d, 0xff00ff
add r9d, edx
mov eax, r8d
shr eax, 8
mov edx, 0x100
and eax, 0xff00ff
shl r8d, 8
sub edx, eax
mov eax, r9d
shl edx, 8
shr eax, 8
or edx, r8d
and eax, 0xff00ff
and edx, 0xff00ff00
sub ecx, eax
or ecx, r9d
and ecx, 0xff00ff
xor ecx, edx
mov dword [r10], ecx
add r10, r11
test edi, edi
jg 0x140051f00
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 0x140051fc0
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
movsxd rdi, r8d
mov ebp, r9d
mov r15d, edx
mov rsi, rcx
cmp edi, dword [rcx + 0x80]
jle 0x140052008
mov qword [rcx + 0x80], rdi
mov rcx, qword [rcx + 0x78]
call fcn.1400e0818
mov rcx, rdi
call fcn.1400e0cb8
mov qword [rsi + 0x78], rax
mov rbx, qword [rsi + 0x78]
mov r9d, edi
mov rdx, rbx
mov r8d, r15d
mov rcx, rsi
call fcn.140053070
mov rax, qword [rsi + 0x48]
imul ebp, dword [rsi + 0x58]
movsxd rcx, dword [rax + 0x18]
mov eax, ecx
mov r11, rcx
imul eax, r15d
sar ebp, 8
movsxd r10, eax
add r10, qword [rsi + 0x70]
cmp ebp, 0xfe
jge 0x140052110
nop dword [rax + rax]
movzx eax, byte [rbx]
lea rbx, [rbx + 1]
mov r9d, eax
mov ecx, 0x100
shl r9d, 0x10
mov edx, 0x100
or r9d, eax
dec edi
imul r9d, ebp
shr r9d, 8
and r9d, 0xff00ff
mov eax, r9d
shr eax, 0x10
sub ecx, eax
mov eax, dword [r10]
mov r8d, eax
shr eax, 8
and eax, 0xff00ff
and r8d, 0xff00ff
imul eax, ecx
imul r8d, ecx
mov ecx, 0x100
shr eax, 8
and eax, 0xff00ff
shr r8d, 8
and r8d, 0xff00ff
add r8d, r9d
add r9d, eax
mov eax, r9d
shl r9d, 8
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, r8d
shl edx, 8
shr eax, 8
or edx, r9d
and eax, 0xff00ff
and edx, 0xff00ff00
sub ecx, eax
or ecx, r8d
and ecx, 0xff00ff
xor ecx, edx
mov dword [r10], ecx
add r10, r11
test edi, edi
jg 0x140052050
jmp 0x1400521b0
movzx eax, byte [rbx]
lea rbx, [rbx + 1]
mov r8d, dword [r10]
mov edx, eax
mov r9d, r8d
shl edx, 0x10
or edx, eax
shr r8d, 8
and r8d, 0xff00ff
and r9d, 0xff00ff
mov ecx, 0x100
dec edi
sub ecx, eax
imul r8d, ecx
imul r9d, ecx
mov ecx, 0x100
shr r8d, 8
and r8d, 0xff00ff
shr r9d, 8
add r8d, edx
and r9d, 0xff00ff
add r9d, edx
mov eax, r8d
shr eax, 8
mov edx, 0x100
and eax, 0xff00ff
shl r8d, 8
sub edx, eax
mov eax, r9d
shl edx, 8
shr eax, 8
or edx, r8d
and eax, 0xff00ff
and edx, 0xff00ff00
sub ecx, eax
or ecx, r9d
and ecx, 0xff00ff
xor ecx, edx
mov dword [r10], ecx
add r10, r11
test edi, edi
jg 0x140052110
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 0x1400521d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd rdi, r8d
mov ebp, r9d
mov r15d, edx
mov rsi, rcx
cmp edi, dword [rcx + 0x80]
jle 0x140052219
mov qword [rcx + 0x80], rdi
mov rcx, qword [rcx + 0x78]
call fcn.1400e0818
lea rcx, [rdi + rdi*2]
call fcn.1400e0cb8
mov qword [rsi + 0x78], rax
mov rbx, qword [rsi + 0x78]
mov r9d, edi
mov rdx, rbx
mov r8d, r15d
mov rcx, rsi
call fcn.140053200
mov rax, qword [rsi + 0x48]
imul ebp, dword [rsi + 0x58]
movsxd rcx, dword [rax + 0x18]
mov eax, ecx
imul eax, r15d
sar ebp, 8
movsxd r10, eax
add r10, qword [rsi + 0x70]
cmp ebp, 0xfe
jge 0x14005232b
mov r11, rcx
add rbx, 2
nop dword [rax]
mov edx, dword [r10]
mov ecx, 0x100
movzx r9d, byte [rbx - 1]
dec edi
movzx r8d, byte [rbx]
lea rbx, [rbx + 3]
or r9d, 0xff0000
shl r8d, 0x10
imul r9d, ebp
shr r9d, 8
and r9d, 0xff00ff
mov eax, r9d
shr eax, 0x10
sub ecx, eax
movzx eax, byte [rbx - 5]
or r8d, eax
mov eax, edx
shr edx, 8
and eax, 0xff00ff
imul eax, ecx
and edx, 0xff00ff
imul edx, ecx
mov ecx, 0x100
imul r8d, ebp
shr eax, 8
and eax, 0xff00ff
shr edx, 8
and edx, 0xff00ff
shr r8d, 8
add r9d, edx
and r8d, 0xff00ff
add r8d, eax
mov edx, 0x100
mov eax, r9d
shl r9d, 8
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, r8d
shl edx, 8
shr eax, 8
or edx, r9d
and eax, 0xff00ff
and edx, 0xff00ff00
sub ecx, eax
or ecx, r8d
and ecx, 0xff00ff
xor ecx, edx
mov dword [r10], ecx
add r10, r11
test edi, edi
jg 0x140052260
jmp 0x140052364
mov r8, rcx
nop
movzx edx, word [rbx]
dec edi
movzx ecx, byte [rbx + 2]
lea rbx, [rbx + 3]
or ecx, 0xffffff00
mov word [rsp + 0x50], dx
movzx eax, byte [rsp + 0x51]
shl ecx, 8
or ecx, eax
movzx eax, dl
shl ecx, 8
or ecx, eax
mov dword [r10], ecx
add r10, r8
test edi, edi
jg 0x140052330
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140052380
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd rdi, r8d
mov ebp, r9d
mov r15d, edx
mov rsi, rcx
cmp edi, dword [rcx + 0x80]
jle 0x1400523c9
mov qword [rcx + 0x80], rdi
mov rcx, qword [rcx + 0x78]
call fcn.1400e0818
lea rcx, [rdi + rdi*2]
call fcn.1400e0cb8
mov qword [rsi + 0x78], rax
mov rbx, qword [rsi + 0x78]
mov r9d, edi
mov rdx, rbx
mov r8d, r15d
mov rcx, rsi
call fcn.140053650
mov rax, qword [rsi + 0x48]
imul ebp, dword [rsi + 0x58]
movsxd rcx, dword [rax + 0x18]
mov eax, ecx
imul eax, r15d
sar ebp, 8
movsxd r10, eax
add r10, qword [rsi + 0x70]
cmp ebp, 0xfe
jge 0x1400524db
mov r11, rcx
add rbx, 2
nop dword [rax]
mov edx, dword [r10]
mov ecx, 0x100
movzx r9d, byte [rbx - 1]
dec edi
movzx r8d, byte [rbx]
lea rbx, [rbx + 3]
or r9d, 0xff0000
shl r8d, 0x10
imul r9d, ebp
shr r9d, 8
and r9d, 0xff00ff
mov eax, r9d
shr eax, 0x10
sub ecx, eax
movzx eax, byte [rbx - 5]
or r8d, eax
mov eax, edx
shr edx, 8
and eax, 0xff00ff
imul eax, ecx
and edx, 0xff00ff
imul edx, ecx
mov ecx, 0x100
imul r8d, ebp
shr eax, 8
and eax, 0xff00ff
shr edx, 8
and edx, 0xff00ff
shr r8d, 8
add r9d, edx
and r8d, 0xff00ff
add r8d, eax
mov edx, 0x100
mov eax, r9d
shl r9d, 8
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, r8d
shl edx, 8
shr eax, 8
or edx, r9d
and eax, 0xff00ff
and edx, 0xff00ff00
sub ecx, eax
or ecx, r8d
and ecx, 0xff00ff
xor ecx, edx
mov dword [r10], ecx
add r10, r11
test edi, edi
jg 0x140052410
jmp 0x140052514
mov r8, rcx
nop
movzx edx, word [rbx]
dec edi
movzx ecx, byte [rbx + 2]
lea rbx, [rbx + 3]
or ecx, 0xffffff00
mov word [rsp + 0x50], dx
movzx eax, byte [rsp + 0x51]
shl ecx, 8
or ecx, eax
movzx eax, dl
shl ecx, 8
or ecx, eax
mov dword [r10], ecx
add r10, r8
test edi, edi
jg 0x1400524e0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140052530
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
movsxd rdi, r8d
mov ebp, r9d
mov r15d, edx
mov rsi, rcx
cmp edi, dword [rcx + 0x80]
jle 0x14005257d
mov qword [rcx + 0x80], rdi
mov rcx, qword [rcx + 0x78]
call fcn.1400e0818
lea rcx, [rdi*4]
call fcn.1400e0cb8
mov qword [rsi + 0x78], rax
mov rbx, qword [rsi + 0x78]
mov r9d, edi
mov rdx, rbx
mov r8d, r15d
mov rcx, rsi
call fcn.1400538a0
mov rax, qword [rsi + 0x48]
imul ebp, dword [rsi + 0x58]
movsxd rcx, dword [rax + 0x18]
mov eax, ecx
mov r11, rcx
imul eax, r15d
sar ebp, 8
movsxd r10, eax
add r10, qword [rsi + 0x70]
cmp ebp, 0xfe
jge 0x140052690
nop dword [rax]
mov edx, dword [rbx]
lea rbx, [rbx + 4]
mov r9d, edx
mov ecx, 0x100
and edx, 0xff00ff
shr r9d, 8
imul edx, ebp
and r9d, 0xff00ff
imul r9d, ebp
dec edi
shr edx, 8
and edx, 0xff00ff
shr r9d, 8
and r9d, 0xff00ff
mov eax, r9d
shr eax, 0x10
sub ecx, eax
mov eax, dword [r10]
mov r8d, eax
shr eax, 8
and eax, 0xff00ff
and r8d, 0xff00ff
imul eax, ecx
imul r8d, ecx
mov ecx, 0x100
shr eax, 8
and eax, 0xff00ff
shr r8d, 8
add r9d, eax
and r8d, 0xff00ff
add r8d, edx
mov eax, r9d
shr eax, 8
mov edx, 0x100
and eax, 0xff00ff
shl r9d, 8
sub edx, eax
mov eax, r8d
shl edx, 8
shr eax, 8
or edx, r9d
and eax, 0xff00ff
and edx, 0xff00ff00
sub ecx, eax
or ecx, r8d
and ecx, 0xff00ff
xor ecx, edx
mov dword [r10], ecx
add r10, r11
test edi, edi
jg 0x1400525c0
jmp 0x14005273b
mov edx, dword [rbx]
lea rbx, [rbx + 4]
mov r9d, edx
mov ecx, 0x100
and edx, 0xff00ff
shr r9d, 8
and r9d, 0xff00ff
dec edi
mov eax, r9d
shr eax, 0x10
sub ecx, eax
mov eax, dword [r10]
mov r8d, eax
shr eax, 8
and eax, 0xff00ff
and r8d, 0xff00ff
imul eax, ecx
imul r8d, ecx
mov ecx, 0x100
shr eax, 8
and eax, 0xff00ff
shr r8d, 8
add r9d, eax
and r8d, 0xff00ff
add r8d, edx
mov eax, r9d
shr eax, 8
mov edx, 0x100
and eax, 0xff00ff
shl r9d, 8
sub edx, eax
mov eax, r8d
shl edx, 8
shr eax, 8
or edx, r9d
and eax, 0xff00ff
and edx, 0xff00ff00
sub ecx, eax
or ecx, r8d
and ecx, 0xff00ff
xor ecx, edx
mov dword [r10], ecx
add r10, r11
test edi, edi
jg 0x140052690
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 0x140052870
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
movsxd rdi, r8d
mov ebp, r9d
mov r15d, edx
mov rsi, rcx
cmp edi, dword [rcx + 0x80]
jle 0x1400528bd
mov qword [rcx + 0x80], rdi
mov rcx, qword [rcx + 0x78]
call fcn.1400e0818
lea rcx, [rdi*4]
call fcn.1400e0cb8
mov qword [rsi + 0x78], rax
mov rbx, qword [rsi + 0x78]
mov r9d, edi
mov rdx, rbx
mov r8d, r15d
mov rcx, rsi
call fcn.140038f90
mov rax, qword [rsi + 0x48]
imul ebp, dword [rsi + 0x58]
movsxd rcx, dword [rax + 0x18]
mov eax, ecx
mov r11, rcx
imul eax, r15d
sar ebp, 8
movsxd r10, eax
add r10, qword [rsi + 0x70]
cmp ebp, 0xfe
jge 0x1400529d0
nop dword [rax]
mov edx, dword [rbx]
lea rbx, [rbx + 4]
mov r9d, edx
mov ecx, 0x100
and edx, 0xff00ff
shr r9d, 8
imul edx, ebp
and r9d, 0xff00ff
imul r9d, ebp
dec edi
shr edx, 8
and edx, 0xff00ff
shr r9d, 8
and r9d, 0xff00ff
mov eax, r9d
shr eax, 0x10
sub ecx, eax
mov eax, dword [r10]
mov r8d, eax
shr eax, 8
and eax, 0xff00ff
and r8d, 0xff00ff
imul eax, ecx
imul r8d, ecx
mov ecx, 0x100
shr eax, 8
and eax, 0xff00ff
shr r8d, 8
add r9d, eax
and r8d, 0xff00ff
add r8d, edx
mov eax, r9d
shr eax, 8
mov edx, 0x100
and eax, 0xff00ff
shl r9d, 8
sub edx, eax
mov eax, r8d
shl edx, 8
shr eax, 8
or edx, r9d
and eax, 0xff00ff
and edx, 0xff00ff00
sub ecx, eax
or ecx, r8d
and ecx, 0xff00ff
xor ecx, edx
mov dword [r10], ecx
add r10, r11
test edi, edi
jg 0x140052900
jmp 0x140052a7b
mov edx, dword [rbx]
lea rbx, [rbx + 4]
mov r9d, edx
mov ecx, 0x100
and edx, 0xff00ff
shr r9d, 8
and r9d, 0xff00ff
dec edi
mov eax, r9d
shr eax, 0x10
sub ecx, eax
mov eax, dword [r10]
mov r8d, eax
shr eax, 8
and eax, 0xff00ff
and r8d, 0xff00ff
imul eax, ecx
imul r8d, ecx
mov ecx, 0x100
shr eax, 8
and eax, 0xff00ff
shr r8d, 8
add r9d, eax
and r8d, 0xff00ff
add r8d, edx
mov eax, r9d
shr eax, 8
mov edx, 0x100
and eax, 0xff00ff
shl r9d, 8
sub edx, eax
mov eax, r8d
shl edx, 8
shr eax, 8
or edx, r9d
and eax, 0xff00ff
and edx, 0xff00ff00
sub ecx, eax
or ecx, r8d
and ecx, 0xff00ff
xor ecx, edx
mov dword [r10], ecx
add r10, r11
test edi, edi
jg 0x1400529d0
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 0x140052b60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rax, qword [rcx]
mov ebx, r8d
shr r8d, 8
and ebx, 0xff00ff
and r8d, 0xff00ff
mov r10d, 0x100
mov edi, r9d
mov r11, rdx
movsxd rsi, dword [rax + 0x18]
mov eax, r8d
shr eax, 0x10
sub r10d, eax
nop
mov ecx, dword [r11]
mov edx, 0x100
mov r9d, ecx
dec edi
shr ecx, 8
and r9d, 0xff00ff
and ecx, 0xff00ff
imul r9d, r10d
imul ecx, r10d
shr r9d, 8
shr ecx, 8
and r9d, 0xff00ff
and ecx, 0xff00ff
add r9d, ebx
add ecx, r8d
mov eax, ecx
shl ecx, 8
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, r9d
shl edx, 8
or edx, ecx
shr eax, 8
and eax, 0xff00ff
and edx, 0xff00ff00
mov ecx, 0x100
sub ecx, eax
or ecx, r9d
and ecx, 0xff00ff
xor ecx, edx
mov dword [r11], ecx
add r11, rsi
test edi, edi
jg 0x140052ba0
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret