Function at 0x459b2d
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.0049c38e
push 8
push dword [esi]
mov dword [ebp + 8], eax
mov edi, 0xff00ff00
and dword [ebp + 8], edi
call fcn.0049c39c
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.0049c38e
push 8
push dword [esi + 4]
mov dword [ebp + 8], eax
and dword [ebp + 8], edi
call fcn.0049c39c
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.0049c38e
push 8
push dword [esi + 8]
mov dword [ebp + 8], eax
and dword [ebp + 8], edi
call fcn.0049c39c
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.0049c38e
push 8
push dword [esi + 0xc]
mov dword [ebp + 8], eax
and dword [ebp + 8], edi
call fcn.0049c39c
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 + 0x4f0968]
mov ecx, dword [ebp - 4]
mov esi, 0xff
and edx, esi
xor ebx, dword [edx*4 + 0x4f0568]
mov edx, dword [ebp - 0x10]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x4f0168]
mov ecx, eax
and ecx, esi
xor ebx, dword [ecx*4 + 0x4f0d68]
mov ecx, dword [ebp + 0x10]
xor ebx, dword [ecx + 0x10]
movzx ecx, ah
mov ecx, dword [ecx*4 + 0x4f0968]
shr edx, 0x10
and edx, esi
add esp, 0x40
xor ecx, dword [edx*4 + 0x4f0568]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x18], eax
shr edx, 0x18
xor ecx, dword [edx*4 + 0x4f0168]
mov edx, dword [ebp - 4]
and edx, esi
xor ecx, dword [edx*4 + 0x4f0d68]
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 + 0x4f0568]
xor eax, dword [edx*4 + 0x4f0968]
mov edx, dword [ebp - 0x10]
shr edx, 0x18
xor eax, dword [edx*4 + 0x4f0168]
mov edx, dword [ebp - 8]
and edx, esi
xor eax, dword [edx*4 + 0x4f0d68]
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 + 0x4f0968]
mov edx, dword [ebp + 8]
xor eax, dword [edx*4 + 0x4f0568]
mov edx, dword [ebp - 0x18]
shr edx, 0x18
xor eax, dword [edx*4 + 0x4f0168]
mov edx, dword [ebp - 0x10]
and edx, esi
xor eax, dword [edx*4 + 0x4f0d68]
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 0x459ed2
movzx edx, byte [ebp - 0xb]
mov edi, ecx
shr edi, 0x10
and edi, esi
mov dword [ebp - 0x18], edi
mov edi, dword [edx*4 + 0x4f0968]
mov edx, dword [ebp - 0x18]
xor edi, dword [edx*4 + 0x4f0568]
mov edx, ebx
shr edx, 0x18
xor edi, dword [edx*4 + 0x4f0168]
mov edx, eax
and edx, esi
xor edi, dword [edx*4 + 0x4f0d68]
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 + 0x4f0968]
mov edx, dword [ebp - 0x18]
xor edi, dword [edx*4 + 0x4f0568]
mov edx, ecx
shr edx, 0x18
xor edi, dword [edx*4 + 0x4f0168]
mov edx, ebx
and edx, esi
xor edi, dword [edx*4 + 0x4f0d68]
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 + 0x4f0568]
mov edx, dword [ebp - 0x18]
xor edi, dword [edx*4 + 0x4f0968]
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 + 0x4f0168]
mov edi, ecx
and ebx, esi
movzx ecx, ch
mov ecx, dword [ecx*4 + 0x4f0968]
xor ecx, dword [ebx*4 + 0x4f0568]
mov ebx, dword [ebp - 8]
and edi, esi
xor edx, dword [edi*4 + 0x4f0d68]
mov edi, dword [ebp + 8]
xor edx, dword [edi + 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x4f0168]
mov eax, dword [ebp - 0xc]
and eax, esi
xor ecx, dword [eax*4 + 0x4f0d68]
mov eax, edi
xor ecx, dword [eax + 0xc]
shr ebx, 0x10
and ebx, esi
movzx edi, dh
mov edi, dword [edi*4 + 0x4f0968]
xor edi, dword [ebx*4 + 0x4f0568]
mov ebx, dword [ebp - 4]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4f0168]
mov ebx, ecx
and ebx, esi
xor edi, dword [ebx*4 + 0x4f0d68]
xor edi, dword [eax + 0x10]
movzx eax, ch
mov eax, dword [eax*4 + 0x4f0968]
mov ebx, edi
mov edi, edx
shr edi, 0x10
and edi, esi
xor eax, dword [edi*4 + 0x4f0568]
mov edi, dword [ebp - 8]
shr edi, 0x18
xor eax, dword [edi*4 + 0x4f0168]
mov edi, dword [ebp - 4]
and edi, esi
xor eax, dword [edi*4 + 0x4f0d68]
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 + 0x4f0568]
xor eax, dword [edi*4 + 0x4f0968]
mov edi, edx
shr edi, 0x18
xor eax, dword [edi*4 + 0x4f0168]
mov edi, dword [ebp - 8]
and edi, esi
xor eax, dword [edi*4 + 0x4f0d68]
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 + 0x4f0968]
shr edi, 0x10
and edi, esi
xor eax, dword [edi*4 + 0x4f0568]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x4f0168]
mov ecx, dword [ebp + 8]
add dword [ebp + 8], 0x20
and edx, esi
xor eax, dword [edx*4 + 0x4f0d68]
xor eax, dword [ecx + 0x1c]
dec dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jne 0x459cf1
mov edi, 0xff00ff00
movzx edx, byte [ebp - 0xb]
mov edx, dword [edx*4 + 0x4f0168]
shr ecx, 0x10
and ecx, esi
mov ecx, dword [ecx*4 + 0x4f0d68]
and edx, 0xff00
and ecx, 0xff0000
xor ecx, edx
mov edx, ebx
shr edx, 0x18
mov edx, dword [edx*4 + 0x4f0968]
and eax, esi
movzx eax, byte [eax*4 + 0x4f0568]
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.0049c38e
push 8
push dword [ebp - 4]
mov dword [ebp + 0x10], eax
and dword [ebp + 0x10], edi
call fcn.0049c39c
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 + 0x4f0d68]
movzx ecx, byte [ebp - 0x17]
mov ecx, dword [ecx*4 + 0x4f0168]
and ecx, 0xff00
and eax, 0xff0000
xor eax, ecx
mov ecx, dword [ebp - 0x14]
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4f0968]
and ecx, 0xff000000
xor eax, ecx
mov ecx, ebx
and ecx, esi
movzx ecx, byte [ecx*4 + 0x4f0568]
xor eax, ecx
mov ecx, dword [ebp + 8]
xor eax, dword [ecx + 4]
push eax
mov dword [ebp - 8], eax
call fcn.0049c38e
push 8
push dword [ebp - 8]
mov dword [ebp + 0x10], eax
and dword [ebp + 0x10], edi
call fcn.0049c39c
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 + 0x4f0d68]
movzx ecx, bh
mov ecx, dword [ecx*4 + 0x4f0168]
and ecx, 0xff00
and eax, 0xff0000
xor eax, ecx
mov ecx, dword [ebp - 0xc]
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4f0968]
and ecx, 0xff000000
xor eax, ecx
mov ecx, dword [ebp - 0x14]
and ecx, esi
movzx ecx, byte [ecx*4 + 0x4f0568]
xor eax, ecx
mov ecx, dword [ebp + 8]
xor eax, dword [ecx + 8]
push 8
push eax
mov dword [ebp - 0x10], eax
call fcn.0049c38e
push 8
push dword [ebp - 0x10]
mov dword [ebp + 0x10], eax
and dword [ebp + 0x10], edi
call fcn.0049c39c
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 + 0x4f0168]
and ebx, esi
mov ebx, dword [ebx*4 + 0x4f0d68]
and eax, 0xff00
and ebx, 0xff0000
xor ebx, eax
mov eax, dword [ebp - 0x18]
shr eax, 0x18
mov eax, dword [eax*4 + 0x4f0968]
and eax, 0xff000000
xor ebx, eax
mov eax, dword [ebp - 0xc]
and eax, esi
movzx eax, byte [eax*4 + 0x4f0568]
xor ebx, eax
mov eax, dword [ebp + 8]
xor ebx, dword [eax + 0xc]
push 8
push ebx
call fcn.0049c38e
mov esi, eax
push 8
push ebx
and esi, edi
call fcn.0049c39c
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