Function at 0x4a0d22
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x4c0548]
xor eax, esp
mov dword [esp + 0xb8], eax
mov eax, ecx
mov dword [esp + 0x10], edx
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov ebx, dword [eax + 4]
mov edx, dword [eax]
mov esi, dword [eax + 8]
push edi
mov edi, dword [eax + 0xc]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x7c], ebx
cmp eax, 0x40
jb 0x4a15ea
mov ecx, dword [esp + 0x1c]
add ecx, 8
mov dword [esp + 0x58], edx
shr eax, 6
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
mov ecx, dword [ecx - 8]
mov eax, esi
xor eax, edi
mov dword [esp + 0xc], ecx
and eax, ebx
mov dword [esp + 0x80], ecx
xor eax, edi
mov dword [esp + 0x20], ecx
add eax, ecx
lea ecx, [edx - 0x28955b88]
mov edx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [esp + 0x10]
rol ecx, 7
add ecx, ebx
xor ebx, esi
and ebx, ecx
mov dword [esp + 0x70], ecx
mov edx, dword [edx - 4]
xor ebx, esi
add ebx, edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x38], edx
lea edx, [edi - 0x173848aa]
mov edi, dword [esp + 0x18]
add edx, ebx
rol edx, 0xc
add edx, ecx
mov dword [esp + 0x74], edx
mov ebx, dword [eax]
mov eax, ecx
xor eax, edi
mov dword [esp + 0xc], ebx
and eax, edx
mov dword [esp + 0x50], ebx
xor eax, edi
mov dword [esp + 0x88], ebx
add ebx, 0x242070db
add edi, 0xc1bdceee
add eax, ebx
add esi, eax
mov eax, dword [esp + 0x10]
rol esi, 0x11
add esi, edx
mov dword [esp + 0x78], esi
mov ebx, dword [eax + 4]
mov eax, edx
xor eax, ecx
mov dword [esp + 0xc], ebx
and eax, esi
mov dword [esp + 0x30], ebx
xor eax, ecx
mov dword [esp + 0x8c], ebx
add eax, ebx
add edi, eax
mov eax, dword [esp + 0x10]
rol edi, 0x16
add edi, esi
mov dword [esp + 0x7c], edi
mov ebx, dword [eax + 8]
mov eax, edx
xor eax, esi
mov dword [esp + 0xc], ebx
and eax, edi
mov dword [esp + 0x48], ebx
xor eax, edx
mov dword [esp + 0x90], ebx
add eax, ecx
lea ecx, [ebx - 0xa83f051]
add ecx, eax
mov eax, dword [esp + 0x10]
rol ecx, 7
add ecx, edi
mov dword [esp + 0x70], ecx
mov ebx, dword [eax + 0xc]
mov eax, edi
mov dword [esp + 0x28], ebx
xor eax, esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x94], ebx
and eax, ecx
xor eax, esi
add eax, edx
lea edx, [ebx + 0x4787c62a]
add edx, eax
mov eax, dword [esp + 0x10]
rol edx, 0xc
add edx, ecx
mov dword [esp + 0x74], edx
mov ebx, dword [eax + 0x10]
mov eax, edi
xor eax, ecx
mov dword [esp + 0xc], ebx
and eax, edx
mov dword [esp + 0x98], ebx
xor eax, edi
mov dword [esp + 0x40], ebx
add eax, esi
add ebx, 0xa8304613
add ebx, eax
mov eax, dword [esp + 0x10]
rol ebx, 0x11
add ebx, edx
mov dword [esp + 0x78], ebx
mov esi, dword [eax + 0x14]
mov eax, edx
xor eax, ecx
mov dword [esp + 0xc], esi
and eax, ebx
mov dword [esp + 0x9c], esi
xor eax, ecx
mov dword [esp + 0x24], esi
add eax, edi
lea ecx, [esi - 0x2b96aff]
mov edi, dword [esp + 0x10]
add ecx, eax
mov eax, edx
rol ecx, 0x16
xor eax, ebx
add ecx, ebx
and eax, ecx
mov dword [esp + 0x7c], ecx
mov esi, dword [edi + 0x18]
xor eax, edx
add eax, dword [esp + 0x70]
mov dword [esp + 0xc], esi
mov dword [esp + 0xa0], esi
lea edx, [esi + 0x698098d8]
mov dword [esp + 0x3c], esi
add edx, eax
mov eax, ecx
xor eax, ebx
rol edx, 7
add edx, ecx
and eax, edx
mov dword [esp + 0x70], edx
mov esi, dword [edi + 0x1c]
xor eax, ebx
add eax, dword [esp + 0x74]
mov dword [esp + 0xc], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0x54], esi
add esi, 0x8b44f7af
add esi, eax
mov eax, edx
rol esi, 0xc
xor eax, ecx
add esi, edx
and eax, esi
mov dword [esp + 0x74], esi
mov edi, dword [edi + 0x20]
xor eax, ecx
mov dword [esp + 0x34], edi
add eax, ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0xa8], edi
add edi, 0xffff5bb1
add edi, eax
rol edi, 0x11
add edi, esi
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 0x24]
mov eax, edx
xor eax, esi
mov dword [esp + 0xc], ebx
and eax, edi
mov dword [esp + 0xac], ebx
xor eax, edx
mov dword [esp + 0x4c], ebx
add eax, ecx
lea ecx, [ebx - 0x76a32842]
add ecx, eax
mov eax, dword [esp + 0x10]
rol ecx, 0x16
add ecx, edi
mov dword [esp + 0x7c], ecx
mov ebx, dword [eax + 0x28]
mov eax, edi
xor eax, esi
mov dword [esp + 0xc], ebx
and eax, ecx
mov dword [esp + 0xb0], ebx
xor eax, esi
mov dword [esp + 0x2c], ebx
add ebx, 0x6b901122
add eax, ebx
add edx, eax
mov eax, dword [esp + 0x10]
rol edx, 7
add edx, ecx
mov dword [esp + 0x70], edx
mov ebx, dword [eax + 0x2c]
mov eax, ecx
xor eax, edi
mov dword [esp + 0xc], ebx
and eax, edx
mov dword [esp + 0xb4], ebx
xor eax, edi
mov dword [esp + 0x44], ebx
add ebx, 0xfd987193
add eax, ebx
add esi, eax
mov eax, dword [esp + 0x10]
rol esi, 0xc
add esi, edx
mov dword [esp + 0x74], esi
mov ebx, dword [eax + 0x30]
mov eax, ecx
xor eax, edx
mov dword [esp + 0xc], ebx
and eax, esi
mov dword [esp + 0xb8], ebx
xor eax, ecx
mov dword [esp + 0x18], ebx
add eax, 0xa679438e
add eax, ebx
add edi, eax
mov eax, dword [esp + 0x10]
rol edi, 0x11
add edi, esi
mov dword [esp + 0x78], edi
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp + 0xbc], eax
mov eax, esi
xor eax, edx
and eax, edi
xor eax, edx
add eax, 0x49b40821
add eax, dword [esp + 0xc]
add ecx, eax
rol ecx, 0x16
add ecx, edi
mov eax, ecx
xor eax, edi
and eax, esi
xor eax, edi
add eax, edx
mov edx, dword [esp + 0x38]
add edx, 0xf61e2562
add edx, eax
rol edx, 5
mov eax, ecx
add edx, ecx
xor eax, edx
and eax, edi
xor eax, ecx
add eax, esi
mov esi, dword [esp + 0x40]
add esi, 0xc040b340
add esi, eax
rol esi, 9
add esi, edx
mov eax, esi
xor eax, edx
and eax, ecx
xor eax, edx
add eax, edi
mov edi, dword [esp + 0x4c]
add edi, 0x265e5a51
add edi, eax
rol edi, 0xe
add edi, esi
mov eax, edi
xor eax, esi
and eax, edx
xor eax, esi
add eax, ecx
mov ecx, dword [esp + 0x20]
add ecx, 0xe9b6c7aa
add ecx, eax
rol ecx, 0x14
add ecx, edi
mov eax, ecx
xor eax, edi
and eax, esi
xor eax, edi
add eax, edx
mov edx, dword [esp + 0x28]
add edx, 0xd62f105d
add edx, eax
mov eax, ecx
rol edx, 5
add edx, ecx
xor eax, edx
and eax, edi
xor eax, ecx
add eax, esi
mov esi, dword [esp + 0x34]
add esi, 0x2441453
add esi, eax
rol esi, 9
add esi, edx
mov eax, esi
xor eax, edx
and eax, ecx
xor eax, edx
add eax, edi
mov edi, dword [esp + 0xc]
add edi, 0xd8a1e681
add edi, eax
rol edi, 0xe
add edi, esi
mov eax, edi
xor eax, esi
and eax, edx
xor eax, esi
add eax, ecx
mov ecx, dword [esp + 0x48]
add ecx, 0xe7d3fbc8
add ecx, eax
rol ecx, 0x14
add ecx, edi
mov eax, ecx
xor eax, edi
and eax, esi
xor eax, edi
add eax, edx
mov edx, dword [esp + 0x54]
add edx, 0x21e1cde6
add edx, eax
rol edx, 5
add edx, ecx
mov eax, ecx
xor eax, edx
and eax, edi
xor eax, ecx
add eax, esi
lea esi, [ebx - 0x3cc8f82a]
add esi, eax
mov ebx, dword [esp + 0x30]
rol esi, 9
add ebx, 0xf4d50d87
add esi, edx
mov eax, esi
xor eax, edx
and eax, ecx
xor eax, edx
add eax, edi
mov edi, dword [esp + 0x50]
add ebx, eax
add edi, 0xfcefa3f8
rol ebx, 0xe
add ebx, esi
mov eax, ebx
xor eax, esi
and eax, edx
xor eax, esi
add eax, ecx
mov ecx, dword [esp + 0x3c]
add ecx, 0x455a14ed
add ecx, eax
rol ecx, 0x14
add ecx, ebx
mov eax, ecx
xor eax, ebx
and eax, esi
xor eax, ebx
add eax, edx
mov edx, dword [esp + 0x44]
add edx, 0xa9e3e905
add edx, eax
mov eax, ecx
rol edx, 5
add edx, ecx
xor eax, edx
mov dword [esp + 0x14], edx
and eax, ebx
xor eax, ecx
add eax, esi
mov esi, dword [esp + 0x28]
add edi, eax
add esi, 0xfffa3942
rol edi, 9
add edi, edx
mov eax, edi
xor eax, edx
and eax, ecx
xor eax, edx
add eax, ebx
mov ebx, dword [esp + 0x24]
add ebx, 0x676f02d9
add ebx, eax
rol ebx, 0xe
add ebx, edi
mov eax, ebx
xor eax, edi
and eax, edx
mov edx, dword [esp + 0x2c]
xor eax, edi
add edx, 0x8d2a4c8a
add eax, ecx
add edx, eax
rol edx, 0x14
add edx, ebx
mov ecx, edx
xor ecx, ebx
mov eax, ecx
xor eax, edi
add eax, dword [esp + 0x14]
add esi, eax
rol esi, 4
add esi, edx
xor ecx, esi
mov eax, edx
add ecx, edi
mov edi, dword [esp + 0x3c]
add edi, 0x8771f681
add edi, ecx
rol edi, 0xb
add edi, esi
xor eax, edi
xor eax, esi
add eax, ebx
mov ebx, dword [esp + 0x4c]
add ebx, 0x6d9d6122
add ebx, eax
rol ebx, 0x10
add ebx, edi
mov eax, ebx
xor eax, edi
xor eax, esi
add eax, edx
mov edx, dword [esp + 0x18]
add edx, 0xfde5380c
add edx, eax
rol edx, 0x17
add edx, ebx
mov ecx, edx
xor ecx, ebx
mov eax, ecx
xor eax, edi
add eax, esi
mov esi, dword [esp + 0x38]
add esi, 0xa4beea44
add esi, eax
mov eax, edx
rol esi, 4
add esi, edx
xor ecx, esi
add ecx, edi
mov edi, dword [esp + 0x48]
add edi, 0x4bdecfa9
add edi, ecx
rol edi, 0xb
add edi, esi
xor eax, edi
xor eax, esi
add eax, ebx
mov ebx, dword [esp + 0x24]
add ebx, 0xf6bb4b60
add ebx, eax
rol ebx, 0x10
add ebx, edi
mov eax, ebx
xor eax, edi
xor eax, esi
add eax, edx
mov edx, dword [esp + 0x34]
add edx, 0xbebfbc70
add edx, eax
rol edx, 0x17
add edx, ebx
mov ecx, edx
mov dword [esp + 0x14], edx
xor ecx, ebx
mov eax, ecx
xor eax, edi
add eax, esi
mov esi, dword [esp + 0x44]
add esi, 0x289b7ec6
add esi, eax
mov eax, edx
rol esi, 4
add esi, edx
xor ecx, esi
add ecx, edi
mov edi, dword [esp + 0x20]
add edi, 0xeaa127fa
add edi, ecx
rol edi, 0xb
add edi, esi
xor eax, edi
xor eax, esi
add eax, dword [esp + 0x30]
lea edx, [ebx - 0x2b10cf7b]
add edx, eax
mov ebx, dword [esp + 0x14]
rol edx, 0x10
add ebx, 0x4881d05
add edx, edi
mov eax, edx
xor eax, edi
xor eax, esi
add eax, dword [esp + 0x40]
add ebx, eax
rol ebx, 0x17
add ebx, edx
mov ecx, ebx
xor ecx, edx
mov eax, ecx
xor eax, edi
add edi, 0xe6db99e5
add eax, 0xd9d4d039
add eax, dword [esp + 0x54]
add esi, eax
mov eax, ebx
rol esi, 4
add esi, ebx
xor ecx, esi
add ecx, dword [esp + 0x2c]
add ecx, edi
lea edi, [ebx - 0x3b53a99b]
rol ecx, 0xb
add ecx, esi
xor eax, ecx
xor eax, esi
add eax, edx
mov edx, dword [esp + 0xc]
add edx, 0x1fa27cf8
lea ebx, [ecx + 0x432aff97]
add edx, eax
rol edx, 0x10
add edx, ecx
mov eax, edx
xor eax, ecx
xor eax, esi
add eax, dword [esp + 0x50]
add edi, eax
mov eax, ecx
not eax
rol edi, 0x17
add edi, edx
or eax, edi
xor eax, edx
add eax, esi
mov esi, dword [esp + 0x20]
add esi, 0xf4292244
lea ecx, [edi - 0x36c5fc7]
add esi, eax
mov eax, edx
not eax
rol esi, 6
add esi, edi
or eax, esi
xor eax, edi
add eax, dword [esp + 0x24]
add ebx, eax
mov eax, edi
not eax
rol ebx, 0xa
add ebx, esi
or eax, ebx
xor eax, esi
add eax, 0xab9423a7
add eax, dword [esp + 0x18]
add edx, eax
mov eax, esi
rol edx, 0xf
not eax
add edx, ebx
or eax, edx
mov dword [esp + 0x14], edx
xor eax, ebx
add eax, dword [esp + 0x28]
add ecx, eax
lea edi, [esi + 0x655b59c3]
rol ecx, 0x15
mov eax, ebx
not eax
mov esi, dword [esp + 0x14]
add ecx, edx
add esi, 0xffeff47d
or eax, ecx
xor eax, edx
not edx
add eax, dword [esp + 0x2c]
add edi, eax
mov eax, ecx
not eax
rol edi, 6
add edi, ecx
or edx, edi
xor edx, ecx
add edx, 0x8f0ccc92
add edx, dword [esp + 0x30]
add edx, ebx
rol edx, 0xa
add edx, edi
or eax, edx
xor eax, edi
add eax, dword [esp + 0x34]
add esi, eax
mov eax, edi
not eax
rol esi, 0xf
add esi, edx
or eax, esi
xor eax, edx
add eax, ecx
mov ecx, dword [esp + 0x38]
add ecx, 0x85845dd1
add ecx, eax
mov eax, edx
not eax
rol ecx, 0x15
add ecx, esi
or eax, ecx
xor eax, esi
add eax, 0x6fa87e4f
add eax, dword [esp + 0x3c]
add edi, eax
mov eax, esi
not eax
rol edi, 6
add edi, ecx
or eax, edi
xor eax, ecx
add eax, edx
mov edx, dword [esp + 0xc]
add edx, 0xfe2ce6e0
add edx, eax
mov eax, ecx
not eax
rol edx, 0xa
add edx, edi
or eax, edx
xor eax, edi
add eax, 0xa3014314
add eax, dword [esp + 0x40]
add esi, eax
mov eax, edi
not eax
rol esi, 0xf
add esi, edx
or eax, esi
xor eax, edx
add eax, 0x4e0811a1
add eax, dword [esp + 0x44]
add ecx, eax
mov eax, edx
rol ecx, 0x15
not eax
add ecx, esi
or eax, ecx
xor eax, esi
add eax, dword [esp + 0x48]
lea ebx, [edi - 0x8ac817e]
add ebx, eax
lea edi, [edx - 0x42c50dcb]
rol ebx, 6
mov eax, esi
add ebx, ecx
mov edx, dword [esp + 0x54]
not eax
mov dword [esp + 0x14], ebx
or eax, ebx
mov dword [esp + 0xc], edx
xor eax, ecx
add eax, dword [esp + 0x4c]
add edi, eax
mov eax, ecx
not eax
rol edi, 0xa
add edi, ebx
or eax, edi
xor eax, ebx
add eax, 0x2ad7d2bb
add eax, dword [esp + 0x50]
add esi, eax
mov eax, ebx
not eax
rol esi, 0xf
add esi, edi
lea ebx, [ecx - 0x14792c6f]
or eax, esi
xor eax, edi
add edi, dword [esp + 0x5c]
add eax, edx
mov dword [esp + 0x74], edi
mov edx, dword [esp + 0x14]
add ebx, eax
mov eax, dword [esp + 0x68]
add edx, dword [esp + 0x58]
mov ecx, edx
rol ebx, 0x15
mov dword [esp + 0x58], ecx
add ebx, esi
add esi, dword [esp + 0x60]
add ebx, dword [esp + 0x64]
mov dword [eax], ecx
mov ecx, edi
mov dword [eax + 0xc], ecx
mov dword [esp + 0x5c], ecx
mov ecx, esi
mov dword [eax + 8], ecx
mov dword [esp + 0x60], ecx
mov ecx, ebx
mov dword [eax + 4], ecx
mov eax, dword [ebp + 8]
mov dword [esp + 0x64], ecx
sub eax, 0x40
mov ecx, dword [esp + 0x10]
add ecx, 0x40
mov dword [esp + 0x70], edx
sub dword [esp + 0x1c], 1
mov dword [esp + 0x78], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x10], ecx
mov dword [ebp + 8], eax
jne 0x4a0d9f
mov ecx, dword [esp + 0x6c]
mov dword [ecx], eax
xor esi, esi
mov dword [esp + 0x70], esi
lea ecx, [esp + 0x80]
mov dword [esp + 0x74], esi
push 0x40
mov dword [esp + 0x7c], esi
pop edx
mov dword [esp + 0x7c], esi
call fcn.004a6900
pop edi
mov dword [esp + 8], esi
mov ecx, dword [esp + 0xc0]
pop esi
pop ebx
xor ecx, esp
call fcn.004055b8
mov esp, ebp
pop ebp
ret 8