Function at 0x4c2de0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53edee
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x584200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.004bfd50
mov ecx, edi
mov esi, eax
call fcn.004bfd50
mov edi, dword [ebp + 8]
add eax, 0x1f
add esi, eax
mov ecx, edi
shr esi, 5
push 0
push esi
mov dword [edi + 4], 0x3fffffff
mov dword [edi + 8], esi
call fcn.0043c150
mov dword [edi + 0xc], eax
cmp dword [edi + 8], 0
jbe 0x4c2e70
mov dword [eax], 0
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
lea edx, [edx + 4]
sub ecx, 1
je 0x4c2e70
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
call fcn.004bfd50
sub eax, 1
mov dword [ebp - 0x14], eax
js 0x4c302e
mov edx, dword [ebp + 8]
mov edi, dword [edx + 8]
test edi, edi
je 0x4c2edb
mov edx, dword [edx + 0xc]
xor esi, esi
mov ecx, dword [edx]
lea edx, [edx + 4]
lea eax, [ecx + ecx]
or eax, esi
mov esi, ecx
shr esi, 0x1f
mov dword [edx - 4], eax
sub edi, 1
jne 0x4c2ea1
test esi, esi
je 0x4c2ed8
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
inc eax
push eax
call fcn.004c0b20
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
mov eax, dword [edx + 0xc]
mov dword [eax + ecx*4 - 4], esi
jmp 0x4c2edb
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov esi, ecx
mov eax, dword [ebp + 0xc]
shr esi, 5
cmp esi, dword [eax + 8]
jae 0x4c300e
mov eax, dword [eax + 0xc]
and ecx, 0x1f
mov eax, dword [eax + esi*4]
shr eax, cl
test al, 1
je 0x4c300e
mov eax, dword [ebp - 0x20]
mov ecx, dword [edx + 0xc]
xor edx, edx
mov dword [ebp - 0x10], ecx
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov dword [ebp - 0x2c], edi
test esi, esi
je 0x4c300e
cmp esi, 2
jb 0x4c2ff7
lea eax, [esi - 1]
lea eax, [edi + eax*4]
cmp ecx, eax
ja 0x4c2f3f
lea eax, [esi - 1]
lea eax, [ecx + eax*4]
cmp eax, edi
jae 0x4c2ff7
cmp esi, 0x10
jb 0x4c2fbf
mov eax, esi
and eax, 0xf
mov dword [ebp - 0x18], eax
mov eax, esi
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
lea eax, [edi + 0x30]
mov dword [ebp - 0x24], eax
lea eax, [ecx + 0x10]
mov ecx, edi
mov edi, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x10]
movups xmm0, xmmword [eax - 0x10]
add edx, 0x10
lea eax, [eax + 0x40]
lea edi, [edi + 0x40]
movups xmm1, xmmword [edi - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [ecx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edi - 0x50]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [edi - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edx, dword [ebp - 0x28]
jb 0x4c2f65
cmp dword [ebp - 0x18], 2
mov edi, dword [ebp - 0x2c]
jb 0x4c2ff0
jmp 0x4c2fc4
mov ecx, edi
sub ecx, dword [ebp - 0x10]
mov eax, esi
and eax, 0xfffffffe
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + edx*4]
movq xmm0, qword [eax]
lea eax, [eax + 8]
movq xmm1, qword [ecx + eax - 8]
add edx, 2
pxor xmm1, xmm0
movq qword [eax - 8], xmm1
cmp edx, dword [ebp - 0x2c]
jb 0x4c2fd2
cmp edx, esi
jae 0x4c300e
mov ecx, dword [ebp - 0x10]
sub edi, dword [ebp - 0x10]
lea ecx, [ecx + edx*4]
sub esi, edx
nop
mov eax, dword [edi + ecx]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
sub esi, 1
jne 0x4c3000
sub dword [ebp - 0x14], 1
jns 0x4c2e92
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8