Function at 0x402a10
Capabilities:
Encode data using xor

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