Function at 0x65289b10
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx]
mov eax, edi
shl eax, 4
mov edx, dword [eax + ecx + 0xf4]
lea esi, [eax + ecx]
mov eax, dword [esp + 0x28]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
xor edx, ebx
mov ebx, dword [esi + 0xf8]
mov esi, dword [esi + 0xfc]
xor ebx, ebp
xor esi, dword [eax + 8]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x28]
add edi, 0x10
shl edi, 4
mov eax, dword [edi + ecx]
xor eax, dword [esi + 0xc]
movzx edi, byte [esp + 0x1a]
mov ebp, dword [edi*4 + 0x652ef7b0]
mov dword [esp + 0x1c], eax
mov esi, ebx
shr esi, 0x18
mov esi, dword [esi*4 + 0x652efbb0]
xor esi, ebp
movzx eax, ah
xor esi, dword [eax*4 + 0x652ef3b0]
movzx eax, dl
mov edi, dword [eax*4 + 0x652eefb0]
mov eax, dword [esp + 0x2c]
xor esi, edi
movzx edi, byte [esp + 0x1e]
mov dword [eax], esi
mov ebp, dword [edi*4 + 0x652ef7b0]
mov esi, dword [esp + 0x18]
shr esi, 0x18
mov esi, dword [esi*4 + 0x652efbb0]
mov dword [esp + 0x10], edx
xor esi, ebp
movzx edx, dh
xor esi, dword [edx*4 + 0x652ef3b0]
movzx edx, bl
mov edi, dword [edx*4 + 0x652eefb0]
mov edx, dword [esp + 0x1c]
xor esi, edi
mov dword [eax + 4], esi
movzx esi, byte [esp + 0x12]
mov ebp, dword [esi*4 + 0x652ef7b0]
shr edx, 0x18
mov edi, dword [edx*4 + 0x652efbb0]
movzx edx, bh
mov esi, dword [edx*4 + 0x652ef3b0]
mov edx, dword [esp + 0x18]
xor edi, ebp
xor edi, esi
movzx esi, dl
mov ebp, dword [esi*4 + 0x652eefb0]
movzx esi, byte [esp + 0x13]
xor edi, ebp
mov dword [eax + 8], edi
mov esi, dword [esi*4 + 0x652efbb0]
mov dword [esp + 0x14], ebx
movzx edi, byte [esp + 0x16]
mov ebx, dword [edi*4 + 0x652ef7b0]
movzx edx, dh
mov ebp, dword [edx*4 + 0x652ef3b0]
movzx edx, byte [esp + 0x1c]
xor esi, ebx
mov ebx, dword [edx*4 + 0x652eefb0]
xor esi, ebp
xor esi, ebx
mov dword [eax + 0xc], esi
mov edx, dword [ecx]
dec edx
cmp edx, 1
jle 0x65289d6d
mov esi, edx
shl esi, 4
dec edx
lea esi, [esi + ecx + 0xf8]
mov dword [esp + 0x28], edx
mov edx, dword [esi - 4]
xor edx, dword [eax]
mov edi, dword [esi]
xor edi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [esp + 0x14], edi
mov edi, dword [esi + 4]
xor edi, ebx
mov ebx, dword [esi + 8]
mov dword [esp + 0x18], edi
mov edi, dword [eax + 0xc]
movzx ebp, byte [esp + 0x1a]
xor ebx, edi
mov edi, dword [esp + 0x14]
shr edi, 0x18
mov edi, dword [edi*4 + 0x652efbb0]
xor edi, dword [ebp*4 + 0x652ef7b0]
movzx ebp, bh
xor edi, dword [ebp*4 + 0x652ef3b0]
movzx ebp, dl
xor edi, dword [ebp*4 + 0x652eefb0]
mov dword [esp + 0x10], edx
mov dword [eax], edi
mov edi, dword [esp + 0x18]
shr edi, 0x18
mov edi, dword [edi*4 + 0x652efbb0]
movzx edx, dh
mov dword [esp + 0x1c], ebx
movzx ebp, byte [esp + 0x1e]
xor edi, dword [ebp*4 + 0x652ef7b0]
mov ebp, dword [edx*4 + 0x652ef3b0]
mov edx, dword [esp + 0x14]
xor edi, ebp
movzx ebp, dl
xor edi, dword [ebp*4 + 0x652eefb0]
movzx ebp, byte [esp + 0x12]
mov dword [eax + 4], edi
movzx edx, dh
mov edi, ebx
shr edi, 0x18
mov edi, dword [edi*4 + 0x652efbb0]
xor edi, dword [ebp*4 + 0x652ef7b0]
mov ebp, dword [edx*4 + 0x652ef3b0]
mov edx, dword [esp + 0x18]
xor edi, ebp
movzx ebp, dl
xor edi, dword [ebp*4 + 0x652eefb0]
movzx ebp, byte [esp + 0x16]
mov dword [eax + 8], edi
movzx edi, byte [esp + 0x13]
mov edi, dword [edi*4 + 0x652efbb0]
xor edi, dword [ebp*4 + 0x652ef7b0]
movzx edx, dh
mov ebp, dword [edx*4 + 0x652ef3b0]
movzx edx, bl
mov ebx, dword [edx*4 + 0x652eefb0]
mov edx, dword [esp + 0x28]
xor edi, ebp
xor edi, ebx
sub esi, 0x10
dec edx
mov dword [eax + 0xc], edi
mov dword [esp + 0x28], edx
jne 0x65289c62
mov esi, dword [ecx + 0x108]
mov edx, dword [ecx + 0x104]
mov ebx, dword [eax + 4]
mov edi, dword [eax + 8]
mov ebp, dword [eax]
xor esi, ebx
xor edx, ebp
mov ebp, dword [eax + 0xc]
mov dword [esp + 0x14], esi
mov esi, dword [ecx + 0x10c]
xor esi, edi
mov dword [esp + 0x18], esi
mov esi, dword [ecx + 0x110]
xor esi, ebp
mov dword [esp + 0x1c], esi
movzx esi, dl
mov bl, byte [esi + 0x652effb0]
movzx esi, byte [esp + 0x1d]
mov byte [eax], bl
mov bl, byte [esi + 0x652effb0]
movzx esi, byte [esp + 0x1a]
mov byte [eax + 1], bl
mov bl, byte [esi + 0x652effb0]
mov esi, dword [esp + 0x14]
mov byte [eax + 2], bl
mov dword [esp + 0x10], edx
shr esi, 0x18
mov bl, byte [esi + 0x652effb0]
movzx esi, byte [esp + 0x14]
mov byte [eax + 3], bl
mov bl, byte [esi + 0x652effb0]
mov byte [eax + 4], bl
movzx edx, dh
mov dl, byte [edx + 0x652effb0]
mov byte [eax + 5], dl
mov edx, dword [esp + 0x1c]
shr edx, 0x10
movzx edx, dl
mov dl, byte [edx + 0x652effb0]
mov byte [eax + 6], dl
mov edx, dword [esp + 0x18]
shr edx, 0x18
mov dl, byte [edx + 0x652effb0]
mov byte [eax + 7], dl
mov edx, dword [esp + 0x18]
movzx esi, dl
mov bl, byte [esi + 0x652effb0]
movzx esi, byte [esp + 0x15]
mov byte [eax + 8], bl
mov bl, byte [esi + 0x652effb0]
movzx esi, byte [esp + 0x12]
mov byte [eax + 9], bl
mov bl, byte [esi + 0x652effb0]
movzx esi, byte [esp + 0x1f]
mov byte [eax + 0xa], bl
mov bl, byte [esi + 0x652effb0]
movzx esi, byte [esp + 0x1c]
mov byte [eax + 0xb], bl
mov bl, byte [esi + 0x652effb0]
mov edi, dword [eax + 4]
movzx edx, dh
mov byte [eax + 0xc], bl
mov dl, byte [edx + 0x652effb0]
mov ebx, dword [eax]
mov esi, dword [eax + 8]
mov byte [eax + 0xd], dl
movzx edx, byte [esp + 0x16]
mov dl, byte [edx + 0x652effb0]
mov byte [eax + 0xe], dl
movzx edx, byte [esp + 0x13]
mov dl, byte [edx + 0x652effb0]
mov byte [eax + 0xf], dl
mov edx, dword [ecx + 0xf4]
xor ebx, edx
mov dword [eax], ebx
mov edx, dword [ecx + 0xf8]
xor edi, edx
mov dword [eax + 4], edi
mov edx, dword [ecx + 0xfc]
xor esi, edx
mov dword [eax + 8], esi
mov edx, dword [eax + 0xc]
mov ecx, dword [ecx + 0x100]
pop edi
pop esi
xor edx, ecx
pop ebp
mov dword [eax + 0xc], edx
mov eax, 1
pop ebx
add esp, 0x10
ret