Function at 0x4e45b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x5a9008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x278], edx
mov dword [ebp - 0x26c], ecx
push esi
push edi
cmp eax, 0x18
ja 0x4e489b
mov dword [ebp - 0x274], 0
lea edi, [edx + 0x4b4]
cmp dword [edi + 0x134], eax
lea esi, [edi + 0x102]
jne 0x4e46b2
push ecx
mov ecx, edi
call fcn.004c85f0
test al, al
je 0x4e46a9
mov ecx, dword [ebp - 0x270]
mov edx, 0xc
nop word [eax + eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x4e46a9
add esi, 4
add ecx, 4
sub edx, 4
jae 0x4e4640
movups xmm0, xmmword [edi + 0x112]
push 0
push 0
movups xmmword [ebp - 0x44], xmm0
mov edx, 0x20
lea ecx, [ebp - 0x44]
movups xmm0, xmmword [edi + 0x122]
movups xmmword [ebp - 0x34], xmm0
call fcn.004c8720
movups xmm0, xmmword [edi + 0x138]
movups xmm1, xmmword [edi + 0x168]
movups xmmword [ebp - 0x24], xmm0
movups xmm0, xmmword [edi + 0x148]
movups xmmword [ebp - 0x54], xmm1
movups xmmword [ebp - 0x14], xmm0
movups xmm0, xmmword [edi + 0x158]
movups xmmword [ebp - 0x64], xmm0
jmp 0x4e47e3
mov ecx, dword [ebp - 0x26c]
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp - 0x274]
add edi, 0x178
inc esi
mov dword [ebp - 0x274], esi
cmp esi, 4
jb 0x4e4611
push ecx
mov ecx, dword [ebp - 0x27c]
lea edx, [ebp - 0x268]
lfence
call fcn.004c8930
lea edx, [ebp - 0x268]
add esp, 4
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4e46f0
mov edi, dword [ebp + 0x1c]
sub edx, ecx
mov ecx, edi
mov eax, 1
shl eax, cl
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
push ecx
push dword [ebp - 0x270]
lea ecx, [ebp - 0x268]
call fcn.004e4370
add esp, 0x18
lea eax, [ebp - 0x268]
mov ecx, 0x200
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4e4732
mov esi, dword [ebp - 0x278]
push 0
push 1
mov ecx, dword [esi + 0xa94]
lea edx, [esi + 0x4b4]
mov eax, ecx
and eax, 3
imul eax, eax, 0x178
add edx, eax
lea eax, [ecx + 1]
mov dword [esi + 0xa94], eax
mov ecx, 0x40
mov esi, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x270]
mov dword [edx + 0x134], edi
mov edi, edx
rep movsd dword es:[edi], dword [esi]
lea ecx, [edx + 0x112]
movsw word es:[edi], word [esi]
movups xmm0, xmmword [eax]
movups xmmword [edx + 0x102], xmm0
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [edx + 0x138], xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [edx + 0x148], xmm0
movups xmm0, xmmword [ebp - 0x64]
movups xmmword [edx + 0x158], xmm0
movups xmm0, xmmword [ebp - 0x54]
movups xmmword [edx + 0x168], xmm0
mov edx, 0x20
call fcn.004c8720
movups xmm1, xmmword [ebp - 0x54]
movups xmm0, xmmword [ebp - 0x64]
mov eax, dword [ebp - 0x280]
add esp, 8
test eax, eax
je 0x4e47f7
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm1
test ebx, ebx
je 0x4e4862
xor edi, edi
xorps xmm0, xmm0
movq qword [ebx], xmm0
mov esi, 1
lea edx, [edi + 3]
nop dword [eax]
mov al, byte [ebp + esi - 0x25]
mov ecx, edi
and ecx, 7
add edi, 4
xor byte [ecx + ebx], al
mov ecx, esi
mov al, byte [ebp + esi - 0x24]
and ecx, 7
add esi, 4
xor byte [ecx + ebx], al
lea ecx, [edx - 1]
mov al, byte [ebp + edx - 0x25]
and ecx, 7
xor byte [ecx + ebx], al
mov ecx, edx
mov al, byte [ebp + edx - 0x24]
and ecx, 7
add edx, 4
xor byte [ecx + ebx], al
cmp esi, 0x21
jb 0x4e4810
mov ecx, 0x20
lea eax, [ebp - 0x24]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4e4857
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4e4887
mov ecx, dword [ebp - 0x278]
push eax
push 0x100
lea eax, [ebp - 0x44]
add ecx, 0xa9c
push eax
push dword [ebp + 8]
call fcn.004e9f10
mov ecx, 0x20
lea eax, [ebp - 0x44]
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4e4890
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ef615
mov esp, ebp
pop ebp
ret 0x20