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

Disassembly:
push ecx
push ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [0x46ec6c]
add ecx, ecx
push ebx
mov edx, dword [eax]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
mov edi, dword [esp + 0x20]
xor edx, dword [ebp + ecx*8]
mov ebx, dword [ebp + ecx*8 + 8]
xor ebx, dword [eax + 8]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + ecx*8 + 4]
xor edx, dword [eax + 4]
mov ecx, dword [ebp + ecx*8 + 0xc]
xor ecx, dword [eax + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
shr eax, 8
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x10], edx
mov ecx, dword [ecx*4 + 0x4475f8]
xor ecx, dword [eax*4 + 0x4479f8]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x447df8]
mov eax, dword [esp + 0x1c]
movzx eax, al
xor ecx, dword [eax*4 + 0x4471f8]
mov eax, dword [esp + 0x14]
shr eax, 0x10
movzx eax, al
mov dword [edi], ecx
mov ecx, ebx
shr ecx, 0x18
mov edx, dword [eax*4 + 0x4479f8]
mov eax, dword [esp + 0x1c]
xor edx, dword [ecx*4 + 0x447df8]
shr eax, 8
mov ecx, dword [esp + 0x14]
movzx eax, al
shr ecx, 0x18
xor edx, dword [eax*4 + 0x4475f8]
mov eax, dword [esp + 0x10]
movzx eax, al
xor edx, dword [eax*4 + 0x4471f8]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x10]
mov eax, edx
mov ecx, dword [ecx*4 + 0x447df8]
shr eax, 8
movzx eax, al
shr edx, 0x10
xor ecx, dword [eax*4 + 0x4475f8]
mov eax, dword [esp + 0x1c]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x4479f8]
movzx eax, bl
shr ebx, 8
xor ecx, dword [eax*4 + 0x4471f8]
mov dword [edi + 8], ecx
movzx ecx, bl
movzx eax, dl
mov ecx, dword [ecx*4 + 0x4475f8]
xor ecx, dword [eax*4 + 0x4479f8]
mov eax, dword [esp + 0x1c]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x447df8]
mov eax, dword [esp + 0x14]
movzx eax, al
xor ecx, dword [eax*4 + 0x4471f8]
mov dword [edi + 0xc], ecx
mov ebx, dword [0x46ec6c]
dec ebx
cmp ebx, 1
jle 0x410df1
mov edx, dword [esp + 0x24]
mov eax, ebx
mov ebp, dword [edi + 4]
add edx, 8
mov esi, dword [edi + 8]
shl eax, 4
add edx, eax
dec ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], ebx
mov eax, dword [edx - 8]
xor eax, dword [edi]
mov ebx, dword [edx - 4]
mov dword [esp + 0x1c], eax
xor ebx, ebp
mov eax, dword [esp + 0x20]
mov edx, dword [edx]
xor edx, esi
mov eax, dword [eax + 4]
xor eax, ecx
mov dword [esp + 0x14], eax
shr eax, 8
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x4475f8]
xor ecx, dword [eax*4 + 0x4479f8]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x447df8]
mov eax, dword [esp + 0x1c]
movzx eax, al
xor ecx, dword [eax*4 + 0x4471f8]
mov eax, dword [esp + 0x14]
shr eax, 0x10
movzx eax, al
mov dword [edi], ecx
mov ecx, edx
shr ecx, 0x18
mov ebp, dword [eax*4 + 0x4479f8]
mov eax, dword [esp + 0x1c]
xor ebp, dword [ecx*4 + 0x447df8]
mov ecx, dword [esp + 0x14]
shr eax, 8
movzx eax, al
shr ecx, 0x18
xor ebp, dword [eax*4 + 0x4475f8]
movzx eax, bl
xor ebp, dword [eax*4 + 0x4471f8]
mov eax, ebx
shr eax, 8
movzx eax, al
mov dword [edi + 4], ebp
mov esi, dword [ecx*4 + 0x447df8]
shr ebx, 0x10
xor esi, dword [eax*4 + 0x4475f8]
mov eax, dword [esp + 0x1c]
shr eax, 0x10
movzx eax, al
xor esi, dword [eax*4 + 0x4479f8]
movzx eax, dl
shr edx, 8
movzx ecx, dl
mov edx, dword [esp + 0x20]
xor esi, dword [eax*4 + 0x4471f8]
sub edx, 0x10
mov dword [edi + 8], esi
mov ecx, dword [ecx*4 + 0x4475f8]
movzx eax, bl
mov dword [esp + 0x20], edx
xor ecx, dword [eax*4 + 0x4479f8]
mov eax, dword [esp + 0x1c]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x447df8]
mov eax, dword [esp + 0x14]
movzx eax, al
xor ecx, dword [eax*4 + 0x4471f8]
dec dword [esp + 0x10]
mov dword [edi + 0xc], ecx
jne 0x410cd2
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp + 0x10]
xor eax, dword [edi]
mov dword [esp + 0x24], eax
mov ebx, dword [ebp + 0x14]
xor ebx, dword [edi + 4]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
movzx eax, al
xor edx, dword [edi + 8]
xor ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x24]
mov al, byte [eax + 0x4481f8]
mov byte [edi], al
mov eax, ecx
shr eax, 8
movzx eax, al
mov al, byte [eax + 0x4481f8]
mov byte [edi + 1], al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov al, byte [eax + 0x4481f8]
mov byte [edi + 2], al
mov eax, ebx
shr eax, 0x18
mov al, byte [eax + 0x4481f8]
mov byte [edi + 3], al
movzx eax, bl
mov al, byte [eax + 0x4481f8]
mov byte [edi + 4], al
mov eax, esi
shr eax, 8
movzx eax, al
mov al, byte [eax + 0x4481f8]
mov byte [edi + 5], al
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov al, byte [eax + 0x4481f8]
mov byte [edi + 6], al
mov eax, edx
shr eax, 0x18
mov al, byte [eax + 0x4481f8]
mov byte [edi + 7], al
movzx eax, dl
shr edx, 8
mov al, byte [eax + 0x4481f8]
mov byte [edi + 8], al
mov eax, ebx
shr eax, 8
movzx eax, al
shr ebx, 0x10
mov al, byte [eax + 0x4481f8]
mov byte [edi + 9], al
mov eax, esi
shr eax, 0x10
movzx eax, al
shr esi, 0x18
mov al, byte [eax + 0x4481f8]
mov byte [edi + 0xa], al
mov eax, ecx
shr eax, 0x18
mov al, byte [eax + 0x4481f8]
mov byte [edi + 0xb], al
movzx eax, cl
mov al, byte [eax + 0x4481f8]
mov byte [edi + 0xc], al
movzx eax, dl
mov al, byte [eax + 0x4481f8]
mov byte [edi + 0xd], al
movzx eax, bl
mov al, byte [eax + 0x4481f8]
mov byte [edi + 0xe], al
mov al, byte [esi + 0x4481f8]
mov byte [edi + 0xf], al
mov eax, dword [ebp]
xor dword [edi], eax
mov eax, dword [ebp + 4]
xor dword [edi + 4], eax
mov eax, dword [ebp + 8]
xor dword [edi + 8], eax
mov eax, dword [ebp + 0xc]
xor dword [edi + 0xc], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret