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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 8
push dword [esi]
call fcn.0048f21e
push 8
push dword [esi]
mov dword [ebp + 8], eax
mov edi, 0xff00ff00
and dword [ebp + 8], edi
call fcn.0048f22c
mov ecx, dword [ebp + 0x10]
mov ebx, 0xff00ff
and eax, ebx
or eax, dword [ebp + 8]
push 8
xor eax, dword [ecx]
push dword [esi + 4]
mov dword [ebp + 8], eax
call fcn.0048f21e
push 8
push dword [esi + 4]
mov dword [ebp - 0x18], eax
and dword [ebp - 0x18], edi
call fcn.0048f22c
mov ecx, dword [ebp + 0x10]
and eax, ebx
or eax, dword [ebp - 0x18]
push 8
xor eax, dword [ecx + 4]
push dword [esi + 8]
mov dword [ebp - 4], eax
call fcn.0048f21e
push 8
push dword [esi + 8]
mov dword [ebp - 0x18], eax
and dword [ebp - 0x18], edi
call fcn.0048f22c
mov ecx, dword [ebp + 0x10]
and eax, ebx
or eax, dword [ebp - 0x18]
push 8
xor eax, dword [ecx + 8]
push dword [esi + 0xc]
mov dword [ebp - 0x14], eax
call fcn.0048f21e
push 8
push dword [esi + 0xc]
mov dword [ebp - 0x18], eax
and dword [ebp - 0x18], edi
call fcn.0048f22c
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ebp - 0x13]
and eax, ebx
or eax, dword [ebp - 0x18]
mov esi, 0xff
xor eax, dword [ecx + 0xc]
add esp, 0x40
mov ecx, eax
shr ecx, 0x10
and ecx, esi
mov ebx, dword [ecx*4 + 0x4e3570]
xor ebx, dword [edx*4 + 0x4e3970]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x4e3170]
mov ecx, dword [ebp - 4]
and ecx, esi
xor ebx, dword [ecx*4 + 0x4e3d70]
mov ecx, dword [ebp + 0x10]
xor ebx, dword [ecx + 0x10]
mov dword [ebp - 0x18], eax
shr edx, 0x10
movzx eax, ah
and edx, esi
mov dword [ebp - 0x10], edx
mov edx, dword [eax*4 + 0x4e3970]
mov eax, dword [ebp - 0x10]
xor edx, dword [eax*4 + 0x4e3570]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor edx, dword [eax*4 + 0x4e3170]
mov eax, dword [ebp - 0x14]
and eax, esi
xor edx, dword [eax*4 + 0x4e3d70]
mov eax, dword [ebp - 4]
xor edx, dword [ecx + 0x14]
movzx ecx, byte [ebp + 9]
shr eax, 0x10
and eax, esi
mov eax, dword [eax*4 + 0x4e3570]
xor eax, dword [ecx*4 + 0x4e3970]
mov ecx, dword [ebp - 0x14]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x4e3170]
mov ecx, dword [ebp - 0x18]
and ecx, esi
xor eax, dword [ecx*4 + 0x4e3d70]
mov ecx, dword [ebp + 0x10]
xor eax, dword [ecx + 0x18]
movzx ecx, byte [ebp - 3]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
shr eax, 0x10
and eax, esi
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax*4 + 0x4e3570]
mov eax, dword [ebp - 0x14]
xor ecx, dword [eax*4 + 0x4e3970]
mov eax, dword [ebp - 0x18]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x4e3170]
mov eax, dword [ebp + 8]
and eax, esi
xor ecx, dword [eax*4 + 0x4e3d70]
mov eax, dword [ebp + 0x10]
xor ecx, dword [eax + 0x1c]
add eax, 0x20
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xf0]
sar eax, 1
dec eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp + 0x10], eax
je 0x456d90
movzx edi, byte [ebp - 0xb]
mov dword [ebp + 8], edi
mov eax, ecx
shr eax, 0x10
and eax, esi
mov edi, dword [eax*4 + 0x4e3570]
mov eax, dword [ebp + 8]
xor edi, dword [eax*4 + 0x4e3970]
mov eax, ebx
shr eax, 0x18
xor edi, dword [eax*4 + 0x4e3170]
mov eax, edx
and eax, esi
xor edi, dword [eax*4 + 0x4e3d70]
mov eax, dword [ebp - 8]
xor edi, dword [eax]
movzx eax, ch
mov dword [ebp + 8], edi
mov edi, ebx
shr edi, 0x10
and edi, esi
mov dword [ebp - 0x18], edi
mov edi, dword [eax*4 + 0x4e3970]
mov eax, dword [ebp - 0x18]
xor edi, dword [eax*4 + 0x4e3570]
mov eax, edx
shr eax, 0x18
xor edi, dword [eax*4 + 0x4e3170]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], edi
and eax, esi
xor edi, dword [eax*4 + 0x4e3d70]
mov eax, dword [ebp - 8]
xor edi, dword [eax + 4]
movzx eax, byte [ebp - 0xe]
mov dword [ebp - 4], edi
movzx edi, bh
mov dword [ebp - 0x18], edi
mov edi, dword [eax*4 + 0x4e3570]
mov eax, dword [ebp - 0x18]
xor edi, dword [eax*4 + 0x4e3970]
movzx edx, dh
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
shr edi, 0x18
xor eax, dword [edi*4 + 0x4e3170]
mov edi, ecx
and edi, esi
xor eax, dword [edi*4 + 0x4e3d70]
mov edi, dword [ebp - 8]
xor eax, dword [edi + 8]
movzx edi, byte [ebp - 0xa]
mov dword [ebp - 0x18], edx
mov edx, dword [edi*4 + 0x4e3570]
mov edi, dword [ebp - 0x18]
xor edx, dword [edi*4 + 0x4e3970]
and ebx, esi
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4e3170]
mov ecx, dword [ebp - 8]
xor edx, dword [ebx*4 + 0x4e3d70]
movzx ebx, ah
xor edx, dword [ecx + 0xc]
mov edi, edx
shr edi, 0x10
and edi, esi
mov edi, dword [edi*4 + 0x4e3570]
xor edi, dword [ebx*4 + 0x4e3970]
mov ebx, dword [ebp + 8]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4e3170]
mov ebx, dword [ebp - 4]
and ebx, esi
xor edi, dword [ebx*4 + 0x4e3d70]
xor edi, dword [ecx + 0x10]
movzx ecx, dh
mov ebx, edi
mov edi, dword [ebp + 8]
shr edi, 0x10
and edi, esi
mov ecx, dword [ecx*4 + 0x4e3970]
xor ecx, dword [edi*4 + 0x4e3570]
mov edi, dword [ebp - 4]
shr edi, 0x18
xor ecx, dword [edi*4 + 0x4e3170]
mov edi, eax
and edi, esi
xor ecx, dword [edi*4 + 0x4e3d70]
mov edi, dword [ebp - 8]
xor ecx, dword [edi + 0x14]
movzx edi, byte [ebp + 9]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 4]
shr ecx, 0x10
and ecx, esi
mov ecx, dword [ecx*4 + 0x4e3570]
xor ecx, dword [edi*4 + 0x4e3970]
mov edi, eax
shr edi, 0x18
xor ecx, dword [edi*4 + 0x4e3170]
mov edi, edx
and edi, esi
xor ecx, dword [edi*4 + 0x4e3d70]
mov edi, dword [ebp - 8]
xor ecx, dword [edi + 0x18]
shr eax, 0x10
and eax, esi
mov eax, dword [eax*4 + 0x4e3570]
mov dword [ebp - 0xc], ecx
movzx ecx, byte [ebp - 3]
xor eax, dword [ecx*4 + 0x4e3970]
shr edx, 0x18
xor eax, dword [edx*4 + 0x4e3170]
mov edx, dword [ebp - 0x10]
mov ecx, eax
mov eax, dword [ebp + 8]
and eax, esi
xor ecx, dword [eax*4 + 0x4e3d70]
add edi, 0x20
xor ecx, dword [edi - 4]
dec dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edi
jne 0x456ba7
mov edi, 0xff00ff00
shr ecx, 0x10
and ecx, esi
movzx eax, byte [ecx + 0x4e4170]
mov dword [ebp + 0x10], eax
xor ecx, ecx
mov eax, ebx
shr eax, 0x18
mov ch, byte [eax + 0x4e4170]
mov eax, dword [ebp + 0x10]
and edx, esi
push 8
xor eax, ecx
movzx ecx, byte [ebp - 0xb]
movzx ecx, byte [ecx + 0x4e4170]
shl eax, 8
xor eax, ecx
movzx ecx, byte [edx + 0x4e4170]
shl eax, 8
xor eax, ecx
mov ecx, dword [ebp - 8]
xor eax, dword [ecx]
push eax
mov dword [ebp + 8], eax
call fcn.0048f21e
push 8
push dword [ebp + 8]
mov dword [ebp + 0x10], eax
and dword [ebp + 0x10], edi
call fcn.0048f22c
mov ecx, dword [ebp + 0xc]
and eax, 0xff00ff
or eax, dword [ebp + 0x10]
xor edx, edx
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
mov dh, byte [ecx + 0x4e4170]
movzx ecx, byte [ebp - 0x17]
movzx ecx, byte [ecx + 0x4e4170]
mov eax, ebx
shr eax, 0x10
and eax, esi
movzx eax, byte [eax + 0x4e4170]
xor eax, edx
shl eax, 8
xor eax, ecx
mov ecx, dword [ebp - 0xc]
and ecx, esi
movzx ecx, byte [ecx + 0x4e4170]
shl eax, 8
xor eax, ecx
mov ecx, dword [ebp - 8]
xor eax, dword [ecx + 4]
push 8
push eax
mov dword [ebp - 4], eax
call fcn.0048f21e
push 8
push dword [ebp - 4]
mov dword [ebp + 0x10], eax
and dword [ebp + 0x10], edi
call fcn.0048f22c
mov ecx, dword [ebp + 0xc]
and eax, 0xff00ff
or eax, dword [ebp + 0x10]
xor edx, edx
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0xc]
movzx eax, byte [ebp - 0xe]
movzx eax, byte [eax + 0x4e4170]
shr ecx, 0x18
mov dh, byte [ecx + 0x4e4170]
movzx ecx, bh
movzx ecx, byte [ecx + 0x4e4170]
xor eax, edx
shl eax, 8
xor eax, ecx
mov ecx, dword [ebp - 0x18]
shl eax, 8
and ecx, esi
movzx ecx, byte [ecx + 0x4e4170]
xor eax, ecx
mov ecx, dword [ebp - 8]
xor eax, dword [ecx + 8]
push 8
push eax
mov dword [ebp - 0x14], eax
call fcn.0048f21e
push 8
push dword [ebp - 0x14]
mov dword [ebp + 0x10], eax
and dword [ebp + 0x10], edi
call fcn.0048f22c
mov ecx, dword [ebp + 0xc]
and eax, 0xff00ff
or eax, dword [ebp + 0x10]
xor edx, edx
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x18]
movzx eax, byte [ebp - 0xa]
movzx eax, byte [eax + 0x4e4170]
shr ecx, 0x18
mov dh, byte [ecx + 0x4e4170]
movzx ecx, byte [ebp - 0xf]
movzx ecx, byte [ecx + 0x4e4170]
xor eax, edx
shl eax, 8
xor eax, ecx
and ebx, esi
movzx ecx, byte [ebx + 0x4e4170]
shl eax, 8
xor eax, ecx
mov ecx, dword [ebp - 8]
xor eax, dword [ecx + 0xc]
push 8
push eax
mov dword [ebp - 0x18], eax
call fcn.0048f21e
push 8
push dword [ebp - 0x18]
mov esi, eax
and esi, edi
call fcn.0048f22c
mov ecx, dword [ebp + 0xc]
add esp, 0x40
and eax, 0xff00ff
pop edi
or eax, esi
pop esi
mov dword [ecx + 0xc], eax
pop ebx
leave
ret