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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
xor eax, eax
push ebx
push esi
mov ebx, eax
push edi
mov esi, eax
mov eax, dword [ebp + 8]
lea edi, [ebp + ebx*4 - 0x20]
cmp ebx, 4
lea edx, [eax + ebx*4 + 0xc]
mov dword [ebp - 0xc], edx
jge 0x461983
mov eax, dword [ebp + 0xc]
add eax, esi
push eax
call fcn.004614b4
pop ecx
mov dword [edi], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx]
xor dword [edi], ecx
add edi, 4
add dword [ebp - 0xc], 4
inc ebx
add esi, 4
cmp ebx, 4
jl 0x46195e
mov dword [ebp - 4], 4
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x30]
mov dword [ebp - 8], edx
mov ebx, 1
mov edx, dword [ebp + 8]
add edx, 0x1c
jmp 0x461ad5
mov ecx, dword [eax + 4]
shr ecx, 8
and ecx, 0xff
mov esi, dword [ecx*4 + 0x46daf4]
xor ecx, ecx
mov cl, byte [eax]
mov ecx, dword [ecx*4 + 0x46d2f4]
xor ecx, dword [edx]
xor esi, ecx
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xff
xor esi, dword [ecx*4 + 0x46e2f4]
mov ecx, dword [eax + 0xc]
shr ecx, 0x18
xor esi, dword [ecx*4 + 0x46eaf4]
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov ecx, dword [eax + 8]
shr ecx, 8
and ecx, 0xff
mov esi, dword [ecx*4 + 0x46daf4]
xor ecx, ecx
mov cl, byte [eax + 4]
mov ecx, dword [ecx*4 + 0x46d2f4]
xor ecx, dword [edx + 4]
xor esi, ecx
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xff
xor esi, dword [ecx*4 + 0x46e2f4]
mov ecx, dword [eax]
shr ecx, 0x18
xor esi, dword [ecx*4 + 0x46eaf4]
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], esi
mov ecx, dword [eax + 0xc]
shr ecx, 8
and ecx, 0xff
mov esi, dword [ecx*4 + 0x46daf4]
xor ecx, ecx
mov cl, byte [eax + 8]
mov ecx, dword [ecx*4 + 0x46d2f4]
xor ecx, dword [edx + 8]
xor esi, ecx
mov ecx, dword [eax]
shr ecx, 0x10
and ecx, 0xff
xor esi, dword [ecx*4 + 0x46e2f4]
mov ecx, dword [eax + 4]
shr ecx, 0x18
xor esi, dword [ecx*4 + 0x46eaf4]
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], esi
mov ecx, dword [eax]
shr ecx, 8
and ecx, 0xff
mov esi, dword [ecx*4 + 0x46daf4]
xor ecx, ecx
mov cl, byte [eax + 0xc]
mov ecx, dword [ecx*4 + 0x46d2f4]
xor ecx, dword [edx + 0xc]
add edx, 0x10
xor esi, ecx
mov ecx, dword [eax + 4]
shr ecx, 0x10
and ecx, 0xff
xor esi, dword [ecx*4 + 0x46e2f4]
mov ecx, dword [eax + 8]
shr ecx, 0x18
xor esi, dword [ecx*4 + 0x46eaf4]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], esi
mov ecx, eax
add dword [ebp - 4], 4
mov eax, dword [ebp - 8]
mov dword [ebp - 8], ecx
inc ebx
mov ecx, dword [ebp + 8]
cmp ebx, dword [ecx + 4]
jl 0x4619a3
mov edx, dword [eax + 4]
mov ebx, dword [eax + 4]
shr edx, 8
xor ecx, ecx
and edx, 0xff
shr ebx, 8
movzx edx, byte [edx + 0x46d0b4]
mov esi, edx
and ebx, 0xff
shr edx, 0x18
mov ebx, dword [ebp - 4]
shl esi, 8
or esi, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + ebx*4 + 0xc]
xor ebx, ebx
mov bl, byte [eax]
movzx ebx, byte [ebx + 0x46d0b4]
xor edx, ebx
mov ebx, dword [eax + 8]
xor esi, edx
mov edx, dword [eax + 8]
shr edx, 0x10
mov cl, dl
shr ebx, 0x10
movzx ecx, byte [ecx + 0x46d0b4]
mov edx, ecx
and ebx, 0xff
shr ecx, 0x10
shl edx, 0x10
or edx, ecx
xor ecx, ecx
xor esi, edx
mov edx, dword [eax + 0xc]
shr edx, 0x18
mov cl, byte [edx + 0x46d0b4]
mov edx, dword [eax + 0xc]
shr edx, 0x18
shl ecx, 0x18
movzx edx, byte [edx + 0x46d0b4]
shr edx, 8
or ecx, edx
xor esi, ecx
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
xor ecx, ecx
mov edx, dword [eax + 8]
mov ebx, dword [eax + 8]
shr edx, 8
and edx, 0xff
shr ebx, 8
movzx edx, byte [edx + 0x46d0b4]
mov esi, edx
and ebx, 0xff
shr edx, 0x18
mov ebx, dword [ebp - 4]
shl esi, 8
or esi, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + ebx*4 + 0x10]
xor ebx, ebx
mov bl, byte [eax + 4]
movzx ebx, byte [ebx + 0x46d0b4]
xor edx, ebx
mov ebx, dword [eax + 0xc]
xor esi, edx
mov edx, dword [eax + 0xc]
shr edx, 0x10
mov cl, dl
shr ebx, 0x10
movzx ecx, byte [ecx + 0x46d0b4]
mov edx, ecx
and ebx, 0xff
shr ecx, 0x10
shl edx, 0x10
or edx, ecx
xor ecx, ecx
xor esi, edx
mov edx, dword [eax]
shr edx, 0x18
mov cl, byte [edx + 0x46d0b4]
mov edx, dword [eax]
shr edx, 0x18
shl ecx, 0x18
movzx edx, byte [edx + 0x46d0b4]
shr edx, 8
or ecx, edx
xor esi, ecx
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], esi
xor ecx, ecx
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0xc]
shr edx, 8
and edx, 0xff
shr ebx, 8
movzx edx, byte [edx + 0x46d0b4]
mov esi, edx
and ebx, 0xff
shr edx, 0x18
mov ebx, dword [ebp - 4]
shl esi, 8
or esi, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + ebx*4 + 0x14]
xor ebx, ebx
mov bl, byte [eax + 8]
movzx ebx, byte [ebx + 0x46d0b4]
xor edx, ebx
mov ebx, dword [eax]
xor esi, edx
mov edx, dword [eax]
shr edx, 0x10
mov cl, dl
shr ebx, 0x10
movzx ecx, byte [ecx + 0x46d0b4]
mov edx, ecx
and ebx, 0xff
shr ecx, 0x10
shl edx, 0x10
or edx, ecx
xor ecx, ecx
xor esi, edx
mov edx, dword [eax + 4]
shr edx, 0x18
mov cl, byte [edx + 0x46d0b4]
mov edx, dword [eax + 4]
shr edx, 0x18
shl ecx, 0x18
movzx edx, byte [edx + 0x46d0b4]
shr edx, 8
or ecx, edx
xor esi, ecx
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], esi
xor ecx, ecx
mov edx, dword [eax]
mov ebx, dword [eax]
shr edx, 8
and edx, 0xff
shr ebx, 8
movzx edx, byte [edx + 0x46d0b4]
mov esi, edx
and ebx, 0xff
shr edx, 0x18
mov ebx, dword [ebp - 4]
shl esi, 8
or esi, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + ebx*4 + 0x18]
xor ebx, ebx
mov bl, byte [eax + 0xc]
movzx ebx, byte [ebx + 0x46d0b4]
xor edx, ebx
mov ebx, dword [eax + 4]
xor esi, edx
mov edx, dword [eax + 4]
shr edx, 0x10
mov cl, dl
shr ebx, 0x10
movzx ecx, byte [ecx + 0x46d0b4]
mov edx, ecx
and ebx, 0xff
shr ecx, 0x10
shl edx, 0x10
or edx, ecx
xor ecx, ecx
xor esi, edx
mov edx, dword [eax + 8]
shr edx, 0x18
mov cl, byte [edx + 0x46d0b4]
mov edx, dword [eax + 8]
shr edx, 0x18
shl ecx, 0x18
movzx edx, byte [edx + 0x46d0b4]
shr edx, 8
or ecx, edx
xor edx, edx
xor esi, ecx
mov ebx, edx
mov ecx, dword [ebp - 8]
cmp ebx, 4
lea eax, [eax + ebx*4]
mov dword [ecx + 0xc], esi
mov esi, edx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 8]
lea edi, [edx + ebx*4]
jge 0x461d76
mov eax, dword [ebp + 0xc]
add eax, esi
push eax
mov edx, dword [edi]
push edx
call fcn.004614e0
xor ecx, ecx
add esp, 8
mov dword [edi], ecx
add edi, 4
mov eax, dword [ebp - 0x10]
inc ebx
add esi, 4
mov dword [eax], ecx
add dword [ebp - 0x10], 4
cmp ebx, 4
jl 0x461d4c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret