Function at 0x4aa060
Capabilities:
Encode data using xor

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