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

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
push ebx
movzx ebx, byte [eax + 0xc]
push ebp
movzx ebp, byte [eax + 4]
push esi
movzx esi, byte [eax + 5]
shl ebp, 8
xor ebp, esi
movzx esi, byte [eax + 6]
shl ebp, 8
xor ebp, esi
movzx esi, byte [eax + 7]
push edi
movzx edi, byte [eax + 9]
shl ebp, 8
xor ebp, esi
movzx esi, byte [eax + 8]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 0xa]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 0xb]
shl ecx, 8
xor ecx, edx
movzx edx, byte [eax + 2]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 0xd]
shl ecx, 8
xor ecx, edx
movzx edx, byte [eax + 3]
shl ebx, 8
xor ebx, edi
movzx edi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl ecx, 8
xor ecx, edx
mov edx, dword [esp + 0x18]
xor ebp, dword [edx + 4]
xor esi, dword [edx + 8]
xor ecx, dword [edx]
shl ebx, 8
xor ebx, edi
shl ebx, 8
xor ebx, eax
xor ebx, dword [edx + 0xc]
mov edi, ebp
shr edi, 0x10
and edi, 0xff
mov eax, esi
shr eax, 8
and eax, 0xff
mov dword [esp + 0x1c], edi
mov edi, dword [eax*4 + 0x102562f8]
mov eax, dword [esp + 0x1c]
xor edi, dword [eax*4 + 0x10255ef8]
mov eax, ecx
shr eax, 0x18
xor edi, dword [eax*4 + 0x10255af8]
mov eax, ebx
and eax, 0xff
xor edi, dword [eax*4 + 0x102566f8]
mov eax, esi
xor edi, dword [edx + 0x10]
mov edx, ebx
shr edx, 8
shr eax, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x102562f8]
and eax, 0xff
xor edx, dword [eax*4 + 0x10255ef8]
mov eax, ebp
shr eax, 0x18
xor edx, dword [eax*4 + 0x10255af8]
mov eax, ecx
mov dword [esp + 0x10], ebx
and eax, 0xff
xor edx, dword [eax*4 + 0x102566f8]
mov eax, dword [esp + 0x18]
xor edx, dword [eax + 0x14]
shr ebx, 0x10
mov eax, ecx
shr eax, 8
and eax, 0xff
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x10255ef8]
xor ebx, dword [eax*4 + 0x102562f8]
mov eax, esi
shr eax, 0x18
xor ebx, dword [eax*4 + 0x10255af8]
mov eax, ebp
shr ebp, 8
and ebp, 0xff
mov ebp, dword [ebp*4 + 0x102562f8]
shr ecx, 0x10
and ecx, 0xff
xor ebp, dword [ecx*4 + 0x10255ef8]
mov ecx, dword [esp + 0x10]
shr ecx, 0x18
xor ebp, dword [ecx*4 + 0x10255af8]
and eax, 0xff
xor ebx, dword [eax*4 + 0x102566f8]
mov eax, dword [esp + 0x18]
xor ebx, dword [eax + 0x18]
and esi, 0xff
xor ebp, dword [esi*4 + 0x102566f8]
lea ecx, [eax + 0x20]
xor ebp, dword [eax + 0x1c]
mov eax, dword [eax + 0x1e0]
sar eax, 1
sub eax, 1
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
je 0x1020ceb8
mov eax, ebx
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x102562f8]
xor eax, dword [ecx*4 + 0x10255ef8]
mov ecx, edi
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x10255af8]
mov ecx, ebp
and ecx, 0xff
xor eax, dword [ecx*4 + 0x102566f8]
mov ecx, dword [esp + 0x18]
xor eax, dword [ecx]
mov ecx, ebp
mov esi, ebx
shr esi, 0x10
and esi, 0xff
shr ecx, 8
shr edx, 0x18
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x102562f8]
xor ecx, dword [esi*4 + 0x10255ef8]
mov esi, edi
xor ecx, dword [edx*4 + 0x10255af8]
mov edx, edi
and edx, 0xff
xor ecx, dword [edx*4 + 0x102566f8]
mov edx, dword [esp + 0x18]
xor ecx, dword [edx + 4]
mov edx, ebp
shr esi, 8
and esi, 0xff
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x10255ef8]
xor edx, dword [esi*4 + 0x102562f8]
mov esi, ebx
shr esi, 0x18
xor edx, dword [esi*4 + 0x10255af8]
mov esi, dword [esp + 0x1c]
and esi, 0xff
xor edx, dword [esi*4 + 0x102566f8]
mov esi, dword [esp + 0x18]
xor edx, dword [esi + 8]
mov esi, dword [esp + 0x1c]
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x102562f8]
shr ebp, 0x18
and ebx, 0xff
shr edi, 0x10
and edi, 0xff
xor esi, dword [edi*4 + 0x10255ef8]
mov edi, dword [esp + 0x18]
xor esi, dword [ebp*4 + 0x10255af8]
mov ebp, ecx
xor esi, dword [ebx*4 + 0x102566f8]
shr ebp, 0x10
xor esi, dword [edi + 0xc]
mov ebx, edx
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x102562f8]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x10255ef8]
mov ebp, eax
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x10255af8]
mov ebp, esi
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x102566f8]
mov ebp, edx
xor ebx, dword [edi + 0x10]
mov edi, ebx
mov ebx, esi
shr ebx, 8
and ebx, 0xff
shr ebp, 0x10
mov ebx, dword [ebx*4 + 0x102562f8]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x10255ef8]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x10255af8]
mov ebp, eax
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x102566f8]
mov ebp, dword [esp + 0x18]
xor ebx, dword [ebp + 0x14]
mov ebp, eax
mov dword [esp + 0x1c], ebx
shr ebp, 8
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x10255ef8]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x102562f8]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x10255af8]
mov ebp, ecx
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x102562f8]
shr eax, 0x10
and eax, 0xff
xor ecx, dword [eax*4 + 0x10255ef8]
shr esi, 0x18
xor ecx, dword [esi*4 + 0x10255af8]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x102566f8]
mov ebp, dword [esp + 0x18]
xor ebx, dword [ebp + 0x18]
add dword [esp + 0x18], 0x20
and edx, 0xff
xor ecx, dword [edx*4 + 0x102566f8]
mov edx, dword [esp + 0x1c]
xor ecx, dword [ebp + 0x1c]
sub dword [esp + 0x10], 1
mov ebp, ecx
jne 0x1020cc83
mov esi, dword [esp + 0x20]
mov eax, edx
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, ebp
and ecx, 0xff
movzx ecx, byte [ecx*4 + str.ccccwwww]
xor eax, ecx
mov ecx, dword [esp + 0x18]
xor eax, dword [ecx]
mov ecx, eax
shr ecx, 0x18
mov byte [esi], cl
mov ecx, eax
shr ecx, 0x10
mov byte [esi + 1], cl
mov ecx, eax
shr ecx, 8
mov byte [esi + 2], cl
mov byte [esi + 3], al
mov eax, ebx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff0000
mov ecx, ebp
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff00
xor eax, ecx
mov ecx, edx
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
mov ecx, dword [esp + 0x18]
xor eax, dword [ecx + 4]
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 4], cl
mov ecx, eax
shr ecx, 0x10
mov byte [esi + 5], cl
mov ecx, eax
shr ecx, 8
mov byte [esi + 6], cl
mov byte [esi + 7], al
mov eax, ebp
shr eax, 0x10
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and eax, 0xff
mov eax, dword [eax*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, edx
and ecx, 0xff
movzx ecx, byte [ecx*4 + str.ccccwwww]
xor eax, ecx
mov ecx, dword [esp + 0x18]
xor eax, dword [ecx + 8]
shr edx, 8
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 8], cl
mov ecx, eax
shr ecx, 0x10
mov byte [esi + 9], cl
mov ecx, eax
mov byte [esi + 0xb], al
shr ecx, 8
mov byte [esi + 0xa], cl
and edx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
shr edi, 0x10
and edi, 0xff
mov eax, dword [edi*4 + str.ccccwwww]
and edx, 0xff00
and eax, 0xff0000
xor eax, edx
shr ebp, 0x18
mov ecx, dword [ebp*4 + str.ccccwwww]
and ecx, 0xff000000
and ebx, 0xff
movzx edx, byte [ebx*4 + str.ccccwwww]
xor eax, ecx
mov ecx, dword [esp + 0x18]
xor eax, edx
xor eax, dword [ecx + 0xc]
pop edi
mov edx, eax
shr edx, 0x18
mov byte [esi + 0xc], dl
mov ecx, eax
shr ecx, 0x10
mov edx, eax
shr edx, 8
mov byte [esi + 0xd], cl
mov byte [esi + 0xe], dl
mov byte [esi + 0xf], al
pop esi
pop ebp
pop ebx
pop ecx
ret