joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59dabf
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
cmp edi, 0x10
je 0x59da04
cmp edi, 0xc
je 0x59da04
cmp edi, 8
mov eax, 0x10
cmovne edi, eax
mov eax, dword [ebp + 8]
xor esi, esi
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], esi
mov dword [ebp + 0x14], esi
lea ebx, [eax + 4]
mov dword [eax], edi
lea eax, [edx - 8]
mov dword [ebp - 4], ebx
test eax, eax
js 0x59da95
mov eax, edx
shr eax, 3
mov dword [ebp + 8], eax
mov ebx, eax
shl eax, 3
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 1]
movzx edx, byte [eax]
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 2]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 3]
shl ecx, 0x18
or edx, ecx
movzx ecx, byte [eax + 5]
mov dword [ebp + esi*4 - 0x104], edx
movzx edx, byte [eax + 4]
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 6]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 7]
shl ecx, 0x18
add eax, 8
or edx, ecx
mov dword [ebp + esi*4 - 0x100], edx
add esi, 2
sub ebx, 1
jne 0x59da34
mov ebx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], esi
jmp 0x59da98
mov eax, dword [ebp + 0x10]
mov ecx, edx
sub ecx, dword [ebp + 0x14]
je 0x59db10
mov ecx, edx
xor esi, esi
and ecx, 7
xor edx, edx
add eax, ecx
dec ecx
cmp ecx, 7
ja case.default.0x59dab0
jmp dword [ecx*4 + 0x59dbbc]
movzx edx, byte [eax - 1]
dec eax
shl edx, 0x18
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax - 1]
dec eax
or edx, ecx
movzx esi, byte [eax - 1]
dec eax
shl esi, 0x18
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 0x10
or esi, ecx
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 8
or esi, ecx
movzx eax, byte [eax - 1]
or esi, eax
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x100], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0x104], esi
lea eax, [edx + 3]
mov dword [ebx], 0xb7e15163
cdq
lea edi, [edi*2 + 2]
and edx, 3
mov ecx, 1
add edx, eax
sar edx, 2
cmp edi, ecx
jle 0x59db43
mov eax, dword [ebx + ecx*4 - 4]
sub eax, 0x61c88647
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jl 0x59db32
cmp edi, edx
mov eax, edx
cmovg eax, edi
xor ecx, ecx
xor esi, esi
mov dword [ebp + 8], ecx
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0xc], ecx
lea eax, [eax + eax*2]
mov dword [ebp - 4], eax
test eax, eax
jle 0x59dbb2
mov eax, dword [ebx + ecx*4]
add eax, dword [ebp + 0x14]
add eax, dword [ebp + 0xc]
rol eax, 3
mov dword [ebx + ecx*4], eax
mov ecx, eax
add ecx, dword [ebp + 0x14]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + esi*4 - 0x104]
add eax, dword [ebp + 0x14]
add eax, dword [ebp + 0xc]
rol eax, cl
lea ecx, [esi + 1]
mov dword [ebp + esi*4 - 0x104], eax
xor esi, esi
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 8]
inc eax
cmp eax, edi
cmovl esi, eax
mov dword [ebp + 8], esi
xor esi, esi
cmp ecx, edx
cmovl esi, ecx
sub dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
jne 0x59db61
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x59dac9
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
cmp edi, 0x10
je 0x59da04
cmp edi, 0xc
je 0x59da04
cmp edi, 8
mov eax, 0x10
cmovne edi, eax
mov eax, dword [ebp + 8]
xor esi, esi
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], esi
mov dword [ebp + 0x14], esi
lea ebx, [eax + 4]
mov dword [eax], edi
lea eax, [edx - 8]
mov dword [ebp - 4], ebx
test eax, eax
js 0x59da95
mov eax, edx
shr eax, 3
mov dword [ebp + 8], eax
mov ebx, eax
shl eax, 3
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 1]
movzx edx, byte [eax]
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 2]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 3]
shl ecx, 0x18
or edx, ecx
movzx ecx, byte [eax + 5]
mov dword [ebp + esi*4 - 0x104], edx
movzx edx, byte [eax + 4]
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 6]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 7]
shl ecx, 0x18
add eax, 8
or edx, ecx
mov dword [ebp + esi*4 - 0x100], edx
add esi, 2
sub ebx, 1
jne 0x59da34
mov ebx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], esi
jmp 0x59da98
mov eax, dword [ebp + 0x10]
mov ecx, edx
sub ecx, dword [ebp + 0x14]
je 0x59db10
mov ecx, edx
xor esi, esi
and ecx, 7
xor edx, edx
add eax, ecx
dec ecx
cmp ecx, 7
ja case.default.0x59dab0
jmp dword [ecx*4 + 0x59dbbc]
movzx edx, byte [eax - 1]
dec eax
shl edx, 0x18
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax - 1]
dec eax
or edx, ecx
movzx esi, byte [eax - 1]
dec eax
shl esi, 0x18
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 0x10
or esi, ecx
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 8
or esi, ecx
movzx eax, byte [eax - 1]
or esi, eax
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x100], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0x104], esi
lea eax, [edx + 3]
mov dword [ebx], 0xb7e15163
cdq
lea edi, [edi*2 + 2]
and edx, 3
mov ecx, 1
add edx, eax
sar edx, 2
cmp edi, ecx
jle 0x59db43
mov eax, dword [ebx + ecx*4 - 4]
sub eax, 0x61c88647
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jl 0x59db32
cmp edi, edx
mov eax, edx
cmovg eax, edi
xor ecx, ecx
xor esi, esi
mov dword [ebp + 8], ecx
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0xc], ecx
lea eax, [eax + eax*2]
mov dword [ebp - 4], eax
test eax, eax
jle 0x59dbb2
mov eax, dword [ebx + ecx*4]
add eax, dword [ebp + 0x14]
add eax, dword [ebp + 0xc]
rol eax, 3
mov dword [ebx + ecx*4], eax
mov ecx, eax
add ecx, dword [ebp + 0x14]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + esi*4 - 0x104]
add eax, dword [ebp + 0x14]
add eax, dword [ebp + 0xc]
rol eax, cl
lea ecx, [esi + 1]
mov dword [ebp + esi*4 - 0x104], eax
xor esi, esi
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 8]
inc eax
cmp eax, edi
cmovl esi, eax
mov dword [ebp + 8], esi
xor esi, esi
cmp ecx, edx
cmovl esi, ecx
sub dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
jne 0x59db61
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x59dad3
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
cmp edi, 0x10
je 0x59da04
cmp edi, 0xc
je 0x59da04
cmp edi, 8
mov eax, 0x10
cmovne edi, eax
mov eax, dword [ebp + 8]
xor esi, esi
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], esi
mov dword [ebp + 0x14], esi
lea ebx, [eax + 4]
mov dword [eax], edi
lea eax, [edx - 8]
mov dword [ebp - 4], ebx
test eax, eax
js 0x59da95
mov eax, edx
shr eax, 3
mov dword [ebp + 8], eax
mov ebx, eax
shl eax, 3
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 1]
movzx edx, byte [eax]
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 2]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 3]
shl ecx, 0x18
or edx, ecx
movzx ecx, byte [eax + 5]
mov dword [ebp + esi*4 - 0x104], edx
movzx edx, byte [eax + 4]
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 6]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 7]
shl ecx, 0x18
add eax, 8
or edx, ecx
mov dword [ebp + esi*4 - 0x100], edx
add esi, 2
sub ebx, 1
jne 0x59da34
mov ebx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], esi
jmp 0x59da98
mov eax, dword [ebp + 0x10]
mov ecx, edx
sub ecx, dword [ebp + 0x14]
je 0x59db10
mov ecx, edx
xor esi, esi
and ecx, 7
xor edx, edx
add eax, ecx
dec ecx
cmp ecx, 7
ja case.default.0x59dab0
jmp dword [ecx*4 + 0x59dbbc]
movzx edx, byte [eax - 1]
dec eax
shl edx, 0x18
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax - 1]
dec eax
or edx, ecx
movzx esi, byte [eax - 1]
dec eax
shl esi, 0x18
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 0x10
or esi, ecx
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 8
or esi, ecx
movzx eax, byte [eax - 1]
or esi, eax
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x100], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0x104], esi
lea eax, [edx + 3]
mov dword [ebx], 0xb7e15163
cdq
lea edi, [edi*2 + 2]
and edx, 3
mov ecx, 1
add edx, eax
sar edx, 2
cmp edi, ecx
jle 0x59db43
mov eax, dword [ebx + ecx*4 - 4]
sub eax, 0x61c88647
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jl 0x59db32
cmp edi, edx
mov eax, edx
cmovg eax, edi
xor ecx, ecx
xor esi, esi
mov dword [ebp + 8], ecx
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0xc], ecx
lea eax, [eax + eax*2]
mov dword [ebp - 4], eax
test eax, eax
jle 0x59dbb2
mov eax, dword [ebx + ecx*4]
add eax, dword [ebp + 0x14]
add eax, dword [ebp + 0xc]
rol eax, 3
mov dword [ebx + ecx*4], eax
mov ecx, eax
add ecx, dword [ebp + 0x14]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + esi*4 - 0x104]
add eax, dword [ebp + 0x14]
add eax, dword [ebp + 0xc]
rol eax, cl
lea ecx, [esi + 1]
mov dword [ebp + esi*4 - 0x104], eax
xor esi, esi
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 8]
inc eax
cmp eax, edi
cmovl esi, eax
mov dword [ebp + 8], esi
xor esi, esi
cmp ecx, edx
cmovl esi, ecx
sub dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
jne 0x59db61
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x59dada
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
cmp edi, 0x10
je 0x59da04
cmp edi, 0xc
je 0x59da04
cmp edi, 8
mov eax, 0x10
cmovne edi, eax
mov eax, dword [ebp + 8]
xor esi, esi
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], esi
mov dword [ebp + 0x14], esi
lea ebx, [eax + 4]
mov dword [eax], edi
lea eax, [edx - 8]
mov dword [ebp - 4], ebx
test eax, eax
js 0x59da95
mov eax, edx
shr eax, 3
mov dword [ebp + 8], eax
mov ebx, eax
shl eax, 3
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 1]
movzx edx, byte [eax]
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 2]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 3]
shl ecx, 0x18
or edx, ecx
movzx ecx, byte [eax + 5]
mov dword [ebp + esi*4 - 0x104], edx
movzx edx, byte [eax + 4]
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 6]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 7]
shl ecx, 0x18
add eax, 8
or edx, ecx
mov dword [ebp + esi*4 - 0x100], edx
add esi, 2
sub ebx, 1
jne 0x59da34
mov ebx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], esi
jmp 0x59da98
mov eax, dword [ebp + 0x10]
mov ecx, edx
sub ecx, dword [ebp + 0x14]
je 0x59db10
mov ecx, edx
xor esi, esi
and ecx, 7
xor edx, edx
add eax, ecx
dec ecx
cmp ecx, 7
ja case.default.0x59dab0
jmp dword [ecx*4 + 0x59dbbc]
movzx edx, byte [eax - 1]
dec eax
shl edx, 0x18
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax - 1]
dec eax
or edx, ecx
movzx esi, byte [eax - 1]
dec eax
shl esi, 0x18
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 0x10
or esi, ecx
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 8
or esi, ecx
movzx eax, byte [eax - 1]
or esi, eax
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x100], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0x104], esi
lea eax, [edx + 3]
mov dword [ebx], 0xb7e15163
cdq
lea edi, [edi*2 + 2]
and edx, 3
mov ecx, 1
add edx, eax
sar edx, 2
cmp edi, ecx
jle 0x59db43
mov eax, dword [ebx + ecx*4 - 4]
sub eax, 0x61c88647
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jl 0x59db32
cmp edi, edx
mov eax, edx
cmovg eax, edi
xor ecx, ecx
xor esi, esi
mov dword [ebp + 8], ecx
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0xc], ecx
lea eax, [eax + eax*2]
mov dword [ebp - 4], eax
test eax, eax
jle 0x59dbb2
mov eax, dword [ebx + ecx*4]
add eax, dword [ebp + 0x14]
add eax, dword [ebp + 0xc]
rol eax, 3
mov dword [ebx + ecx*4], eax
mov ecx, eax
add ecx, dword [ebp + 0x14]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + esi*4 - 0x104]
add eax, dword [ebp + 0x14]
add eax, dword [ebp + 0xc]
rol eax, cl
lea ecx, [esi + 1]
mov dword [ebp + esi*4 - 0x104], eax
xor esi, esi
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 8]
inc eax
cmp eax, edi
cmovl esi, eax
mov dword [ebp + 8], esi
xor esi, esi
cmp ecx, edx
cmovl esi, ecx
sub dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
jne 0x59db61
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x59dae2
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
cmp edi, 0x10
je 0x59da04
cmp edi, 0xc
je 0x59da04
cmp edi, 8
mov eax, 0x10
cmovne edi, eax
mov eax, dword [ebp + 8]
xor esi, esi
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], esi
mov dword [ebp + 0x14], esi
lea ebx, [eax + 4]
mov dword [eax], edi
lea eax, [edx - 8]
mov dword [ebp - 4], ebx
test eax, eax
js 0x59da95
mov eax, edx
shr eax, 3
mov dword [ebp + 8], eax
mov ebx, eax
shl eax, 3
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 1]
movzx edx, byte [eax]
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 2]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 3]
shl ecx, 0x18
or edx, ecx
movzx ecx, byte [eax + 5]
mov dword [ebp + esi*4 - 0x104], edx
movzx edx, byte [eax + 4]
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 6]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 7]
shl ecx, 0x18
add eax, 8
or edx, ecx
mov dword [ebp + esi*4 - 0x100], edx
add esi, 2
sub ebx, 1
jne 0x59da34
mov ebx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], esi
jmp 0x59da98
mov eax, dword [ebp + 0x10]
mov ecx, edx
sub ecx, dword [ebp + 0x14]
je 0x59db10
mov ecx, edx
xor esi, esi
and ecx, 7
xor edx, edx
add eax, ecx
dec ecx
cmp ecx, 7
ja case.default.0x59dab0
jmp dword [ecx*4 + 0x59dbbc]
movzx edx, byte [eax - 1]
dec eax
shl edx, 0x18
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax - 1]
dec eax
or edx, ecx
movzx esi, byte [eax - 1]
dec eax
shl esi, 0x18
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 0x10
or esi, ecx
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 8
or esi, ecx
movzx eax, byte [eax - 1]
or esi, eax
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x100], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0x104], esi
lea eax, [edx + 3]
mov dword [ebx], 0xb7e15163
cdq
lea edi, [edi*2 + 2]
and edx, 3
mov ecx, 1
add edx, eax
sar edx, 2
cmp edi, ecx
jle 0x59db43
mov eax, dword [ebx + ecx*4 - 4]
sub eax, 0x61c88647
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jl 0x59db32
cmp edi, edx
mov eax, edx
cmovg eax, edi
xor ecx, ecx
xor esi, esi
mov dword [ebp + 8], ecx
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0xc], ecx
lea eax, [eax + eax*2]
mov dword [ebp - 4], eax
test eax, eax
jle 0x59dbb2
mov eax, dword [ebx + ecx*4]
add eax, dword [ebp + 0x14]
add eax, dword [ebp + 0xc]
rol eax, 3
mov dword [ebx + ecx*4], eax
mov ecx, eax
add ecx, dword [ebp + 0x14]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + esi*4 - 0x104]
add eax, dword [ebp + 0x14]
add eax, dword [ebp + 0xc]
rol eax, cl
lea ecx, [esi + 1]
mov dword [ebp + esi*4 - 0x104], eax
xor esi, esi
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 8]
inc eax
cmp eax, edi
cmovl esi, eax
mov dword [ebp + 8], esi
xor esi, esi
cmp ecx, edx
cmovl esi, ecx
sub dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
jne 0x59db61
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x59daec
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
cmp edi, 0x10
je 0x59da04
cmp edi, 0xc
je 0x59da04
cmp edi, 8
mov eax, 0x10
cmovne edi, eax
mov eax, dword [ebp + 8]
xor esi, esi
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], esi
mov dword [ebp + 0x14], esi
lea ebx, [eax + 4]
mov dword [eax], edi
lea eax, [edx - 8]
mov dword [ebp - 4], ebx
test eax, eax
js 0x59da95
mov eax, edx
shr eax, 3
mov dword [ebp + 8], eax
mov ebx, eax
shl eax, 3
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 1]
movzx edx, byte [eax]
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 2]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 3]
shl ecx, 0x18
or edx, ecx
movzx ecx, byte [eax + 5]
mov dword [ebp + esi*4 - 0x104], edx
movzx edx, byte [eax + 4]
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 6]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 7]
shl ecx, 0x18
add eax, 8
or edx, ecx
mov dword [ebp + esi*4 - 0x100], edx
add esi, 2
sub ebx, 1
jne 0x59da34
mov ebx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], esi
jmp 0x59da98
mov eax, dword [ebp + 0x10]
mov ecx, edx
sub ecx, dword [ebp + 0x14]
je 0x59db10
mov ecx, edx
xor esi, esi
and ecx, 7
xor edx, edx
add eax, ecx
dec ecx
cmp ecx, 7
ja case.default.0x59dab0
jmp dword [ecx*4 + 0x59dbbc]
movzx edx, byte [eax - 1]
dec eax
shl edx, 0x18
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax - 1]
dec eax
or edx, ecx
movzx esi, byte [eax - 1]
dec eax
shl esi, 0x18
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 0x10
or esi, ecx
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 8
or esi, ecx
movzx eax, byte [eax - 1]
or esi, eax
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x100], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0x104], esi
lea eax, [edx + 3]
mov dword [ebx], 0xb7e15163
cdq
lea edi, [edi*2 + 2]
and edx, 3
mov ecx, 1
add edx, eax
sar edx, 2
cmp edi, ecx
jle 0x59db43
mov eax, dword [ebx + ecx*4 - 4]
sub eax, 0x61c88647
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jl 0x59db32
cmp edi, edx
mov eax, edx
cmovg eax, edi
xor ecx, ecx
xor esi, esi
mov dword [ebp + 8], ecx
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0xc], ecx
lea eax, [eax + eax*2]
mov dword [ebp - 4], eax
test eax, eax
jle 0x59dbb2
mov eax, dword [ebx + ecx*4]
add eax, dword [ebp + 0x14]
add eax, dword [ebp + 0xc]
rol eax, 3
mov dword [ebx + ecx*4], eax
mov ecx, eax
add ecx, dword [ebp + 0x14]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + esi*4 - 0x104]
add eax, dword [ebp + 0x14]
add eax, dword [ebp + 0xc]
rol eax, cl
lea ecx, [esi + 1]
mov dword [ebp + esi*4 - 0x104], eax
xor esi, esi
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 8]
inc eax
cmp eax, edi
cmovl esi, eax
mov dword [ebp + 8], esi
xor esi, esi
cmp ecx, edx
cmovl esi, ecx
sub dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
jne 0x59db61
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x59daf6
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
cmp edi, 0x10
je 0x59da04
cmp edi, 0xc
je 0x59da04
cmp edi, 8
mov eax, 0x10
cmovne edi, eax
mov eax, dword [ebp + 8]
xor esi, esi
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], esi
mov dword [ebp + 0x14], esi
lea ebx, [eax + 4]
mov dword [eax], edi
lea eax, [edx - 8]
mov dword [ebp - 4], ebx
test eax, eax
js 0x59da95
mov eax, edx
shr eax, 3
mov dword [ebp + 8], eax
mov ebx, eax
shl eax, 3
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 1]
movzx edx, byte [eax]
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 2]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 3]
shl ecx, 0x18
or edx, ecx
movzx ecx, byte [eax + 5]
mov dword [ebp + esi*4 - 0x104], edx
movzx edx, byte [eax + 4]
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 6]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 7]
shl ecx, 0x18
add eax, 8
or edx, ecx
mov dword [ebp + esi*4 - 0x100], edx
add esi, 2
sub ebx, 1
jne 0x59da34
mov ebx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], esi
jmp 0x59da98
mov eax, dword [ebp + 0x10]
mov ecx, edx
sub ecx, dword [ebp + 0x14]
je 0x59db10
mov ecx, edx
xor esi, esi
and ecx, 7
xor edx, edx
add eax, ecx
dec ecx
cmp ecx, 7
ja case.default.0x59dab0
jmp dword [ecx*4 + 0x59dbbc]
movzx edx, byte [eax - 1]
dec eax
shl edx, 0x18
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax - 1]
dec eax
or edx, ecx
movzx esi, byte [eax - 1]
dec eax
shl esi, 0x18
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 0x10
or esi, ecx
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 8
or esi, ecx
movzx eax, byte [eax - 1]
or esi, eax
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x100], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0x104], esi
lea eax, [edx + 3]
mov dword [ebx], 0xb7e15163
cdq
lea edi, [edi*2 + 2]
and edx, 3
mov ecx, 1
add edx, eax
sar edx, 2
cmp edi, ecx
jle 0x59db43
mov eax, dword [ebx + ecx*4 - 4]
sub eax, 0x61c88647
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jl 0x59db32
cmp edi, edx
mov eax, edx
cmovg eax, edi
xor ecx, ecx
xor esi, esi
mov dword [ebp + 8], ecx
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0xc], ecx
lea eax, [eax + eax*2]
mov dword [ebp - 4], eax
test eax, eax
jle 0x59dbb2
mov eax, dword [ebx + ecx*4]
add eax, dword [ebp + 0x14]
add eax, dword [ebp + 0xc]
rol eax, 3
mov dword [ebx + ecx*4], eax
mov ecx, eax
add ecx, dword [ebp + 0x14]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + esi*4 - 0x104]
add eax, dword [ebp + 0x14]
add eax, dword [ebp + 0xc]
rol eax, cl
lea ecx, [esi + 1]
mov dword [ebp + esi*4 - 0x104], eax
xor esi, esi
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 8]
inc eax
cmp eax, edi
cmovl esi, eax
mov dword [ebp + 8], esi
xor esi, esi
cmp ecx, edx
cmovl esi, ecx
sub dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
jne 0x59db61
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x59e670
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 4], 0
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x14], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0xc], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 5], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov esi, dword [edi]
mov byte [ebp - 8], dl
test eax, eax
je 0x59e7db
mov edi, dword [ebp + 0xc]
sub dword [ebp + 8], edi
nop word [eax + eax]
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x59e77c
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.0059e2a0
mov ebx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x10]
mov eax, ebx
shr eax, 8
mov ecx, dword [ebp - 4]
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
inc ecx
mov byte [ebp - 0xc], bl
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
mov dword [ebp - 4], ecx
jmp 0x59e77f
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov al, byte [eax + edi]
xor al, byte [ebp + esi - 0xc]
inc esi
mov byte [edi], al
and esi, 7
mov eax, dword [ebp + 0x10]
inc edi
test eax, eax
jne 0x59e720
test ecx, ecx
je 0x59e7cf
mov edi, dword [ebp + 0x18]
mov eax, ebx
shr eax, 8
mov byte [edi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, edx
shr eax, 8
mov byte [edi + 5], al
mov eax, edx
mov byte [edi], bl
shr ebx, 0x18
shr eax, 0x10
mov byte [edi + 4], dl
shr edx, 0x18
mov byte [edi + 3], bl
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret