Function at 0x5255d0
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using aes

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
push ebx
push ebp
movzx ebp, byte [eax + 8]
movzx ebx, byte [eax + 0xc]
push esi
movzx esi, byte [eax + 4]
push edi
movzx edi, byte [eax + 5]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 6]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 7]
shl ebp, 8
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 9]
xor ebp, edi
movzx edi, byte [eax + 0xa]
shl ebp, 8
xor ebp, edi
movzx edi, byte [eax + 0xb]
shl ecx, 8
xor ecx, edx
movzx edx, byte [eax + 2]
shl ebp, 8
xor ebp, edi
movzx edi, byte [eax + 0xd]
shl ecx, 8
shl ebx, 8
xor ebx, edi
movzx edi, byte [eax + 0xe]
xor ecx, edx
movzx edx, byte [eax + 3]
movzx eax, byte [eax + 0xf]
shl ecx, 8
shl ebx, 8
xor ebx, edi
xor ecx, edx
mov edx, dword [esp + 0x18]
xor ebp, dword [edx + 8]
xor esi, dword [edx + 4]
xor ecx, dword [edx]
shl ebx, 8
xor ebx, eax
xor ebx, dword [edx + 0xc]
mov eax, ebp
shr eax, 8
and eax, 0xff
mov edi, esi
shr edi, 0x10
and edi, 0xff
mov dword [esp + 0x20], edi
mov edi, dword [eax*4 + 0x5ba9d0]
mov eax, dword [esp + 0x20]
xor edi, dword [eax*4 + 0x5ba5d0]
mov eax, ecx
shr eax, 0x18
xor edi, dword [eax*4 + 0x5ba1d0]
mov eax, ebx
and eax, 0xff
xor edi, dword [eax*4 + 0x5badd0]
mov dword [esp + 0x18], ebp
xor edi, dword [edx + 0x10]
shr ebp, 0x10
mov eax, ebx
shr eax, 8
and eax, 0xff
and ebp, 0xff
mov dword [esp + 0x20], ebp
mov ebp, dword [eax*4 + 0x5ba9d0]
mov eax, dword [esp + 0x20]
xor ebp, dword [eax*4 + 0x5ba5d0]
mov eax, esi
shr eax, 0x18
xor ebp, dword [eax*4 + 0x5ba1d0]
mov dword [esp + 0x10], ebx
mov eax, ecx
and eax, 0xff
xor ebp, dword [eax*4 + 0x5badd0]
shr ebx, 0x10
xor ebp, dword [edx + 0x14]
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x5ba5d0]
mov eax, ecx
shr eax, 8
and eax, 0xff
xor ebx, dword [eax*4 + 0x5ba9d0]
mov eax, dword [esp + 0x18]
shr eax, 0x18
xor ebx, dword [eax*4 + 0x5ba1d0]
mov eax, esi
shr esi, 8
and eax, 0xff
xor ebx, dword [eax*4 + 0x5badd0]
mov eax, dword [esp + 0x10]
xor ebx, dword [edx + 0x18]
and esi, 0xff
mov esi, dword [esi*4 + 0x5ba9d0]
shr ecx, 0x10
shr eax, 0x18
and ecx, 0xff
xor esi, dword [ecx*4 + 0x5ba5d0]
add edx, 0x20
xor esi, dword [eax*4 + 0x5ba1d0]
mov eax, dword [esp + 0x18]
and eax, 0xff
xor esi, dword [eax*4 + 0x5badd0]
mov eax, dword [esp + 0x1c]
xor esi, dword [edx - 4]
sar eax, 1
sub eax, 1
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
je 0x5259d2
jmp 0x5257a0
shr ebp, 0x10
and ebp, 0xff
mov ecx, ebx
shr ecx, 8
and ecx, 0xff
mov eax, dword [ecx*4 + 0x5ba9d0]
xor eax, dword [ebp*4 + 0x5ba5d0]
mov ecx, edi
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x5ba1d0]
mov ecx, esi
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5badd0]
mov ebp, ebx
shr ebp, 0x10
and ebp, 0xff
mov ecx, esi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5ba9d0]
xor ecx, dword [ebp*4 + 0x5ba5d0]
mov ebp, dword [esp + 0x20]
shr ebp, 0x18
xor ecx, dword [ebp*4 + 0x5ba1d0]
mov ebp, edi
and ebp, 0xff
xor ecx, dword [ebp*4 + 0x5badd0]
mov ebp, edi
shr ebp, 8
and ebp, 0xff
shr esi, 0x10
and esi, 0xff
mov esi, dword [esi*4 + 0x5ba5d0]
xor esi, dword [ebp*4 + 0x5ba9d0]
mov ebp, ebx
shr ebp, 0x18
xor esi, dword [ebp*4 + 0x5ba1d0]
mov ebp, dword [esp + 0x20]
and ebp, 0xff
xor esi, dword [ebp*4 + 0x5badd0]
mov ebp, dword [esp + 0x20]
xor esi, dword [edx + 8]
xor ecx, dword [edx + 4]
shr ebp, 8
xor eax, dword [edx]
and ebp, 0xff
shr edi, 0x10
and edi, 0xff
mov dword [esp + 0x20], edi
mov edi, dword [ebp*4 + 0x5ba9d0]
mov ebp, dword [esp + 0x20]
xor edi, dword [ebp*4 + 0x5ba5d0]
mov ebp, dword [esp + 0x18]
shr ebp, 0x18
xor edi, dword [ebp*4 + 0x5ba1d0]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x5badd0]
mov ebx, esi
xor edi, dword [edx + 0xc]
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x5ba9d0]
mov ebp, ecx
shr ebp, 0x10
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x5ba5d0]
mov ebp, eax
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x5ba1d0]
mov ebp, edi
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x5badd0]
mov ebp, esi
xor ebx, dword [edx + 0x10]
shr ebp, 0x10
mov dword [esp + 0x10], ebx
mov ebx, edi
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x5ba9d0]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x5ba5d0]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x5ba1d0]
mov ebp, eax
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x5badd0]
mov ebp, eax
xor ebx, dword [edx + 0x14]
shr ebp, 8
mov dword [esp + 0x20], ebx
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x5ba5d0]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x5ba9d0]
mov ebp, esi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x5ba1d0]
mov ebp, ecx
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5ba9d0]
shr eax, 0x10
and eax, 0xff
xor ecx, dword [eax*4 + 0x5ba5d0]
shr edi, 0x18
xor ecx, dword [edi*4 + 0x5ba1d0]
mov edi, dword [esp + 0x10]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x5badd0]
mov ebp, dword [esp + 0x20]
xor ebx, dword [edx + 0x18]
and esi, 0xff
xor ecx, dword [esi*4 + 0x5badd0]
add edx, 0x20
xor ecx, dword [edx - 4]
sub dword [esp + 0x1c], 1
mov esi, ecx
mov dword [esp + 0x18], ecx
jne 0x5257a0
mov eax, ebp
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff0000
mov ecx, ebx
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff00
xor eax, ecx
mov ecx, edi
shr ecx, 0x18
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff000000
xor eax, ecx
mov ecx, esi
and ecx, 0xff
movzx ecx, byte [ecx*4 + str.ccccwwww]
xor eax, ecx
xor eax, dword [edx]
mov dword [esp + 0x20], eax
mov ecx, eax
mov eax, dword [esp + 0x24]
shr ecx, 0x18
mov byte [eax], cl
mov ecx, dword [esp + 0x20]
shr ecx, 0x10
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x20]
shr ecx, 8
mov byte [eax + 2], cl
movzx ecx, byte [esp + 0x20]
mov byte [eax + 3], cl
mov eax, ebx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff0000
mov ecx, esi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff00
xor eax, ecx
mov ecx, ebp
shr ecx, 0x18
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff000000
xor eax, ecx
mov ecx, edi
and ecx, 0xff
movzx ecx, byte [ecx*4 + str.ccccwwww]
xor eax, ecx
xor eax, dword [edx + 4]
mov dword [esp + 0x20], eax
mov ecx, eax
mov eax, dword [esp + 0x24]
shr ecx, 0x18
mov byte [eax + 4], cl
mov ecx, dword [esp + 0x20]
shr ecx, 0x10
mov byte [eax + 5], cl
mov ecx, dword [esp + 0x20]
shr ecx, 8
mov byte [eax + 6], cl
movzx ecx, byte [esp + 0x20]
mov byte [eax + 7], cl
mov eax, esi
shr eax, 0x10
mov ecx, edi
shr ecx, 8
and eax, 0xff
mov eax, dword [eax*4 + str.ccccwwww]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff00
and eax, 0xff0000
xor eax, ecx
mov ecx, ebx
shr ecx, 0x18
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff000000
xor eax, ecx
mov ecx, ebp
and ecx, 0xff
movzx ecx, byte [ecx*4 + str.ccccwwww]
xor eax, ecx
xor eax, dword [edx + 8]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
shr eax, 0x18
mov byte [ecx + 8], al
mov eax, dword [esp + 0x18]
shr eax, 0x10
mov byte [ecx + 9], al
mov eax, dword [esp + 0x18]
shr eax, 8
mov byte [ecx + 0xa], al
mov al, byte [esp + 0x18]
mov byte [ecx + 0xb], al
shr edi, 0x10
and edi, 0xff
mov eax, dword [edi*4 + str.ccccwwww]
shr ebp, 8
and ebp, 0xff
mov edi, dword [ebp*4 + str.ccccwwww]
shr esi, 0x18
mov esi, dword [esi*4 + str.ccccwwww]
and eax, 0xff0000
and edi, 0xff00
xor eax, edi
and esi, 0xff000000
xor eax, esi
and ebx, 0xff
movzx esi, byte [ebx*4 + str.ccccwwww]
xor eax, esi
xor eax, dword [edx + 0xc]
pop edi
mov edx, eax
shr edx, 0x18
mov byte [ecx + 0xc], dl
mov edx, eax
shr edx, 0x10
mov byte [ecx + 0xd], dl
pop esi
mov edx, eax
shr edx, 8
pop ebp
mov byte [ecx + 0xe], dl
mov byte [ecx + 0xf], al
pop ebx
pop ecx
ret