Function at 0x4a2970
Capabilities:
Encode data using xor

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