Function at 0x477580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
mov ebx, dword [ecx]
push esi
mov esi, dword [ebp + 8]
mov eax, esi
shr eax, 2
push edi
mov dword [ebp - 4], ebx
mov ebx, dword [ecx + 4]
lea eax, [edx + eax*4]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x18], ebx
lea edi, [eax + esi]
not esi
cmp eax, esi
jbe 0x4775c1
inc dword [ecx + 0x14]
inc edi
mov dword [ecx + 0x10], edi
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
cmp edx, dword [ebp - 0x50]
jae 0x477c85
mov ecx, edx
mov edx, dword [ebp - 4]
mov eax, esi
mov dword [ebp - 0x54], edx
xor eax, ebx
mov edx, dword [ecx]
and eax, edi
mov dword [ebp - 0x44], edx
xor eax, esi
mov dword [ebp - 0x60], esi
add eax, edx
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 4]
add esi, 0xe8c7b756
add edx, 0xd76aa478
mov dword [ebp - 0x5c], ebx
add edx, eax
mov ebx, dword [ecx + 4]
mov eax, dword [ebp - 0x18]
xor eax, edi
rol edx, 7
add edx, edi
mov dword [ebp - 0x48], ebx
and eax, edx
mov dword [ebp - 0x58], edi
xor eax, dword [ebp - 0x18]
add eax, ebx
mov ebx, dword [ecx + 8]
add esi, eax
mov dword [ebp - 0x4c], ebx
mov eax, edi
rol esi, 0xc
xor eax, edx
add esi, edx
and eax, esi
xor eax, edi
mov edi, dword [ebp - 0x18]
add eax, ebx
add edi, 0x242070db
add edi, eax
mov ebx, dword [ecx + 0xc]
mov eax, esi
ror edi, 0xf
xor eax, edx
mov dword [ebp - 0x18], ebx
add edi, esi
and eax, edi
xor eax, edx
add eax, ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0xc1bdceee
add ebx, eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, esi
xor eax, edi
ror ebx, 0xa
add ebx, edi
and eax, ebx
xor eax, esi
add eax, 0xf57c0faf
add eax, dword [ebp - 0x3c]
add edx, eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x20], eax
mov eax, edi
xor eax, ebx
rol edx, 7
add edx, ebx
and eax, edx
xor eax, edi
add eax, 0x4787c62a
add eax, dword [ebp - 0x20]
add esi, eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x34], eax
mov eax, ebx
rol esi, 0xc
xor eax, edx
add esi, edx
and eax, esi
xor eax, ebx
add eax, 0xa8304613
add eax, dword [ebp - 0x34]
add edi, eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 8], eax
mov eax, esi
xor eax, edx
ror edi, 0xf
add edi, esi
and eax, edi
xor eax, edx
add eax, 0xfd469501
add eax, dword [ebp - 8]
add ebx, eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, esi
xor eax, edi
ror ebx, 0xa
add ebx, edi
and eax, ebx
xor eax, esi
add eax, 0x698098d8
add eax, dword [ebp - 0x2c]
add edx, eax
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0xc], eax
mov eax, edi
xor eax, ebx
rol edx, 7
add edx, ebx
and eax, edx
xor eax, edi
add eax, 0x8b44f7af
add eax, dword [ebp - 0xc]
add esi, eax
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x28], eax
mov eax, ebx
xor eax, edx
rol esi, 0xc
add esi, edx
and eax, esi
xor eax, ebx
add eax, 0xffff5bb1
add eax, dword [ebp - 0x28]
add edi, eax
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x40], eax
mov eax, esi
xor eax, edx
ror edi, 0xf
add edi, esi
and eax, edi
xor eax, edx
add eax, 0x895cd7be
add eax, dword [ebp - 0x40]
add ebx, eax
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x24], eax
mov eax, esi
xor eax, edi
ror ebx, 0xa
add ebx, edi
and eax, ebx
xor eax, esi
add eax, 0x6b901122
add eax, dword [ebp - 0x24]
add edx, eax
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0x38], eax
mov eax, edi
xor eax, ebx
rol edx, 7
add edx, ebx
and eax, edx
xor eax, edi
add eax, 0xfd987193
add eax, dword [ebp - 0x38]
add esi, eax
rol esi, 0xc
add esi, edx
mov eax, dword [ecx + 0x38]
mov dword [ebp - 4], eax
mov eax, ebx
xor eax, edx
and eax, esi
xor eax, ebx
add eax, 0xa679438e
add eax, dword [ebp - 4]
add edi, eax
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 0x30], eax
add ecx, 0x40
mov eax, esi
ror edi, 0xf
xor eax, edx
add edi, esi
and eax, edi
xor eax, edx
add eax, 0x49b40821
add eax, dword [ebp - 0x30]
add ebx, eax
mov eax, edi
ror ebx, 0xa
add ebx, edi
xor eax, ebx
and eax, esi
xor eax, edi
add eax, 0xf61e2562
add eax, dword [ebp - 0x48]
add edx, eax
mov eax, ebx
rol edx, 5
add edx, ebx
xor eax, edx
and eax, edi
xor eax, ebx
add eax, 0xc040b340
add eax, dword [ebp - 0x34]
add esi, eax
rol esi, 9
add esi, edx
mov eax, esi
xor eax, edx
and eax, ebx
xor eax, edx
add eax, 0x265e5a51
add eax, dword [ebp - 0x40]
add edi, eax
mov eax, esi
rol edi, 0xe
add edi, esi
xor eax, edi
and eax, edx
xor eax, esi
add eax, 0xe9b6c7aa
add eax, dword [ebp - 0x44]
add ebx, eax
mov eax, edi
ror ebx, 0xc
add ebx, edi
xor eax, ebx
and eax, esi
xor eax, edi
add eax, 0xd62f105d
add eax, dword [ebp - 0x20]
add edx, eax
mov eax, ebx
rol edx, 5
add edx, ebx
xor eax, edx
and eax, edi
xor eax, ebx
add eax, 0x2441453
add eax, dword [ebp - 0x28]
add esi, eax
rol esi, 9
add esi, edx
mov eax, esi
xor eax, edx
and eax, ebx
xor eax, edx
add eax, 0xd8a1e681
add eax, dword [ebp - 0x30]
add edi, eax
mov eax, esi
rol edi, 0xe
add edi, esi
xor eax, edi
and eax, edx
xor eax, esi
add eax, 0xe7d3fbc8
add eax, dword [ebp - 0x3c]
add ebx, eax
mov eax, edi
ror ebx, 0xc
add ebx, edi
xor eax, ebx
and eax, esi
xor eax, edi
add eax, 0x21e1cde6
add eax, dword [ebp - 0xc]
add edx, eax
mov eax, ebx
rol edx, 5
add edx, ebx
xor eax, edx
and eax, edi
xor eax, ebx
add eax, 0xc33707d6
add eax, dword [ebp - 4]
add esi, eax
rol esi, 9
add esi, edx
mov eax, esi
xor eax, edx
and eax, ebx
xor eax, edx
add eax, 0xf4d50d87
add eax, dword [ebp - 0x18]
add edi, eax
mov eax, esi
rol edi, 0xe
add edi, esi
xor eax, edi
mov dword [ebp - 0x14], edi
and eax, edx
xor eax, esi
add eax, 0x455a14ed
add eax, dword [ebp - 0x2c]
add ebx, eax
mov eax, edi
ror ebx, 0xc
add ebx, edi
xor eax, ebx
mov dword [ebp - 0x1c], ebx
and eax, esi
xor eax, edi
lea edi, [edx - 0x561c16fb]
add eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x14]
add edi, eax
mov eax, ebx
rol edi, 5
add edi, ebx
xor eax, edi
and eax, edx
xor eax, ebx
add eax, 0xfcefa3f8
add eax, dword [ebp - 0x4c]
add esi, eax
rol esi, 9
add esi, edi
mov eax, esi
mov dword [ebp - 0x14], esi
xor eax, edi
and eax, ebx
lea ebx, [edx + 0x676f02d9]
xor eax, edi
add eax, dword [ebp - 8]
add ebx, eax
rol ebx, 0xe
add ebx, esi
mov edx, esi
mov dword [ebp - 0x10], ebx
xor edx, ebx
mov eax, edx
and eax, edi
xor eax, esi
mov esi, dword [ebp - 0x1c]
add eax, dword [ebp - 0x24]
add esi, 0x8d2a4c8a
add esi, eax
mov eax, ebx
ror esi, 0xc
add esi, ebx
mov ebx, dword [ebp - 0x14]
xor eax, esi
xor edx, esi
add edx, 0xfffa3942
add ebx, 0x8771f681
add edx, dword [ebp - 0x20]
add edi, edx
mov edx, dword [ebp - 0x10]
rol edi, 4
add edx, 0x6d9d6122
add edi, esi
xor eax, edi
add eax, dword [ebp - 0x2c]
add ebx, eax
rol ebx, 0xb
add ebx, edi
mov eax, ebx
xor eax, esi
add esi, 0xfde5380c
xor eax, edi
add eax, dword [ebp - 0x40]
add eax, edx
mov edx, ebx
rol eax, 0x10
add eax, ebx
xor edx, eax
mov dword [ebp - 0x10], eax
mov eax, edx
xor eax, edi
add edi, 0xa4beea44
add eax, dword [ebp - 4]
add eax, esi
mov esi, dword [ebp - 0x10]
ror eax, 9
add eax, esi
xor edx, eax
mov dword [ebp - 0x10], eax
add edx, dword [ebp - 0x48]
add edx, edi
mov edi, dword [ebp - 0x10]
rol edx, 4
add edx, eax
mov eax, esi
xor eax, edi
mov dword [ebp - 0x1c], edx
xor eax, edx
add esi, 0xf6bb4b60
add eax, 0x4bdecfa9
add eax, dword [ebp - 0x3c]
add ebx, eax
rol ebx, 0xb
add ebx, edx
mov eax, ebx
xor eax, edi
add edi, 0xbebfbc70
xor eax, edx
mov edx, ebx
add eax, dword [ebp - 8]
add eax, esi
mov esi, dword [ebp - 0x1c]
rol eax, 0x10
add eax, ebx
xor edx, eax
mov dword [ebp - 0x10], eax
mov eax, edx
xor eax, esi
add eax, dword [ebp - 0x28]
add eax, edi
ror eax, 9
add esi, 0x289b7ec6
mov edi, dword [ebp - 0x10]
add eax, edi
xor edx, eax
mov dword [ebp - 0x10], eax
add edx, dword [ebp - 0x38]
add edx, esi
mov esi, dword [ebp - 0x10]
rol edx, 4
add edx, eax
mov eax, edi
xor eax, esi
mov dword [ebp - 0x1c], edx
xor eax, edx
add edi, 0xd4ef3085
add eax, 0xeaa127fa
add eax, dword [ebp - 0x44]
add ebx, eax
rol ebx, 0xb
add ebx, edx
mov eax, ebx
xor eax, esi
add esi, 0x4881d05
xor eax, edx
mov edx, ebx
add eax, dword [ebp - 0x18]
add eax, edi
mov edi, dword [ebp - 0x1c]
rol eax, 0x10
add eax, ebx
xor edx, eax
mov dword [ebp - 0x14], eax
mov eax, edx
xor eax, edi
add edi, 0xd9d4d039
add eax, dword [ebp - 0x34]
add esi, eax
mov eax, dword [ebp - 0x14]
ror esi, 9
add esi, eax
xor eax, esi
xor edx, esi
add edx, dword [ebp - 0xc]
add edi, edx
mov edx, dword [ebp - 0x14]
rol edi, 4
add edx, 0x1fa27cf8
add edi, esi
xor eax, edi
add eax, 0xe6db99e5
add eax, dword [ebp - 0x24]
add ebx, eax
rol ebx, 0xb
add ebx, edi
mov eax, ebx
xor eax, esi
xor eax, edi
add eax, dword [ebp - 0x30]
add edx, eax
mov eax, ebx
rol edx, 0x10
add edx, ebx
xor eax, edx
xor eax, edi
add eax, 0xc4ac5665
add eax, dword [ebp - 0x4c]
add esi, eax
mov eax, ebx
not eax
ror esi, 9
add esi, edx
or eax, esi
xor eax, edx
add eax, 0xf4292244
add eax, dword [ebp - 0x44]
add edi, eax
mov eax, edx
rol edi, 6
not eax
add edi, esi
or eax, edi
xor eax, esi
add eax, 0x432aff97
add eax, dword [ebp - 8]
add ebx, eax
mov eax, esi
not eax
rol ebx, 0xa
add ebx, edi
or eax, ebx
xor eax, edi
add eax, 0xab9423a7
add eax, dword [ebp - 4]
add edx, eax
mov eax, edi
not eax
rol edx, 0xf
add edx, ebx
or eax, edx
xor eax, ebx
add eax, 0xfc93a039
add eax, dword [ebp - 0x20]
add esi, eax
mov eax, ebx
not eax
ror esi, 0xb
add esi, edx
or eax, esi
xor eax, edx
add eax, 0x655b59c3
add eax, dword [ebp - 0x24]
add edi, eax
mov eax, edx
not eax
rol edi, 6
add edi, esi
or eax, edi
xor eax, esi
add eax, 0x8f0ccc92
add eax, dword [ebp - 0x18]
add ebx, eax
mov eax, esi
not eax
rol ebx, 0xa
add ebx, edi
or eax, ebx
xor eax, edi
add eax, 0xffeff47d
add eax, dword [ebp - 0x28]
add edx, eax
mov eax, edi
not eax
rol edx, 0xf
add edx, ebx
or eax, edx
xor eax, ebx
add eax, 0x85845dd1
add eax, dword [ebp - 0x48]
add esi, eax
mov eax, ebx
not eax
ror esi, 0xb
add esi, edx
or eax, esi
xor eax, edx
add eax, 0x6fa87e4f
add eax, dword [ebp - 0x2c]
add edi, eax
mov eax, edx
not eax
rol edi, 6
add edi, esi
or eax, edi
xor eax, esi
add eax, 0xfe2ce6e0
add eax, dword [ebp - 0x30]
add ebx, eax
mov eax, esi
rol ebx, 0xa
not eax
add ebx, edi
or eax, ebx
xor eax, edi
add eax, 0xa3014314
add eax, dword [ebp - 0x34]
add edx, eax
mov eax, edi
not eax
rol edx, 0xf
add edx, ebx
or eax, edx
xor eax, ebx
add eax, 0x4e0811a1
add eax, dword [ebp - 0x38]
add esi, eax
mov eax, ebx
not eax
ror esi, 0xb
add esi, edx
or eax, esi
xor eax, edx
add eax, 0xf7537e82
add eax, dword [ebp - 0x3c]
add edi, eax
mov eax, edx
rol edi, 6
not eax
add edi, esi
or eax, edi
mov dword [ebp - 4], edi
xor eax, esi
lea edi, [ebx - 0x42c50dcb]
add eax, dword [ebp - 0x40]
lea ebx, [edx + 0x2ad7d2bb]
mov edx, dword [ebp - 4]
add edi, eax
rol edi, 0xa
mov eax, esi
add edi, dword [ebp - 4]
not eax
or eax, edi
mov dword [ebp - 8], edi
xor eax, dword [ebp - 4]
add eax, dword [ebp - 0x4c]
add ebx, eax
mov eax, edx
add edx, dword [ebp - 0x54]
not eax
rol ebx, 0xf
add ebx, edi
mov dword [ebp - 4], edx
or eax, ebx
xor eax, edi
lea edi, [esi - 0x14792c6f]
add eax, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
add edi, eax
add esi, dword [ebp - 0x60]
ror edi, 0xb
add edi, ebx
mov dword [ebp - 8], esi
add edi, dword [ebp - 0x58]
add ebx, dword [ebp - 0x5c]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], ebx
cmp ecx, dword [ebp - 0x50]
jb 0x4775d8
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 4], edi
pop edi
mov dword [ecx + 0xc], esi
pop esi
mov dword [ecx + 8], ebx
mov dword [ecx], edx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edi
pop edi
mov dword [ecx + 0xc], esi
pop esi
mov dword [ecx + 8], ebx
mov dword [ecx], edx
pop ebx
mov esp, ebp
pop ebp
ret