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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ebx, eax
lea esi, [esp + 8]
lea edi, [esp + 0x28]
mov edx, edi
mov eax, dword [esp]
mov ecx, 0x10
call fcn.004029ac
mov eax, dword [ebx + 0x60]
cmp eax, 2
jl 0x455afa
mov ecx, dword [edi]
mov edx, eax
shl edx, 2
xor ecx, dword [ebx + edx*8 + 0x244]
mov dword [esi], ecx
lea ecx, [edi + 4]
mov ecx, dword [ecx]
xor ecx, dword [ebx + edx*8 + 0x248]
lea ebp, [esi + 4]
mov dword [ebp], ecx
lea ecx, [edi + 8]
mov ecx, dword [ecx]
xor ecx, dword [ebx + edx*8 + 0x24c]
lea ebp, [esi + 8]
mov dword [ebp], ecx
lea ecx, [edi + 0xc]
mov ecx, dword [ecx]
xor ecx, dword [ebx + edx*8 + 0x250]
lea edx, [esi + 0xc]
mov dword [edx], ecx
xor edx, edx
mov dl, byte [esi]
lea edx, [edx*4 + 0x47a5a4]
mov edx, dword [edx]
xor ecx, ecx
mov cl, byte [esi + 0xd]
lea ecx, [ecx*4 + 0x47a9a4]
xor edx, dword [ecx]
xor ecx, ecx
mov cl, byte [esi + 0xa]
lea ecx, [ecx*4 + 0x47ada4]
xor edx, dword [ecx]
xor ecx, ecx
mov cl, byte [esi + 7]
lea ecx, [ecx*4 + 0x47b1a4]
xor edx, dword [ecx]
mov dword [edi], edx
xor edx, edx
mov dl, byte [esi + 4]
lea edx, [edx*4 + 0x47a5a4]
mov edx, dword [edx]
xor ecx, ecx
mov cl, byte [esi + 1]
lea ecx, [ecx*4 + 0x47a9a4]
xor edx, dword [ecx]
xor ecx, ecx
mov cl, byte [esi + 0xe]
lea ecx, [ecx*4 + 0x47ada4]
xor edx, dword [ecx]
xor ecx, ecx
mov cl, byte [esi + 0xb]
lea ecx, [ecx*4 + 0x47b1a4]
xor edx, dword [ecx]
lea ecx, [edi + 4]
mov dword [ecx], edx
xor edx, edx
mov dl, byte [esi + 8]
lea edx, [edx*4 + 0x47a5a4]
mov edx, dword [edx]
xor ecx, ecx
mov cl, byte [esi + 5]
lea ecx, [ecx*4 + 0x47a9a4]
xor edx, dword [ecx]
xor ecx, ecx
mov cl, byte [esi + 2]
lea ecx, [ecx*4 + 0x47ada4]
xor edx, dword [ecx]
xor ecx, ecx
mov cl, byte [esi + 0xf]
lea ecx, [ecx*4 + 0x47b1a4]
xor edx, dword [ecx]
lea ecx, [edi + 8]
mov dword [ecx], edx
xor edx, edx
mov dl, byte [esi + 0xc]
lea edx, [edx*4 + 0x47a5a4]
mov edx, dword [edx]
xor ecx, ecx
mov cl, byte [esi + 9]
lea ecx, [ecx*4 + 0x47a9a4]
xor edx, dword [ecx]
xor ecx, ecx
mov cl, byte [esi + 6]
lea ecx, [ecx*4 + 0x47ada4]
xor edx, dword [ecx]
xor ecx, ecx
mov cl, byte [esi + 3]
lea ecx, [ecx*4 + 0x47b1a4]
xor edx, dword [ecx]
lea ecx, [edi + 0xc]
mov dword [ecx], edx
dec eax
cmp eax, 1
jne 0x4559bb
mov eax, dword [edi]
xor eax, dword [ebx + 0x264]
mov dword [esi], eax
lea eax, [edi + 4]
mov eax, dword [eax]
xor eax, dword [ebx + 0x268]
lea edx, [esi + 4]
mov dword [edx], eax
lea eax, [edi + 8]
mov eax, dword [eax]
xor eax, dword [ebx + 0x26c]
lea edx, [esi + 8]
mov dword [edx], eax
lea eax, [edi + 0xc]
mov eax, dword [eax]
xor eax, dword [ebx + 0x270]
lea edx, [esi + 0xc]
mov dword [edx], eax
xor eax, eax
mov al, byte [esi]
mov al, byte [eax + 0x47b5a4]
mov byte [edi], al
xor eax, eax
mov al, byte [esi + 0xd]
mov al, byte [eax + 0x47b5a4]
mov byte [edi + 1], al
xor eax, eax
mov al, byte [esi + 0xa]
mov al, byte [eax + 0x47b5a4]
mov byte [edi + 2], al
xor eax, eax
mov al, byte [esi + 7]
mov al, byte [eax + 0x47b5a4]
mov byte [edi + 3], al
xor eax, eax
mov al, byte [esi + 4]
mov al, byte [eax + 0x47b5a4]
mov byte [edi + 4], al
xor eax, eax
mov al, byte [esi + 1]
mov al, byte [eax + 0x47b5a4]
mov byte [edi + 5], al
xor eax, eax
mov al, byte [esi + 0xe]
mov al, byte [eax + 0x47b5a4]
mov byte [edi + 6], al
xor eax, eax
mov al, byte [esi + 0xb]
mov al, byte [eax + 0x47b5a4]
mov byte [edi + 7], al
xor eax, eax
mov al, byte [esi + 8]
mov al, byte [eax + 0x47b5a4]
mov byte [edi + 8], al
xor eax, eax
mov al, byte [esi + 5]
mov al, byte [eax + 0x47b5a4]
mov byte [edi + 9], al
xor eax, eax
mov al, byte [esi + 2]
mov al, byte [eax + 0x47b5a4]
mov byte [edi + 0xa], al
xor eax, eax
mov al, byte [esi + 0xf]
mov al, byte [eax + 0x47b5a4]
mov byte [edi + 0xb], al
xor eax, eax
mov al, byte [esi + 0xc]
mov al, byte [eax + 0x47b5a4]
mov byte [edi + 0xc], al
xor eax, eax
mov al, byte [esi + 9]
mov al, byte [eax + 0x47b5a4]
mov byte [edi + 0xd], al
xor eax, eax
mov al, byte [esi + 6]
mov al, byte [eax + 0x47b5a4]
mov byte [edi + 0xe], al
xor eax, eax
mov al, byte [esi + 3]
mov al, byte [eax + 0x47b5a4]
mov byte [edi + 0xf], al
mov eax, dword [ebx + 0x244]
xor dword [edi], eax
lea eax, [edi + 4]
mov edx, dword [ebx + 0x248]
xor dword [eax], edx
lea eax, [edi + 8]
mov edx, dword [ebx + 0x24c]
xor dword [eax], edx
lea eax, [edi + 0xc]
mov edx, dword [ebx + 0x250]
xor dword [eax], edx
mov edx, dword [esp + 4]
mov eax, edi
mov ecx, 0x10
call fcn.004029ac
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret