Function at 0x4d01b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, edx
mov edx, ecx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edx
push edi
test ebx, ebx
je 0x4d022b
cmp dword [edx + 0x40], 0
jbe 0x4d022b
lea ecx, [ebp - 0x60]
call fcn.004d0440
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x20]
mov edi, dword [ebp + 8]
mov edx, esi
sub eax, dword [ecx + 0x40]
xor ecx, ecx
sub eax, esi
sub edi, esi
mov esi, dword [ebp - 4]
mov dword [ebp - 0x18], edi
mov edi, eax
cmp ecx, dword [esi + 0x40]
jae 0x4d020d
mov al, byte [edi + edx]
inc ecx
mov ebx, dword [ebp - 0x18]
xor al, byte [edx]
mov byte [ebx + edx], al
inc edx
mov ebx, dword [ebp + 0xc]
cmp ecx, ebx
jb 0x4d01f4
mov edi, dword [ebp + 8]
mov edx, esi
mov esi, dword [ebp - 8]
sub dword [edx + 0x40], ecx
jne 0x4d021d
inc dword [edx + 0x30]
sub ebx, ecx
add edi, ecx
add esi, ecx
mov dword [ebp + 0xc], ebx
mov dword [ebp - 8], esi
jmp 0x4d022e
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edi
cmp ebx, 0x40
jb 0x4d0321
lea ecx, [ebp - 0x60]
mov eax, edi
sub eax, ecx
mov dword [ebp - 0x14], eax
mov eax, esi
sub eax, ecx
mov dword [ebp - 0x18], eax
lea eax, [edi + 0x3f]
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, 6
mov dword [ebp - 0x1c], eax
nop dword [eax]
lea ecx, [ebp - 0x60]
call fcn.004d0440
mov edx, dword [ebp - 4]
lea ecx, [esi + 0x3f]
xor eax, eax
inc dword [edx + 0x30]
cmp edi, ecx
mov ecx, dword [ebp - 0xc]
ja 0x4d027e
cmp ecx, esi
jae 0x4d0292
lea ebx, [ebp - 0x21]
cmp edi, ebx
mov ebx, dword [ebp + 0xc]
ja 0x4d02b9
lea edi, [ebp - 0x60]
cmp ecx, edi
mov edi, dword [ebp - 0x10]
jb 0x4d02b9
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
lea edx, [ebp - 0x60]
add edx, eax
inc eax
mov cl, byte [esi + edx]
xor cl, byte [edx]
mov byte [ebx + edx], cl
cmp eax, 0x40
jb 0x4d0298
mov esi, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
jmp 0x4d02f7
movups xmm0, xmmword [ebp - 0x60]
movups xmm1, xmmword [esi]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [edi], xmm1
movups xmm1, xmmword [esi + 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ecx - 0x2f], xmm1
movups xmm1, xmmword [esi + 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [ecx - 0x1f], xmm1
movups xmm1, xmmword [esi + 0x30]
pxor xmm1, xmm0
movups xmmword [ecx - 0xf], xmm1
add dword [ebp - 0x14], 0x40
sub ebx, 0x40
add dword [ebp - 0x18], 0x40
add edi, 0x40
add ecx, 0x40
mov dword [ebp + 0xc], ebx
add esi, 0x40
mov dword [ebp - 0x10], edi
sub dword [ebp - 0x1c], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], esi
jne 0x4d0260
test ebx, ebx
je 0x4d042c
lea ecx, [ebp - 0x60]
call fcn.004d0440
xor ecx, ecx
test ebx, ebx
je 0x4d041f
cmp ebx, 0x40
jb 0x4d0410
lea eax, [esi - 1]
lea edx, [edi - 1]
add eax, ebx
add edx, ebx
cmp edi, eax
ja 0x4d035a
cmp edx, esi
jae 0x4d0410
lea eax, [ebp + ebx - 0x61]
cmp edi, eax
ja 0x4d036d
lea eax, [ebp - 0x60]
cmp edx, eax
jae 0x4d0410
mov eax, ebx
lea edx, [esi + 0x30]
mov ebx, esi
and eax, 0xffffffc0
sub ebx, edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
lea eax, [edi + 0x10]
mov esi, dword [ebp - 0x1c]
lea ebx, [ebp - 0x60]
sub ebx, edi
mov dword [ebp - 0x18], ebx
lea ebx, [ebp - 0x50]
sub ebx, edi
mov dword [ebp - 0x14], ebx
lea ebx, [ebp - 0x40]
sub ebx, edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0xc], ebx
movups xmm0, xmmword [edx - 0x30]
mov ebx, dword [ebp - 0x14]
lea edx, [edx + 0x40]
movups xmm1, xmmword [ebp + ecx - 0x60]
add ecx, 0x40
lea eax, [eax + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [esi + eax - 0x40]
movups xmmword [eax - 0x50], xmm1
movups xmm1, xmmword [edi + eax - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [edx - 0x50]
movups xmmword [eax - 0x40], xmm1
movups xmm1, xmmword [ebx + eax - 0x40]
mov ebx, dword [ebp - 0xc]
pxor xmm1, xmm0
movups xmm0, xmmword [edx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [ebx + eax - 0x40]
mov ebx, dword [ebp + 0xc]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ecx, dword [ebp - 0x20]
jb 0x4d03a0
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x10]
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jae 0x4d041f
nop dword [eax]
mov al, byte [esi + ecx]
xor al, byte [ebp + ecx - 0x60]
mov byte [edi + ecx], al
inc ecx
cmp ecx, ebx
jb 0x4d0410
mov eax, 0x40
sub eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret