Function at 0x4a01a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x56c158]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x50], ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x5c], edi
test eax, eax
je 0x4a0884
push ebx
push esi
nop word [eax + eax]
mov esi, dword [edi]
dec eax
mov ebx, dword [edi + 8]
mov dword [ebp + 0x10], eax
mov eax, dword [edi + 4]
mov edi, dword [edi + 0xc]
push 0x40
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x44]
push ecx
push eax
call fcn.004a0d20
mov ecx, dword [ebp - 0x48]
lea edx, [esi - 0x28955b88]
not ecx
add dword [ebp - 0x50], 0x40
and ecx, edi
mov eax, ebx
and eax, dword [ebp - 0x48]
add esp, 0xc
or ecx, eax
mov eax, dword [ebp - 0x48]
add ecx, dword [ebp - 0x44]
add edx, ecx
rol edx, 7
add edx, eax
and eax, edx
mov esi, edx
not esi
and esi, ebx
or esi, eax
add esi, 0xe8c7b756
add esi, dword [ebp - 0x40]
add esi, edi
rol esi, 0xc
add esi, edx
mov edi, esi
mov eax, esi
and eax, edx
not edi
and edi, dword [ebp - 0x48]
or edi, eax
mov eax, esi
add edi, 0x242070db
add edi, dword [ebp - 0x3c]
add edi, ebx
mov ebx, dword [ebp - 0x48]
rol edi, 0x11
add ebx, 0xc1bdceee
add edi, esi
and eax, edi
mov ecx, edi
not ecx
and ecx, edx
or ecx, eax
mov eax, edi
add ecx, dword [ebp - 0x38]
add ebx, ecx
rol ebx, 0x16
add ebx, edi
mov ecx, ebx
and eax, ebx
not ecx
and ecx, esi
or ecx, eax
mov eax, ebx
add ecx, 0xf57c0faf
add ecx, dword [ebp - 0x34]
add edx, ecx
rol edx, 7
add edx, ebx
mov ecx, edx
and eax, edx
not ecx
and ecx, edi
or ecx, eax
add ecx, 0x4787c62a
add ecx, dword [ebp - 0x30]
add esi, ecx
rol esi, 0xc
add esi, edx
mov ecx, esi
mov eax, esi
not ecx
and eax, edx
and ecx, ebx
or ecx, eax
mov eax, esi
add ecx, 0xa8304613
add ecx, dword [ebp - 0x2c]
add edi, ecx
rol edi, 0x11
add edi, esi
and eax, edi
mov ecx, edi
not ecx
and ecx, edx
or ecx, eax
mov eax, edi
add ecx, 0xfd469501
add ecx, dword [ebp - 0x28]
add ebx, ecx
rol ebx, 0x16
add ebx, edi
and eax, ebx
mov ecx, ebx
not ecx
and ecx, esi
or ecx, eax
mov eax, ebx
add ecx, 0x698098d8
add ecx, dword [ebp - 0x24]
add edx, ecx
rol edx, 7
add edx, ebx
and eax, edx
mov ecx, edx
not ecx
and ecx, edi
or ecx, eax
add ecx, 0x8b44f7af
add ecx, dword [ebp - 0x20]
add esi, ecx
rol esi, 0xc
add esi, edx
mov ecx, esi
mov eax, esi
not ecx
and eax, edx
and ecx, ebx
or ecx, eax
mov eax, esi
add ecx, 0xffff5bb1
add ecx, dword [ebp - 0x1c]
add edi, ecx
rol edi, 0x11
add edi, esi
mov ecx, edi
mov dword [ebp - 0x58], edi
not ecx
and eax, edi
and ecx, edx
or ecx, eax
mov eax, edi
add ecx, 0x895cd7be
add ecx, dword [ebp - 0x18]
add ebx, ecx
rol ebx, 0x16
add ebx, edi
mov ecx, ebx
mov dword [ebp - 0x54], ebx
not ecx
and eax, ebx
and ecx, esi
or ecx, eax
add ecx, 0x6b901122
add ecx, dword [ebp - 0x14]
add edx, ecx
rol edx, 7
add edx, ebx
mov dword [ebp - 0x48], edx
mov ecx, edx
not ecx
mov eax, ebx
and ecx, edi
and eax, edx
or ecx, eax
lea edi, [esi - 0x2678e6d]
add ecx, dword [ebp - 0x10]
add edi, ecx
rol edi, 0xc
add edi, edx
mov esi, edi
mov dword [ebp - 0x4c], edi
not esi
mov eax, edi
and eax, edx
mov ecx, esi
and ecx, ebx
mov ebx, dword [ebp - 0x58]
or ecx, eax
add ebx, 0xa679438e
add ecx, dword [ebp - 0xc]
mov eax, edi
add ebx, ecx
rol ebx, 0x11
add ebx, edi
mov edi, dword [ebp - 0x54]
and eax, ebx
mov edx, ebx
not edx
add edi, 0x49b40821
mov ecx, edx
and esi, ebx
and ecx, dword [ebp - 0x48]
or ecx, eax
add ecx, dword [ebp - 8]
add edi, ecx
mov ecx, dword [ebp - 0x4c]
mov eax, ecx
rol edi, 0x16
add edi, ebx
add ecx, 0xc040b340
and eax, edi
and edx, edi
or esi, eax
mov eax, dword [ebp - 0x48]
add esi, dword [ebp - 0x40]
add eax, 0xf61e2562
add esi, eax
mov eax, ebx
rol esi, 5
add esi, edi
and eax, esi
or edx, eax
add edx, dword [ebp - 0x2c]
add edx, ecx
mov ecx, edi
not ecx
rol edx, 9
and ecx, esi
add edx, esi
mov eax, edx
and eax, edi
or ecx, eax
add ecx, 0x265e5a51
add ecx, dword [ebp - 0x18]
add ebx, ecx
mov ecx, esi
rol ebx, 0xe
not ecx
add ebx, edx
and ecx, edx
mov eax, ebx
and eax, esi
or ecx, eax
add ecx, 0xe9b6c7aa
add ecx, dword [ebp - 0x44]
add edi, ecx
mov ecx, edx
rol edi, 0x14
not ecx
add edi, ebx
and ecx, ebx
mov eax, edx
and eax, edi
or ecx, eax
mov eax, ebx
add ecx, 0xd62f105d
add ecx, dword [ebp - 0x30]
add esi, ecx
mov ecx, ebx
not ecx
rol esi, 5
and ecx, edi
add esi, edi
and eax, esi
or ecx, eax
add ecx, 0x2441453
add ecx, dword [ebp - 0x1c]
add edx, ecx
mov ecx, edi
not ecx
rol edx, 9
and ecx, esi
add edx, esi
mov eax, edx
and eax, edi
or ecx, eax
add ecx, 0xd8a1e681
add ecx, dword [ebp - 8]
add ebx, ecx
mov ecx, esi
not ecx
rol ebx, 0xe
and ecx, edx
add ebx, edx
mov eax, ebx
and eax, esi
or ecx, eax
mov eax, edx
add ecx, 0xe7d3fbc8
add ecx, dword [ebp - 0x34]
add edi, ecx
mov ecx, edx
not ecx
rol edi, 0x14
and ecx, ebx
add edi, ebx
and eax, edi
or ecx, eax
mov eax, ebx
add ecx, 0x21e1cde6
add ecx, dword [ebp - 0x20]
add esi, ecx
mov ecx, ebx
not ecx
rol esi, 5
and ecx, edi
add esi, edi
and eax, esi
or ecx, eax
add ecx, 0xc33707d6
add ecx, dword [ebp - 0xc]
add edx, ecx
mov ecx, edi
not ecx
rol edx, 9
add edx, esi
and ecx, esi
mov eax, edx
mov dword [ebp - 0x4c], edx
and eax, edi
or ecx, eax
add ecx, 0xf4d50d87
add ecx, dword [ebp - 0x38]
add ebx, ecx
mov ecx, esi
rol ebx, 0xe
not ecx
add ebx, edx
and ecx, edx
mov eax, ebx
and eax, esi
or ecx, eax
mov eax, edx
add ecx, 0x455a14ed
add ecx, dword [ebp - 0x24]
add edi, ecx
mov ecx, edx
not ecx
rol edi, 0x14
and ecx, ebx
lea edx, [esi - 0x561c16fb]
add edi, ebx
mov esi, dword [ebp - 0x4c]
and eax, edi
mov dword [ebp - 0x54], edi
or ecx, eax
add esi, 0xfcefa3f8
add ecx, dword [ebp - 0x10]
mov eax, ebx
add edx, ecx
mov ecx, ebx
not ecx
rol edx, 5
and ecx, edi
add edx, edi
and eax, edx
or ecx, eax
add ecx, dword [ebp - 0x3c]
add esi, ecx
mov ecx, edi
not ecx
rol esi, 9
add esi, edx
and ecx, edx
mov eax, esi
and eax, edi
lea edi, [ebx + 0x676f02d9]
or ecx, eax
mov ebx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x28]
add ebx, 0x8d2a4c8a
add edi, ecx
mov ecx, edx
rol edi, 0xe
not ecx
add edi, esi
and ecx, esi
mov eax, edi
and eax, edx
or ecx, eax
mov eax, esi
add ecx, dword [ebp - 0x14]
xor eax, edi
add ebx, ecx
rol ebx, 0x14
add ebx, edi
xor eax, ebx
add eax, 0xfffa3942
add eax, dword [ebp - 0x30]
add edx, eax
mov eax, edi
xor eax, ebx
rol edx, 4
add edx, ebx
xor eax, edx
add eax, 0x8771f681
add eax, dword [ebp - 0x24]
add esi, eax
rol esi, 0xb
add esi, edx
mov eax, esi
mov ecx, esi
xor eax, ebx
xor eax, edx
add eax, 0x6d9d6122
add eax, dword [ebp - 0x18]
add edi, eax
rol edi, 0x10
add edi, esi
xor ecx, edi
mov eax, ecx
xor eax, edx
add eax, 0xfde5380c
add eax, dword [ebp - 0xc]
add ebx, eax
mov eax, edi
rol ebx, 0x17
add ebx, edi
xor eax, ebx
xor ecx, ebx
add ecx, 0xa4beea44
add ecx, dword [ebp - 0x40]
add edx, ecx
rol edx, 4
add edx, ebx
xor eax, edx
add eax, 0x4bdecfa9
add eax, dword [ebp - 0x34]
add esi, eax
rol esi, 0xb
add esi, edx
mov eax, esi
mov ecx, esi
xor eax, ebx
xor eax, edx
add eax, 0xf6bb4b60
add eax, dword [ebp - 0x28]
add edi, eax
rol edi, 0x10
add edi, esi
xor ecx, edi
mov eax, ecx
xor eax, edx
add eax, 0xbebfbc70
add eax, dword [ebp - 0x1c]
add ebx, eax
mov eax, edi
rol ebx, 0x17
add ebx, edi
xor ecx, ebx
xor eax, ebx
add ecx, 0x289b7ec6
add ecx, dword [ebp - 0x10]
add edx, ecx
rol edx, 4
add edx, ebx
xor eax, edx
mov dword [ebp - 0x4c], edx
add eax, 0xeaa127fa
add eax, dword [ebp - 0x44]
add esi, eax
rol esi, 0xb
add esi, edx
mov eax, esi
mov ecx, esi
xor eax, ebx
xor eax, edx
add eax, 0xd4ef3085
add eax, dword [ebp - 0x38]
add edi, eax
mov eax, dword [ebp - 0x4c]
rol edi, 0x10
add eax, 0xd9d4d039
add edi, esi
xor ecx, edi
xor edx, ecx
add edx, 0x4881d05
add edx, dword [ebp - 0x2c]
add edx, ebx
rol edx, 0x17
add edx, edi
xor ecx, edx
add ecx, dword [ebp - 0x20]
add ecx, eax
mov eax, edi
rol ecx, 4
xor eax, edx
add ecx, edx
xor eax, ecx
add eax, 0xe6db99e5
add eax, dword [ebp - 0x14]
add esi, eax
rol esi, 0xb
add esi, ecx
mov eax, esi
xor eax, edx
xor eax, ecx
add eax, 0x1fa27cf8
add eax, dword [ebp - 8]
add edi, eax
mov eax, esi
rol edi, 0x10
add edi, esi
xor eax, edi
xor eax, ecx
add eax, 0xc4ac5665
add eax, dword [ebp - 0x3c]
add edx, eax
mov eax, esi
not eax
rol edx, 0x17
add edx, edi
or eax, edx
xor eax, edi
add eax, 0xf4292244
add eax, dword [ebp - 0x44]
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 - 0x28]
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 - 0xc]
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 - 0x30]
add edx, eax
mov eax, esi
not eax
rol edx, 0x15
add edx, edi
or eax, edx
xor eax, edi
add eax, 0x655b59c3
add eax, dword [ebp - 0x14]
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 - 0x38]
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 - 0x1c]
add edi, eax
mov eax, ecx
rol edi, 0xf
add edi, esi
not eax
lea ebx, [esi - 0x1d31920]
or eax, edi
xor eax, esi
add eax, 0x85845dd1
add eax, dword [ebp - 0x40]
add edx, eax
mov eax, esi
not eax
rol edx, 0x15
add edx, edi
or eax, edx
xor eax, edi
add eax, 0x6fa87e4f
add eax, dword [ebp - 0x24]
add ecx, eax
mov eax, edi
not eax
rol ecx, 6
add ecx, edx
or eax, ecx
xor eax, edx
add eax, dword [ebp - 8]
add ebx, eax
lea esi, [ecx - 0x8ac817e]
mov eax, edx
rol ebx, 0xa
not eax
add ebx, ecx
or eax, ebx
xor eax, ecx
add eax, 0xa3014314
add eax, dword [ebp - 0x2c]
add edi, eax
mov eax, ecx
not eax
rol edi, 0xf
add edi, ebx
or eax, edi
xor eax, ebx
add eax, 0x4e0811a1
add eax, dword [ebp - 0x10]
lea ecx, [edi + 0x2ad7d2bb]
add edx, eax
mov eax, ebx
not eax
rol edx, 0x15
add edx, edi
or eax, edx
mov dword [ebp - 0x4c], edx
xor eax, edi
add eax, dword [ebp - 0x34]
add esi, eax
mov eax, edi
mov edi, dword [ebp - 0x5c]
not eax
rol esi, 6
add esi, edx
or eax, esi
add dword [edi], esi
xor eax, edx
add eax, dword [ebp - 0x18]
lea edx, [ebx - 0x42c50dcb]
mov ebx, dword [ebp - 0x4c]
add edx, eax
rol edx, 0xa
mov eax, ebx
add edx, esi
not eax
or eax, edx
xor eax, esi
not esi
add eax, dword [ebp - 0x3c]
add ecx, eax
lea eax, [ebx - 0x14792c6f]
rol ecx, 0xf
add ecx, edx
or esi, ecx
xor esi, edx
add esi, dword [ebp - 0x20]
add eax, esi
add dword [edi + 8], ecx
add dword [edi + 0xc], edx
rol eax, 0x15
add eax, ecx
mov ecx, dword [ebp - 0x50]
add dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4a01d0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00498089
mov esp, ebp
pop ebp
ret