Function at 0x4c8548
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x4c8a2c
test edx, edx
je 0x4c8a2c
mov edi, dword [ebp + 0xc]
mov esi, 0xc0
lea eax, [esi - 0x40]
cmp edi, eax
je 0x4c858c
cmp edi, esi
je 0x4c8588
cmp edi, 0x100
je 0x4c8588
push 0xfffffffffffffffe
pop eax
jmp 0x4c8a2f
cmp edi, eax
jne 0x4c8598
mov dword [edx + 0xf0], 0xa
jmp 0x4c85a9
push 0xe
pop eax
push 0xc
cmp edi, esi
pop ecx
cmove eax, ecx
mov dword [edx + 0xf0], eax
mov eax, dword [ebx]
lea esi, [edx + 4]
mov ecx, eax
rol eax, 8
ror ecx, 8
and eax, 0xff00ff
and ecx, 0xff00ff00
or ecx, eax
mov dword [edx], ecx
mov dword [ebp + 8], ecx
mov ecx, dword [ebx + 4]
mov eax, ecx
ror eax, 8
rol ecx, 8
and eax, 0xff00ff00
and ecx, 0xff00ff
or eax, ecx
mov dword [esi], eax
mov ecx, dword [ebx + 8]
mov eax, ecx
ror eax, 8
rol ecx, 8
and eax, 0xff00ff00
and ecx, 0xff00ff
or eax, ecx
mov dword [edx + 8], eax
mov eax, dword [ebx + 0xc]
mov ecx, eax
ror ecx, 8
rol eax, 8
and ecx, 0xff00ff00
and eax, 0xff00ff
or ecx, eax
mov dword [ebp - 4], ecx
mov dword [edx + 0xc], ecx
cmp edi, 0x80
jne 0x4c8718
mov ebx, dword [ebp - 4]
mov eax, ecx
shr eax, 0x10
mov edi, 0xff000000
movzx eax, al
mov ecx, dword [eax*4 + 0x5f22e0]
mov eax, ebx
shr eax, 8
xor ecx, 0x1000000
movzx eax, al
and ecx, edi
mov eax, dword [eax*4 + 0x5f26e0]
and eax, 0xff0000
xor ecx, eax
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5f1ee0]
xor ecx, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x5f1ae0]
and eax, 0xff00
xor ecx, eax
mov eax, dword [esi]
xor ecx, dword [ebp + 8]
xor eax, ecx
mov dword [edx + 0x10], ecx
mov ecx, dword [edx + 8]
xor ecx, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], ecx
xor ecx, ebx
mov dword [edx + 0x1c], ecx
mov ebx, 0x5f3be4
lea esi, [esi + 0x10]
mov ecx, dword [esi + 8]
mov eax, ecx
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x5f26e0]
mov eax, ecx
shr eax, 0x10
and edx, 0xff0000
movzx eax, al
mov eax, dword [eax*4 + 0x5f22e0]
and eax, edi
xor edx, eax
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5f1ee0]
xor edx, eax
movzx eax, cl
mov eax, dword [eax*4 + 0x5f1ae0]
and eax, 0xff00
xor edx, eax
xor edx, dword [esi - 4]
xor edx, dword [ebx]
add ebx, 4
mov dword [esi + 0xc], edx
mov eax, dword [esi]
xor eax, edx
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 4]
xor ecx, eax
mov dword [esi + 0x14], ecx
mov eax, dword [esi + 8]
xor eax, ecx
mov dword [esi + 0x18], eax
cmp ebx, 0x5f3c08
jne 0x4c869b
jmp 0x4c8a28
mov ecx, dword [ebx + 0x10]
mov eax, ecx
ror eax, 8
rol ecx, 8
and eax, 0xff00ff00
and ecx, 0xff00ff
or eax, ecx
mov dword [edx + 0x10], eax
mov eax, dword [ebx + 0x14]
mov ecx, eax
ror ecx, 8
rol eax, 8
and ecx, 0xff00ff00
and eax, 0xff00ff
or ecx, eax
mov dword [ebp - 4], ecx
mov dword [edx + 0x14], ecx
cmp edi, 0xc0
jne 0x4c8872
mov ebx, dword [ebp - 4]
mov eax, ecx
shr eax, 0x10
mov edi, 0xff000000
movzx eax, al
mov ecx, dword [eax*4 + 0x5f22e0]
mov eax, ebx
shr eax, 8
xor ecx, 0x1000000
movzx eax, al
and ecx, edi
mov eax, dword [eax*4 + 0x5f26e0]
and eax, 0xff0000
xor ecx, eax
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5f1ee0]
xor ecx, eax
movzx eax, bl
mov ebx, 0xff00
mov eax, dword [eax*4 + 0x5f1ae0]
and eax, ebx
xor ecx, eax
mov eax, dword [esi]
xor ecx, dword [ebp + 8]
lea esi, [edx + 0x28]
xor eax, ecx
mov dword [edx + 0x18], ecx
mov ecx, dword [edx + 8]
xor ecx, eax
mov dword [edx + 0x1c], eax
mov eax, dword [edx + 0xc]
xor eax, ecx
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], eax
mov dword [ebp + 8], 0x5f3be4
mov ecx, dword [esi - 0x18]
xor ecx, dword [esi - 4]
mov eax, dword [esi - 0x14]
xor eax, ecx
mov dword [esi], ecx
mov dword [esi + 4], eax
lea esi, [esi + 0x18]
mov ecx, dword [esi - 0x14]
mov eax, ecx
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x5f26e0]
mov eax, ecx
shr eax, 0x10
and edx, 0xff0000
movzx eax, al
mov eax, dword [eax*4 + 0x5f22e0]
and eax, edi
xor edx, eax
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5f1ee0]
xor edx, eax
movzx eax, cl
mov eax, dword [eax*4 + 0x5f1ae0]
and eax, ebx
xor edx, eax
mov eax, dword [ebp + 8]
xor edx, dword [esi - 0x28]
xor edx, dword [eax]
mov dword [esi - 0x10], edx
mov eax, dword [esi - 0x24]
xor eax, edx
mov dword [esi - 0xc], eax
mov ecx, dword [esi - 0x20]
xor ecx, eax
mov dword [esi - 8], ecx
mov eax, dword [esi - 0x1c]
xor eax, ecx
mov dword [esi - 4], eax
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp + 8], eax
cmp eax, 0x5f3c00
jne 0x4c87db
jmp 0x4c8a28
mov ecx, dword [ebx + 0x18]
mov eax, ecx
ror eax, 8
and eax, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or eax, ecx
mov dword [edx + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov ebx, eax
ror ebx, 8
rol eax, 8
and ebx, 0xff00ff00
and eax, 0xff00ff
or ebx, eax
mov dword [edx + 0x1c], ebx
cmp edi, 0x100
jne 0x4c8a28
mov eax, ebx
mov dword [ebp - 4], 0x5f3be4
shr eax, 0x10
mov edi, 0xff000000
movzx eax, al
mov ecx, dword [eax*4 + 0x5f22e0]
mov eax, ebx
shr eax, 8
xor ecx, 0x1000000
movzx eax, al
and ecx, edi
mov eax, dword [eax*4 + 0x5f26e0]
and eax, 0xff0000
xor ecx, eax
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5f1ee0]
xor ecx, eax
movzx eax, bl
mov ebx, 0xff0000
mov eax, dword [eax*4 + 0x5f1ae0]
and eax, 0xff00
xor ecx, eax
mov eax, dword [esi]
xor ecx, dword [ebp + 8]
mov esi, 0xff00
xor eax, ecx
mov dword [edx + 0x20], ecx
mov ecx, dword [edx + 8]
xor ecx, eax
mov dword [edx + 0x24], eax
mov eax, dword [edx + 0xc]
xor eax, ecx
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], eax
add edx, 0x30
mov dword [ebp + 8], edx
mov ecx, dword [edx - 4]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov edx, dword [eax*4 + 0x5f26e0]
mov eax, ecx
shr eax, 8
and edx, ebx
movzx eax, al
mov eax, dword [eax*4 + 0x5f1ae0]
and eax, esi
xor edx, eax
mov eax, ecx
shr eax, 0x18
mov eax, dword [eax*4 + 0x5f22e0]
and eax, edi
xor edx, eax
movzx eax, cl
movzx eax, byte [eax*4 + 0x5f1ee0]
xor edx, eax
mov eax, dword [ebp + 8]
xor edx, dword [eax - 0x20]
mov dword [eax], edx
mov eax, dword [eax - 0x1c]
xor eax, edx
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x18]
mov dword [edx + 4], eax
xor ecx, eax
mov eax, dword [edx - 0x14]
xor eax, ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
add edx, 0x20
mov dword [ebp + 8], edx
mov ecx, dword [edx - 0x14]
mov eax, ecx
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x5f26e0]
mov eax, ecx
shr eax, 0x10
and edx, ebx
movzx eax, al
mov eax, dword [eax*4 + 0x5f22e0]
and eax, edi
xor edx, eax
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5f1ee0]
xor edx, eax
movzx eax, cl
mov ecx, dword [ebp - 4]
mov eax, dword [eax*4 + 0x5f1ae0]
and eax, esi
xor edx, eax
mov eax, dword [ebp + 8]
xor edx, dword [eax - 0x30]
xor edx, dword [ecx]
mov dword [eax - 0x10], edx
mov eax, dword [eax - 0x2c]
xor eax, edx
mov edx, dword [ebp + 8]
mov dword [edx - 0xc], eax
mov ecx, dword [edx - 0x28]
xor ecx, eax
mov dword [edx - 8], ecx
mov eax, dword [edx - 0x24]
xor eax, ecx
mov dword [edx - 4], eax
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
cmp eax, 0x5f3bfc
jne 0x4c893a
xor eax, eax
jmp 0x4c8a2f
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret