Function at 0x4a8490
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x224
mov eax, dword [0x519134]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [esp + 0x22c]
mov ecx, dword [esp + 0x230]
push ebx
push ebp
movups xmm0, xmmword [eax]
push esi
push edi
movups xmmword [esp + 0x210], xmm0
mov edi, dword [esp + 0x238]
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x220], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [esp + 0xd8], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [esp + 0xe8], xmm0
psrldq xmm0, 0xc
movd eax, xmm0
shr eax, 0x18
and al, 0x7f
mov byte [esp + 0xf7], al
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0x1ec]
push eax
call fcn.004aa330
mov eax, dword [esp + 0x1f0]
xorps xmm0, xmm0
mov dword [esp + 0x178], eax
add esp, 8
mov eax, dword [esp + 0x1ec]
xor ebp, ebp
mov dword [esp + 0x174], eax
mov ebx, 0xfe
mov eax, dword [esp + 0x1f0]
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x1f8]
mov dword [esp + 0x180], eax
mov eax, dword [esp + 0x1fc]
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x200]
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0x204]
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0x208]
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0x20c]
movups xmmword [esp + 0x1c0], xmm0
mov dword [esp + 0x1c0], 1
movups xmmword [esp + 0x148], xmm0
mov dword [esp + 0x194], eax
movups xmmword [esp + 0x1d0], xmm0
mov dword [esp + 0x148], 1
movq qword [esp + 0x1e0], xmm0
movups xmmword [esp + 0x120], xmm0
movups xmmword [esp + 0x130], xmm0
movq qword [esp + 0x140], xmm0
movups xmmword [esp + 0x158], xmm0
movq qword [esp + 0x168], xmm0
nop
mov eax, ebx
movzx ecx, bl
shr eax, 3
and ecx, 7
movzx esi, byte [esp + eax + 0x210]
lea eax, [esp + 0x170]
shr esi, cl
and esi, 1
xor ebp, esi
push ebp
push eax
lea eax, [esp + 0x1c8]
push eax
call fcn.004a8d60
push ebp
lea eax, [esp + 0x158]
push eax
lea eax, [esp + 0x134]
push eax
call fcn.004a8d60
lea eax, [esp + 0x160]
mov ebp, esi
push eax
lea eax, [esp + 0x18c]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.004a95b0
lea eax, [esp + 0x144]
push eax
lea eax, [esp + 0x1e8]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.004a95b0
mov eax, dword [esp + 0x150]
add eax, dword [esp + 0x1f0]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x154]
add eax, dword [esp + 0x1f4]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x158]
add eax, dword [esp + 0x1f8]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x15c]
add eax, dword [esp + 0x1fc]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x160]
add eax, dword [esp + 0x200]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x164]
add eax, dword [esp + 0x204]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x168]
add eax, dword [esp + 0x208]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x16c]
add eax, dword [esp + 0x20c]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x170]
add eax, dword [esp + 0x210]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x174]
add eax, dword [esp + 0x214]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x1a0]
add eax, dword [esp + 0x178]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x17c]
add eax, dword [esp + 0x1a4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x180]
add eax, dword [esp + 0x1a8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x184]
add eax, dword [esp + 0x1ac]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x188]
add eax, dword [esp + 0x1b0]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18c]
add eax, dword [esp + 0x1b4]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x190]
add eax, dword [esp + 0x1b8]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x194]
add eax, dword [esp + 0x1bc]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x198]
add eax, dword [esp + 0x1c0]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x19c]
add eax, dword [esp + 0x1c4]
mov dword [esp + 0x64], eax
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x180]
push eax
call fcn.004a9680
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x164]
push eax
call fcn.004a9680
add esp, 0x48
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004a9e00
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.004a9e00
mov eax, dword [esp + 0x130]
add eax, dword [esp + 0x158]
mov dword [esp + 0x1a8], eax
mov eax, dword [esp + 0x15c]
add eax, dword [esp + 0x134]
mov dword [esp + 0x1ac], eax
mov eax, dword [esp + 0x160]
add eax, dword [esp + 0x138]
mov dword [esp + 0x1b0], eax
mov eax, dword [esp + 0x164]
add eax, dword [esp + 0x13c]
mov dword [esp + 0x1b4], eax
mov eax, dword [esp + 0x168]
add eax, dword [esp + 0x140]
mov dword [esp + 0x1b8], eax
mov eax, dword [esp + 0x16c]
add eax, dword [esp + 0x144]
mov dword [esp + 0x1bc], eax
mov eax, dword [esp + 0x170]
add eax, dword [esp + 0x148]
mov dword [esp + 0x1c0], eax
mov eax, dword [esp + 0x174]
add eax, dword [esp + 0x14c]
mov dword [esp + 0x1c4], eax
mov eax, dword [esp + 0x178]
add eax, dword [esp + 0x150]
mov dword [esp + 0x1c8], eax
mov eax, dword [esp + 0x17c]
add eax, dword [esp + 0x154]
mov dword [esp + 0x1cc], eax
lea eax, [esp + 0x130]
push eax
lea eax, [esp + 0x15c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004a95b0
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x1e4]
push eax
call fcn.004a9680
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.004a95b0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x158]
push eax
call fcn.004a9e00
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x188]
push eax
call fcn.004a9140
add esp, 0x44
lea eax, [esp + 0x198]
push eax
lea eax, [esp + 0x174]
push eax
call fcn.004a9e00
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x150]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x154]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x158]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x15c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0x160]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x164]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x168]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x16c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x60]
add eax, dword [esp + 0x170]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x174]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x1f4]
push eax
lea eax, [esp + 0x158]
push eax
call fcn.004a9680
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0x13c]
push eax
call fcn.004a9680
add esp, 0x20
sub ebx, 1
jns 0x4a8610
push esi
lea eax, [esp + 0x174]
push eax
lea eax, [esp + 0x1c8]
push eax
call fcn.004a8d60
push esi
lea eax, [esp + 0x158]
push eax
lea eax, [esp + 0x134]
push eax
call fcn.004a8d60
mov eax, dword [esp + 0x138]
mov dword [esp + 0x1b0], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x1b4], eax
mov eax, dword [esp + 0x140]
mov dword [esp + 0x1b8], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x1bc], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0x1c0], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x1c4], eax
mov eax, dword [esp + 0x150]
mov dword [esp + 0x1c8], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x1cc], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 0x1d0], eax
mov eax, dword [esp + 0x15c]
mov dword [esp + 0x1d4], eax
lea eax, [esp + 0x1b0]
push eax
lea eax, [esp + 0x13c]
push eax
call fcn.004a8eb0
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x1e4]
push eax
push eax
call fcn.004a9680
lea eax, [esp + 0x1ec]
push eax
push edi
call fcn.004aa500
mov ecx, dword [esp + 0x264]
add esp, 0x34
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b09d8
add esp, 0x224
ret