Function at 0x41fa20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
sub eax, 0x40
mov dword [ebp - 0x28], ecx
push esi
mov esi, dword [ecx + 8]
push edi
mov edi, dword [ecx + 4]
js 0x4200ff
mov ecx, dword [ebp - 0x14]
add edx, 0x38
add eax, 0x40
mov dword [ebp - 4], ecx
shr eax, 6
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp + 8], edx
mov dword [ebp - 0x14], eax
mov eax, ebx
xor eax, esi
and eax, edi
xor eax, ebx
add eax, 0xd76aa478
add eax, dword [edx - 0x38]
add ecx, eax
mov eax, esi
xor eax, edi
rol ecx, 7
add ecx, edi
and eax, ecx
xor eax, esi
add eax, dword [edx - 0x34]
lea edx, [ebx - 0x173848aa]
add edx, eax
mov ebx, dword [ebp + 8]
mov eax, edi
rol edx, 0xc
xor eax, ecx
add edx, ecx
and eax, edx
xor eax, edi
add eax, 0x242070db
add eax, dword [ebx - 0x30]
add esi, eax
mov eax, edx
xor eax, ecx
ror esi, 0xf
add esi, edx
and eax, esi
xor eax, ecx
add eax, 0xc1bdceee
add eax, dword [ebx - 0x2c]
add edi, eax
mov eax, edx
xor eax, esi
ror edi, 0xa
add edi, esi
and eax, edi
xor eax, edx
add eax, 0xf57c0faf
add eax, dword [ebx - 0x28]
add ecx, eax
mov eax, esi
xor eax, edi
rol ecx, 7
add ecx, edi
and eax, ecx
xor eax, esi
add eax, 0x4787c62a
add eax, dword [ebx - 0x24]
add edx, eax
mov eax, edi
xor eax, ecx
rol edx, 0xc
add edx, ecx
and eax, edx
xor eax, edi
add eax, 0xa8304613
add eax, dword [ebx - 0x20]
add esi, eax
mov eax, edx
xor eax, ecx
ror esi, 0xf
add esi, edx
and eax, esi
xor eax, ecx
add eax, 0xfd469501
add eax, dword [ebx - 0x1c]
add edi, eax
mov eax, edx
xor eax, esi
ror edi, 0xa
add edi, esi
and eax, edi
xor eax, edx
add eax, 0x698098d8
add eax, dword [ebx - 0x18]
add ecx, eax
rol ecx, 7
add ecx, edi
mov eax, esi
xor eax, edi
and eax, ecx
xor eax, esi
add eax, dword [ebx - 0x14]
lea ebx, [eax - 0x74bb0851]
mov eax, edi
xor eax, ecx
add ebx, edx
mov edx, dword [ebp + 8]
rol ebx, 0xc
add ebx, ecx
and eax, ebx
xor eax, edi
add eax, 0xffff5bb1
add eax, dword [edx - 0x10]
add esi, eax
mov eax, ebx
xor eax, ecx
ror esi, 0xf
add esi, ebx
and eax, esi
mov dword [ebp - 0x18], esi
xor eax, ecx
add eax, 0x895cd7be
add eax, dword [edx - 0xc]
add edi, eax
mov eax, ebx
xor eax, esi
ror edi, 0xa
add edi, esi
and eax, edi
mov dword [ebp - 0x1c], edi
xor eax, ebx
add eax, dword [edx - 8]
lea edx, [ecx + 0x6b901122]
mov ecx, dword [ebp + 8]
add edx, eax
mov eax, esi
rol edx, 7
xor eax, edi
add edx, edi
and eax, edx
xor eax, esi
lea esi, [ebx - 0x2678e6d]
add eax, dword [ecx - 4]
mov ebx, dword [ecx]
add esi, eax
mov eax, edi
rol esi, 0xc
xor eax, edx
add esi, edx
and eax, esi
mov dword [ebp - 0x20], esi
xor eax, edi
mov edi, dword [ebp - 0x18]
add eax, ebx
add edi, 0xa679438e
add edi, eax
mov eax, esi
xor eax, edx
ror edi, 0xf
add edi, esi
and eax, edi
mov dword [ebp - 0x18], edi
xor eax, edx
add eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x1c]
add ecx, 0x49b40821
add ecx, eax
mov eax, edi
ror ecx, 0xa
add ecx, edi
xor eax, ecx
mov dword [ebp - 0x1c], ecx
and eax, esi
mov esi, dword [ebp + 8]
xor eax, edi
add eax, 0xf61e2562
add eax, dword [esi - 0x34]
add edx, eax
mov eax, ecx
rol edx, 5
add edx, ecx
xor eax, edx
mov dword [ebp - 0x24], edx
and eax, edi
mov edi, dword [ebp + 8]
xor eax, ecx
add eax, dword [esi - 0x20]
mov esi, dword [ebp - 0x20]
add esi, 0xc040b340
add esi, eax
rol esi, 9
add esi, edx
mov eax, esi
mov dword [ebp - 0x20], esi
xor eax, edx
and eax, ecx
mov ecx, dword [ebp + 8]
xor eax, edx
add eax, dword [edi - 0xc]
mov edi, dword [ebp - 0x18]
add edi, 0x265e5a51
add edi, eax
mov eax, esi
rol edi, 0xe
add edi, esi
xor eax, edi
mov dword [ebp - 0x18], edi
and eax, edx
mov edx, dword [ebp + 8]
xor eax, esi
add eax, dword [ecx - 0x38]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xe9b6c7aa
add ecx, eax
mov eax, edi
ror ecx, 0xc
add ecx, edi
xor eax, ecx
mov dword [ebp - 0x1c], ecx
and eax, esi
mov esi, dword [ebp + 8]
xor eax, edi
add eax, dword [edx - 0x24]
mov edx, dword [ebp - 0x24]
add edx, 0xd62f105d
add edx, eax
mov eax, ecx
rol edx, 5
add edx, ecx
xor eax, edx
mov dword [ebp - 0x24], edx
and eax, edi
mov edi, dword [ebp + 8]
xor eax, ecx
add eax, dword [esi - 0x10]
mov esi, dword [ebp - 0x20]
add esi, 0x2441453
add esi, eax
rol esi, 9
add esi, edx
mov eax, esi
xor eax, edx
and eax, ecx
mov ecx, dword [ebp + 8]
xor eax, edx
add eax, dword [edi + 4]
mov edi, dword [ebp - 0x18]
add edi, 0xd8a1e681
add edi, eax
mov eax, esi
rol edi, 0xe
add edi, esi
xor eax, edi
and eax, edx
xor eax, esi
add eax, dword [ecx - 0x28]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xe7d3fbc8
add ecx, eax
mov edx, dword [ebp + 8]
ror ecx, 0xc
mov eax, edi
add ecx, edi
xor eax, ecx
and eax, esi
xor eax, edi
add eax, dword [edx - 0x14]
mov edx, dword [ebp - 0x24]
add edx, 0x21e1cde6
add edx, eax
mov eax, ecx
rol edx, 5
add edx, ecx
xor eax, edx
and eax, edi
xor eax, ecx
add eax, ebx
lea ebx, [esi - 0x3cc8f82a]
add ebx, eax
mov esi, dword [ebp + 8]
rol ebx, 9
add ebx, edx
mov eax, ebx
xor eax, edx
and eax, ecx
xor eax, edx
add eax, 0xf4d50d87
add eax, dword [esi - 0x2c]
add edi, eax
mov eax, ebx
rol edi, 0xe
add edi, ebx
xor eax, edi
mov dword [ebp - 0x24], edi
and eax, edx
xor eax, ebx
add eax, 0x455a14ed
add eax, dword [esi - 0x18]
add ecx, eax
mov eax, edi
ror ecx, 0xc
add ecx, edi
xor eax, ecx
mov dword [ebp - 0x20], ecx
and eax, ebx
xor eax, edi
add eax, dword [esi - 4]
lea esi, [edx - 0x561c16fb]
mov edx, dword [ebp + 8]
add esi, eax
rol esi, 5
mov eax, ecx
add esi, ecx
xor eax, esi
and eax, edi
lea edi, [ebx - 0x3105c08]
mov ebx, dword [ebp - 0x24]
xor eax, ecx
add eax, dword [edx - 0x30]
add ebx, 0x676f02d9
add edi, eax
rol edi, 9
add edi, esi
mov eax, edi
xor eax, esi
and eax, ecx
mov ecx, edi
xor eax, esi
add eax, dword [edx - 0x1c]
add ebx, eax
rol ebx, 0xe
add ebx, edi
xor ecx, ebx
mov eax, ecx
and eax, esi
xor eax, edi
add eax, dword [edx - 8]
mov edx, dword [ebp - 0x20]
add edx, 0x8d2a4c8a
add edx, eax
mov eax, dword [ebp + 8]
ror edx, 0xc
add edx, ebx
xor ecx, edx
add ecx, 0xfffa3942
add ecx, dword [eax - 0x24]
mov eax, ebx
xor eax, edx
add esi, ecx
mov ecx, dword [ebp + 8]
rol esi, 4
add esi, edx
xor eax, esi
add eax, 0x8771f681
add eax, dword [ecx - 0x18]
add edi, eax
rol edi, 0xb
add edi, esi
mov eax, edi
mov dword [ebp - 0x24], edi
xor eax, edx
xor eax, esi
add eax, 0x6d9d6122
add eax, dword [ecx - 0xc]
mov ecx, edi
add ebx, eax
rol ebx, 0x10
add ebx, edi
mov edi, dword [ebp + 8]
xor ecx, ebx
mov eax, ecx
xor eax, esi
add eax, 0xfde5380c
add eax, dword [edi]
add edx, eax
mov eax, edi
ror edx, 9
add edx, ebx
xor ecx, edx
add ecx, 0xa4beea44
add ecx, dword [eax - 0x34]
mov eax, ebx
xor eax, edx
add esi, ecx
mov ecx, edi
rol esi, 4
mov edi, dword [ebp - 0x24]
add esi, edx
xor eax, esi
add edi, 0x4bdecfa9
add eax, dword [ecx - 0x28]
add edi, eax
rol edi, 0xb
add edi, esi
mov eax, edi
mov dword [ebp - 0x24], edi
xor eax, edx
xor eax, esi
add eax, 0xf6bb4b60
add eax, dword [ecx - 0x1c]
mov ecx, edi
add ebx, eax
rol ebx, 0x10
add ebx, edi
mov edi, dword [ebp + 8]
xor ecx, ebx
mov eax, ecx
xor eax, esi
add eax, 0xbebfbc70
add eax, dword [edi - 0x10]
add edx, eax
mov eax, edi
ror edx, 9
add edx, ebx
xor ecx, edx
add ecx, 0x289b7ec6
add ecx, dword [eax - 4]
add esi, ecx
rol esi, 4
add esi, edx
mov ecx, edi
mov eax, ebx
xor eax, edx
mov edi, dword [ebp - 0x24]
xor eax, esi
add edi, 0xeaa127fa
add eax, dword [ecx - 0x38]
add edi, eax
rol edi, 0xb
add edi, esi
mov eax, edi
mov dword [ebp - 0x24], edi
xor eax, edx
xor eax, esi
add eax, 0xd4ef3085
add eax, dword [ecx - 0x2c]
mov ecx, edi
add ebx, eax
rol ebx, 0x10
add ebx, edi
mov edi, dword [ebp + 8]
xor ecx, ebx
mov eax, ecx
xor eax, esi
add esi, 0xd9d4d039
add eax, 0x4881d05
add eax, dword [edi - 0x20]
add edx, eax
mov eax, edi
ror edx, 9
add edx, ebx
xor ecx, edx
add ecx, dword [eax - 0x14]
mov eax, ebx
xor eax, edx
add ecx, esi
rol ecx, 4
mov esi, edi
add ecx, edx
xor eax, ecx
add eax, dword [esi - 8]
mov esi, dword [ebp - 0x24]
add esi, 0xe6db99e5
add esi, eax
rol esi, 0xb
add esi, ecx
mov eax, esi
mov dword [ebp - 0x24], esi
xor eax, edx
xor eax, ecx
add eax, dword [edi + 4]
lea edi, [ebx + 0x1fa27cf8]
mov ebx, dword [ebp + 8]
add edi, eax
rol edi, 0x10
mov eax, esi
add edi, esi
xor eax, edi
xor eax, ecx
add eax, 0xc4ac5665
add eax, dword [ebx - 0x30]
add edx, eax
mov eax, esi
not eax
ror edx, 9
add edx, edi
mov esi, ebx
or eax, edx
xor eax, edi
add eax, 0xf4292244
add eax, dword [ebx - 0x38]
add ecx, eax
mov eax, edi
rol ecx, 6
not eax
add ecx, edx
or eax, ecx
xor eax, edx
add eax, dword [esi - 0x1c]
mov esi, dword [ebp - 0x24]
add esi, 0x432aff97
add esi, eax
mov eax, edx
not eax
rol esi, 0xa
add esi, ecx
or eax, esi
xor eax, ecx
add eax, 0xab9423a7
add eax, dword [ebx]
add edi, eax
mov eax, ecx
not eax
rol edi, 0xf
add edi, esi
or eax, edi
xor eax, esi
add eax, 0xfc93a039
add eax, dword [ebx - 0x24]
add edx, eax
mov eax, esi
not eax
ror edx, 0xb
add edx, edi
or eax, edx
xor eax, edi
add eax, 0x655b59c3
add eax, dword [ebx - 8]
add ecx, eax
mov eax, edi
not eax
rol ecx, 6
add ecx, edx
or eax, ecx
xor eax, edx
add eax, 0x8f0ccc92
add eax, dword [ebx - 0x2c]
add esi, eax
mov eax, edx
not eax
rol esi, 0xa
add esi, ecx
or eax, esi
xor eax, ecx
add eax, 0xffeff47d
add eax, dword [ebx - 0x10]
add edi, eax
mov eax, ecx
not eax
rol edi, 0xf
add edi, esi
or eax, edi
xor eax, esi
add eax, 0x85845dd1
add eax, dword [ebx - 0x34]
add edx, eax
mov eax, esi
not eax
ror edx, 0xb
add edx, edi
or eax, edx
xor eax, edi
add eax, 0x6fa87e4f
add eax, dword [ebx - 0x18]
add ecx, eax
mov eax, edi
not eax
rol ecx, 6
add ecx, edx
or eax, ecx
xor eax, edx
add eax, 0xfe2ce6e0
add eax, dword [ebx + 4]
add esi, eax
mov eax, edx
rol esi, 0xa
not eax
add esi, ecx
or eax, esi
xor eax, ecx
add eax, 0xa3014314
add eax, dword [ebx - 0x20]
add edi, eax
mov eax, ecx
not eax
rol edi, 0xf
add edi, esi
or eax, edi
xor eax, esi
add eax, 0x4e0811a1
add eax, dword [ebx - 4]
add edx, eax
mov eax, esi
not eax
ror edx, 0xb
add edx, edi
or eax, edx
xor eax, edi
add eax, 0xf7537e82
add eax, dword [ebx - 0x28]
add ecx, eax
mov eax, edi
not eax
rol ecx, 6
add ecx, edx
or eax, ecx
xor eax, edx
add eax, dword [ebx - 0xc]
lea ebx, [esi - 0x42c50dcb]
mov esi, dword [ebp + 8]
add ebx, eax
rol ebx, 0xa
mov eax, edx
not eax
add ebx, ecx
or eax, ebx
xor eax, ecx
add eax, dword [esi - 0x30]
lea esi, [edi + 0x2ad7d2bb]
mov edi, dword [ebp + 8]
add esi, eax
rol esi, 0xf
mov eax, ecx
add ecx, dword [ebp - 4]
add esi, ebx
not eax
mov dword [ebp - 4], ecx
or eax, esi
xor eax, ebx
add ebx, dword [ebp - 0x10]
add eax, dword [edi - 0x14]
lea edi, [edx - 0x14792c6f]
mov edx, dword [ebp + 8]
add edi, eax
mov eax, dword [ebp - 0x28]
add edx, 0x40
ror edi, 0xb
add edi, esi
mov dword [ebp - 0x10], ebx
add edi, dword [ebp - 8]
add esi, dword [ebp - 0xc]
sub dword [ebp - 0x14], 1
mov dword [eax], ecx
mov dword [ebp - 8], edi
mov dword [eax + 4], edi
mov dword [ebp - 0xc], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebx
mov dword [ebp + 8], edx
jne 0x41fa64
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret