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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx]
mov ebx, dword [ebx + 4]
push esi
mov esi, edx
ror esi, 8
mov ecx, 0xff00ff00
and esi, ecx
rol edx, 8
mov eax, 0xff00ff
and edx, eax
or esi, edx
mov edx, ebx
push edi
mov edi, dword [ebp + 0x10]
xor esi, dword [edi]
ror edx, 8
and edx, ecx
rol ebx, 8
and ebx, eax
or edx, ebx
xor edx, dword [edi + 4]
mov dword [ebp - 8], esi
mov dword [ebp - 4], edx
mov edx, dword [ebp + 8]
mov ebx, dword [edx + 8]
mov edx, ebx
ror edx, 8
and edx, ecx
rol ebx, 8
and ebx, eax
or edx, ebx
xor edx, dword [edi + 8]
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx + 0xc]
mov dword [ebp + 8], ebx
ror ebx, 8
and ebx, ecx
mov ecx, dword [ebp + 8]
rol ecx, 8
and ecx, eax
or ebx, ecx
xor ebx, dword [edi + 0xc]
mov ecx, edx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 4]
shr ebx, 0x10
shr ecx, 8
mov eax, 0xff
and ebx, eax
and ecx, eax
mov ecx, dword [ecx*4 + 0x10014760]
xor ecx, dword [ebx*4 + 0x10014360]
mov ebx, esi
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x10013f60]
mov ebx, dword [ebp - 0xc]
and ebx, eax
xor ecx, dword [ebx*4 + 0x10014b60]
mov ebx, dword [ebp - 0xc]
xor ecx, dword [edi + 0x10]
mov dword [ebp - 0x10], edx
shr ebx, 8
shr edx, 0x10
and ebx, eax
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [ebx*4 + 0x10014760]
mov ebx, dword [ebp + 8]
xor edx, dword [ebx*4 + 0x10014360]
mov ebx, dword [ebp - 4]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x10013f60]
mov ebx, esi
and ebx, eax
xor edx, dword [ebx*4 + 0x10014b60]
mov ebx, dword [ebp - 0xc]
xor edx, dword [edi + 0x14]
shr ebx, 0x10
and ebx, eax
shr esi, 8
and esi, eax
mov dword [ebp + 8], esi
mov esi, dword [ebx*4 + 0x10014360]
mov ebx, dword [ebp + 8]
xor esi, dword [ebx*4 + 0x10014760]
mov ebx, dword [ebp - 0x10]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x10013f60]
mov ebx, dword [ebp - 4]
and ebx, eax
xor esi, dword [ebx*4 + 0x10014b60]
mov ebx, dword [ebp - 8]
xor esi, dword [edi + 0x18]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
mov edi, dword [edi*4 + 0x10014760]
shr ebx, 0x10
and ebx, eax
xor edi, dword [ebx*4 + 0x10014360]
mov ebx, dword [ebp - 0xc]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x10013f60]
mov ebx, dword [ebp - 0x10]
and ebx, eax
xor edi, dword [ebx*4 + 0x10014b60]
mov ebx, dword [ebp + 0x10]
xor edi, dword [ebx + 0x1c]
mov dword [ebp + 0x10], edi
lea edi, [ebx + 0x20]
mov dword [ebp + 8], edi
mov edi, dword [ebx + 0xf0]
sar edi, 1
dec edi
je 0x10005d04
mov dword [ebp - 0x14], edi
mov edi, esi
shr edi, 8
and edi, eax
mov edi, dword [edi*4 + 0x10014760]
mov ebx, edx
shr ebx, 0x10
and ebx, eax
xor edi, dword [ebx*4 + 0x10014360]
mov ebx, ecx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x10013f60]
mov ebx, dword [ebp + 0x10]
and ebx, eax
xor edi, dword [ebx*4 + 0x10014b60]
mov ebx, dword [ebp + 8]
xor edi, dword [ebx]
mov ebx, esi
mov dword [ebp - 8], edi
mov edi, dword [ebp + 0x10]
shr ebx, 0x10
and ebx, eax
shr edi, 8
and edi, eax
mov edi, dword [edi*4 + 0x10014760]
xor edi, dword [ebx*4 + 0x10014360]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x10013f60]
mov ebx, ecx
and ebx, eax
xor edi, dword [ebx*4 + 0x10014b60]
mov ebx, dword [ebp + 8]
xor edi, dword [ebx + 4]
mov ebx, ecx
mov dword [ebp - 4], edi
mov edi, dword [ebp + 0x10]
shr ebx, 8
and ebx, eax
shr edi, 0x10
and edi, eax
mov edi, dword [edi*4 + 0x10014360]
xor edi, dword [ebx*4 + 0x10014760]
mov ebx, esi
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x10013f60]
mov ebx, edx
and ebx, eax
xor edi, dword [ebx*4 + 0x10014b60]
mov ebx, dword [ebp + 8]
xor edi, dword [ebx + 8]
shr edx, 8
and edx, eax
mov ebx, dword [edx*4 + 0x10014760]
shr ecx, 0x10
and ecx, eax
xor ebx, dword [ecx*4 + 0x10014360]
mov ecx, dword [ebp + 0x10]
and esi, eax
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x10013f60]
mov ecx, dword [ebp + 8]
xor ebx, dword [esi*4 + 0x10014b60]
mov esi, dword [ebp - 4]
xor ebx, dword [ecx + 0xc]
shr esi, 0x10
mov edx, edi
shr edx, 8
and edx, eax
mov edx, dword [edx*4 + 0x10014760]
and esi, eax
xor edx, dword [esi*4 + 0x10014360]
mov esi, dword [ebp - 8]
shr esi, 0x18
xor edx, dword [esi*4 + 0x10013f60]
mov esi, ebx
and esi, eax
xor edx, dword [esi*4 + 0x10014b60]
mov dword [ebp - 0x10], edi
xor edx, dword [ecx + 0x10]
mov dword [ebp - 0xc], ebx
mov ecx, edx
mov edx, ebx
mov esi, edi
shr esi, 0x10
and esi, eax
shr edx, 8
and edx, eax
mov edx, dword [edx*4 + 0x10014760]
xor edx, dword [esi*4 + 0x10014360]
mov esi, dword [ebp - 4]
shr esi, 0x18
xor edx, dword [esi*4 + 0x10013f60]
mov esi, dword [ebp - 8]
and esi, eax
xor edx, dword [esi*4 + 0x10014b60]
mov esi, dword [ebp + 8]
xor edx, dword [esi + 0x14]
mov esi, dword [ebp - 8]
shr ebx, 0x10
and ebx, eax
mov ebx, dword [ebx*4 + 0x10014360]
shr edi, 0x18
shr esi, 8
and esi, eax
xor ebx, dword [esi*4 + 0x10014760]
xor ebx, dword [edi*4 + 0x10013f60]
mov edi, dword [ebp - 4]
mov esi, edi
and esi, eax
xor ebx, dword [esi*4 + 0x10014b60]
mov esi, dword [ebp + 8]
xor ebx, dword [esi + 0x18]
shr edi, 8
mov esi, ebx
mov ebx, dword [ebp - 8]
and edi, eax
mov edi, dword [edi*4 + 0x10014760]
shr ebx, 0x10
and ebx, eax
xor edi, dword [ebx*4 + 0x10014360]
mov ebx, edi
mov edi, dword [ebp - 0xc]
shr edi, 0x18
xor ebx, dword [edi*4 + 0x10013f60]
mov edi, dword [ebp - 0x10]
and edi, eax
xor ebx, dword [edi*4 + 0x10014b60]
mov edi, dword [ebp + 8]
xor ebx, dword [edi + 0x1c]
add dword [ebp + 8], 0x20
dec dword [ebp - 0x14]
mov dword [ebp + 0x10], ebx
jne 0x10005b1b
mov edi, edx
shr edi, 0x10
and edi, eax
mov edi, dword [edi*4 + 0x10014b60]
and edi, 0xff0000
mov ebx, esi
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + 0x10013f60]
and ebx, 0xff00
xor edi, ebx
mov ebx, ecx
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x10014760]
and ebx, 0xff000000
xor edi, ebx
mov ebx, dword [ebp + 0x10]
and ebx, eax
movzx ebx, byte [ebx*4 + 0x10014360]
xor edi, ebx
mov ebx, dword [ebp + 8]
xor edi, dword [ebx]
mov ebx, edi
ror ebx, 8
and ebx, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or ebx, edi
mov edi, dword [ebp + 0xc]
mov dword [edi], ebx
mov ebx, dword [ebp + 0x10]
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + 0x10013f60]
and ebx, 0xff00
mov edi, esi
shr edi, 0x10
and edi, eax
mov edi, dword [edi*4 + 0x10014b60]
and edi, 0xff0000
xor edi, ebx
mov ebx, edx
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x10014760]
and ebx, 0xff000000
xor edi, ebx
mov ebx, ecx
and ebx, eax
movzx ebx, byte [ebx*4 + 0x10014360]
xor edi, ebx
mov ebx, dword [ebp + 8]
xor edi, dword [ebx + 4]
mov ebx, edi
ror ebx, 8
and ebx, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or ebx, edi
mov edi, dword [ebp + 0xc]
mov dword [edi + 4], ebx
mov edi, dword [ebp + 0x10]
shr edi, 0x10
and edi, eax
mov edi, dword [edi*4 + 0x10014b60]
mov ebx, ecx
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + 0x10013f60]
and ebx, 0xff00
and edi, 0xff0000
xor edi, ebx
mov ebx, esi
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x10014760]
and ebx, 0xff000000
xor edi, ebx
mov ebx, edx
and ebx, eax
movzx ebx, byte [ebx*4 + 0x10014360]
xor edi, ebx
mov ebx, dword [ebp + 8]
xor edi, dword [ebx + 8]
shr ecx, 0x10
mov ebx, edi
ror ebx, 8
and ecx, eax
and ebx, 0xff00ff00
rol edi, 8
shr edx, 8
and edx, eax
and edi, 0xff00ff
or ebx, edi
mov edi, dword [ebp + 0xc]
mov dword [edi + 8], ebx
mov ecx, dword [ecx*4 + 0x10014b60]
mov edx, dword [edx*4 + 0x10013f60]
and ecx, 0xff0000
and edx, 0xff00
xor ecx, edx
mov edx, dword [ebp + 0x10]
and esi, eax
movzx eax, byte [esi*4 + 0x10014360]
shr edx, 0x18
mov edx, dword [edx*4 + 0x10014760]
and edx, 0xff000000
xor ecx, edx
xor ecx, eax
mov eax, dword [ebp + 8]
xor ecx, dword [eax + 0xc]
mov eax, ecx
ror eax, 8
and eax, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or eax, ecx
mov dword [edi + 0xc], eax
pop edi
pop esi
pop ebx
leave
ret