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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 2]
movzx ebx, byte [eax + 9]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 3]
movzx esi, byte [eax + 5]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 4]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 6]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 7]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 8]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0xa]
mov edi, dword [ebp + 0x10]
xor edx, dword [edi + 4]
xor ecx, dword [edi]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0xb]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0xc]
xor esi, dword [edi + 8]
movzx edi, byte [eax + 0xd]
shl ebx, 8
or ebx, edi
movzx edi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl ebx, 8
or ebx, edi
shl ebx, 8
or ebx, eax
mov eax, dword [ebp + 0x10]
xor ebx, dword [eax + 0xc]
mov eax, esi
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x244160]
mov dword [ebp - 0xc], edx
shr edx, 0x10
movzx edi, dl
xor eax, dword [edi*4 + 0x243d60]
mov edi, ecx
shr edi, 0x18
xor eax, dword [edi*4 + 0x242d60]
movzx edi, bl
xor eax, dword [edi*4 + 0x244560]
mov edi, dword [ebp + 0x10]
xor eax, dword [edi + 0x10]
mov edx, esi
mov dword [ebp + 8], eax
mov eax, ebx
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x244160]
shr edx, 0x10
movzx edi, dl
xor eax, dword [edi*4 + 0x243d60]
mov edx, dword [ebp - 0xc]
mov edi, edx
shr edi, 0x18
xor eax, dword [edi*4 + 0x242d60]
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], ebx
movzx edi, cl
xor eax, dword [edi*4 + 0x244560]
mov edi, dword [ebp + 0x10]
xor eax, dword [edi + 0x14]
shr ebx, 0x10
mov dword [ebp + 0x10], eax
movzx eax, bl
mov ebx, dword [eax*4 + 0x243d60]
mov eax, ecx
shr eax, 8
shr esi, 0x18
xor ebx, dword [esi*4 + 0x242d60]
mov esi, dword [ebp - 0x10]
movzx eax, al
xor ebx, dword [eax*4 + 0x244160]
movzx eax, dl
xor ebx, dword [eax*4 + 0x244560]
shr edx, 8
xor ebx, dword [edi + 0x18]
movzx eax, dl
shr esi, 0x18
mov edx, dword [esi*4 + 0x242d60]
xor edx, dword [eax*4 + 0x244160]
movzx eax, byte [ebp - 4]
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x243d60]
lea esi, [edi + 0x20]
xor edx, dword [eax*4 + 0x244560]
mov dword [ebp - 8], ebx
xor edx, dword [edi + 0x1c]
mov edi, dword [edi + 0x1e0]
sar edi, 1
dec edi
mov dword [ebp - 0xc], edi
je 0x1faf95
lea esp, [esp]
mov ecx, ebx
shr ecx, 8
movzx eax, cl
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax*4 + 0x244160]
shr ecx, 0x10
movzx ecx, cl
xor eax, dword [ecx*4 + 0x243d60]
mov ecx, dword [ebp + 8]
shr ebx, 0x10
movzx edi, bl
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x242d60]
movzx ecx, dl
xor eax, dword [ecx*4 + 0x244560]
mov ecx, edx
shr ecx, 8
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x244160]
xor ecx, dword [edi*4 + 0x243d60]
mov edi, dword [ebp + 0x10]
shr edi, 0x18
xor ecx, dword [edi*4 + 0x242d60]
movzx edi, byte [ebp + 8]
xor ecx, dword [edi*4 + 0x244560]
mov ebx, edx
shr ebx, 0x10
movzx edi, bl
mov edi, dword [edi*4 + 0x243d60]
mov ebx, dword [ebp - 8]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x242d60]
mov ebx, dword [ebp + 8]
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x244160]
movzx ebx, byte [ebp + 0x10]
xor edi, dword [ebx*4 + 0x244560]
mov ebx, dword [ebp + 0x10]
xor edi, dword [esi + 8]
xor ecx, dword [esi + 4]
shr ebx, 8
mov dword [ebp - 4], edi
movzx edi, bl
mov ebx, dword [ebp + 8]
shr ebx, 0x10
xor eax, dword [esi]
shr edx, 0x18
mov edx, dword [edx*4 + 0x242d60]
xor edx, dword [edi*4 + 0x244160]
movzx edi, bl
xor edx, dword [edi*4 + 0x243d60]
movzx edi, byte [ebp - 8]
xor edx, dword [edi*4 + 0x244560]
mov ebx, dword [ebp - 4]
xor edx, dword [esi + 0xc]
shr ebx, 8
movzx edi, bl
mov edi, dword [edi*4 + 0x244160]
mov ebx, ecx
shr ebx, 0x10
movzx ebx, bl
xor edi, dword [ebx*4 + 0x243d60]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x242d60]
movzx ebx, dl
xor edi, dword [ebx*4 + 0x244560]
mov ebx, edx
xor edi, dword [esi + 0x10]
shr ebx, 8
mov dword [ebp + 8], edi
movzx edi, bl
mov ebx, dword [ebp - 4]
mov edi, dword [edi*4 + 0x244160]
shr ebx, 0x10
movzx ebx, bl
xor edi, dword [ebx*4 + 0x243d60]
mov ebx, ecx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x242d60]
movzx ebx, al
xor edi, dword [ebx*4 + 0x244560]
mov ebx, edx
xor edi, dword [esi + 0x14]
shr ebx, 0x10
mov dword [ebp + 0x10], edi
movzx edi, bl
mov edi, dword [edi*4 + 0x243d60]
mov ebx, dword [ebp - 4]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x242d60]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x244160]
movzx ebx, cl
xor edi, dword [ebx*4 + 0x244560]
shr edx, 0x18
mov edx, dword [edx*4 + 0x242d60]
xor edi, dword [esi + 0x18]
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x244160]
movzx ecx, byte [ebp - 4]
shr eax, 0x10
movzx eax, al
xor edx, dword [eax*4 + 0x243d60]
mov ebx, edi
xor edx, dword [ecx*4 + 0x244560]
add esi, 0x20
xor edx, dword [esi - 4]
dec dword [ebp - 0xc]
mov dword [ebp - 8], ebx
jne 0x1fadc0
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp + 0x10]
shr eax, 0x10
movzx edi, al
mov eax, dword [ecx*4 + 0x244d60]
xor eax, dword [edi*4 + 0x245160]
mov ecx, dword [ebp + 8]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x245560]
mov edi, dword [ebp + 0xc]
movzx ecx, dl
xor eax, dword [ecx*4 + str.cwko0]
xor eax, dword [esi]
mov ecx, eax
shr ecx, 0x18
mov byte [edi], cl
mov ecx, eax
shr ecx, 0x10
mov byte [edi + 1], cl
mov ecx, eax
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 3], al
mov eax, edx
shr eax, 8
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov dword [ebp + 0xc], eax
mov eax, dword [ecx*4 + 0x244d60]
mov ecx, dword [ebp + 0xc]
xor eax, dword [ecx*4 + 0x245160]
mov ecx, dword [ebp + 0x10]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x245560]
movzx ecx, byte [ebp + 8]
xor eax, dword [ecx*4 + str.cwko0]
xor eax, dword [esi + 4]
mov ecx, eax
shr ecx, 0x18
mov byte [edi + 4], cl
mov ecx, eax
shr ecx, 0x10
mov byte [edi + 5], cl
mov ecx, eax
shr ecx, 8
mov byte [edi + 6], cl
mov byte [edi + 7], al
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 0x18
mov dword [ebp + 0xc], eax
mov eax, dword [ecx*4 + 0x245160]
mov ecx, dword [ebp + 0xc]
xor eax, dword [ecx*4 + 0x245560]
mov ecx, dword [ebp + 8]
shr ecx, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x244d60]
movzx ecx, byte [ebp + 0x10]
xor eax, dword [ecx*4 + str.cwko0]
shr edx, 0x18
xor eax, dword [esi + 8]
mov ecx, eax
shr ecx, 0x18
mov byte [edi + 8], cl
mov ecx, eax
shr ecx, 0x10
mov byte [edi + 9], cl
mov ecx, eax
mov byte [edi + 0xb], al
mov eax, dword [ebp + 0x10]
shr ecx, 8
shr eax, 8
mov byte [edi + 0xa], cl
movzx eax, al
mov edx, dword [edx*4 + 0x245560]
xor edx, dword [eax*4 + 0x244d60]
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx ecx, al
xor edx, dword [ecx*4 + 0x245160]
movzx eax, bl
xor edx, dword [eax*4 + str.cwko0]
xor edx, dword [esi + 0xc]
mov ecx, edx
shr ecx, 0x18
mov byte [edi + 0xc], cl
mov eax, edx
mov ecx, edx
shr eax, 0x10
shr ecx, 8
mov byte [edi + 0xd], al
mov byte [edi + 0xe], cl
mov byte [edi + 0xf], dl
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret