Function at 0x4f9ae0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, dword [esp + 0x54]
push edi
mov ecx, 0x10
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], 0xa
mov edi, edi
add ebx, ecx
mov eax, esi
xor eax, ebx
rol eax, 0x10
add ebp, eax
mov edx, dword [esp + 0x38]
mov edi, ebp
xor edi, ecx
rol edi, 0xc
add ebx, edi
xor eax, ebx
rol eax, 8
mov ecx, dword [esp + 0x48]
add ebp, eax
mov dword [esp + 0x44], eax
mov eax, ebp
xor eax, edi
rol eax, 7
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
xor ecx, eax
rol ecx, 0x10
add edx, ecx
mov edi, edx
xor edi, dword [esp + 0x28]
rol edi, 0xc
add eax, edi
xor ecx, eax
rol ecx, 8
add edx, ecx
mov dword [esp + 0x48], ecx
mov ecx, edx
xor ecx, edi
mov edi, dword [esp + 0x3c]
rol ecx, 7
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1c]
add ecx, esi
xor edx, ecx
rol edx, 0x10
add edi, edx
mov dword [esp + 0x3c], edi
xor edi, esi
mov esi, dword [esp + 0x3c]
rol edi, 0xc
add ecx, edi
xor edx, ecx
rol edx, 8
add esi, edx
mov dword [esp + 0x4c], edx
mov edx, esi
xor edx, edi
mov edi, dword [esp + 0x30]
rol edx, 7
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x20]
add edx, edi
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x50]
xor esi, edx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x40]
rol esi, 0x10
add edx, esi
mov dword [esp + 0x40], edx
xor edx, edi
mov edi, dword [esp + 0x20]
rol edx, 0xc
add edi, edx
xor esi, edi
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x40]
rol esi, 8
add edi, esi
mov dword [esp + 0x40], edi
xor edi, edx
rol edi, 7
add ebx, dword [esp + 0x28]
add eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
xor esi, ebx
rol esi, 0x10
add edx, esi
mov dword [esp + 0x3c], edx
xor edx, dword [esp + 0x28]
mov dword [esp + 0x50], esi
rol edx, 0xc
add ebx, edx
mov dword [esp + 0x28], edx
mov edx, esi
mov esi, dword [esp + 0x3c]
xor edx, ebx
rol edx, 8
add esi, edx
mov dword [esp + 0x50], edx
mov edx, eax
xor edx, dword [esp + 0x44]
mov dword [esp + 0x3c], esi
xor esi, dword [esp + 0x28]
add ecx, edi
rol esi, 7
rol edx, 0x10
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x40]
add esi, edx
mov edx, esi
xor edx, dword [esp + 0x2c]
mov dword [esp + 0x40], esi
rol edx, 0xc
add eax, edx
mov dword [esp + 0x18], eax
xor eax, dword [esp + 0x44]
rol eax, 8
mov esi, eax
mov eax, dword [esp + 0x40]
add eax, esi
mov dword [esp + 0x40], eax
xor eax, edx
rol eax, 7
mov edx, ecx
xor edx, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
rol edx, 0x10
add ebp, edx
xor edi, ebp
rol edi, 0xc
add ecx, edi
mov dword [esp + 0x1c], ecx
xor ecx, edx
rol ecx, 8
mov eax, ecx
mov ecx, dword [esp + 0x38]
add ebp, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x24]
xor edi, ebp
mov edx, eax
xor edx, dword [esp + 0x4c]
rol edi, 7
rol edx, 0x10
add ecx, edx
mov dword [esp + 0x30], edi
mov edi, ecx
xor edi, dword [esp + 0x24]
mov dword [esp + 0x44], esi
rol edi, 0xc
add eax, edi
mov dword [esp + 0x20], eax
xor eax, edx
rol eax, 8
add ecx, eax
mov dword [esp + 0x38], ecx
xor ecx, edi
rol ecx, 7
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], ecx
sub dword [esp + 0x10], 1
jne 0x4f9b10
mov edi, dword [esp + 0x58]
lea edx, [esp + 0x14]
lea esi, [esp + 0x18]
xor ecx, ecx
sub edx, edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebx
lea eax, [edi + 8]
sub esi, edi
mov edi, edi
mov ebx, dword [eax - 8]
add dword [esp + ecx*4 + 0x14], ebx
mov ebx, dword [eax - 4]
add dword [esp + ecx*4 + 0x18], ebx
mov ebx, dword [eax]
add dword [edx + eax], ebx
mov ebx, dword [eax + 4]
add dword [esi + eax], ebx
add ecx, 4
add eax, 0x10
cmp ecx, 0x10
jl 0x4f9d20
xor esi, esi
lea eax, [edi + 0x45]
lea esp, [esp]
mov cl, byte [esp + esi*4 + 0x14]
mov byte [eax - 1], cl
mov ecx, dword [esp + esi*4 + 0x14]
mov edx, ecx
shr edx, 8
mov byte [eax], dl
mov edx, ecx
shr edx, 0x10
shr ecx, 0x18
mov byte [eax + 1], dl
mov byte [eax + 2], cl
inc esi
add eax, 4
cmp esi, 0x10
jl 0x4f9d50
mov eax, 1
add dword [edi + 0x30], eax
mov dword [edi + 0x40], 0
jne 0x4f9d8d
add dword [edi + 0x34], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret