Function at 0x5179d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x15c
push ebx
push ebp
push esi
push edi
mov edi, eax
movzx esi, byte [edi]
movzx eax, byte [edi + 1]
movzx ecx, byte [edi + 2]
movzx edx, byte [edi + 3]
shl esi, 8
or esi, eax
movzx eax, byte [edi + 4]
add edi, 4
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, edx
movzx edx, byte [edi + 2]
shl eax, 8
or eax, edx
movzx edx, byte [edi + 5]
add edi, 4
movzx ebx, byte [edi + 5]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi]
shl ecx, 8
or ecx, edx
movzx edx, byte [edi + 2]
shl ecx, 8
or ecx, edx
movzx edx, byte [edi + 3]
add edi, 4
shl ecx, 8
or ecx, edx
movzx edx, byte [edi]
shl edx, 8
or edx, ebx
movzx ebx, byte [edi + 2]
shl edx, 8
or edx, ebx
movzx ebx, byte [edi + 3]
shl edx, 8
or edx, ebx
movzx ebx, byte [edi + 5]
mov dword [esp + 0x1c], edx
movzx edx, byte [edi + 4]
add edi, 4
shl edx, 8
or edx, ebx
movzx ebx, byte [edi + 2]
movzx edi, byte [edi + 3]
shl edx, 8
or edx, ebx
shl edx, 8
or edx, edi
xor edi, edi
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x170]
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
lea edi, [esp + 0x4c]
mov dword [esp + 0x14], 0x10
lea esp, [esp]
mov ebx, dword [edi - 0x20]
xor ebx, dword [edi + 0x14]
mov ebp, dword [edi - 0x1c]
xor ebp, dword [edi + 0x18]
xor ebx, dword [edi]
mov edx, dword [edi - 0x18]
xor ebp, dword [edi + 4]
xor ebx, edx
mov edx, dword [edi - 0x14]
xor ebp, edx
mov edx, dword [edi + 0x1c]
xor edx, dword [edi - 0x10]
mov dword [edi + 0x20], ebx
xor edx, dword [edi + 8]
mov dword [edi + 0x24], ebp
xor edx, dword [edi - 0x18]
add edi, 0x10
mov dword [edi + 0x18], edx
mov edx, dword [edi - 0x1c]
xor edx, dword [edi - 4]
xor edx, ebx
xor edx, dword [edi - 0x24]
sub dword [esp + 0x14], 1
mov dword [edi + 0x1c], edx
jne 0x517af0
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x170], 0
nop
mov ebx, eax
mov edi, esi
rol edi, 5
mov ebp, ecx
and ebp, eax
not ebx
and ebx, edx
or ebx, ebp
mov ebp, dword [esp + 0x10]
add edi, ebx
mov ebx, dword [esp + 0x170]
add edi, dword [esp + ebx*4 + 0x2c]
ror eax, 2
lea edi, [edi + ebp + 0x5a827999]
mov ebp, eax
and ebp, esi
mov dword [esp + 0x10], edx
mov edx, esi
not edx
and edx, ecx
or edx, ebp
mov dword [esp + 0x14], edi
rol edi, 5
add edi, edx
add edi, dword [esp + ebx*4 + 0x30]
mov edx, dword [esp + 0x10]
ror esi, 2
lea edx, [edi + edx + 0x5a827999]
mov edi, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov ebp, esi
and ebp, ecx
mov eax, ecx
not eax
and eax, edi
or eax, ebp
mov dword [esp + 0x14], edx
rol edx, 5
add edx, eax
add edx, dword [esp + ebx*4 + 0x34]
mov eax, dword [esp + 0x10]
lea eax, [edx + eax + 0x5a827999]
mov edx, dword [esp + 0x14]
mov ebp, esi
ror ecx, 2
mov dword [esp + 0x14], eax
rol eax, 5
mov dword [esp + 0x10], edi
mov esi, edx
not esi
and esi, ebp
mov edi, ecx
and edi, edx
or esi, edi
add eax, esi
add eax, dword [esp + ebx*4 + 0x38]
mov esi, dword [esp + 0x10]
lea esi, [eax + esi + 0x5a827999]
mov edi, ecx
mov ecx, dword [esp + 0x14]
ror edx, 2
mov dword [esp + 0x10], ebp
mov eax, ecx
not eax
and eax, edi
mov dword [esp + 0x14], esi
rol esi, 5
mov ebp, edx
and ebp, ecx
or eax, ebp
add esi, eax
add esi, dword [esp + ebx*4 + 0x3c]
mov eax, dword [esp + 0x10]
add ebx, 5
lea esi, [esi + eax + 0x5a827999]
mov eax, dword [esp + 0x14]
ror ecx, 2
mov dword [esp + 0x10], edi
mov dword [esp + 0x170], ebx
cmp ebx, 0x14
jl 0x517b50
mov ebx, 0x14
lea ebx, [ebx]
mov edi, esi
rol edi, 5
mov ebp, edx
xor ebp, ecx
xor ebp, eax
add edi, ebp
add edi, dword [esp + ebx*4 + 0x2c]
mov ebp, dword [esp + 0x10]
ror eax, 2
lea edi, [edi + ebp + 0x6ed9eba1]
mov ebp, ecx
xor ebp, eax
xor ebp, esi
mov dword [esp + 0x14], edi
rol edi, 5
add edi, ebp
add edi, dword [esp + ebx*4 + 0x30]
ror esi, 2
lea edx, [edi + edx + 0x6ed9eba1]
mov edi, eax
xor eax, esi
mov ebp, ecx
mov ecx, dword [esp + 0x14]
xor eax, ecx
mov dword [esp + 0x14], edx
rol edx, 5
add edx, eax
add edx, dword [esp + ebx*4 + 0x34]
ror ecx, 2
lea eax, [edx + ebp + 0x6ed9eba1]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x14], eax
rol eax, 5
mov ebp, edi
mov edi, esi
xor esi, ecx
xor esi, edx
add eax, esi
add eax, dword [esp + ebx*4 + 0x38]
ror edx, 2
lea esi, [eax + ebp + 0x6ed9eba1]
mov eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], esi
mov ebp, eax
rol esi, 5
xor ebp, edx
xor ebp, ecx
add esi, ebp
add esi, dword [esp + ebx*4 + 0x3c]
add ebx, 5
ror ecx, 2
cmp ebx, 0x28
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
lea esi, [esi + edi + 0x6ed9eba1]
jl 0x517c60
mov dword [esp + 0x170], 0x28
mov edi, esi
rol edi, 5
add edi, dword [esp + 0x10]
mov ebx, ecx
or ebx, eax
and ebx, edx
mov ebp, ecx
and ebp, eax
or ebx, ebp
mov ebp, dword [esp + 0x170]
add ebx, dword [esp + ebp*4 + 0x2c]
ror eax, 2
mov dword [esp + 0x10], edx
lea edi, [ebx + edi - 0x70e44324]
mov edx, eax
or edx, esi
and edx, ecx
mov ebp, edi
rol edi, 5
add edi, dword [esp + 0x10]
mov ebx, eax
and ebx, esi
or edx, ebx
mov ebx, dword [esp + 0x170]
add edx, dword [esp + ebx*4 + 0x30]
ror esi, 2
lea edx, [edx + edi - 0x70e44324]
mov edi, esi
mov dword [esp + 0x10], ecx
mov ecx, ebp
or edi, ecx
and edi, eax
mov ebp, esi
and ebp, ecx
or edi, ebp
add edi, dword [esp + ebx*4 + 0x34]
mov dword [esp + 0x14], edx
rol edx, 5
add edx, dword [esp + 0x10]
ror ecx, 2
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
lea edx, [edi + edx - 0x70e44324]
mov edi, esi
mov esi, ecx
or esi, eax
and esi, edi
mov ebp, ecx
and ebp, eax
or esi, ebp
add esi, dword [esp + ebx*4 + 0x38]
mov dword [esp + 0x14], edx
rol edx, 5
add edx, dword [esp + 0x10]
ror eax, 2
lea esi, [esi + edx - 0x70e44324]
mov edx, eax
mov ebp, ecx
mov ecx, dword [esp + 0x14]
or eax, ecx
mov dword [esp + 0x10], edi
and eax, ebp
mov dword [esp + 0x14], esi
mov edi, edx
and edi, ecx
rol esi, 5
add esi, dword [esp + 0x10]
or eax, edi
add eax, dword [esp + ebx*4 + 0x3c]
add ebx, 5
ror ecx, 2
cmp ebx, 0x3c
lea esi, [eax + esi - 0x70e44324]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x170], ebx
jl 0x517d24
mov edi, 0x3c
mov dword [esp + 0x170], edi
lea esp, [esp]
mov ebp, edx
xor ebp, ecx
xor ebp, eax
add ebp, dword [esp + edi*4 + 0x2c]
mov edi, dword [esp + 0x170]
mov ebx, esi
rol ebx, 5
add ebx, dword [esp + 0x10]
ror eax, 2
lea ebx, [ebx + ebp - 0x359d3e2a]
mov dword [esp + 0x10], edx
mov edx, ecx
xor edx, eax
xor edx, esi
add edx, dword [esp + edi*4 + 0x30]
mov ebp, ebx
rol ebx, 5
add ebx, dword [esp + 0x10]
ror esi, 2
lea edx, [edx + ebx - 0x359d3e2a]
mov ebx, eax
xor eax, esi
mov dword [esp + 0x10], ecx
mov ecx, ebp
xor eax, ecx
add eax, dword [esp + edi*4 + 0x34]
mov ebp, edx
rol edx, 5
add edx, dword [esp + 0x10]
ror ecx, 2
lea eax, [eax + edx - 0x359d3e2a]
mov edx, ebp
mov dword [esp + 0x10], ebx
mov ebx, esi
xor esi, ecx
xor esi, edx
add esi, dword [esp + edi*4 + 0x38]
mov ebp, eax
rol eax, 5
add eax, dword [esp + 0x10]
ror edx, 2
lea esi, [esi + eax - 0x359d3e2a]
mov eax, ecx
mov ecx, ebp
mov ebp, eax
xor ebp, edx
mov dword [esp + 0x10], ebx
mov ebx, esi
rol esi, 5
add esi, dword [esp + 0x10]
xor ebp, ecx
add ebp, dword [esp + edi*4 + 0x3c]
add edi, 5
lea esi, [esi + ebp - 0x359d3e2a]
ror ecx, 2
cmp edi, 0x50
mov ebp, eax
mov dword [esp + 0x10], eax
mov eax, ebx
mov dword [esp + 0x170], edi
jl 0x517e30
mov edi, dword [esp + 0x28]
add edi, esi
mov esi, dword [esp + 0x174]
mov dword [esi], edi
mov edi, dword [esp + 0x20]
add eax, edi
mov dword [esi + 4], eax
mov eax, dword [esp + 0x24]
add ecx, eax
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x1c]
add edx, ecx
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x18]
add ebp, edx
pop edi
mov dword [esi + 0x10], ebp
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x15c
ret