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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx]
mov ebp, edi
ror ebp, 8
mov esi, 0xff00ff00
and ebp, esi
rol edi, 8
mov ebx, edx
mov edx, 0xff00ff
and edi, edx
or ebp, edi
mov dword [eax], ebp
mov edi, dword [ecx + 4]
mov ebp, edi
ror ebp, 8
and ebp, esi
rol edi, 8
and edi, edx
or ebp, edi
mov dword [eax + 4], ebp
mov edi, dword [ecx + 8]
mov ebp, edi
ror ebp, 8
and ebp, esi
rol edi, 8
and edi, edx
or ebp, edi
mov dword [eax + 8], ebp
mov edi, dword [ecx + 0xc]
mov ebp, edi
ror ebp, 8
and ebp, esi
rol edi, 8
and edi, edx
or ebp, edi
mov dword [eax + 0xc], ebp
cmp ebx, 0x80
jne 0x4f5bd3
mov esi, ebp
mov edx, ebp
shr edx, 0x10
lea ecx, [ebx + 0x7f]
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
mov edi, esi
xor edx, 0x1000000
shr edi, 8
and edi, ecx
mov ebp, dword [edi*4 + str.ccccwwww]
mov ebx, 0xff000000
and edx, ebx
mov edi, 0xff0000
and ebp, edi
xor edx, ebp
mov ebp, esi
shr ebp, 0x18
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
and esi, ecx
mov ebp, dword [esi*4 + str.ccccwwww]
mov esi, 0xff00
and ebp, esi
xor edx, ebp
xor edx, dword [eax]
lea ebp, [eax + 0x10]
mov dword [ebp], edx
mov dword [esp + 0x10], ebp
mov ebp, dword [eax + 4]
xor ebp, edx
mov edx, dword [eax + 8]
xor edx, ebp
mov dword [esp + 0x14], edx
mov dword [eax + 0x18], edx
mov edx, dword [eax + 0xc]
xor edx, dword [esp + 0x14]
mov dword [eax + 0x14], ebp
mov dword [eax + 0x1c], edx
mov dword [esp + 0x14], 0x5d43d4
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0xc]
mov edx, ebp
mov dword [esp + 0x10], ebp
shr ebp, 0x10
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
shr edx, 8
and ebp, ebx
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
and edx, edi
xor edx, ebp
mov ebp, dword [esp + 0x10]
shr ebp, 0x18
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
mov ebp, dword [esp + 0x10]
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, esi
xor edx, ebp
mov ebp, dword [esp + 0x14]
xor edx, dword [ebp]
add dword [esp + 0x14], 4
xor edx, dword [eax]
lea ebp, [eax + 0x10]
mov dword [ebp], edx
mov dword [esp + 0x10], ebp
mov ebp, dword [eax + 4]
xor ebp, edx
mov dword [eax + 0x14], ebp
mov edx, dword [eax + 8]
xor edx, ebp
mov dword [eax + 0x18], edx
mov ebp, dword [eax + 0xc]
xor ebp, edx
cmp dword [esp + 0x14], 0x5d43f8
mov dword [eax + 0x1c], ebp
jne 0x4f5b40
push 0xa
pop eax
jmp 0x4f5edf
mov edi, dword [ecx + 0x10]
mov ebp, edi
ror ebp, 8
and ebp, esi
rol edi, 8
and edi, edx
or ebp, edi
mov dword [eax + 0x10], ebp
mov edi, dword [ecx + 0x14]
mov ebp, edi
ror ebp, 8
and ebp, esi
rol edi, 8
and edi, edx
or ebp, edi
mov dword [eax + 0x14], ebp
cmp ebx, 0xc0
jne 0x4f5d2e
mov esi, ebp
mov edx, esi
shr edx, 0x10
lea ecx, [ebx + 0x3f]
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
mov edi, esi
xor edx, 0x1000000
shr edi, 8
and edi, ecx
mov ebp, dword [edi*4 + str.ccccwwww]
mov ebx, 0xff000000
and edx, ebx
mov edi, 0xff0000
and ebp, edi
xor edx, ebp
mov ebp, esi
shr ebp, 0x18
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
and esi, ecx
mov ebp, dword [esi*4 + str.ccccwwww]
mov esi, 0xff00
and ebp, esi
xor edx, ebp
xor edx, dword [eax]
lea ebp, [eax + 0x18]
mov dword [ebp], edx
mov dword [esp + 0x10], ebp
mov ebp, dword [eax + 4]
xor ebp, edx
mov edx, dword [eax + 8]
xor edx, ebp
mov dword [eax + 0x1c], ebp
mov ebp, dword [eax + 0xc]
xor ebp, edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ebp
mov dword [esp + 0x14], 0x5d43d4
mov edx, dword [eax + 0x10]
xor edx, dword [eax + 0x24]
mov ebp, dword [eax + 0x14]
xor ebp, edx
mov dword [eax + 0x2c], ebp
mov dword [eax + 0x28], edx
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0x14]
mov edx, ebp
mov dword [esp + 0x10], ebp
shr ebp, 0x10
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
shr edx, 8
and ebp, ebx
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
and edx, edi
xor edx, ebp
mov ebp, dword [esp + 0x10]
shr ebp, 0x18
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
mov ebp, dword [esp + 0x10]
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, esi
xor edx, ebp
mov ebp, dword [esp + 0x14]
xor edx, dword [ebp]
add dword [esp + 0x14], 4
xor edx, dword [eax]
lea ebp, [eax + 0x18]
mov dword [ebp], edx
mov dword [esp + 0x10], ebp
mov ebp, dword [eax + 4]
xor ebp, edx
mov dword [eax + 0x1c], ebp
mov edx, dword [eax + 8]
xor edx, ebp
mov dword [eax + 0x20], edx
mov ebp, dword [eax + 0xc]
xor ebp, edx
cmp dword [esp + 0x14], 0x5d43f0
mov dword [eax + 0x24], ebp
jne 0x4f5c8b
push 0xc
jmp 0x4f5bcd
mov edi, dword [ecx + 0x18]
mov ebp, edi
ror ebp, 8
and ebp, esi
rol edi, 8
and edi, edx
or ebp, edi
mov dword [eax + 0x18], ebp
mov ecx, dword [ecx + 0x1c]
mov edi, ecx
ror edi, 8
and edi, esi
rol ecx, 8
and ecx, edx
or edi, ecx
mov dword [eax + 0x1c], edi
cmp ebx, 0x100
jne 0x4f5edd
mov esi, edi
mov edx, esi
shr edx, 0x10
lea ecx, [ebx - 1]
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
xor edx, 0x1000000
shr edi, 8
and edi, ecx
mov ebp, dword [edi*4 + str.ccccwwww]
mov ebx, 0xff000000
and edx, ebx
mov edi, 0xff0000
and ebp, edi
xor edx, ebp
mov ebp, esi
shr ebp, 0x18
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
and esi, ecx
mov ebp, dword [esi*4 + str.ccccwwww]
mov esi, 0xff00
and ebp, esi
xor edx, ebp
xor edx, dword [eax]
lea ebp, [eax + 0x20]
mov dword [ebp], edx
mov dword [esp + 0x18], ebp
mov ebp, dword [eax + 4]
xor ebp, edx
mov edx, dword [eax + 8]
xor edx, ebp
mov dword [eax + 0x24], ebp
mov ebp, dword [eax + 0xc]
xor ebp, edx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], ebp
mov dword [esp + 0x14], 0x5d43d4
mov ebp, dword [eax + 0x2c]
mov edx, ebp
mov dword [esp + 0x10], ebp
shr ebp, 8
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, esi
shr edx, 0x10
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
and edx, edi
xor edx, ebp
mov ebp, dword [esp + 0x10]
shr ebp, 0x18
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, ebx
xor edx, ebp
mov ebp, dword [esp + 0x10]
and ebp, ecx
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
xor edx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
xor ebp, edx
mov dword [eax + 0x34], ebp
mov dword [eax + 0x30], edx
mov edx, dword [eax + 0x18]
xor edx, ebp
mov ebp, dword [eax + 0x1c]
xor ebp, edx
mov dword [eax + 0x3c], ebp
mov dword [eax + 0x38], edx
mov eax, dword [esp + 0x18]
mov ebp, dword [eax + 0x1c]
mov edx, ebp
mov dword [esp + 0x10], ebp
shr ebp, 0x10
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
shr edx, 8
and ebp, ebx
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
and edx, edi
xor edx, ebp
mov ebp, dword [esp + 0x10]
shr ebp, 0x18
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
mov ebp, dword [esp + 0x10]
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, esi
xor edx, ebp
xor edx, dword [eax]
mov ebp, dword [esp + 0x14]
xor edx, dword [ebp]
add dword [esp + 0x14], 4
lea ebp, [eax + 0x20]
mov dword [ebp], edx
mov dword [esp + 0x18], ebp
mov ebp, dword [eax + 4]
xor ebp, edx
mov dword [eax + 0x24], ebp
mov edx, dword [eax + 8]
xor edx, ebp
mov dword [eax + 0x28], edx
mov ebp, dword [eax + 0xc]
xor ebp, edx
cmp dword [esp + 0x14], 0x5d43ec
mov dword [eax + 0x2c], ebp
jne 0x4f5de4
push 0xe
jmp 0x4f5bcd
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret