Function at 0x4954c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x44
push esi
mov esi, dword [esp + 0x50]
push edi
mov ecx, 0x10
lea edi, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
test eax, eax
jle 0x4956f1
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
dec eax
push ebx
mov ebx, dword [esp + 0x10]
shr eax, 1
inc eax
push ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x10], eax
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 0x4954f6
mov dword [esp + 0x34], ebp
pop ebp
mov dword [esp + 0x10], ebx
pop ebx
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
lea ecx, [esp + 0xc]
xor eax, eax
sub edx, ecx
sub esi, ecx
lea ecx, [edx + eax*4]
mov ecx, dword [esp + ecx + 0xc]
add dword [esp + eax*4 + 0xc], ecx
mov ecx, dword [esp + eax*4 + 0xc]
lea edi, [esi + eax*4]
inc eax
cmp eax, 0x10
mov dword [esp + edi + 0xc], ecx
jl 0x495703
pop edi
pop esi
add esp, 0x44
ret