Function at 0x8d98a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
mov ebx, ecx
lea esi, [edx + 2]
push edi
mov dword [ebp - 0x10], ebx
xor edi, edi
jmp 0x8d98c8
movzx edx, byte [esi - 2]
lea esi, [esi + 4]
movzx eax, byte [esi - 5]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 4]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 3]
shl edx, 8
or edx, eax
mov dword [ebp + edi*4 - 0x154], edx
inc edi
cmp edi, 0x10
jb 0x8d98c8
mov eax, dword [ebx + 8]
lea edx, [ebp - 0x14c]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov dword [ebp - 8], eax
mov eax, ecx
mov ecx, 0x40
mov esi, dword [eax + 0x18]
mov eax, dword [edx + 0x2c]
lea edx, [edx + 4]
xor eax, dword [edx + 0x14]
xor eax, dword [edx - 0xc]
xor eax, dword [edx - 4]
rol eax, 1
mov dword [edx + 0x34], eax
sub ecx, 1
jne 0x8d991c
mov ecx, dword [ebp - 4]
xor eax, eax
mov edx, ecx
mov ecx, ebx
xor ecx, edi
rol edx, 5
and ecx, dword [ebp - 8]
rol dword [ebp - 8], 0x1e
xor ecx, ebx
add ecx, 0x5a827999
add edx, ecx
mov ecx, edi
xor ecx, dword [ebp - 8]
and ecx, dword [ebp - 4]
add edx, dword [ebp + eax*4 - 0x154]
xor ecx, edi
rol dword [ebp - 4], 0x1e
add esi, edx
add ecx, 0x5a827999
mov edx, esi
rol edx, 5
add edx, ecx
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp - 4]
add edx, dword [ebp + eax*4 - 0x150]
and ecx, esi
xor ecx, dword [ebp - 8]
add ebx, edx
add ecx, 0x5a827999
rol esi, 0x1e
mov edx, ebx
rol edx, 5
add edx, ecx
mov ecx, esi
xor ecx, dword [ebp - 4]
add edx, dword [ebp + eax*4 - 0x14c]
and ecx, ebx
xor ecx, dword [ebp - 4]
add edi, edx
mov edx, edi
rol ebx, 0x1e
rol edx, 5
add edx, ecx
mov ecx, dword [ebp - 8]
add edx, dword [ebp + eax*4 - 0x148]
add ecx, 0x5a827999
add ecx, edx
mov edx, ecx
mov dword [ebp - 8], ecx
mov ecx, esi
rol edx, 5
xor ecx, ebx
and ecx, edi
rol edi, 0x1e
xor ecx, esi
add edx, ecx
mov ecx, dword [ebp - 4]
add edx, dword [ebp + eax*4 - 0x144]
add ecx, 0x5a827999
add ecx, edx
add eax, 5
mov dword [ebp - 4], ecx
cmp eax, 0x14
jb 0x8d993a
mov dword [ebp - 0xc], esi
cmp eax, 0x28
jae 0x8d9acb
mov edx, ecx
mov ecx, ebx
xor ecx, edi
rol edx, 5
xor ecx, dword [ebp - 8]
rol dword [ebp - 8], 0x1e
add ecx, 0x6ed9eba1
add edx, ecx
mov ecx, edi
add edx, dword [ebp + eax*4 - 0x154]
xor ecx, dword [ebp - 8]
add esi, edx
xor ecx, dword [ebp - 4]
mov edx, esi
rol dword [ebp - 4], 0x1e
add ecx, 0x6ed9eba1
rol edx, 5
add edx, ecx
mov ecx, esi
add edx, dword [ebp + eax*4 - 0x150]
xor ecx, dword [ebp - 8]
add ebx, edx
xor ecx, dword [ebp - 4]
mov edx, ebx
add ecx, 0x6ed9eba1
rol edx, 5
add edx, ecx
rol esi, 0x1e
add edx, dword [ebp + eax*4 - 0x14c]
mov ecx, esi
add edi, edx
xor ecx, ebx
xor ecx, dword [ebp - 4]
mov edx, edi
rol edx, 5
add edx, ecx
rol ebx, 0x1e
add edx, dword [ebp + eax*4 - 0x148]
mov ecx, dword [ebp - 8]
add ecx, 0x6ed9eba1
add ecx, edx
mov edx, ecx
mov dword [ebp - 8], ecx
mov ecx, esi
rol edx, 5
xor ecx, ebx
xor ecx, edi
rol edi, 0x1e
add edx, ecx
mov ecx, dword [ebp - 4]
add edx, dword [ebp + eax*4 - 0x144]
add ecx, 0x6ed9eba1
add ecx, edx
add eax, 5
mov dword [ebp - 4], ecx
cmp eax, 0x28
jb 0x8d9a0d
mov dword [ebp - 0xc], esi
cmp eax, 0x3c
jae 0x8d9bc0
lea esp, [esp]
mov esi, ecx
mov edx, edi
or edx, dword [ebp - 8]
mov ecx, edi
and ecx, dword [ebp - 8]
and edx, ebx
or edx, ecx
rol esi, 5
add edx, dword [ebp + eax*4 - 0x154]
add edx, dword [ebp - 0xc]
lea ecx, [esi - 0x70e44324]
add ecx, edx
mov edx, dword [ebp - 8]
rol edx, 0x1e
mov esi, ecx
mov dword [ebp - 8], edx
or edx, dword [ebp - 4]
and edx, edi
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
and ecx, dword [ebp - 4]
or edx, ecx
rol dword [ebp - 4], 0x1e
add edx, dword [ebp + eax*4 - 0x150]
mov ecx, dword [ebp - 0xc]
add edx, ebx
rol esi, 5
lea ebx, [esi - 0x70e44324]
add ebx, edx
mov edx, ecx
or edx, dword [ebp - 4]
mov esi, ebx
and edx, dword [ebp - 8]
and ecx, dword [ebp - 4]
or edx, ecx
rol esi, 5
add edx, dword [ebp + eax*4 - 0x14c]
mov ecx, dword [ebp - 0xc]
add edx, edi
rol ecx, 0x1e
lea edi, [esi - 0x70e44324]
mov dword [ebp - 0xc], ecx
add edi, edx
mov edx, ecx
or edx, ebx
and ecx, ebx
and edx, dword [ebp - 4]
mov esi, edi
or edx, ecx
rol esi, 5
add edx, dword [ebp + eax*4 - 0x148]
add edx, dword [ebp - 8]
rol ebx, 0x1e
lea ecx, [esi - 0x70e44324]
add ecx, edx
mov edx, ebx
mov esi, ecx
mov dword [ebp - 8], ecx
or edx, edi
rol esi, 5
and edx, dword [ebp - 0xc]
mov ecx, ebx
and ecx, edi
rol edi, 0x1e
or edx, ecx
add edx, dword [ebp + eax*4 - 0x144]
lea ecx, [esi - 0x70e44324]
add edx, dword [ebp - 4]
add eax, 5
add ecx, edx
mov dword [ebp - 4], ecx
cmp eax, 0x3c
jb 0x8d9ad8
mov esi, dword [ebp - 0xc]
cmp eax, 0x50
jae 0x8d9c80
mov edx, ecx
mov ecx, ebx
xor ecx, edi
rol edx, 5
xor ecx, dword [ebp - 8]
add ecx, dword [ebp + eax*4 - 0x154]
rol dword [ebp - 8], 0x1e
add ecx, esi
lea esi, [edx - 0x359d3e2a]
add esi, ecx
mov ecx, edi
xor ecx, dword [ebp - 8]
mov edx, esi
xor ecx, dword [ebp - 4]
add ecx, dword [ebp + eax*4 - 0x150]
rol dword [ebp - 4], 0x1e
add ecx, ebx
rol edx, 5
lea ebx, [edx - 0x359d3e2a]
add ebx, ecx
mov ecx, esi
xor ecx, dword [ebp - 8]
mov edx, ebx
xor ecx, dword [ebp - 4]
add ecx, dword [ebp + eax*4 - 0x14c]
add ecx, edi
rol edx, 5
rol esi, 0x1e
lea edi, [edx - 0x359d3e2a]
add edi, ecx
mov ecx, esi
xor ecx, ebx
mov edx, edi
xor ecx, dword [ebp - 4]
add ecx, dword [ebp + eax*4 - 0x148]
add ecx, dword [ebp - 8]
rol edx, 5
add edx, 0xca62c1d6
rol ebx, 0x1e
add ecx, edx
mov edx, ecx
mov dword [ebp - 8], ecx
mov ecx, esi
rol edx, 5
xor ecx, ebx
xor ecx, edi
rol edi, 0x1e
add ecx, 0xca62c1d6
add ecx, dword [ebp + eax*4 - 0x144]
add eax, 5
add ecx, dword [ebp - 4]
add ecx, edx
mov dword [ebp - 4], ecx
cmp eax, 0x50
jb 0x8d9bc9
mov eax, dword [ebp - 0x14]
add eax, ecx
mov ecx, dword [ebp - 0x10]
add dword [ecx + 0x10], edi
add dword [ecx + 0x18], esi
add dword [ecx + 0x14], ebx
pop edi
mov dword [ecx + 8], eax
mov eax, dword [ebp - 8]
add dword [ecx + 0xc], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret