Function at 0x40e578
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x20
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1c], eax
mov edi, edx
add ecx, edx
mov dword [ebp - 0x28], ecx
mov ebx, dword [ebp - 0x20]
mov ecx, dword [edi]
lea edx, [ebx + ecx - 0x28955b88]
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x1c]
add eax, edx
rol eax, 7
add eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov esi, dword [edi + 4]
lea ecx, [edx + esi - 0x173848aa]
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x10]
and edx, eax
xor edx, dword [ebp - 0x18]
add edx, ecx
rol edx, 0xc
add edx, eax
mov esi, dword [ebp - 0x18]
mov ecx, dword [edi + 8]
lea ebx, [esi + ecx + 0x242070db]
mov ecx, dword [ebp - 0x10]
xor ecx, eax
and ecx, edx
xor ecx, dword [ebp - 0x10]
add ecx, ebx
rol ecx, 0x11
add ecx, edx
mov esi, dword [ebp - 0x10]
mov ebx, dword [edi + 0xc]
lea ebx, [esi + ebx - 0x3e423112]
mov dword [ebp - 0x24], ebx
mov ebx, edx
xor ebx, eax
and ebx, ecx
xor ebx, eax
add ebx, dword [ebp - 0x24]
rol ebx, 0x16
add ebx, ecx
mov esi, dword [edi + 0x10]
lea eax, [eax + esi - 0xa83f051]
mov dword [ebp - 0x24], eax
mov eax, ecx
xor eax, edx
and eax, ebx
xor eax, edx
add eax, dword [ebp - 0x24]
rol eax, 7
add eax, ebx
mov esi, dword [edi + 0x14]
lea edx, [edx + esi + 0x4787c62a]
mov dword [ebp - 0x24], edx
mov edx, ebx
xor edx, ecx
and edx, eax
xor edx, ecx
add edx, dword [ebp - 0x24]
rol edx, 0xc
add edx, eax
mov esi, dword [edi + 0x18]
lea ecx, [ecx + esi - 0x57cfb9ed]
mov dword [ebp - 0x24], ecx
mov ecx, eax
xor ecx, ebx
and ecx, edx
xor ecx, ebx
add ecx, dword [ebp - 0x24]
rol ecx, 0x11
add ecx, edx
mov esi, dword [edi + 0x1c]
lea ebx, [ebx + esi - 0x2b96aff]
mov dword [ebp - 0x24], ebx
mov ebx, edx
xor ebx, eax
and ebx, ecx
xor ebx, eax
add ebx, dword [ebp - 0x24]
rol ebx, 0x16
add ebx, ecx
mov esi, dword [edi + 0x20]
lea eax, [eax + esi + 0x698098d8]
mov dword [ebp - 0x24], eax
mov eax, ecx
xor eax, edx
and eax, ebx
xor eax, edx
add eax, dword [ebp - 0x24]
rol eax, 7
add eax, ebx
mov esi, dword [edi + 0x24]
lea edx, [edx + esi - 0x74bb0851]
mov dword [ebp - 0x24], edx
mov edx, ebx
xor edx, ecx
and edx, eax
xor edx, ecx
add edx, dword [ebp - 0x24]
rol edx, 0xc
add edx, eax
mov esi, dword [edi + 0x28]
lea ecx, [ecx + esi - 0xa44f]
mov dword [ebp - 0x24], ecx
mov ecx, eax
xor ecx, ebx
and ecx, edx
xor ecx, ebx
add ecx, dword [ebp - 0x24]
rol ecx, 0x11
add ecx, edx
mov esi, dword [edi + 0x2c]
lea ebx, [ebx + esi - 0x76a32842]
mov dword [ebp - 0x24], ebx
mov ebx, edx
xor ebx, eax
and ebx, ecx
xor ebx, eax
add ebx, dword [ebp - 0x24]
rol ebx, 0x16
add ebx, ecx
mov esi, dword [edi + 0x30]
lea eax, [eax + esi + 0x6b901122]
mov dword [ebp - 0x24], eax
mov eax, ecx
xor eax, edx
and eax, ebx
xor eax, edx
add eax, dword [ebp - 0x24]
rol eax, 7
add eax, ebx
mov esi, dword [edi + 0x34]
lea edx, [edx + esi - 0x2678e6d]
mov dword [ebp - 0x24], edx
mov edx, ebx
xor edx, ecx
and edx, eax
xor edx, ecx
add edx, dword [ebp - 0x24]
rol edx, 0xc
add edx, eax
mov esi, dword [edi + 0x38]
lea ecx, [ecx + esi - 0x5986bc72]
mov dword [ebp - 0x24], ecx
mov ecx, eax
xor ecx, ebx
and ecx, edx
xor ecx, ebx
add ecx, dword [ebp - 0x24]
rol ecx, 0x11
add ecx, edx
mov esi, dword [edi + 0x3c]
lea ebx, [ebx + esi + 0x49b40821]
mov dword [ebp - 0x24], ebx
mov ebx, edx
xor ebx, eax
and ebx, ecx
xor ebx, eax
add ebx, dword [ebp - 0x24]
rol ebx, 0x16
add ebx, ecx
mov esi, dword [edi + 4]
lea eax, [esi + eax - 0x9e1da9e]
mov dword [ebp - 0x24], eax
mov eax, ebx
xor eax, ecx
and eax, edx
xor eax, ecx
add eax, dword [ebp - 0x24]
rol eax, 5
add eax, ebx
mov esi, dword [edi + 0x18]
lea edx, [esi + edx - 0x3fbf4cc0]
mov dword [ebp - 0x24], edx
mov edx, eax
xor edx, ebx
and edx, ecx
xor edx, ebx
add edx, dword [ebp - 0x24]
rol edx, 9
add edx, eax
mov esi, dword [edi + 0x2c]
lea ecx, [esi + ecx + 0x265e5a51]
mov dword [ebp - 0x24], ecx
mov ecx, edx
xor ecx, eax
and ecx, ebx
xor ecx, eax
add ecx, dword [ebp - 0x24]
rol ecx, 0xe
add ecx, edx
mov esi, dword [edi]
lea ebx, [esi + ebx - 0x16493856]
mov dword [ebp - 0x24], ebx
mov ebx, ecx
xor ebx, edx
and ebx, eax
xor ebx, edx
add ebx, dword [ebp - 0x24]
rol ebx, 0x14
add ebx, ecx
mov esi, dword [edi + 0x14]
lea eax, [esi + eax - 0x29d0efa3]
mov dword [ebp - 0x24], eax
mov eax, ebx
xor eax, ecx
and eax, edx
xor eax, ecx
add eax, dword [ebp - 0x24]
rol eax, 5
add eax, ebx
mov esi, dword [edi + 0x28]
lea edx, [esi + edx + 0x2441453]
mov dword [ebp - 0x24], edx
mov edx, eax
xor edx, ebx
and edx, ecx
xor edx, ebx
add edx, dword [ebp - 0x24]
rol edx, 9
add edx, eax
mov esi, dword [edi + 0x3c]
lea ecx, [esi + ecx - 0x275e197f]
mov dword [ebp - 0x24], ecx
mov ecx, edx
xor ecx, eax
and ecx, ebx
xor ecx, eax
add ecx, dword [ebp - 0x24]
rol ecx, 0xe
add ecx, edx
mov esi, dword [edi + 0x10]
lea ebx, [esi + ebx - 0x182c0438]
mov dword [ebp - 0x24], ebx
mov ebx, ecx
xor ebx, edx
and ebx, eax
xor ebx, edx
add ebx, dword [ebp - 0x24]
rol ebx, 0x14
add ebx, ecx
mov esi, dword [edi + 0x24]
lea eax, [esi + eax + 0x21e1cde6]
mov dword [ebp - 0x24], eax
mov eax, ebx
xor eax, ecx
and eax, edx
xor eax, ecx
add eax, dword [ebp - 0x24]
rol eax, 5
add eax, ebx
mov esi, dword [edi + 0x38]
lea edx, [esi + edx - 0x3cc8f82a]
mov dword [ebp - 0x24], edx
mov edx, eax
xor edx, ebx
and edx, ecx
xor edx, ebx
add edx, dword [ebp - 0x24]
rol edx, 9
add edx, eax
mov esi, dword [edi + 0xc]
lea ecx, [esi + ecx - 0xb2af279]
mov dword [ebp - 0x24], ecx
mov ecx, edx
xor ecx, eax
and ecx, ebx
xor ecx, eax
add ecx, dword [ebp - 0x24]
rol ecx, 0xe
add ecx, edx
mov esi, dword [edi + 0x20]
lea ebx, [esi + ebx + 0x455a14ed]
mov dword [ebp - 0x24], ebx
mov ebx, ecx
xor ebx, edx
and ebx, eax
xor ebx, edx
add ebx, dword [ebp - 0x24]
rol ebx, 0x14
add ebx, ecx
mov esi, dword [edi + 0x34]
lea eax, [esi + eax - 0x561c16fb]
mov dword [ebp - 0x24], eax
mov eax, ebx
xor eax, ecx
and eax, edx
xor eax, ecx
add eax, dword [ebp - 0x24]
rol eax, 5
add eax, ebx
mov esi, dword [edi + 8]
lea edx, [esi + edx - 0x3105c08]
mov dword [ebp - 0x24], edx
mov edx, eax
xor edx, ebx
and edx, ecx
xor edx, ebx
add edx, dword [ebp - 0x24]
rol edx, 9
add edx, eax
mov esi, dword [edi + 0x1c]
lea ecx, [esi + ecx + 0x676f02d9]
mov dword [ebp - 0x24], ecx
mov ecx, edx
xor ecx, eax
and ecx, ebx
xor ecx, eax
add ecx, dword [ebp - 0x24]
rol ecx, 0xe
add ecx, edx
mov esi, ecx
xor esi, edx
mov dword [ebp - 0x2c], esi
mov esi, dword [edi + 0x30]
lea ebx, [esi + ebx - 0x72d5b376]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x2c]
and ebx, eax
xor ebx, edx
add ebx, dword [ebp - 0x24]
rol ebx, 0x14
add ebx, ecx
mov esi, dword [edi + 0x14]
lea eax, [esi + eax - 0x5c6be]
mov esi, dword [ebp - 0x2c]
xor esi, ebx
add esi, eax
rol esi, 4
add esi, ebx
mov eax, dword [edi + 0x20]
lea edx, [eax + edx - 0x788e097f]
mov eax, ebx
xor eax, ecx
xor eax, esi
add edx, eax
rol edx, 0xb
add edx, esi
mov eax, dword [edi + 0x2c]
lea ecx, [eax + ecx + 0x6d9d6122]
mov eax, esi
xor eax, ebx
xor eax, edx
add ecx, eax
rol ecx, 0x10
add ecx, edx
mov eax, dword [edi + 0x38]
lea ebx, [eax + ebx - 0x21ac7f4]
mov eax, edx
xor eax, esi
xor eax, ecx
add ebx, eax
rol ebx, 0x17
add ebx, ecx
mov eax, dword [edi + 4]
lea esi, [eax + esi - 0x5b4115bc]
mov eax, ecx
xor eax, edx
xor eax, ebx
add eax, esi
rol eax, 4
add eax, ebx
mov esi, dword [edi + 0x10]
lea edx, [esi + edx + 0x4bdecfa9]
mov dword [ebp - 0x24], edx
mov edx, ebx
xor edx, ecx
xor edx, eax
mov esi, dword [ebp - 0x24]
add esi, edx
rol esi, 0xb
add esi, eax
mov edx, dword [edi + 0x1c]
lea ecx, [edx + ecx - 0x944b4a0]
mov edx, eax
xor edx, ebx
xor edx, esi
add ecx, edx
rol ecx, 0x10
add ecx, esi
mov edx, dword [edi + 0x28]
lea ebx, [edx + ebx - 0x41404390]
mov edx, esi
xor edx, eax
xor edx, ecx
add edx, ebx
rol edx, 0x17
add edx, ecx
mov ebx, dword [edi + 0x34]
lea eax, [ebx + eax + 0x289b7ec6]
mov dword [ebp - 0x24], eax
mov eax, ecx
xor eax, esi
xor eax, edx
mov ebx, dword [ebp - 0x24]
add ebx, eax
rol ebx, 4
add ebx, edx
mov eax, dword [edi]
lea esi, [eax + esi - 0x155ed806]
mov eax, edx
xor eax, ecx
xor eax, ebx
add esi, eax
rol esi, 0xb
add esi, ebx
mov eax, dword [edi + 0xc]
lea ecx, [eax + ecx - 0x2b10cf7b]
mov eax, ebx
xor eax, edx
xor eax, esi
add eax, ecx
rol eax, 0x10
add eax, esi
mov ecx, dword [edi + 0x18]
lea edx, [ecx + edx + 0x4881d05]
mov dword [ebp - 0x24], edx
mov edx, esi
xor edx, ebx
xor edx, eax
mov ecx, dword [ebp - 0x24]
add ecx, edx
rol ecx, 0x17
add ecx, eax
mov edx, dword [edi + 0x24]
lea ebx, [edx + ebx - 0x262b2fc7]
mov edx, eax
xor edx, esi
xor edx, ecx
add ebx, edx
rol ebx, 4
add ebx, ecx
mov edx, dword [edi + 0x30]
lea esi, [edx + esi - 0x1924661b]
mov edx, ecx
xor edx, eax
xor edx, ebx
add edx, esi
rol edx, 0xb
add edx, ebx
mov esi, dword [edi + 0x3c]
lea eax, [esi + eax + 0x1fa27cf8]
mov dword [ebp - 0x24], eax
mov eax, ebx
xor eax, ecx
xor eax, edx
mov esi, dword [ebp - 0x24]
add esi, eax
rol esi, 0x10
add esi, edx
mov eax, dword [edi + 8]
lea ecx, [eax + ecx - 0x3b53a99b]
mov eax, edx
xor eax, ebx
xor eax, esi
add ecx, eax
rol ecx, 0x17
add ecx, esi
mov eax, dword [edi]
lea ebx, [eax + ebx - 0xbd6ddbc]
mov eax, edx
not eax
or eax, ecx
xor eax, esi
add eax, ebx
rol eax, 6
add eax, ecx
mov ebx, dword [edi + 0x1c]
lea edx, [ebx + edx + 0x432aff97]
mov dword [ebp - 0x24], edx
mov edx, esi
not edx
or edx, eax
xor edx, ecx
mov ebx, dword [ebp - 0x24]
add ebx, edx
rol ebx, 0xa
add ebx, eax
mov edx, dword [edi + 0x38]
lea esi, [edx + esi - 0x546bdc59]
mov edx, ecx
not edx
or edx, ebx
xor edx, eax
add esi, edx
rol esi, 0xf
add esi, ebx
mov edx, dword [edi + 0x14]
lea ecx, [edx + ecx - 0x36c5fc7]
mov edx, eax
not edx
or edx, esi
xor edx, ebx
add edx, ecx
rol edx, 0x15
add edx, esi
mov ecx, dword [edi + 0x30]
lea eax, [ecx + eax + 0x655b59c3]
mov dword [ebp - 0x24], eax
mov eax, ebx
not eax
or eax, edx
xor eax, esi
mov ecx, dword [ebp - 0x24]
add ecx, eax
rol ecx, 6
add ecx, edx
mov eax, dword [edi + 0xc]
lea ebx, [eax + ebx - 0x70f3336e]
mov eax, esi
not eax
or eax, ecx
xor eax, edx
add ebx, eax
rol ebx, 0xa
add ebx, ecx
mov eax, dword [edi + 0x28]
lea esi, [eax + esi - 0x100b83]
mov eax, edx
not eax
or eax, ebx
xor eax, ecx
add eax, esi
rol eax, 0xf
add eax, ebx
mov esi, dword [edi + 4]
lea edx, [esi + edx - 0x7a7ba22f]
mov dword [ebp - 0x24], edx
mov edx, ecx
not edx
or edx, eax
xor edx, ebx
mov esi, dword [ebp - 0x24]
add esi, edx
rol esi, 0x15
add esi, eax
mov edx, dword [edi + 0x20]
lea ecx, [edx + ecx + 0x6fa87e4f]
mov edx, ebx
not edx
or edx, esi
xor edx, eax
add ecx, edx
rol ecx, 6
add ecx, esi
mov edx, dword [edi + 0x3c]
lea ebx, [edx + ebx - 0x1d31920]
mov edx, eax
not edx
or edx, ecx
xor edx, esi
add edx, ebx
rol edx, 0xa
add edx, ecx
mov ebx, dword [edi + 0x18]
lea eax, [ebx + eax - 0x5cfebcec]
mov dword [ebp - 0x24], eax
mov eax, esi
not eax
or eax, edx
xor eax, ecx
mov ebx, dword [ebp - 0x24]
add ebx, eax
rol ebx, 0xf
add ebx, edx
mov eax, dword [edi + 0x34]
lea esi, [eax + esi + 0x4e0811a1]
mov eax, ecx
not eax
or eax, ebx
xor eax, edx
add esi, eax
rol esi, 0x15
add esi, ebx
mov eax, dword [edi + 0x10]
lea ecx, [eax + ecx - 0x8ac817e]
mov eax, edx
not eax
or eax, esi
xor eax, ebx
add eax, ecx
rol eax, 6
add eax, esi
mov ecx, dword [edi + 0x2c]
lea edx, [ecx + edx - 0x42c50dcb]
mov dword [ebp - 0x24], edx
mov edx, ebx
not edx
or edx, eax
xor edx, esi
mov ecx, dword [ebp - 0x24]
add ecx, edx
rol ecx, 0xa
add ecx, eax
mov edx, dword [edi + 8]
lea ebx, [edx + ebx + 0x2ad7d2bb]
mov edx, esi
not edx
or edx, ecx
xor edx, eax
add ebx, edx
rol ebx, 0xf
add ebx, ecx
mov edx, dword [edi + 0x24]
lea esi, [edx + esi - 0x14792c6f]
mov edx, eax
not edx
or edx, ebx
xor edx, ecx
add edx, esi
rol edx, 0x15
add edx, ebx
add dword [ebp - 0x20], eax
add dword [ebp - 0x10], edx
add dword [ebp - 0x18], ebx
add dword [ebp - 0x1c], ecx
add edi, 0x40
cmp edi, dword [ebp - 0x28]
jne 0x40e5ac
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
mov ebx, dword [ebp - 0x18]
mov dword [eax + 0x10], ebx
mov esi, dword [ebp - 0x1c]
mov dword [eax + 0x14], esi
mov eax, edi
add esp, 0x20
pop ebx
pop esi
pop edi
pop ebp
ret