Function at 0x40c8a5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, ecx
push ebx
push esi
mov dword [ebp - 0x54], eax
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov esi, dword [eax + 8]
mov dword [ebp - 0x44], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x20], ecx
push edi
mov edi, edx
test eax, eax
je 0x40d214
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], ecx
dec eax
movzx ecx, byte [edi]
mov dword [ebp + 8], eax
movzx eax, byte [edi + 1]
shl eax, 8
or ecx, eax
movzx edx, byte [edi + 4]
movzx eax, byte [edi + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edi + 3]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edi + 5]
shl eax, 8
or edx, eax
mov dword [ebp - 0x24], ecx
movzx eax, byte [edi + 6]
shl eax, 0x10
or edx, eax
movzx eax, byte [edi + 7]
shl eax, 0x18
or edx, eax
mov eax, dword [ebp - 0x20]
xor eax, esi
mov dword [ebp - 0x3c], edx
and eax, ebx
movzx esi, byte [edi + 8]
xor eax, dword [ebp - 0x20]
add eax, ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0xd76aa478
add ecx, eax
movzx eax, byte [edi + 9]
shl eax, 8
or esi, eax
rol ecx, 7
movzx eax, byte [edi + 0xa]
add ecx, ebx
shl eax, 0x10
or esi, eax
movzx eax, byte [edi + 0xb]
shl eax, 0x18
or esi, eax
mov eax, dword [ebp - 0x10]
xor eax, ebx
mov dword [ebp - 0x40], esi
movzx ebx, byte [edi + 0xc]
and eax, ecx
xor eax, dword [ebp - 0x10]
add eax, edx
mov edx, dword [ebp - 0x20]
add edx, 0xe8c7b756
add edx, eax
movzx eax, byte [edi + 0xd]
shl eax, 8
or ebx, eax
rol edx, 0xc
movzx eax, byte [edi + 0xe]
add edx, ecx
shl eax, 0x10
or ebx, eax
movzx eax, byte [edi + 0xf]
shl eax, 0x18
add edi, 0x10
or ebx, eax
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x14]
xor eax, ecx
mov dword [ebp - 0x34], ebx
movzx edi, byte [edi]
and eax, edx
xor eax, dword [ebp - 0x14]
add eax, esi
mov esi, dword [ebp - 0x10]
add esi, 0x242070db
add esi, eax
mov eax, dword [ebp - 4]
rol esi, 0x11
add esi, edx
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 8
or edi, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x10
or edi, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x18
or edi, eax
inc dword [ebp - 4]
mov dword [ebp - 0x1c], edi
mov eax, edx
xor eax, ecx
mov edi, dword [ebp - 0x14]
and eax, esi
add edi, 0xc1bdceee
xor eax, ecx
add eax, ebx
add edi, eax
mov eax, dword [ebp - 4]
rol edi, 0x16
add edi, esi
movzx ebx, byte [eax]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 8
or ebx, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x10
or ebx, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x18
or ebx, eax
inc dword [ebp - 4]
mov eax, edx
mov dword [ebp - 0x2c], ebx
xor eax, esi
and eax, edi
xor eax, edx
add eax, 0xf57c0faf
add eax, dword [ebp - 0x1c]
add ecx, eax
mov eax, dword [ebp - 4]
rol ecx, 7
add ecx, edi
movzx eax, byte [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 8
or dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x10
or dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x18
or dword [ebp - 0x10], eax
mov eax, esi
inc dword [ebp - 4]
xor eax, edi
add ebx, 0x4787c62a
and eax, ecx
xor eax, esi
add eax, ebx
add edx, eax
mov eax, dword [ebp - 4]
rol edx, 0xc
add edx, ecx
movzx ebx, byte [eax]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 8
or ebx, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x10
or ebx, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x18
or ebx, eax
inc dword [ebp - 4]
mov eax, edi
mov dword [ebp - 0x28], ebx
xor eax, ecx
add ebx, 0xfd469501
and eax, edx
xor eax, edi
add eax, 0xa8304613
add eax, dword [ebp - 0x10]
add esi, eax
mov eax, dword [ebp - 4]
rol esi, 0x11
add esi, edx
movzx eax, byte [eax]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 8
or dword [ebp - 8], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x10
or dword [ebp - 8], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x18
or dword [ebp - 8], eax
mov eax, edx
inc dword [ebp - 4]
xor eax, ecx
and eax, esi
xor eax, ecx
add eax, ebx
add edi, eax
mov eax, dword [ebp - 4]
rol edi, 0x16
add edi, esi
movzx ebx, byte [eax]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 8
or ebx, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x10
or ebx, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x18
or ebx, eax
inc dword [ebp - 4]
mov eax, edx
mov dword [ebp - 0x20], ebx
xor eax, esi
lea ebx, [ecx + 0x698098d8]
and eax, edi
xor eax, edx
add eax, dword [ebp - 8]
add ebx, eax
mov eax, dword [ebp - 4]
rol ebx, 7
add ebx, edi
movzx ecx, byte [eax]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 8
or ecx, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x10
or ecx, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x18
or ecx, eax
inc dword [ebp - 4]
mov eax, esi
mov dword [ebp - 0x38], ecx
xor eax, edi
and eax, ebx
xor eax, esi
add eax, 0x8b44f7af
add eax, dword [ebp - 0x20]
add edx, eax
mov eax, dword [ebp - 4]
rol edx, 0xc
add edx, ebx
mov dword [ebp - 0x44], edx
movzx eax, byte [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 8
or dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x10
or dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x18
or dword [ebp - 0x14], eax
mov eax, edi
inc dword [ebp - 4]
xor eax, ebx
and eax, edx
xor eax, edi
add eax, ecx
lea ecx, [esi - 0xa44f]
add ecx, eax
mov eax, dword [ebp - 4]
rol ecx, 0x11
add ecx, edx
movzx esi, byte [eax]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 8
or esi, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x10
or esi, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x18
or esi, eax
inc dword [ebp - 4]
mov eax, edx
mov dword [ebp - 0x30], esi
xor eax, ebx
lea edx, [edi - 0x76a32842]
and eax, ecx
xor eax, ebx
add eax, dword [ebp - 0x14]
add edx, eax
mov eax, dword [ebp - 4]
rol edx, 0x16
add edx, ecx
movzx edi, byte [eax]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 8
or edi, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x10
or edi, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x18
or edi, eax
inc dword [ebp - 4]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x44]
mov eax, edi
xor eax, ecx
and eax, edx
xor eax, edi
add eax, esi
lea esi, [ebx + 0x6b901122]
add esi, eax
mov eax, dword [ebp - 4]
rol esi, 7
add esi, edx
movzx ebx, byte [eax]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 8
or ebx, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x10
or ebx, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x18
or ebx, eax
inc dword [ebp - 4]
mov dword [ebp - 0x44], ebx
mov eax, ecx
add edi, 0xfd987193
xor eax, edx
and eax, esi
xor eax, ecx
add eax, dword [ebp - 0x18]
add edi, eax
mov eax, dword [ebp - 4]
rol edi, 0xc
add edi, esi
movzx eax, byte [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 8
or dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x10
or dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [eax]
shl eax, 0x18
or dword [ebp - 0xc], eax
mov eax, edx
xor eax, esi
inc dword [ebp - 4]
and eax, edi
xor eax, edx
add eax, 0xa679438e
add eax, ebx
add ecx, eax
mov eax, edi
xor eax, esi
rol ecx, 0x11
add ecx, edi
and eax, ecx
xor eax, esi
add eax, 0x49b40821
add eax, dword [ebp - 0xc]
add edx, eax
mov eax, ecx
rol edx, 0x16
add edx, ecx
xor eax, edx
and eax, edi
xor eax, ecx
add eax, 0xf61e2562
add eax, dword [ebp - 0x3c]
add esi, eax
mov eax, edx
rol esi, 5
add esi, edx
xor eax, esi
and eax, ecx
xor eax, edx
add eax, 0xc040b340
add eax, dword [ebp - 0x10]
add edi, eax
rol edi, 9
add edi, esi
mov eax, edi
xor eax, esi
and eax, edx
xor eax, esi
add eax, 0x265e5a51
add eax, dword [ebp - 0x14]
add ecx, eax
mov eax, edi
rol ecx, 0xe
add ecx, edi
xor eax, ecx
and eax, esi
xor eax, edi
add eax, 0xe9b6c7aa
add eax, dword [ebp - 0x24]
add edx, eax
mov eax, ecx
rol edx, 0x14
add edx, ecx
xor eax, edx
and eax, edi
xor eax, ecx
add eax, 0xd62f105d
add eax, dword [ebp - 0x2c]
add esi, eax
mov eax, edx
rol esi, 5
add esi, edx
xor eax, esi
and eax, ecx
xor eax, edx
add eax, 0x2441453
add eax, dword [ebp - 0x38]
add edi, eax
rol edi, 9
add edi, esi
mov eax, edi
xor eax, esi
and eax, edx
xor eax, esi
add eax, 0xd8a1e681
add eax, dword [ebp - 0xc]
add ecx, eax
mov eax, edi
rol ecx, 0xe
add ecx, edi
xor eax, ecx
and eax, esi
xor eax, edi
add eax, 0xe7d3fbc8
add eax, dword [ebp - 0x1c]
add edx, eax
mov eax, ecx
rol edx, 0x14
add edx, ecx
xor eax, edx
and eax, edi
xor eax, ecx
add eax, 0x21e1cde6
add eax, dword [ebp - 0x20]
add esi, eax
mov eax, edx
rol esi, 5
add esi, edx
xor eax, esi
and eax, ecx
xor eax, edx
add eax, 0xc33707d6
add eax, ebx
add edi, eax
rol edi, 9
add edi, esi
mov eax, edi
xor eax, esi
and eax, edx
xor eax, esi
add eax, 0xf4d50d87
add eax, dword [ebp - 0x34]
add ecx, eax
mov eax, edi
rol ecx, 0xe
add ecx, edi
xor eax, ecx
and eax, esi
xor eax, edi
add eax, 0x455a14ed
add eax, dword [ebp - 8]
add edx, eax
mov eax, ecx
rol edx, 0x14
add edx, ecx
xor eax, edx
and eax, edi
xor eax, ecx
add eax, 0xa9e3e905
add eax, dword [ebp - 0x18]
lea ebx, [ecx + 0x676f02d9]
add esi, eax
mov eax, edx
rol esi, 5
add esi, edx
xor eax, esi
and eax, ecx
xor eax, edx
add eax, 0xfcefa3f8
add eax, dword [ebp - 0x40]
add edi, eax
rol edi, 9
add edi, esi
mov eax, edi
mov ecx, edi
xor eax, esi
and eax, edx
xor eax, esi
add eax, dword [ebp - 0x28]
add ebx, eax
rol ebx, 0xe
add ebx, edi
xor ecx, ebx
mov eax, ecx
and eax, esi
xor eax, edi
add eax, 0x8d2a4c8a
add eax, dword [ebp - 0x30]
add edx, eax
mov eax, ebx
rol edx, 0x14
add edx, ebx
xor eax, edx
xor ecx, edx
add ecx, 0xfffa3942
add ecx, dword [ebp - 0x2c]
add esi, ecx
rol esi, 4
add esi, edx
xor eax, esi
add eax, 0x8771f681
add eax, dword [ebp - 8]
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 - 0x14]
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
mov eax, ebx
rol edx, 0x17
add edx, ebx
xor ecx, edx
xor eax, edx
add ecx, 0xa4beea44
add ecx, dword [ebp - 0x3c]
add esi, ecx
rol esi, 4
add esi, edx
xor eax, esi
add eax, 0x4bdecfa9
add eax, dword [ebp - 0x1c]
add edi, eax
rol edi, 0xb
add edi, esi
mov eax, edi
xor eax, edx
xor eax, esi
add eax, 0xf6bb4b60
add eax, dword [ebp - 0x28]
mov ecx, edi
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 - 0x38]
add edx, eax
mov eax, ebx
rol edx, 0x17
add edx, ebx
xor eax, edx
xor ecx, edx
add ecx, 0x289b7ec6
add ecx, dword [ebp - 0x18]
add esi, ecx
rol esi, 4
add esi, edx
xor eax, esi
add eax, 0xeaa127fa
add eax, dword [ebp - 0x24]
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 - 0x34]
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 - 0x10]
add edx, eax
mov eax, ebx
rol edx, 0x17
add edx, ebx
xor eax, edx
xor ecx, edx
add ecx, dword [ebp - 0x20]
add ecx, esi
lea esi, [edi - 0x1924661b]
rol ecx, 4
add ecx, edx
xor eax, ecx
add eax, dword [ebp - 0x30]
add esi, eax
rol esi, 0xb
add esi, ecx
mov edi, esi
mov eax, esi
xor edi, edx
xor edi, ecx
add edi, 0x1fa27cf8
add edi, dword [ebp - 0xc]
add edi, ebx
rol edi, 0x10
add edi, esi
xor eax, edi
xor eax, ecx
add eax, 0xc4ac5665
add eax, dword [ebp - 0x40]
add edx, eax
mov eax, esi
rol edx, 0x17
not eax
add edx, edi
or eax, edx
xor eax, edi
add eax, 0xf4292244
add eax, dword [ebp - 0x24]
add ecx, eax
rol ecx, 6
mov eax, edi
not eax
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 - 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 - 0x2c]
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 - 0x30]
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 - 0x34]
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 - 0x38]
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 - 0x3c]
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 - 8]
add ecx, eax
mov eax, edi
rol ecx, 6
not eax
add ecx, edx
or eax, ecx
xor eax, edx
add eax, 0xfe2ce6e0
add eax, dword [ebp - 0xc]
add esi, eax
mov eax, edx
rol esi, 0xa
not eax
lea ebx, [edx + 0x4e0811a1]
add esi, ecx
lea edx, [ecx - 0x8ac817e]
or eax, esi
xor eax, ecx
add eax, 0xa3014314
add eax, dword [ebp - 0x10]
add edi, eax
mov eax, ecx
not eax
rol edi, 0xf
add edi, esi
or eax, edi
xor eax, esi
add eax, dword [ebp - 0x18]
add ebx, eax
mov eax, esi
not eax
rol ebx, 0x15
add ebx, edi
or eax, ebx
mov ecx, ebx
xor eax, edi
not ecx
add eax, dword [ebp - 0x1c]
add edx, eax
mov eax, edi
not eax
rol edx, 6
add edx, ebx
or eax, edx
xor eax, ebx
add ebx, 0xeb86d391
add eax, 0xbd3af235
add eax, dword [ebp - 0x14]
add esi, eax
mov eax, edx
rol esi, 0xa
not eax
add esi, edx
or ecx, esi
xor ecx, edx
add ecx, 0x2ad7d2bb
add ecx, dword [ebp - 0x40]
add ecx, edi
mov edi, dword [ebp - 4]
rol ecx, 0xf
add ecx, esi
or eax, ecx
xor eax, esi
add eax, dword [ebp - 0x20]
add eax, ebx
mov ebx, dword [ebp - 0x54]
rol eax, 0x15
add eax, ecx
add dword [ebx], edx
mov edx, dword [ebx]
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x48]
add edx, eax
mov eax, dword [ebp - 0x4c]
add eax, ecx
mov dword [ebx + 4], edx
mov dword [ebp - 0x10], eax
mov dword [ebx + 8], eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x50]
add eax, esi
mov dword [ebp - 0x48], edx
mov esi, dword [ebp - 0x10]
mov dword [ebx + 0xc], eax
mov ebx, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], edx
test eax, eax
jne 0x40c8e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret