Function at 0x4251dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x168
xor ebx, ebx
lea edx, [ebp - 0x14c]
movzx ecx, byte [eax + ebx*4 + 0x1c]
shl ecx, 0x18
movzx esi, byte [eax + ebx*4 + 0x1d]
shl esi, 0x10
or ecx, esi
movzx esi, byte [eax + ebx*4 + 0x1f]
or ecx, esi
movzx esi, byte [eax + ebx*4 + 0x1e]
shl esi, 8
or ecx, esi
mov dword [edx + ebx*4], ecx
inc ebx
cmp ebx, 0x10
jne 0x4251ea
lea ebx, [ebp - 0x4c]
mov ecx, dword [edx + 0x34]
xor ecx, dword [edx + 0x20]
xor ecx, dword [edx + 8]
xor ecx, dword [edx]
rol ecx, 1
mov dword [edx + 0x40], ecx
add edx, 4
cmp ebx, edx
jne 0x42521f
mov esi, dword [eax]
mov dword [ebp - 0x164], esi
mov esi, dword [eax + 4]
mov dword [ebp - 0x168], esi
mov esi, dword [eax + 8]
mov dword [ebp - 0x16c], esi
mov edi, dword [eax + 0xc]
mov dword [ebp - 0x170], edi
mov esi, dword [eax + 0x10]
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x160], esi
mov edx, dword [ebp - 0x170]
mov esi, dword [ebp - 0x16c]
mov dword [ebp - 0x154], esi
mov edi, dword [ebp - 0x168]
mov dword [ebp - 0x15c], edi
mov ecx, dword [ebp - 0x164]
xor esi, esi
mov edi, ecx
rol edi, 5
mov ebx, dword [ebp + esi*4 - 0x14c]
lea edi, [edi + ebx + 0x5a827999]
mov dword [ebp - 0x150], edi
mov ebx, dword [ebp - 0x154]
xor ebx, edx
mov edi, dword [ebp - 0x15c]
and ebx, edi
xor ebx, edx
mov edi, dword [ebp - 0x150]
add edi, ebx
mov ebx, dword [ebp - 0x160]
add ebx, edi
mov dword [ebp - 0x158], ebx
mov ebx, dword [ebp - 0x15c]
ror ebx, 2
mov dword [ebp - 0x150], ebx
inc esi
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], edx
cmp esi, 0x14
je 0x42530a
mov edx, dword [ebp - 0x154]
mov ebx, dword [ebp - 0x150]
mov dword [ebp - 0x154], ebx
mov ecx, dword [ebp - 0x158]
jmp 0x42528e
mov ebx, dword [ebp - 0x150]
xor ebx, ecx
mov edi, dword [ebp - 0x154]
xor ebx, edi
mov dword [ebp - 0x15c], ebx
mov ebx, dword [ebp - 0x158]
rol ebx, 5
mov edi, ebx
mov ebx, dword [ebp - 0x15c]
lea ebx, [ebx + edi + 0x6ed9eba1]
add ebx, dword [ebp + esi*4 - 0x14c]
lea edi, [edx + ebx]
mov dword [ebp - 0x15c], edi
ror ecx, 2
mov ebx, ecx
inc esi
mov ecx, dword [ebp - 0x158]
mov edx, dword [ebp - 0x154]
cmp esi, 0x28
je 0x42537f
mov edi, dword [ebp - 0x150]
mov dword [ebp - 0x154], edi
mov dword [ebp - 0x150], ebx
mov ebx, dword [ebp - 0x15c]
mov dword [ebp - 0x158], ebx
jmp 0x42530a
mov edx, dword [ebp - 0x150]
or edx, ebx
mov edi, dword [ebp - 0x158]
and edx, edi
mov ecx, dword [ebp - 0x150]
and ecx, ebx
or edx, ecx
mov ecx, dword [ebp - 0x15c]
rol ecx, 5
mov edi, dword [ebp + esi*4 - 0x14c]
lea ecx, [ecx + edi - 0x70e44324]
add edx, ecx
mov ecx, dword [ebp - 0x154]
add ecx, edx
mov edx, ecx
mov edi, dword [ebp - 0x158]
ror edi, 2
mov dword [ebp - 0x160], edi
inc esi
mov edi, dword [ebp - 0x15c]
mov dword [ebp - 0x158], edi
mov edi, dword [ebp - 0x150]
mov dword [ebp - 0x154], edi
cmp esi, 0x3c
je 0x4253fd
mov dword [ebp - 0x150], ebx
mov ebx, dword [ebp - 0x160]
mov dword [ebp - 0x15c], edx
jmp 0x42537f
mov ecx, dword [ebp - 0x15c]
mov edi, dword [ebp - 0x160]
xor ecx, edi
xor ecx, ebx
mov edi, edx
rol edi, 5
lea ecx, [ecx + edi - 0x359d3e2a]
add ecx, dword [ebp + esi*4 - 0x14c]
mov edi, dword [ebp - 0x150]
add edi, ecx
mov ecx, edi
mov edi, dword [ebp - 0x15c]
ror edi, 2
inc esi
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x150], ebx
cmp esi, 0x50
je 0x425455
mov ebx, dword [ebp - 0x160]
mov dword [ebp - 0x160], edi
mov edx, ecx
jmp 0x4253fd
mov esi, dword [ebp - 0x164]
add esi, ecx
mov dword [eax], esi
mov esi, dword [ebp - 0x168]
add esi, edx
mov dword [eax + 4], esi
mov edx, dword [ebp - 0x16c]
add edx, edi
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x170]
mov esi, dword [ebp - 0x160]
add edx, esi
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x174]
add edx, ebx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x5c], edx
add esp, 0x168
pop ebx
pop esi
pop edi
pop ebp
ret