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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5c8910]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, edx
push 0x10
pop edx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x11c], ecx
cmp edi, edx
je 0x4af9a2
cmp edi, 0xc
je 0x4af9a2
cmp edi, 8
cmovne edi, edx
mov dword [ebp + 0xc], edi
mov edx, dword [ebp + 8]
xor ebx, ebx
mov dword [ecx], edi
mov esi, ebx
lea ecx, [eax - 8]
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
test ecx, ecx
js 0x4afa38
lea eax, [ecx + 8]
shr eax, 3
mov dword [ebp - 0x114], eax
mov edi, eax
shl eax, 3
mov dword [ebp - 0x10c], eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 3]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [ebp + esi*4 - 0x104], ecx
movzx ecx, byte [edx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 7]
shl eax, 0x18
add edx, 8
or ecx, eax
mov dword [ebp + esi*4 - 0x100], ecx
add esi, 2
dec edi
jne 0x4af9d5
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x110], esi
sub eax, dword [ebp - 0x10c]
je 0x4afaae
mov eax, dword [ebp - 0x108]
mov ecx, ebx
and eax, 7
mov esi, ebx
add edx, eax
dec eax
cmp eax, 7
ja case.default.0x4afa55
jmp dword [eax*4 + 0x4afb92]
dec edx
movzx ecx, byte [edx]
shl ecx, 0x18
dec edx
movzx eax, byte [edx]
shl eax, 0x10
or ecx, eax
dec edx
movzx eax, byte [edx]
shl eax, 8
or ecx, eax
dec edx
movzx eax, byte [edx]
or ecx, eax
dec edx
movzx esi, byte [edx]
shl esi, 0x18
dec edx
movzx eax, byte [edx]
shl eax, 0x10
or esi, eax
dec edx
movzx eax, byte [edx]
shl eax, 8
or esi, eax
movzx eax, byte [edx - 1]
or esi, eax
mov eax, dword [ebp - 0x110]
mov dword [ebp + eax*4 - 0x104], esi
mov dword [ebp + eax*4 - 0x100], ecx
mov eax, dword [ebp - 0x108]
lea edi, [edi*2 + 2]
add eax, 3
xor ecx, ecx
cdq
inc ecx
and edx, 3
lea esi, [edx + eax]
mov edx, dword [ebp - 0x11c]
sar esi, 2
mov dword [edx + 4], 0xb7e15163
cmp edi, ecx
jle 0x4afaed
mov eax, dword [edx + ecx*4]
sub eax, 0x61c88647
mov dword [edx + ecx*4 + 4], eax
inc ecx
cmp ecx, edi
jl 0x4afadc
cmp edi, esi
mov dword [ebp - 0x108], ebx
mov eax, esi
mov ecx, ebx
cmovg eax, edi
imul eax, eax, 3
mov dword [ebp - 0x10c], eax
mov eax, ebx
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x10c], eax
jle 0x4afb7f
add ecx, dword [ebp - 0x108]
add ecx, dword [edx + eax*4 + 4]
rol ecx, 3
mov dword [edx + eax*4 + 4], ecx
mov eax, dword [ebp + ebx*4 - 0x104]
add eax, dword [ebp - 0x108]
mov dword [ebp - 0x114], ecx
add ecx, dword [ebp - 0x108]
add eax, dword [ebp - 0x114]
and ecx, 0x1f
rol eax, cl
xor ecx, ecx
mov dword [ebp + ebx*4 - 0x104], eax
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x110]
inc eax
cmp eax, edi
cmovge eax, ecx
inc ebx
cmp ebx, esi
mov dword [ebp - 0x110], eax
cmovge ebx, ecx
dec dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x114]
jne 0x4afb15
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret
Function at 0x4afa5c
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5c8910]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, edx
push 0x10
pop edx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x11c], ecx
cmp edi, edx
je 0x4af9a2
cmp edi, 0xc
je 0x4af9a2
cmp edi, 8
cmovne edi, edx
mov dword [ebp + 0xc], edi
mov edx, dword [ebp + 8]
xor ebx, ebx
mov dword [ecx], edi
mov esi, ebx
lea ecx, [eax - 8]
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
test ecx, ecx
js 0x4afa38
lea eax, [ecx + 8]
shr eax, 3
mov dword [ebp - 0x114], eax
mov edi, eax
shl eax, 3
mov dword [ebp - 0x10c], eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 3]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [ebp + esi*4 - 0x104], ecx
movzx ecx, byte [edx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 7]
shl eax, 0x18
add edx, 8
or ecx, eax
mov dword [ebp + esi*4 - 0x100], ecx
add esi, 2
dec edi
jne 0x4af9d5
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x110], esi
sub eax, dword [ebp - 0x10c]
je 0x4afaae
mov eax, dword [ebp - 0x108]
mov ecx, ebx
and eax, 7
mov esi, ebx
add edx, eax
dec eax
cmp eax, 7
ja case.default.0x4afa55
jmp dword [eax*4 + 0x4afb92]
dec edx
movzx ecx, byte [edx]
shl ecx, 0x18
dec edx
movzx eax, byte [edx]
shl eax, 0x10
or ecx, eax
dec edx
movzx eax, byte [edx]
shl eax, 8
or ecx, eax
dec edx
movzx eax, byte [edx]
or ecx, eax
dec edx
movzx esi, byte [edx]
shl esi, 0x18
dec edx
movzx eax, byte [edx]
shl eax, 0x10
or esi, eax
dec edx
movzx eax, byte [edx]
shl eax, 8
or esi, eax
movzx eax, byte [edx - 1]
or esi, eax
mov eax, dword [ebp - 0x110]
mov dword [ebp + eax*4 - 0x104], esi
mov dword [ebp + eax*4 - 0x100], ecx
mov eax, dword [ebp - 0x108]
lea edi, [edi*2 + 2]
add eax, 3
xor ecx, ecx
cdq
inc ecx
and edx, 3
lea esi, [edx + eax]
mov edx, dword [ebp - 0x11c]
sar esi, 2
mov dword [edx + 4], 0xb7e15163
cmp edi, ecx
jle 0x4afaed
mov eax, dword [edx + ecx*4]
sub eax, 0x61c88647
mov dword [edx + ecx*4 + 4], eax
inc ecx
cmp ecx, edi
jl 0x4afadc
cmp edi, esi
mov dword [ebp - 0x108], ebx
mov eax, esi
mov ecx, ebx
cmovg eax, edi
imul eax, eax, 3
mov dword [ebp - 0x10c], eax
mov eax, ebx
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x10c], eax
jle 0x4afb7f
add ecx, dword [ebp - 0x108]
add ecx, dword [edx + eax*4 + 4]
rol ecx, 3
mov dword [edx + eax*4 + 4], ecx
mov eax, dword [ebp + ebx*4 - 0x104]
add eax, dword [ebp - 0x108]
mov dword [ebp - 0x114], ecx
add ecx, dword [ebp - 0x108]
add eax, dword [ebp - 0x114]
and ecx, 0x1f
rol eax, cl
xor ecx, ecx
mov dword [ebp + ebx*4 - 0x104], eax
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x110]
inc eax
cmp eax, edi
cmovge eax, ecx
inc ebx
cmp ebx, esi
mov dword [ebp - 0x110], eax
cmovge ebx, ecx
dec dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x114]
jne 0x4afb15
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret
Function at 0x4afa63
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5c8910]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, edx
push 0x10
pop edx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x11c], ecx
cmp edi, edx
je 0x4af9a2
cmp edi, 0xc
je 0x4af9a2
cmp edi, 8
cmovne edi, edx
mov dword [ebp + 0xc], edi
mov edx, dword [ebp + 8]
xor ebx, ebx
mov dword [ecx], edi
mov esi, ebx
lea ecx, [eax - 8]
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
test ecx, ecx
js 0x4afa38
lea eax, [ecx + 8]
shr eax, 3
mov dword [ebp - 0x114], eax
mov edi, eax
shl eax, 3
mov dword [ebp - 0x10c], eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 3]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [ebp + esi*4 - 0x104], ecx
movzx ecx, byte [edx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 7]
shl eax, 0x18
add edx, 8
or ecx, eax
mov dword [ebp + esi*4 - 0x100], ecx
add esi, 2
dec edi
jne 0x4af9d5
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x110], esi
sub eax, dword [ebp - 0x10c]
je 0x4afaae
mov eax, dword [ebp - 0x108]
mov ecx, ebx
and eax, 7
mov esi, ebx
add edx, eax
dec eax
cmp eax, 7
ja case.default.0x4afa55
jmp dword [eax*4 + 0x4afb92]
dec edx
movzx ecx, byte [edx]
shl ecx, 0x18
dec edx
movzx eax, byte [edx]
shl eax, 0x10
or ecx, eax
dec edx
movzx eax, byte [edx]
shl eax, 8
or ecx, eax
dec edx
movzx eax, byte [edx]
or ecx, eax
dec edx
movzx esi, byte [edx]
shl esi, 0x18
dec edx
movzx eax, byte [edx]
shl eax, 0x10
or esi, eax
dec edx
movzx eax, byte [edx]
shl eax, 8
or esi, eax
movzx eax, byte [edx - 1]
or esi, eax
mov eax, dword [ebp - 0x110]
mov dword [ebp + eax*4 - 0x104], esi
mov dword [ebp + eax*4 - 0x100], ecx
mov eax, dword [ebp - 0x108]
lea edi, [edi*2 + 2]
add eax, 3
xor ecx, ecx
cdq
inc ecx
and edx, 3
lea esi, [edx + eax]
mov edx, dword [ebp - 0x11c]
sar esi, 2
mov dword [edx + 4], 0xb7e15163
cmp edi, ecx
jle 0x4afaed
mov eax, dword [edx + ecx*4]
sub eax, 0x61c88647
mov dword [edx + ecx*4 + 4], eax
inc ecx
cmp ecx, edi
jl 0x4afadc
cmp edi, esi
mov dword [ebp - 0x108], ebx
mov eax, esi
mov ecx, ebx
cmovg eax, edi
imul eax, eax, 3
mov dword [ebp - 0x10c], eax
mov eax, ebx
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x10c], eax
jle 0x4afb7f
add ecx, dword [ebp - 0x108]
add ecx, dword [edx + eax*4 + 4]
rol ecx, 3
mov dword [edx + eax*4 + 4], ecx
mov eax, dword [ebp + ebx*4 - 0x104]
add eax, dword [ebp - 0x108]
mov dword [ebp - 0x114], ecx
add ecx, dword [ebp - 0x108]
add eax, dword [ebp - 0x114]
and ecx, 0x1f
rol eax, cl
xor ecx, ecx
mov dword [ebp + ebx*4 - 0x104], eax
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x110]
inc eax
cmp eax, edi
cmovge eax, ecx
inc ebx
cmp ebx, esi
mov dword [ebp - 0x110], eax
cmovge ebx, ecx
dec dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x114]
jne 0x4afb15
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret
Function at 0x4afa6c
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5c8910]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, edx
push 0x10
pop edx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x11c], ecx
cmp edi, edx
je 0x4af9a2
cmp edi, 0xc
je 0x4af9a2
cmp edi, 8
cmovne edi, edx
mov dword [ebp + 0xc], edi
mov edx, dword [ebp + 8]
xor ebx, ebx
mov dword [ecx], edi
mov esi, ebx
lea ecx, [eax - 8]
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
test ecx, ecx
js 0x4afa38
lea eax, [ecx + 8]
shr eax, 3
mov dword [ebp - 0x114], eax
mov edi, eax
shl eax, 3
mov dword [ebp - 0x10c], eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 3]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [ebp + esi*4 - 0x104], ecx
movzx ecx, byte [edx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 7]
shl eax, 0x18
add edx, 8
or ecx, eax
mov dword [ebp + esi*4 - 0x100], ecx
add esi, 2
dec edi
jne 0x4af9d5
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x110], esi
sub eax, dword [ebp - 0x10c]
je 0x4afaae
mov eax, dword [ebp - 0x108]
mov ecx, ebx
and eax, 7
mov esi, ebx
add edx, eax
dec eax
cmp eax, 7
ja case.default.0x4afa55
jmp dword [eax*4 + 0x4afb92]
dec edx
movzx ecx, byte [edx]
shl ecx, 0x18
dec edx
movzx eax, byte [edx]
shl eax, 0x10
or ecx, eax
dec edx
movzx eax, byte [edx]
shl eax, 8
or ecx, eax
dec edx
movzx eax, byte [edx]
or ecx, eax
dec edx
movzx esi, byte [edx]
shl esi, 0x18
dec edx
movzx eax, byte [edx]
shl eax, 0x10
or esi, eax
dec edx
movzx eax, byte [edx]
shl eax, 8
or esi, eax
movzx eax, byte [edx - 1]
or esi, eax
mov eax, dword [ebp - 0x110]
mov dword [ebp + eax*4 - 0x104], esi
mov dword [ebp + eax*4 - 0x100], ecx
mov eax, dword [ebp - 0x108]
lea edi, [edi*2 + 2]
add eax, 3
xor ecx, ecx
cdq
inc ecx
and edx, 3
lea esi, [edx + eax]
mov edx, dword [ebp - 0x11c]
sar esi, 2
mov dword [edx + 4], 0xb7e15163
cmp edi, ecx
jle 0x4afaed
mov eax, dword [edx + ecx*4]
sub eax, 0x61c88647
mov dword [edx + ecx*4 + 4], eax
inc ecx
cmp ecx, edi
jl 0x4afadc
cmp edi, esi
mov dword [ebp - 0x108], ebx
mov eax, esi
mov ecx, ebx
cmovg eax, edi
imul eax, eax, 3
mov dword [ebp - 0x10c], eax
mov eax, ebx
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x10c], eax
jle 0x4afb7f
add ecx, dword [ebp - 0x108]
add ecx, dword [edx + eax*4 + 4]
rol ecx, 3
mov dword [edx + eax*4 + 4], ecx
mov eax, dword [ebp + ebx*4 - 0x104]
add eax, dword [ebp - 0x108]
mov dword [ebp - 0x114], ecx
add ecx, dword [ebp - 0x108]
add eax, dword [ebp - 0x114]
and ecx, 0x1f
rol eax, cl
xor ecx, ecx
mov dword [ebp + ebx*4 - 0x104], eax
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x110]
inc eax
cmp eax, edi
cmovge eax, ecx
inc ebx
cmp ebx, esi
mov dword [ebp - 0x110], eax
cmovge ebx, ecx
dec dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x114]
jne 0x4afb15
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret
Function at 0x4afa75
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5c8910]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, edx
push 0x10
pop edx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x11c], ecx
cmp edi, edx
je 0x4af9a2
cmp edi, 0xc
je 0x4af9a2
cmp edi, 8
cmovne edi, edx
mov dword [ebp + 0xc], edi
mov edx, dword [ebp + 8]
xor ebx, ebx
mov dword [ecx], edi
mov esi, ebx
lea ecx, [eax - 8]
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
test ecx, ecx
js 0x4afa38
lea eax, [ecx + 8]
shr eax, 3
mov dword [ebp - 0x114], eax
mov edi, eax
shl eax, 3
mov dword [ebp - 0x10c], eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 3]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [ebp + esi*4 - 0x104], ecx
movzx ecx, byte [edx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 7]
shl eax, 0x18
add edx, 8
or ecx, eax
mov dword [ebp + esi*4 - 0x100], ecx
add esi, 2
dec edi
jne 0x4af9d5
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x110], esi
sub eax, dword [ebp - 0x10c]
je 0x4afaae
mov eax, dword [ebp - 0x108]
mov ecx, ebx
and eax, 7
mov esi, ebx
add edx, eax
dec eax
cmp eax, 7
ja case.default.0x4afa55
jmp dword [eax*4 + 0x4afb92]
dec edx
movzx ecx, byte [edx]
shl ecx, 0x18
dec edx
movzx eax, byte [edx]
shl eax, 0x10
or ecx, eax
dec edx
movzx eax, byte [edx]
shl eax, 8
or ecx, eax
dec edx
movzx eax, byte [edx]
or ecx, eax
dec edx
movzx esi, byte [edx]
shl esi, 0x18
dec edx
movzx eax, byte [edx]
shl eax, 0x10
or esi, eax
dec edx
movzx eax, byte [edx]
shl eax, 8
or esi, eax
movzx eax, byte [edx - 1]
or esi, eax
mov eax, dword [ebp - 0x110]
mov dword [ebp + eax*4 - 0x104], esi
mov dword [ebp + eax*4 - 0x100], ecx
mov eax, dword [ebp - 0x108]
lea edi, [edi*2 + 2]
add eax, 3
xor ecx, ecx
cdq
inc ecx
and edx, 3
lea esi, [edx + eax]
mov edx, dword [ebp - 0x11c]
sar esi, 2
mov dword [edx + 4], 0xb7e15163
cmp edi, ecx
jle 0x4afaed
mov eax, dword [edx + ecx*4]
sub eax, 0x61c88647
mov dword [edx + ecx*4 + 4], eax
inc ecx
cmp ecx, edi
jl 0x4afadc
cmp edi, esi
mov dword [ebp - 0x108], ebx
mov eax, esi
mov ecx, ebx
cmovg eax, edi
imul eax, eax, 3
mov dword [ebp - 0x10c], eax
mov eax, ebx
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x10c], eax
jle 0x4afb7f
add ecx, dword [ebp - 0x108]
add ecx, dword [edx + eax*4 + 4]
rol ecx, 3
mov dword [edx + eax*4 + 4], ecx
mov eax, dword [ebp + ebx*4 - 0x104]
add eax, dword [ebp - 0x108]
mov dword [ebp - 0x114], ecx
add ecx, dword [ebp - 0x108]
add eax, dword [ebp - 0x114]
and ecx, 0x1f
rol eax, cl
xor ecx, ecx
mov dword [ebp + ebx*4 - 0x104], eax
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x110]
inc eax
cmp eax, edi
cmovge eax, ecx
inc ebx
cmp ebx, esi
mov dword [ebp - 0x110], eax
cmovge ebx, ecx
dec dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x114]
jne 0x4afb15
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret
Function at 0x4afa7b
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5c8910]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, edx
push 0x10
pop edx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x11c], ecx
cmp edi, edx
je 0x4af9a2
cmp edi, 0xc
je 0x4af9a2
cmp edi, 8
cmovne edi, edx
mov dword [ebp + 0xc], edi
mov edx, dword [ebp + 8]
xor ebx, ebx
mov dword [ecx], edi
mov esi, ebx
lea ecx, [eax - 8]
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
test ecx, ecx
js 0x4afa38
lea eax, [ecx + 8]
shr eax, 3
mov dword [ebp - 0x114], eax
mov edi, eax
shl eax, 3
mov dword [ebp - 0x10c], eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 3]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [ebp + esi*4 - 0x104], ecx
movzx ecx, byte [edx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 7]
shl eax, 0x18
add edx, 8
or ecx, eax
mov dword [ebp + esi*4 - 0x100], ecx
add esi, 2
dec edi
jne 0x4af9d5
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x110], esi
sub eax, dword [ebp - 0x10c]
je 0x4afaae
mov eax, dword [ebp - 0x108]
mov ecx, ebx
and eax, 7
mov esi, ebx
add edx, eax
dec eax
cmp eax, 7
ja case.default.0x4afa55
jmp dword [eax*4 + 0x4afb92]
dec edx
movzx ecx, byte [edx]
shl ecx, 0x18
dec edx
movzx eax, byte [edx]
shl eax, 0x10
or ecx, eax
dec edx
movzx eax, byte [edx]
shl eax, 8
or ecx, eax
dec edx
movzx eax, byte [edx]
or ecx, eax
dec edx
movzx esi, byte [edx]
shl esi, 0x18
dec edx
movzx eax, byte [edx]
shl eax, 0x10
or esi, eax
dec edx
movzx eax, byte [edx]
shl eax, 8
or esi, eax
movzx eax, byte [edx - 1]
or esi, eax
mov eax, dword [ebp - 0x110]
mov dword [ebp + eax*4 - 0x104], esi
mov dword [ebp + eax*4 - 0x100], ecx
mov eax, dword [ebp - 0x108]
lea edi, [edi*2 + 2]
add eax, 3
xor ecx, ecx
cdq
inc ecx
and edx, 3
lea esi, [edx + eax]
mov edx, dword [ebp - 0x11c]
sar esi, 2
mov dword [edx + 4], 0xb7e15163
cmp edi, ecx
jle 0x4afaed
mov eax, dword [edx + ecx*4]
sub eax, 0x61c88647
mov dword [edx + ecx*4 + 4], eax
inc ecx
cmp ecx, edi
jl 0x4afadc
cmp edi, esi
mov dword [ebp - 0x108], ebx
mov eax, esi
mov ecx, ebx
cmovg eax, edi
imul eax, eax, 3
mov dword [ebp - 0x10c], eax
mov eax, ebx
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x10c], eax
jle 0x4afb7f
add ecx, dword [ebp - 0x108]
add ecx, dword [edx + eax*4 + 4]
rol ecx, 3
mov dword [edx + eax*4 + 4], ecx
mov eax, dword [ebp + ebx*4 - 0x104]
add eax, dword [ebp - 0x108]
mov dword [ebp - 0x114], ecx
add ecx, dword [ebp - 0x108]
add eax, dword [ebp - 0x114]
and ecx, 0x1f
rol eax, cl
xor ecx, ecx
mov dword [ebp + ebx*4 - 0x104], eax
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x110]
inc eax
cmp eax, edi
cmovge eax, ecx
inc ebx
cmp ebx, esi
mov dword [ebp - 0x110], eax
cmovge ebx, ecx
dec dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x114]
jne 0x4afb15
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret
Function at 0x4afa82
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5c8910]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, edx
push 0x10
pop edx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x11c], ecx
cmp edi, edx
je 0x4af9a2
cmp edi, 0xc
je 0x4af9a2
cmp edi, 8
cmovne edi, edx
mov dword [ebp + 0xc], edi
mov edx, dword [ebp + 8]
xor ebx, ebx
mov dword [ecx], edi
mov esi, ebx
lea ecx, [eax - 8]
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
test ecx, ecx
js 0x4afa38
lea eax, [ecx + 8]
shr eax, 3
mov dword [ebp - 0x114], eax
mov edi, eax
shl eax, 3
mov dword [ebp - 0x10c], eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 3]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [ebp + esi*4 - 0x104], ecx
movzx ecx, byte [edx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 7]
shl eax, 0x18
add edx, 8
or ecx, eax
mov dword [ebp + esi*4 - 0x100], ecx
add esi, 2
dec edi
jne 0x4af9d5
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x110], esi
sub eax, dword [ebp - 0x10c]
je 0x4afaae
mov eax, dword [ebp - 0x108]
mov ecx, ebx
and eax, 7
mov esi, ebx
add edx, eax
dec eax
cmp eax, 7
ja case.default.0x4afa55
jmp dword [eax*4 + 0x4afb92]
dec edx
movzx ecx, byte [edx]
shl ecx, 0x18
dec edx
movzx eax, byte [edx]
shl eax, 0x10
or ecx, eax
dec edx
movzx eax, byte [edx]
shl eax, 8
or ecx, eax
dec edx
movzx eax, byte [edx]
or ecx, eax
dec edx
movzx esi, byte [edx]
shl esi, 0x18
dec edx
movzx eax, byte [edx]
shl eax, 0x10
or esi, eax
dec edx
movzx eax, byte [edx]
shl eax, 8
or esi, eax
movzx eax, byte [edx - 1]
or esi, eax
mov eax, dword [ebp - 0x110]
mov dword [ebp + eax*4 - 0x104], esi
mov dword [ebp + eax*4 - 0x100], ecx
mov eax, dword [ebp - 0x108]
lea edi, [edi*2 + 2]
add eax, 3
xor ecx, ecx
cdq
inc ecx
and edx, 3
lea esi, [edx + eax]
mov edx, dword [ebp - 0x11c]
sar esi, 2
mov dword [edx + 4], 0xb7e15163
cmp edi, ecx
jle 0x4afaed
mov eax, dword [edx + ecx*4]
sub eax, 0x61c88647
mov dword [edx + ecx*4 + 4], eax
inc ecx
cmp ecx, edi
jl 0x4afadc
cmp edi, esi
mov dword [ebp - 0x108], ebx
mov eax, esi
mov ecx, ebx
cmovg eax, edi
imul eax, eax, 3
mov dword [ebp - 0x10c], eax
mov eax, ebx
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x10c], eax
jle 0x4afb7f
add ecx, dword [ebp - 0x108]
add ecx, dword [edx + eax*4 + 4]
rol ecx, 3
mov dword [edx + eax*4 + 4], ecx
mov eax, dword [ebp + ebx*4 - 0x104]
add eax, dword [ebp - 0x108]
mov dword [ebp - 0x114], ecx
add ecx, dword [ebp - 0x108]
add eax, dword [ebp - 0x114]
and ecx, 0x1f
rol eax, cl
xor ecx, ecx
mov dword [ebp + ebx*4 - 0x104], eax
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x110]
inc eax
cmp eax, edi
cmovge eax, ecx
inc ebx
cmp ebx, esi
mov dword [ebp - 0x110], eax
cmovge ebx, ecx
dec dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x114]
jne 0x4afb15
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret