Function at 0x4dfc10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x920
mov eax, dword [0xfd5100]
xor eax, esp
mov dword [esp + 0x91c], eax
mov eax, dword [esp + 0x924]
push ebx
mov ebx, dword [esp + 0x930]
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
lea edi, [esp + 0x244]
mov ebp, 0xf
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.004d77c0
lea eax, [ebx + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004d77c0
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x4c]
movups xmm0, xmmword [esp + 0x2c]
mov dword [edi], eax
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x50]
movups xmm1, xmmword [esp + 0x54]
mov dword [edi + 4], eax
lea eax, [esp + 0x54]
push eax
paddd xmm1, xmm0
lea eax, [esp + 0x30]
movups xmm0, xmmword [esp + 0x40]
push eax
movups xmmword [edi - 0x20], xmm1
lea eax, [edi + 8]
movups xmm1, xmmword [esp + 0x6c]
push eax
paddd xmm1, xmm0
movups xmmword [edi - 0x10], xmm1
call fcn.004d6a40
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x64]
push eax
lea esi, [edi + 0x30]
push esi
call fcn.004d6b10
push 0xfd1a50
push esi
push esi
call fcn.004d6b10
add esp, 0x34
lea edi, [edi + 0x78]
add ebx, 0x40
sub ebp, 1
jne 0x4dfc46
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
lea ecx, [eax + 0x28]
movups xmmword [eax + 0x10], xmm0
mov dword [esp + 0x18], ecx
movq qword [eax + 0x20], xmm0
movups xmmword [eax + 0x28], xmm0
movups xmmword [eax + 0x38], xmm0
movq qword [eax + 0x48], xmm0
mov dword [eax + 0x28], 1
movups xmmword [eax + 0x50], xmm0
movups xmmword [eax + 0x60], xmm0
movq qword [eax + 0x70], xmm0
mov dword [eax + 0x50], 1
movups xmmword [eax + 0x78], xmm0
movups xmmword [eax + 0x88], xmm0
movq qword [eax + 0x98], xmm0
mov eax, 0x3f
mov dword [esp + 0x14], eax
nop word [eax + eax]
mov edx, dword [esp + 0x938]
lea esi, [esp + 0x274]
mov cl, al
xorps xmm0, xmm0
shr eax, 3
and cl, 7
add edx, eax
movq qword [esp + 0x12c], xmm0
movups xmmword [esp + 0x10c], xmm0
mov dword [esp + 0x10c], 1
mov edi, 1
movups xmmword [esp + 0x134], xmm0
mov bl, byte [edx + 0x18]
movzx eax, byte [edx + 0x10]
shr bl, cl
shr al, cl
and bl, 1
and al, 1
movq qword [esp + 0x154], xmm0
add bl, bl
mov dword [esp + 0x134], 1
or bl, al
movq qword [esp + 0x17c], xmm0
movzx eax, byte [edx + 8]
add bl, bl
shr al, cl
and al, 1
or bl, al
movzx eax, byte [edx]
shr al, cl
add bl, bl
and al, 1
or bl, al
movups xmmword [esp + 0x11c], xmm0
movzx ebp, bl
movups xmmword [esp + 0x144], xmm0
movups xmmword [esp + 0x15c], xmm0
movups xmmword [esp + 0x16c], xmm0
nop
mov eax, ebp
xor eax, edi
lea ebx, [eax - 1]
not eax
shr eax, 0x1f
shr ebx, 0x1f
and bl, al
lea eax, [esi - 0x50]
neg bl
and ebx, 1
push ebx
push eax
lea eax, [esp + 0x114]
push eax
call fcn.004d6170
push ebx
lea eax, [esi - 0x28]
push eax
lea eax, [esp + 0x148]
push eax
call fcn.004d6170
push ebx
lea eax, [esp + 0x178]
push esi
push eax
call fcn.004d6170
inc edi
add esp, 0x24
add esi, 0x78
cmp edi, 0x10
jb 0x4dfdf0
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
push ebx
push esi
movups xmm1, xmmword [esi]
mov eax, dword [esi + 0x20]
movups xmm0, xmmword [ebx]
add eax, dword [ebx + 0x20]
mov dword [esp + 0x1ac], eax
mov eax, dword [esi + 0x24]
paddd xmm1, xmm0
add eax, dword [ebx + 0x24]
movups xmm0, xmmword [ebx + 0x10]
mov dword [esp + 0x1b0], eax
lea eax, [esp + 0x1b4]
movups xmmword [esp + 0x18c], xmm1
push eax
movups xmm1, xmmword [esi + 0x10]
paddd xmm1, xmm0
movups xmmword [esp + 0x1a0], xmm1
call fcn.004d6a40
movups xmm0, xmmword [ebx + 0x50]
lea edi, [ebx + 0x50]
push 0xfd1a50
movups xmmword [esp + 0x1e4], xmm0
lea ebp, [ebx + 0x78]
movups xmm0, xmmword [edi + 0x10]
lea eax, [esp + 0x20c]
push ebp
movups xmmword [esp + 0x1f8], xmm0
push eax
movq xmm0, qword [edi + 0x20]
movq qword [esp + 0x20c], xmm0
call fcn.004d6b10
lea eax, [esp + 0x19c]
push eax
lea eax, [esp + 0x88]
push ebx
push eax
call fcn.004df9d0
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0x94]
push eax
push ebx
call fcn.004d6b10
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0xc8]
push eax
push esi
call fcn.004d6b10
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0xfc]
push eax
push edi
call fcn.004d6b10
add esp, 0x48
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x70]
push eax
push ebp
call fcn.004d6b10
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x7c]
push ebx
push eax
call fcn.004d8750
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x88]
push eax
push ebx
call fcn.004d6b10
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0xbc]
push eax
push esi
call fcn.004d6b10
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0xf0]
push eax
push edi
call fcn.004d6b10
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xac]
push eax
push ebp
call fcn.004d6b10
mov eax, dword [esp + 0x5c]
add esp, 0x48
dec eax
mov dword [esp + 0x14], eax
cmp eax, 0x40
jb 0x4dfd40
mov ecx, dword [esp + 0x92c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e6105
add esp, 0x920
ret