Function at 0x456462
Capabilities:
Encode data using xor
Encrypt data using aes

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 - 4], eax
call fcn.0048f21e
push 8
push dword [esi + 4]
mov dword [ebp + 8], eax
and dword [ebp + 8], edi
call fcn.0048f22c
mov ecx, dword [ebp + 0x10]
and eax, ebx
or eax, dword [ebp + 8]
push 8
xor eax, dword [ecx + 4]
push dword [esi + 8]
mov dword [ebp - 8], eax
call fcn.0048f21e
push 8
push dword [esi + 8]
mov dword [ebp + 8], eax
and dword [ebp + 8], edi
call fcn.0048f22c
mov ecx, dword [ebp + 0x10]
and eax, ebx
or eax, dword [ebp + 8]
push 8
xor eax, dword [ecx + 8]
push dword [esi + 0xc]
mov dword [ebp - 0x10], eax
call fcn.0048f21e
push 8
push dword [esi + 0xc]
mov dword [ebp + 8], eax
and dword [ebp + 8], edi
call fcn.0048f22c
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
and eax, ebx
or eax, dword [ebp + 8]
shr edx, 0x10
xor eax, dword [ecx + 0xc]
movzx ecx, byte [ebp - 0xf]
mov ebx, dword [ecx*4 + 0x4e2970]
mov ecx, dword [ebp - 4]
mov esi, 0xff
and edx, esi
xor ebx, dword [edx*4 + 0x4e2570]
mov edx, dword [ebp - 0x10]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x4e2170]
mov ecx, eax
and ecx, esi
xor ebx, dword [ecx*4 + 0x4e2d70]
mov ecx, dword [ebp + 0x10]
xor ebx, dword [ecx + 0x10]
movzx ecx, ah
mov ecx, dword [ecx*4 + 0x4e2970]
shr edx, 0x10
and edx, esi
add esp, 0x40
xor ecx, dword [edx*4 + 0x4e2570]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x18], eax
shr edx, 0x18
xor ecx, dword [edx*4 + 0x4e2170]
mov edx, dword [ebp - 4]
and edx, esi
xor ecx, dword [edx*4 + 0x4e2d70]
mov edx, dword [ebp + 0x10]
xor ecx, dword [edx + 0x14]
movzx edx, byte [ebp - 3]
shr eax, 0x10
and eax, esi
mov eax, dword [eax*4 + 0x4e2570]
xor eax, dword [edx*4 + 0x4e2970]
mov edx, dword [ebp - 0x10]
shr edx, 0x18
xor eax, dword [edx*4 + 0x4e2170]
mov edx, dword [ebp - 8]
and edx, esi
xor eax, dword [edx*4 + 0x4e2d70]
mov edx, dword [ebp + 0x10]
xor eax, dword [edx + 0x18]
movzx edx, byte [ebp - 7]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, esi
mov dword [ebp + 8], eax
mov eax, dword [edx*4 + 0x4e2970]
mov edx, dword [ebp + 8]
xor eax, dword [edx*4 + 0x4e2570]
mov edx, dword [ebp - 0x18]
shr edx, 0x18
xor eax, dword [edx*4 + 0x4e2170]
mov edx, dword [ebp - 0x10]
and edx, esi
xor eax, dword [edx*4 + 0x4e2d70]
mov edx, dword [ebp + 0x10]
xor eax, dword [edx + 0x1c]
add edx, 0x20
mov dword [ebp + 8], edx
mov edx, dword [ebp + 0x10]
mov edx, dword [edx + 0xf0]
sar edx, 1
dec edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp + 0x10], edx
je 0x456807
movzx edx, byte [ebp - 0xb]
mov edi, ecx
shr edi, 0x10
and edi, esi
mov dword [ebp - 0x18], edi
mov edi, dword [edx*4 + 0x4e2970]
mov edx, dword [ebp - 0x18]
xor edi, dword [edx*4 + 0x4e2570]
mov edx, ebx
shr edx, 0x18
xor edi, dword [edx*4 + 0x4e2170]
mov edx, eax
and edx, esi
xor edi, dword [edx*4 + 0x4e2d70]
mov edx, dword [ebp + 8]
xor edi, dword [edx]
movzx edx, ah
mov dword [ebp - 4], edi
movzx edi, byte [ebp - 0xa]
mov dword [ebp - 0x18], edi
mov edi, dword [edx*4 + 0x4e2970]
mov edx, dword [ebp - 0x18]
xor edi, dword [edx*4 + 0x4e2570]
mov edx, ecx
shr edx, 0x18
xor edi, dword [edx*4 + 0x4e2170]
mov edx, ebx
and edx, esi
xor edi, dword [edx*4 + 0x4e2d70]
mov edx, dword [ebp + 8]
xor edi, dword [edx + 4]
mov edx, eax
mov dword [ebp - 8], edi
movzx edi, bh
mov dword [ebp - 0x18], edi
shr edx, 0x10
and edx, esi
mov edi, dword [edx*4 + 0x4e2570]
mov edx, dword [ebp - 0x18]
xor edi, dword [edx*4 + 0x4e2970]
shr ebx, 0x10
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
shr edi, 0x18
xor edx, dword [edi*4 + 0x4e2170]
mov edi, ecx
and ebx, esi
movzx ecx, ch
mov ecx, dword [ecx*4 + 0x4e2970]
xor ecx, dword [ebx*4 + 0x4e2570]
mov ebx, dword [ebp - 8]
and edi, esi
xor edx, dword [edi*4 + 0x4e2d70]
mov edi, dword [ebp + 8]
xor edx, dword [edi + 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x4e2170]
mov eax, dword [ebp - 0xc]
and eax, esi
xor ecx, dword [eax*4 + 0x4e2d70]
mov eax, edi
xor ecx, dword [eax + 0xc]
shr ebx, 0x10
and ebx, esi
movzx edi, dh
mov edi, dword [edi*4 + 0x4e2970]
xor edi, dword [ebx*4 + 0x4e2570]
mov ebx, dword [ebp - 4]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4e2170]
mov ebx, ecx
and ebx, esi
xor edi, dword [ebx*4 + 0x4e2d70]
xor edi, dword [eax + 0x10]
movzx eax, ch
mov eax, dword [eax*4 + 0x4e2970]
mov ebx, edi
mov edi, edx
shr edi, 0x10
and edi, esi
xor eax, dword [edi*4 + 0x4e2570]
mov edi, dword [ebp - 8]
shr edi, 0x18
xor eax, dword [edi*4 + 0x4e2170]
mov edi, dword [ebp - 4]
and edi, esi
xor eax, dword [edi*4 + 0x4e2d70]
mov edi, dword [ebp + 8]
xor eax, dword [edi + 0x14]
movzx edi, byte [ebp - 3]
mov dword [ebp - 0x14], eax
mov eax, ecx
shr eax, 0x10
and eax, esi
mov eax, dword [eax*4 + 0x4e2570]
xor eax, dword [edi*4 + 0x4e2970]
mov edi, edx
shr edi, 0x18
xor eax, dword [edi*4 + 0x4e2170]
mov edi, dword [ebp - 8]
and edi, esi
xor eax, dword [edi*4 + 0x4e2d70]
mov edi, dword [ebp + 8]
xor eax, dword [edi + 0x18]
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc], eax
movzx eax, byte [ebp - 7]
mov eax, dword [eax*4 + 0x4e2970]
shr edi, 0x10
and edi, esi
xor eax, dword [edi*4 + 0x4e2570]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x4e2170]
mov ecx, dword [ebp + 8]
add dword [ebp + 8], 0x20
and edx, esi
xor eax, dword [edx*4 + 0x4e2d70]
xor eax, dword [ecx + 0x1c]
dec dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jne 0x456626
mov edi, 0xff00ff00
movzx edx, byte [ebp - 0xb]
mov edx, dword [edx*4 + 0x4e2170]
shr ecx, 0x10
and ecx, esi
mov ecx, dword [ecx*4 + 0x4e2d70]
and edx, 0xff00
and ecx, 0xff0000
xor ecx, edx
mov edx, ebx
shr edx, 0x18
mov edx, dword [edx*4 + 0x4e2970]
and eax, esi
movzx eax, byte [eax*4 + 0x4e2570]
and edx, 0xff000000
xor ecx, edx
xor ecx, eax
mov eax, dword [ebp + 8]
xor ecx, dword [eax]
push 8
push ecx
mov dword [ebp - 4], ecx
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]
push 8
mov dword [ecx], eax
movzx eax, byte [ebp - 0xa]
mov eax, dword [eax*4 + 0x4e2d70]
movzx ecx, byte [ebp - 0x17]
mov ecx, dword [ecx*4 + 0x4e2170]
and ecx, 0xff00
and eax, 0xff0000
xor eax, ecx
mov ecx, dword [ebp - 0x14]
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4e2970]
and ecx, 0xff000000
xor eax, ecx
mov ecx, ebx
and ecx, esi
movzx ecx, byte [ecx*4 + 0x4e2570]
xor eax, ecx
mov ecx, dword [ebp + 8]
xor eax, dword [ecx + 4]
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]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x18]
shr eax, 0x10
and eax, esi
mov eax, dword [eax*4 + 0x4e2d70]
movzx ecx, bh
mov ecx, dword [ecx*4 + 0x4e2170]
and ecx, 0xff00
and eax, 0xff0000
xor eax, ecx
mov ecx, dword [ebp - 0xc]
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4e2970]
and ecx, 0xff000000
xor eax, ecx
mov ecx, dword [ebp - 0x14]
and ecx, esi
movzx ecx, byte [ecx*4 + 0x4e2570]
xor eax, ecx
mov ecx, dword [ebp + 8]
xor eax, dword [ecx + 8]
push 8
push eax
mov dword [ebp - 0x10], eax
call fcn.0048f21e
push 8
push dword [ebp - 0x10]
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]
shr ebx, 0x10
mov dword [ecx + 8], eax
movzx eax, byte [ebp - 0x13]
mov eax, dword [eax*4 + 0x4e2170]
and ebx, esi
mov ebx, dword [ebx*4 + 0x4e2d70]
and eax, 0xff00
and ebx, 0xff0000
xor ebx, eax
mov eax, dword [ebp - 0x18]
shr eax, 0x18
mov eax, dword [eax*4 + 0x4e2970]
and eax, 0xff000000
xor ebx, eax
mov eax, dword [ebp - 0xc]
and eax, esi
movzx eax, byte [eax*4 + 0x4e2570]
xor ebx, eax
mov eax, dword [ebp + 8]
xor ebx, dword [eax + 0xc]
push 8
push ebx
call fcn.0048f21e
mov esi, eax
push 8
push ebx
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