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

Disassembly:
mov eax, 0x10
call fcn.005a0b40
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, ecx
ror eax, 8
and eax, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or eax, ecx
mov ecx, edx
push edi
mov edi, dword [esp + 0x2c]
xor eax, dword [edi]
ror ecx, 8
mov ebx, dword [edi + 8]
and ecx, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or ecx, edx
xor ecx, dword [edi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x24], ecx
mov ecx, edx
ror ecx, 8
and ecx, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or ecx, edx
mov edx, dword [esi + 0xc]
movzx esi, byte [esp + 0x26]
mov ebp, dword [esi*4 + 0x635bd0]
xor ecx, ebx
mov ebx, edx
ror ebx, 8
and ebx, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or ebx, edx
xor ebx, dword [edi + 0xc]
movzx edx, ch
mov edx, dword [edx*4 + 0x635fd0]
xor edx, ebp
mov esi, eax
shr esi, 0x18
xor edx, dword [esi*4 + 0x6357d0]
mov esi, ebx
and esi, 0xff
mov ebp, dword [esi*4 + 0x6363d0]
mov esi, dword [edi + 0x10]
xor edx, ebp
xor edx, esi
mov dword [esp + 0x14], ecx
movzx ebp, byte [esp + 0x16]
movzx esi, bh
mov esi, dword [esi*4 + 0x635fd0]
xor esi, dword [ebp*4 + 0x635bd0]
mov ebp, dword [esp + 0x24]
shr ebp, 0x18
xor esi, dword [ebp*4 + 0x6357d0]
mov ebp, eax
and ebp, 0xff
xor esi, dword [ebp*4 + 0x6363d0]
xor esi, dword [edi + 0x14]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], esi
movzx esi, byte [esp + 0x1e]
movzx ebp, ah
mov dword [esp + 0x18], eax
mov eax, dword [esi*4 + 0x635bd0]
mov esi, dword [ebp*4 + 0x635fd0]
mov dword [esp + 0x10], edx
xor eax, esi
shr ecx, 0x18
mov esi, dword [ecx*4 + 0x6357d0]
mov ecx, dword [esp + 0x24]
xor eax, esi
and ecx, 0xff
mov esi, dword [ecx*4 + 0x6363d0]
mov ecx, dword [edi + 0x18]
xor eax, esi
movzx esi, byte [esp + 0x1a]
mov ebp, dword [esi*4 + 0x635bd0]
xor eax, ecx
movzx ecx, byte [esp + 0x25]
mov ecx, dword [ecx*4 + 0x635fd0]
shr ebx, 0x18
mov esi, dword [ebx*4 + 0x6357d0]
xor ecx, ebp
xor ecx, esi
mov esi, dword [esp + 0x14]
and esi, 0xff
mov ebx, dword [esi*4 + 0x6363d0]
mov esi, dword [edi + 0x1c]
xor ecx, ebx
xor ecx, esi
lea esi, [edi + 0x20]
mov edi, dword [edi + 0xf0]
sar edi, 1
dec edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
je 0x5c9360
mov ebp, edi
jmp 0x5c9170
movzx ebx, byte [esp + 0x2e]
movzx edi, ah
mov edi, dword [edi*4 + 0x635fd0]
xor edi, dword [ebx*4 + 0x635bd0]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x6357d0]
mov ebx, ecx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x6363d0]
xor edi, dword [esi]
movzx ebx, byte [esp + 0x1e]
mov dword [esp + 0x18], edi
movzx edi, ch
mov edi, dword [edi*4 + 0x635fd0]
xor edi, dword [ebx*4 + 0x635bd0]
mov ebx, dword [esp + 0x2c]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x6357d0]
mov ebx, edx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x6363d0]
xor edi, dword [esi + 4]
mov dword [esp + 0x24], edi
movzx edi, byte [esp + 0x16]
movzx ebx, dh
mov edx, dword [edi*4 + 0x635bd0]
xor edx, dword [ebx*4 + 0x635fd0]
mov edi, eax
shr edi, 0x18
mov ebx, dword [edi*4 + 0x6357d0]
mov edi, dword [esp + 0x2c]
and edi, 0xff
xor edx, ebx
mov ebx, dword [edi*4 + 0x6363d0]
movzx edi, byte [esp + 0x2d]
xor edx, ebx
xor edx, dword [esi + 8]
movzx ebx, byte [esp + 0x12]
shr ecx, 0x18
mov dword [esp + 0x2c], ebx
mov ebx, dword [edi*4 + 0x635fd0]
mov edi, dword [esp + 0x2c]
xor ebx, dword [edi*4 + 0x635bd0]
mov edi, dword [ecx*4 + 0x6357d0]
mov ecx, dword [esi + 0xc]
xor ebx, edi
and eax, 0xff
xor ebx, dword [eax*4 + 0x6363d0]
xor ebx, ecx
movzx ecx, byte [esp + 0x26]
movzx eax, dh
mov edi, dword [eax*4 + 0x635fd0]
xor edi, dword [ecx*4 + 0x635bd0]
mov eax, dword [esp + 0x18]
mov ecx, eax
shr ecx, 0x18
xor edi, dword [ecx*4 + 0x6357d0]
mov ecx, ebx
and ecx, 0xff
xor edi, dword [ecx*4 + 0x6363d0]
xor edi, dword [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
movzx edi, byte [esp + 0x16]
movzx ecx, bh
mov ecx, dword [ecx*4 + 0x635fd0]
xor ecx, dword [edi*4 + 0x635bd0]
mov edi, dword [esp + 0x24]
shr edi, 0x18
xor ecx, dword [edi*4 + 0x6357d0]
mov edi, eax
mov dword [esp + 0x1c], ebx
and edi, 0xff
xor ecx, dword [edi*4 + 0x6363d0]
xor ecx, dword [esi + 0x14]
mov dword [esp + 0x2c], ecx
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
mov edi, dword [ecx*4 + 0x635bd0]
movzx eax, ah
xor edi, dword [eax*4 + 0x635fd0]
mov ecx, edx
shr ecx, 0x18
mov eax, dword [ecx*4 + 0x6357d0]
mov ecx, dword [esp + 0x24]
xor edi, eax
mov eax, ecx
and eax, 0xff
xor edi, dword [eax*4 + 0x6363d0]
mov eax, dword [esi + 0x18]
movzx ecx, ch
mov ecx, dword [ecx*4 + 0x635fd0]
xor eax, edi
movzx edi, byte [esp + 0x1a]
xor ecx, dword [edi*4 + 0x635bd0]
shr ebx, 0x18
mov edi, dword [ebx*4 + 0x6357d0]
mov ebx, dword [esi + 0x1c]
xor ecx, edi
and edx, 0xff
mov edi, dword [edx*4 + 0x6363d0]
mov edx, dword [esp + 0x10]
xor ecx, edi
xor ecx, ebx
add esi, 0x20
dec ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
jne 0x5c9170
movzx edi, byte [esp + 0x2e]
mov edi, dword [edi*4 + 0x6363d0]
and edi, 0xff0000
movzx ebx, ah
mov ebx, dword [ebx*4 + 0x6357d0]
and ebx, 0xff00
xor edi, ebx
mov ebx, edx
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x635fd0]
and ebx, 0xff000000
xor edi, ebx
mov ebp, dword [esp + 0x28]
mov ebx, ecx
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x635bd0]
and ebx, 0xff
xor edi, ebx
xor edi, dword [esi]
mov ebx, edi
ror ebx, 8
and ebx, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or ebx, edi
movzx edi, byte [esp + 0x1e]
mov dword [ebp], ebx
mov edi, dword [edi*4 + 0x6363d0]
and edi, 0xff0000
movzx ebx, ch
mov ebx, dword [ebx*4 + 0x6357d0]
and ebx, 0xff00
xor edi, ebx
mov ebx, dword [esp + 0x2c]
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x635fd0]
and ebx, 0xff000000
xor edi, ebx
mov ebx, edx
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x635bd0]
and ebx, 0xff
xor edi, ebx
xor edi, dword [esi + 4]
mov ebx, edi
ror ebx, 8
and ebx, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or ebx, edi
movzx edi, byte [esp + 0x16]
mov dword [ebp + 4], ebx
mov edi, dword [edi*4 + 0x6363d0]
movzx edx, dh
mov edx, dword [edx*4 + 0x6357d0]
and edi, 0xff0000
and edx, 0xff00
xor edi, edx
mov edx, eax
shr edx, 0x18
mov edx, dword [edx*4 + 0x635fd0]
and edx, 0xff000000
xor edi, edx
mov edx, dword [esp + 0x2c]
mov ebx, edx
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x635bd0]
and ebx, 0xff
xor edi, ebx
xor edi, dword [esi + 8]
mov ebx, edi
ror ebx, 8
and ebx, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or ebx, edi
movzx edi, byte [esp + 0x12]
mov dword [ebp + 8], ebx
mov edi, dword [edi*4 + 0x6363d0]
movzx edx, dh
mov edx, dword [edx*4 + 0x6357d0]
and edi, 0xff0000
and edx, 0xff00
xor edi, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x635fd0]
and eax, 0xff
mov edx, dword [eax*4 + 0x635bd0]
and ecx, 0xff000000
xor edi, ecx
and edx, 0xff
xor edi, edx
xor edi, dword [esi + 0xc]
mov eax, edi
ror eax, 8
and eax, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or eax, edi
pop edi
pop esi
mov dword [ebp + 0xc], eax
pop ebp
pop ebx
add esp, 0x10
ret