joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480df2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, ecx
push ebx
push esi
push edi
mov eax, dword [edx]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [eax + 0xc]
mov esi, eax
mov dword [ebp - 8], eax
mov eax, dword [edx + 8]
imul eax, dword [ebp + 0x10]
imul esi, edi
sub edi, dword [edx + 0xc]
mov dword [ebp + 8], edi
sar eax, 8
add esi, dword [edx + 0x14]
mov dword [ebp - 4], esi
mov dword [ebp + 0x10], eax
cmp eax, 0xfe
jge 0x480f04
mov eax, dword [ebp + 0xc]
mov ebx, 0xff00ff
mov dword [ebp + 0xc], eax
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [edx + 0x18]
imul ecx, edi
mov edx, dword [ecx + eax]
mov edi, edx
shr edi, 8
and edx, ebx
imul edx, dword [ebp + 0x10]
and edi, ebx
imul edi, dword [ebp + 0x10]
mov ecx, 0x100
shr edx, 8
shr edi, 8
and edx, ebx
and edi, ebx
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [esi]
mov esi, eax
shr eax, 8
and eax, ebx
and esi, ebx
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, ebx
shr esi, 8
add edi, eax
and esi, ebx
add esi, edx
mov eax, edi
shr eax, 8
mov edx, 0x100
and eax, ebx
mov ecx, esi
sub edx, eax
shr ecx, 8
shl edx, 8
mov eax, edi
shl eax, 8
and ecx, ebx
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, dword [ebp - 4]
xor edx, eax
mov eax, edi
shr eax, 8
and edx, ebx
and eax, ebx
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp + 8]
xor edx, ecx
inc edi
mov dword [esi], edx
add esi, dword [ebp - 8]
dec eax
mov edx, dword [ebp - 0xc]
mov dword [ebp + 8], edi
mov dword [ebp - 4], esi
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x480e42
jmp 0x480fea
mov eax, dword [edx + 4]
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 0xc], ebx
mov eax, dword [eax + 0xc]
mov ecx, eax
imul ecx, edi
mov dword [ebp - 0xc], eax
add ecx, dword [edx + 0x18]
mov dword [ebp + 8], ecx
cmp dword [ebp - 8], eax
jne 0x480f48
mov edx, dword [edx + 4]
cmp dword [edx + 4], 1
jne 0x480f48
mov edx, dword [ebp - 0x10]
cmp dword [edx + 4], 1
jne 0x480f48
imul eax, ebx
push eax
push ecx
push esi
call fcn.00524c60
add esp, 0xc
jmp 0x480fea
mov ebx, 0xff00ff
mov edx, dword [ecx]
mov edi, edx
shr edi, 8
mov ecx, 0x100
and edi, ebx
and edx, ebx
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [esi]
mov esi, eax
shr eax, 8
and eax, ebx
and esi, ebx
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, ebx
shr esi, 8
add edi, eax
and esi, ebx
add esi, edx
mov eax, edi
shr eax, 8
mov edx, 0x100
and eax, ebx
mov ecx, esi
sub edx, eax
shr ecx, 8
shl edx, 8
and ecx, ebx
mov eax, edi
shl eax, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, dword [ebp - 4]
xor edx, eax
mov eax, edi
shr eax, 8
and edx, ebx
and eax, ebx
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
or ecx, edi
xor edx, ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
mov dword [esi], edx
add esi, dword [ebp - 8]
dec eax
mov dword [ebp - 4], esi
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x480f4d
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x480ff1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], edi
mov dword [ebp + 0xc], ecx
mov eax, dword [edi]
mov esi, dword [edi + 8]
imul esi, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov ebx, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
imul ebx, eax
sub eax, dword [edi + 0xc]
sar esi, 8
mov dword [ebp + 0x10], esi
mov dword [ebp + 8], eax
add ebx, dword [edi + 0x14]
cmp esi, 0xfe
jge 0x4810fa
mov ecx, dword [edi + 4]
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
movzx eax, byte [edx + eax]
mov edx, 0xff00ff
mov edi, eax
shl edi, 0x10
or edi, eax
imul edi, esi
shr edi, 8
and edi, edx
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and eax, edx
and esi, edx
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, edx
shr esi, 8
and esi, edx
add esi, edi
add edi, eax
mov eax, edi
mov ecx, esi
shr eax, 8
and eax, edx
shr ecx, 8
and ecx, 0xff00ff
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0xff00ff
or eax, esi
mov esi, dword [ebp + 0x10]
xor edx, eax
mov eax, edi
and edx, ecx
shr eax, 8
and eax, ecx
shl edi, 8
mov ecx, 0x100
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp - 8]
xor edx, ecx
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebx], edx
add ebx, dword [ebp - 4]
dec ecx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
test ecx, ecx
jg 0x481036
jmp 0x4811ae
mov ecx, dword [edi + 4]
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
movzx eax, byte [edx + eax]
mov edx, 0xff00ff
mov edi, eax
shl edi, 0x10
or edi, eax
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and eax, edx
and esi, edx
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, edx
shr esi, 8
and esi, edx
add esi, edi
add edi, eax
mov eax, edi
mov ecx, esi
shr eax, 8
and eax, edx
shr ecx, 8
and ecx, 0xff00ff
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0xff00ff
or eax, esi
xor edx, eax
mov eax, edi
and edx, ecx
shr eax, 8
and eax, ecx
shl edi, 8
mov ecx, 0x100
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp - 8]
xor edx, ecx
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebx], edx
add ebx, dword [ebp - 4]
dec ecx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
test ecx, ecx
jg 0x4810fa
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4811b5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], esi
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 0xc]
mov ebx, eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
imul eax, dword [ebp + 0x10]
imul ebx, edi
sub edi, dword [esi + 0xc]
mov dword [ebp + 8], edi
sar eax, 8
add ebx, dword [esi + 0x14]
mov dword [ebp + 0x10], eax
cmp eax, 0xfe
jge 0x4812c2
mov eax, dword [ebp + 0xc]
mov edx, 0xff00ff
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x18]
imul ecx, edi
movzx eax, byte [ecx + eax]
mov ecx, 0x100
mov edi, eax
shl edi, 0x10
or edi, eax
imul edi, dword [ebp + 0x10]
shr edi, 8
and edi, edx
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and eax, edx
and esi, edx
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, edx
shr esi, 8
and esi, edx
add esi, edi
add edi, eax
mov eax, edi
mov ecx, esi
shr eax, 8
and eax, edx
shr ecx, 8
mov edx, 0x100
and ecx, 0xff00ff
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0xff00ff
or eax, esi
mov esi, dword [ebp - 8]
xor edx, eax
mov eax, edi
and edx, ecx
shr eax, 8
and eax, ecx
shl edi, 8
mov ecx, 0x100
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp + 8]
xor edx, ecx
inc edi
mov dword [ebx], edx
mov edx, 0xff00ff
add ebx, dword [ebp - 4]
dec eax
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x481202
jmp 0x4813af
mov eax, dword [esi + 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp + 0xc], edx
mov eax, dword [eax + 0xc]
mov ecx, eax
imul ecx, edi
mov dword [ebp - 8], eax
add ecx, dword [esi + 0x18]
mov dword [ebp + 8], ecx
cmp dword [ebp - 4], eax
jne 0x481306
mov esi, dword [esi + 4]
cmp dword [esi + 4], 1
jne 0x481306
mov esi, dword [ebp - 0xc]
cmp dword [esi + 4], 1
jne 0x481306
imul eax, edx
push eax
push ecx
push ebx
call fcn.00524c60
add esp, 0xc
jmp 0x4813af
mov edx, 0xff00ff
movzx eax, byte [ecx]
mov ecx, 0x100
mov edi, eax
shl edi, 0x10
or edi, eax
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and eax, edx
and esi, edx
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, edx
shr esi, 8
and esi, edx
add esi, edi
add edi, eax
mov eax, edi
mov ecx, esi
shr eax, 8
and eax, edx
shr ecx, 8
and ecx, 0xff00ff
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0xff00ff
or eax, esi
xor edx, eax
mov eax, edi
and edx, ecx
shr eax, 8
and eax, ecx
shl edi, 8
mov ecx, 0x100
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
or ecx, edi
xor edx, ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
mov dword [ebx], edx
mov edx, 0xff00ff
add ebx, dword [ebp - 4]
dec eax
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x48130b
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4813b6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [ebp - 0xc], ebx
mov eax, dword [eax + 0xc]
mov esi, eax
mov dword [ebp - 8], eax
mov eax, dword [ebx + 8]
imul eax, dword [ebp + 0x10]
imul esi, edi
sub edi, dword [ebx + 0xc]
mov dword [ebp + 8], edi
sar eax, 8
add esi, dword [ebx + 0x14]
cmp eax, 0xfe
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp + 0xc], eax
jge 0x4814d9
mov ecx, dword [ebx + 4]
mov eax, edi
cdq
mov esi, dword [esi]
idiv dword [ecx + 0x10]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
add edx, dword [ebx + 0x18]
movzx ebx, byte [edx + 1]
movzx edi, byte [edx + 2]
or ebx, 0xff0000
imul ebx, dword [ebp + 0x10]
shl edi, 0x10
shr ebx, 8
and ebx, 0xff00ff
mov eax, ebx
shr eax, 0x10
sub ecx, eax
movzx eax, byte [edx]
or edi, eax
mov edx, 0xff00ff
imul edi, dword [ebp + 0x10]
mov eax, esi
and eax, edx
shr esi, 8
imul eax, ecx
and esi, edx
imul esi, ecx
shr edi, 8
and edi, edx
shr eax, 8
and eax, edx
shr esi, 8
add edi, eax
and esi, edx
add ebx, esi
mov ecx, edi
mov eax, ebx
shr ecx, 8
shr eax, 8
mov esi, 0xff00ff
and eax, edx
and ecx, esi
mov edx, 0x100
sub edx, eax
mov eax, ebx
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, edi
mov edi, dword [ebp + 8]
xor edx, eax
mov eax, ebx
shr eax, 8
and edx, esi
and eax, esi
shl ebx, 8
mov esi, dword [ebp - 4]
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
or ecx, ebx
mov ebx, dword [ebp - 0xc]
xor edx, ecx
inc edi
mov dword [esi], edx
add esi, dword [ebp - 8]
dec eax
mov dword [ebp + 8], edi
mov dword [ebp - 4], esi
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x4813fe
jmp 0x48151d
mov ecx, dword [ebx + 4]
mov eax, edi
cdq
idiv dword [ecx + 0x10]
imul edx, dword [ecx + 0xc]
add edx, dword [ebx + 0x18]
mov ax, word [edx]
movzx ecx, byte [edx + 2]
or ecx, 0xffffff00
mov word [ebp + 8], ax
movzx eax, byte [ebp + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 8]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [esi], ecx
inc edi
add esi, dword [ebp - 8]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x4814d9
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x481524
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ebx]
mov edx, dword [ebx + 8]
imul edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ebx
mov ecx, dword [eax + 0xc]
mov esi, ecx
mov eax, dword [ebp + 0xc]
imul esi, edi
sub edi, dword [ebx + 0xc]
sar edx, 8
mov dword [ebp - 8], ecx
mov dword [ebp + 0x10], edx
add esi, dword [ebx + 0x14]
mov dword [ebp - 4], esi
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], eax
cmp edx, 0xfe
jge 0x481646
mov eax, dword [ebx + 4]
mov esi, dword [esi]
mov ecx, dword [eax + 0xc]
imul ecx, edi
add ecx, dword [ebx + 0x18]
movzx ebx, byte [ecx + 1]
movzx edi, byte [ecx + 2]
or ebx, 0xff0000
imul ebx, edx
mov edx, 0x100
shl edi, 0x10
shr ebx, 8
and ebx, 0xff00ff
mov eax, ebx
shr eax, 0x10
sub edx, eax
movzx eax, byte [ecx]
or edi, eax
mov ecx, 0xff00ff
imul edi, dword [ebp + 0x10]
mov eax, esi
and eax, ecx
shr esi, 8
imul eax, edx
and esi, ecx
imul esi, edx
mov edx, 0x100
shr edi, 8
and edi, ecx
shr eax, 8
and eax, ecx
shr esi, 8
add edi, eax
and esi, ecx
add ebx, esi
mov esi, 0xff00ff
mov eax, ebx
shr eax, 8
and eax, ecx
mov ecx, edi
sub edx, eax
shr ecx, 8
shl edx, 8
and ecx, esi
mov eax, ebx
shl eax, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, edi
mov edi, dword [ebp + 8]
xor edx, eax
mov eax, ebx
shr eax, 8
and edx, esi
and eax, esi
shl ebx, 8
mov esi, dword [ebp - 4]
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
or ecx, ebx
mov ebx, dword [ebp - 0xc]
xor edx, ecx
inc edi
mov dword [esi], edx
add esi, dword [ebp - 8]
dec eax
mov edx, dword [ebp + 0x10]
mov dword [ebp + 8], edi
mov dword [ebp - 4], esi
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x48156d
jmp 0x4816af
mov edx, dword [ebx + 4]
mov edi, dword [edx + 0xc]
mov edx, edi
imul edx, dword [ebp + 8]
add edx, dword [ebx + 0x18]
cmp ecx, edi
jne 0x48167a
mov ecx, dword [ebx + 4]
cmp dword [ecx + 4], 1
jne 0x48167a
mov ecx, dword [ebx]
cmp dword [ecx + 4], 1
jne 0x48167a
imul edi, eax
push edi
push edx
push esi
call fcn.00524c60
add esp, 0xc
jmp 0x4816af
mov ax, word [edx]
movzx ecx, byte [edx + 2]
add edx, edi
or ecx, 0xffffff00
mov word [ebp + 8], ax
movzx eax, byte [ebp + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 8]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [esi], ecx
add esi, dword [ebp - 8]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x48167a
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4816b6
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov esi, eax
mov dword [ebp - 4], eax
mov eax, dword [edi + 8]
imul eax, dword [ebp + 0x10]
imul esi, ebx
sub ebx, dword [edi + 0xc]
sar eax, 8
add esi, dword [edi + 0x14]
cmp eax, 0xfe
jge 0x481730
inc eax
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
movzx edx, byte [edx + eax]
imul edx, dword [ebp + 8]
movzx eax, byte [esi]
shr edx, 8
sub ecx, edx
imul ecx, eax
mov eax, dword [ebp + 0xc]
sar ecx, 8
add cl, dl
inc ebx
mov byte [esi], cl
add esi, dword [ebp - 4]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x4816f0
jmp 0x48176f
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
mov dl, byte [edx + eax]
movzx eax, dl
sub ecx, eax
movzx eax, byte [esi]
imul ecx, eax
mov eax, dword [ebp + 0xc]
sar ecx, 8
add cl, dl
inc ebx
mov byte [esi], cl
add esi, dword [ebp - 4]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x481736
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x48185f
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov esi, eax
mov dword [ebp - 4], eax
mov eax, dword [edi + 8]
imul eax, dword [ebp + 0x10]
imul esi, ebx
sub ebx, dword [edi + 0xc]
sar eax, 8
add esi, dword [edi + 0x14]
cmp eax, 0xfe
jge 0x4818da
inc eax
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
movzx edx, byte [edx + eax + 3]
imul edx, dword [ebp + 8]
movzx eax, byte [esi]
shr edx, 8
sub ecx, edx
imul ecx, eax
mov eax, dword [ebp + 0xc]
sar ecx, 8
add cl, dl
inc ebx
mov byte [esi], cl
add esi, dword [ebp - 4]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x481899
jmp 0x48191a
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
mov dl, byte [edx + eax + 3]
movzx eax, dl
sub ecx, eax
movzx eax, byte [esi]
imul ecx, eax
mov eax, dword [ebp + 0xc]
sar ecx, 8
add cl, dl
inc ebx
mov byte [esi], cl
add esi, dword [ebp - 4]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x4818e0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x48245a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
cmp ebx, dword [esi + 0x6c]
jle 0x482486
mov dword [esi + 0x6c], ebx
push dword [esi + 0x68]
call fcn.0052ea23
mov eax, ebx
shl eax, 2
push eax
call fcn.0052ebfb
pop ecx
pop ecx
mov dword [esi + 0x68], eax
mov edi, dword [esi + 0x68]
mov ecx, esi
push ebx
push dword [ebp + 8]
mov dword [ebp + 0xc], edi
push edi
call fcn.00455a6f
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8]
add eax, dword [esi + 0x64]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x50]
mov esi, 0xff00ff
imul eax, dword [ebp + 0x10]
sar eax, 8
mov dword [ebp + 0x10], eax
cmp eax, 0xfe
jge 0x482599
mov edx, dword [edi]
mov ecx, 0x100
mov edi, edx
and edx, 0xff00ff
imul edx, dword [ebp + 0x10]
shr edi, 8
and edi, esi
imul edi, eax
shr edx, 8
and edx, 0xff00ff
shr edi, 8
and edi, esi
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov esi, eax
and esi, 0xff00ff
shr eax, 8
imul esi, ecx
shr esi, 8
and esi, 0xff00ff
add esi, edx
mov edx, 0xff00ff
and eax, edx
imul eax, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
shr eax, 8
and eax, edx
add edi, eax
mov eax, edi
shr eax, 8
and eax, edx
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, 0xff00ff
xor edx, eax
mov eax, edi
shr eax, 8
and edx, esi
and eax, esi
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp + 0xc]
xor edx, ecx
add edi, 4
mov dword [eax], edx
add eax, dword [ebp - 4]
dec ebx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0xc], edi
test ebx, ebx
jg 0x4824c8
jmp 0x48264d
mov edx, dword [edi]
mov ecx, 0x100
mov edi, edx
and edx, 0xff00ff
shr edi, 8
and edi, esi
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov esi, eax
and esi, 0xff00ff
shr eax, 8
imul esi, ecx
shr esi, 8
and esi, 0xff00ff
add esi, edx
mov edx, 0xff00ff
and eax, edx
imul eax, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
shr eax, 8
and eax, edx
add edi, eax
mov eax, edi
shr eax, 8
and eax, edx
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, 0xff00ff
xor edx, eax
mov eax, edi
shr eax, 8
and edx, esi
and eax, esi
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp + 0xc]
xor edx, ecx
add edi, 4
mov dword [eax], edx
add eax, dword [ebp - 4]
dec ebx
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], eax
test ebx, ebx
jg 0x482599
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x482654
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
cmp ebx, dword [esi + 0x6c]
jle 0x482680
mov dword [esi + 0x6c], ebx
push dword [esi + 0x68]
call fcn.0052ea23
mov eax, ebx
shl eax, 2
push eax
call fcn.0052ebfb
pop ecx
pop ecx
mov dword [esi + 0x68], eax
mov edi, dword [esi + 0x68]
mov ecx, esi
push ebx
push dword [ebp + 8]
mov dword [ebp + 0xc], edi
push edi
call fcn.00455b4e
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8]
add eax, dword [esi + 0x64]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x50]
mov esi, 0xff00ff
imul eax, dword [ebp + 0x10]
sar eax, 8
mov dword [ebp + 0x10], eax
cmp eax, 0xfe
jge 0x482793
mov edx, dword [edi]
mov ecx, 0x100
mov edi, edx
and edx, 0xff00ff
imul edx, dword [ebp + 0x10]
shr edi, 8
and edi, esi
imul edi, eax
shr edx, 8
and edx, 0xff00ff
shr edi, 8
and edi, esi
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov esi, eax
and esi, 0xff00ff
shr eax, 8
imul esi, ecx
shr esi, 8
and esi, 0xff00ff
add esi, edx
mov edx, 0xff00ff
and eax, edx
imul eax, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
shr eax, 8
and eax, edx
add edi, eax
mov eax, edi
shr eax, 8
and eax, edx
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, 0xff00ff
xor edx, eax
mov eax, edi
shr eax, 8
and edx, esi
and eax, esi
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp + 0xc]
xor edx, ecx
add edi, 4
mov dword [eax], edx
add eax, dword [ebp - 4]
dec ebx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0xc], edi
test ebx, ebx
jg 0x4826c2
jmp 0x482847
mov edx, dword [edi]
mov ecx, 0x100
mov edi, edx
and edx, 0xff00ff
shr edi, 8
and edi, esi
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov esi, eax
and esi, 0xff00ff
shr eax, 8
imul esi, ecx
shr esi, 8
and esi, 0xff00ff
add esi, edx
mov edx, 0xff00ff
and eax, edx
imul eax, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
shr eax, 8
and eax, edx
add edi, eax
mov eax, edi
shr eax, 8
and eax, edx
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, 0xff00ff
xor edx, eax
mov eax, edi
shr eax, 8
and edx, esi
and eax, esi
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp + 0xc]
xor edx, ecx
add edi, 4
mov dword [eax], edx
add eax, dword [ebp - 4]
dec ebx
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], eax
test ebx, ebx
jg 0x482793
pop edi
pop esi
pop ebx
leave
ret 0xc