Function at 0x46d850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ecx]
push esi
mov esi, dword [ecx + 8]
push edi
mov edi, dword [ecx + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x46df41
push ebx
lea ebx, [edx + 8]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ebx
dec eax
mov edx, dword [ebp - 0x18]
mov dword [ebp + 8], eax
add edx, 0xe8c7b756
mov eax, ecx
xor eax, esi
and eax, edi
xor eax, ecx
mov ecx, dword [ebp - 8]
add eax, dword [ebx - 8]
add ecx, 0xd76aa478
add ecx, eax
mov eax, esi
xor eax, edi
rol ecx, 7
add ecx, edi
and eax, ecx
xor eax, esi
add eax, dword [ebx - 4]
add edx, eax
mov eax, edi
xor eax, ecx
rol edx, 0xc
add edx, ecx
and eax, edx
xor eax, edi
add eax, 0x242070db
add eax, dword [ebx]
add esi, eax
mov eax, edx
xor eax, ecx
rol esi, 0x11
add esi, edx
and eax, esi
xor eax, ecx
add eax, 0xc1bdceee
add eax, dword [ebx + 4]
add edi, eax
mov eax, edx
xor eax, esi
rol edi, 0x16
add edi, esi
and eax, edi
xor eax, edx
add eax, 0xf57c0faf
add eax, dword [ebx + 8]
add ecx, eax
mov eax, esi
xor eax, edi
rol ecx, 7
add ecx, edi
and eax, ecx
xor eax, esi
add eax, 0x4787c62a
add eax, dword [ebx + 0xc]
add edx, eax
mov eax, edi
xor eax, ecx
rol edx, 0xc
add edx, ecx
and eax, edx
xor eax, edi
add eax, 0xa8304613
add eax, dword [ebx + 0x10]
add esi, eax
mov eax, edx
xor eax, ecx
rol esi, 0x11
add esi, edx
and eax, esi
xor eax, ecx
add eax, 0xfd469501
add eax, dword [ebx + 0x14]
add edi, eax
mov eax, edx
rol edi, 0x16
xor eax, esi
add edi, esi
and eax, edi
xor eax, edx
add eax, 0x698098d8
add eax, dword [ebx + 0x18]
add ecx, eax
mov eax, esi
xor eax, edi
rol ecx, 7
add ecx, edi
and eax, ecx
xor eax, esi
add eax, dword [ebx + 0x1c]
lea ebx, [edx - 0x74bb0851]
add ebx, eax
mov edx, dword [ebp - 4]
mov eax, edi
rol ebx, 0xc
xor eax, ecx
add ebx, ecx
and eax, ebx
xor eax, edi
add eax, 0xffff5bb1
add eax, dword [edx + 0x20]
add esi, eax
mov eax, ebx
xor eax, ecx
rol esi, 0x11
add esi, ebx
and eax, esi
mov dword [ebp - 0x18], esi
xor eax, ecx
add eax, 0x895cd7be
add eax, dword [edx + 0x24]
add edi, eax
mov eax, ebx
xor eax, esi
rol edi, 0x16
add edi, esi
and eax, edi
mov dword [ebp - 8], edi
xor eax, ebx
add eax, dword [edx + 0x28]
lea edx, [ecx + 0x6b901122]
mov ecx, dword [ebp - 4]
add edx, eax
mov eax, esi
rol edx, 7
xor eax, edi
add edx, edi
and eax, edx
xor eax, esi
lea esi, [ebx - 0x2678e6d]
add eax, dword [ecx + 0x2c]
mov ebx, dword [ecx + 0x30]
add esi, eax
mov eax, edi
rol esi, 0xc
xor eax, edx
add esi, edx
and eax, esi
mov dword [ebp - 0x1c], esi
xor eax, edi
mov edi, dword [ebp - 0x18]
add eax, ebx
add edi, 0xa679438e
add edi, eax
mov eax, esi
xor eax, edx
rol edi, 0x11
add edi, esi
and eax, edi
mov dword [ebp - 0x18], edi
xor eax, edx
add eax, dword [ecx + 0x34]
mov ecx, dword [ebp - 8]
add ecx, 0x49b40821
add ecx, eax
mov eax, edi
rol ecx, 0x16
add ecx, edi
xor eax, ecx
mov dword [ebp - 8], ecx
and eax, esi
xor eax, edi
mov esi, dword [ebp - 4]
add eax, 0xf61e2562
add eax, dword [esi - 4]
add edx, eax
mov eax, ecx
rol edx, 5
add edx, ecx
xor eax, edx
mov dword [ebp - 0x20], edx
and eax, edi
mov edi, dword [ebp - 4]
xor eax, ecx
add eax, dword [esi + 0x10]
mov esi, dword [ebp - 0x1c]
add esi, 0xc040b340
add esi, eax
rol esi, 9
add esi, edx
mov eax, esi
mov dword [ebp - 0x1c], esi
xor eax, edx
and eax, ecx
mov ecx, dword [ebp - 4]
xor eax, edx
add eax, dword [edi + 0x24]
mov edi, dword [ebp - 0x18]
add edi, 0x265e5a51
add edi, eax
mov eax, esi
rol edi, 0xe
add edi, esi
xor eax, edi
mov dword [ebp - 0x18], edi
and eax, edx
mov edx, dword [ebp - 4]
xor eax, esi
add eax, dword [ecx - 8]
mov ecx, dword [ebp - 8]
add ecx, 0xe9b6c7aa
add ecx, eax
mov eax, edi
rol ecx, 0x14
add ecx, edi
xor eax, ecx
mov dword [ebp - 8], ecx
and eax, esi
mov esi, dword [ebp - 4]
xor eax, edi
add eax, dword [edx + 0xc]
mov edx, dword [ebp - 0x20]
add edx, 0xd62f105d
add edx, eax
mov eax, ecx
rol edx, 5
add edx, ecx
xor eax, edx
mov dword [ebp - 0x20], edx
and eax, edi
mov edi, dword [ebp - 4]
xor eax, ecx
add eax, dword [esi + 0x20]
mov esi, dword [ebp - 0x1c]
add esi, 0x2441453
add esi, eax
rol esi, 9
add esi, edx
mov eax, esi
xor eax, edx
and eax, ecx
mov ecx, dword [ebp - 4]
xor eax, edx
add eax, dword [edi + 0x34]
mov edi, dword [ebp - 0x18]
add edi, 0xd8a1e681
add edi, eax
mov eax, esi
rol edi, 0xe
add edi, esi
xor eax, edi
and eax, edx
xor eax, esi
add eax, dword [ecx + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
add ecx, 0xe7d3fbc8
add ecx, eax
mov eax, edi
rol ecx, 0x14
add ecx, edi
xor eax, ecx
and eax, esi
xor eax, edi
add eax, dword [edx + 0x1c]
mov edx, dword [ebp - 0x20]
add edx, 0x21e1cde6
add edx, eax
mov eax, ecx
rol edx, 5
add edx, ecx
xor eax, edx
and eax, edi
xor eax, ecx
add eax, ebx
lea ebx, [esi - 0x3cc8f82a]
add ebx, eax
mov esi, dword [ebp - 4]
rol ebx, 9
add ebx, edx
mov eax, ebx
xor eax, edx
and eax, ecx
xor eax, edx
add eax, 0xf4d50d87
add eax, dword [esi + 4]
add edi, eax
mov eax, ebx
rol edi, 0xe
add edi, ebx
xor eax, edi
mov dword [ebp - 0x20], edi
and eax, edx
xor eax, ebx
add eax, 0x455a14ed
add eax, dword [esi + 0x18]
add ecx, eax
mov eax, edi
rol ecx, 0x14
add ecx, edi
xor eax, ecx
mov dword [ebp - 0x1c], ecx
and eax, ebx
xor eax, edi
add eax, dword [esi + 0x2c]
lea esi, [edx - 0x561c16fb]
mov edx, dword [ebp - 4]
add esi, eax
rol esi, 5
mov eax, ecx
add esi, ecx
xor eax, esi
and eax, edi
lea edi, [ebx - 0x3105c08]
mov ebx, dword [ebp - 0x20]
xor eax, ecx
add eax, dword [edx]
add ebx, 0x676f02d9
add edi, eax
rol edi, 9
add edi, esi
mov eax, edi
xor eax, esi
and eax, ecx
mov ecx, edi
xor eax, esi
add eax, dword [edx + 0x14]
add ebx, eax
rol ebx, 0xe
add ebx, edi
xor ecx, ebx
mov eax, ecx
and eax, esi
xor eax, edi
add eax, dword [edx + 0x28]
mov edx, dword [ebp - 0x1c]
add edx, 0x8d2a4c8a
add edx, eax
mov eax, dword [ebp - 4]
rol edx, 0x14
add edx, ebx
xor ecx, edx
add ecx, 0xfffa3942
add ecx, dword [eax + 0xc]
mov eax, ebx
xor eax, edx
add esi, ecx
mov ecx, dword [ebp - 4]
rol esi, 4
add esi, edx
xor eax, esi
add eax, 0x8771f681
add eax, dword [ecx + 0x18]
add edi, eax
rol edi, 0xb
add edi, esi
mov eax, edi
mov dword [ebp - 0x20], edi
xor eax, edx
xor eax, esi
add eax, 0x6d9d6122
add eax, dword [ecx + 0x24]
mov ecx, edi
add ebx, eax
rol ebx, 0x10
add ebx, edi
mov edi, dword [ebp - 4]
xor ecx, ebx
mov eax, ecx
xor eax, esi
add eax, 0xfde5380c
add eax, dword [edi + 0x30]
add edx, eax
mov eax, edi
rol edx, 0x17
add edx, ebx
xor ecx, edx
add ecx, 0xa4beea44
add ecx, dword [eax - 4]
mov eax, ebx
xor eax, edx
add esi, ecx
mov ecx, edi
rol esi, 4
mov edi, dword [ebp - 0x20]
add esi, edx
xor eax, esi
add edi, 0x4bdecfa9
add eax, dword [ecx + 8]
add edi, eax
rol edi, 0xb
add edi, esi
mov eax, edi
mov dword [ebp - 0x20], edi
xor eax, edx
xor eax, esi
add eax, 0xf6bb4b60
add eax, dword [ecx + 0x14]
mov ecx, edi
add ebx, eax
rol ebx, 0x10
add ebx, edi
mov edi, dword [ebp - 4]
xor ecx, ebx
mov eax, ecx
xor eax, esi
add eax, 0xbebfbc70
add eax, dword [edi + 0x20]
add edx, eax
mov eax, edi
rol edx, 0x17
add edx, ebx
xor ecx, edx
add ecx, 0x289b7ec6
add ecx, dword [eax + 0x2c]
add esi, ecx
mov eax, ebx
xor eax, edx
rol esi, 4
add esi, edx
mov ecx, edi
xor eax, esi
mov edi, dword [ebp - 0x20]
add edi, 0xeaa127fa
add eax, dword [ecx - 8]
add edi, eax
rol edi, 0xb
add edi, esi
mov eax, edi
mov dword [ebp - 0x20], edi
xor eax, edx
xor eax, esi
add eax, 0xd4ef3085
add eax, dword [ecx + 4]
mov ecx, edi
add ebx, eax
rol ebx, 0x10
add ebx, edi
mov edi, dword [ebp - 4]
xor ecx, ebx
mov eax, ecx
xor eax, esi
add esi, 0xd9d4d039
add eax, 0x4881d05
add eax, dword [edi + 0x10]
add edx, eax
mov eax, edi
rol edx, 0x17
add edx, ebx
xor ecx, edx
add ecx, dword [eax + 0x1c]
mov eax, ebx
xor eax, edx
add ecx, esi
rol ecx, 4
mov esi, edi
add ecx, edx
xor eax, ecx
add eax, dword [esi + 0x28]
mov esi, dword [ebp - 0x20]
add esi, 0xe6db99e5
add esi, eax
rol esi, 0xb
add esi, ecx
mov eax, esi
mov dword [ebp - 0x20], esi
xor eax, edx
xor eax, ecx
add eax, dword [edi + 0x34]
lea edi, [ebx + 0x1fa27cf8]
mov ebx, dword [ebp - 4]
add edi, eax
rol edi, 0x10
mov eax, esi
add edi, esi
xor eax, edi
xor eax, ecx
add eax, 0xc4ac5665
add eax, dword [ebx]
add edx, eax
mov eax, esi
not eax
rol edx, 0x17
add edx, edi
mov esi, ebx
or eax, edx
xor eax, edi
add eax, 0xf4292244
add eax, dword [ebx - 8]
add ecx, eax
mov eax, edi
rol ecx, 6
not eax
add ecx, edx
or eax, ecx
xor eax, edx
add eax, dword [esi + 0x14]
mov esi, dword [ebp - 0x20]
add esi, 0x432aff97
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 [ebx + 0x30]
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 [ebx + 0xc]
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 [ebx + 0x28]
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 [ebx + 4]
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 [ebx + 0x20]
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 [ebx - 4]
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 [ebx + 0x18]
add ecx, eax
mov eax, edi
not eax
rol ecx, 6
add ecx, edx
or eax, ecx
xor eax, edx
add eax, 0xfe2ce6e0
add eax, dword [ebx + 0x34]
add esi, eax
mov eax, edx
rol esi, 0xa
not eax
add esi, ecx
or eax, esi
xor eax, ecx
add eax, 0xa3014314
add eax, dword [ebx + 0x10]
add edi, eax
mov eax, ecx
not eax
rol edi, 0xf
add edi, esi
or eax, edi
xor eax, esi
add eax, dword [ebx + 0x2c]
lea ebx, [edx + 0x4e0811a1]
add ebx, eax
mov edx, dword [ebp - 4]
rol ebx, 0x15
mov eax, esi
not eax
add ebx, edi
or eax, ebx
xor eax, edi
add eax, dword [edx + 8]
lea edx, [ecx - 0x8ac817e]
add edx, eax
mov ecx, dword [ebp - 4]
rol edx, 6
mov eax, edi
not eax
add edx, ebx
or eax, edx
xor eax, ebx
add eax, 0xbd3af235
add eax, dword [ecx + 0x24]
add esi, eax
mov eax, ebx
not eax
rol esi, 0xa
add esi, edx
add ebx, 0xeb86d391
or eax, esi
xor eax, edx
add eax, dword [ecx]
lea ecx, [edi + 0x2ad7d2bb]
mov edi, dword [ebp - 4]
add ecx, eax
mov eax, edx
rol ecx, 0xf
not eax
add ecx, esi
or eax, ecx
xor eax, esi
add eax, dword [edi + 0x1c]
add eax, ebx
mov ebx, dword [ebp - 0x24]
rol eax, 0x15
add eax, ecx
add dword [ebx], edx
mov edx, dword [ebx]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0xc]
add edx, eax
mov eax, dword [ebp - 0x10]
add eax, ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], eax
mov edi, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
add eax, esi
mov dword [ebp - 0xc], edx
mov esi, dword [ebp - 0x20]
mov ecx, eax
mov dword [ebx + 0xc], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x14], eax
add ebx, 0x40
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ebx
test eax, eax
jne 0x46d887
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret