Function at 0x606460
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [ecx]
push esi
mov esi, dword [ecx + 4]
push edi
mov edi, dword [ecx + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ecx
test eax, eax
je 0x606d32
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], ecx
push ebx
dec eax
mov dword [ebp + 8], eax
movzx eax, byte [edx + 1]
shl eax, 8
movzx ecx, byte [edx]
or ecx, eax
movzx eax, byte [edx + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 3]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 5]
shl eax, 8
movzx ebx, byte [edx + 4]
or ebx, eax
movzx eax, byte [edx + 6]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 7]
shl eax, 0x18
or ebx, eax
mov eax, dword [ebp - 0x2c]
xor eax, edi
and eax, esi
xor eax, dword [ebp - 0x2c]
movzx edi, byte [edx + 8]
add eax, ecx
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x48]
add ecx, 0xd76aa478
add ecx, eax
movzx eax, byte [edx + 9]
rol ecx, 7
shl eax, 8
or edi, eax
movzx eax, byte [edx + 0xa]
shl eax, 0x10
or edi, eax
movzx eax, byte [edx + 0xb]
shl eax, 0x18
or edi, eax
mov eax, dword [ebp - 0x28]
xor eax, esi
add ecx, esi
mov esi, dword [ebp - 0x2c]
and eax, ecx
xor eax, dword [ebp - 0x28]
add esi, 0xe8c7b756
add eax, ebx
add esi, eax
movzx eax, byte [edx + 0xd]
rol esi, 0xc
shl eax, 8
mov dword [ebp - 0x3c], ebx
movzx ebx, byte [edx + 0xc]
or ebx, eax
movzx eax, byte [edx + 0xe]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 0xf]
shl eax, 0x18
or ebx, eax
mov eax, dword [ebp - 0x30]
xor eax, ecx
add esi, ecx
and eax, esi
xor eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], edi
add eax, edi
mov edi, dword [ebp - 0x28]
add edi, 0x242070db
add edi, eax
movzx eax, byte [edx + 0x10]
rol edi, 0x11
mov dword [ebp - 0x20], eax
movzx eax, byte [edx + 0x11]
shl eax, 8
add edi, esi
or dword [ebp - 0x20], eax
mov dword [ebp - 0x38], ebx
movzx eax, byte [edx + 0x12]
shl eax, 0x10
or dword [ebp - 0x20], eax
movzx eax, byte [edx + 0x13]
shl eax, 0x18
or dword [ebp - 0x20], eax
mov eax, esi
xor eax, ecx
and eax, edi
xor eax, ecx
add eax, ebx
mov ebx, dword [ebp - 0x30]
add ebx, 0xc1bdceee
add ebx, eax
movzx eax, byte [edx + 0x14]
rol ebx, 0x16
mov dword [ebp - 0xc], eax
movzx eax, byte [edx + 0x15]
shl eax, 8
or dword [ebp - 0xc], eax
movzx eax, byte [edx + 0x16]
shl eax, 0x10
or dword [ebp - 0xc], eax
movzx eax, byte [edx + 0x17]
shl eax, 0x18
or dword [ebp - 0xc], eax
add ebx, edi
mov eax, esi
xor eax, edi
and eax, ebx
xor eax, esi
add eax, 0xf57c0faf
add eax, dword [ebp - 0x20]
add ecx, eax
rol ecx, 7
movzx eax, byte [edx + 0x18]
mov dword [ebp - 0x1c], eax
movzx eax, byte [edx + 0x19]
shl eax, 8
or dword [ebp - 0x1c], eax
movzx eax, byte [edx + 0x1a]
shl eax, 0x10
or dword [ebp - 0x1c], eax
movzx eax, byte [edx + 0x1b]
shl eax, 0x18
or dword [ebp - 0x1c], eax
mov eax, edi
xor eax, ebx
add ecx, ebx
and eax, ecx
xor eax, edi
add eax, 0x4787c62a
add eax, dword [ebp - 0xc]
add esi, eax
rol esi, 0xc
movzx eax, byte [edx + 0x1c]
mov dword [ebp - 4], eax
movzx eax, byte [edx + 0x1d]
shl eax, 8
or dword [ebp - 4], eax
movzx eax, byte [edx + 0x1e]
shl eax, 0x10
or dword [ebp - 4], eax
movzx eax, byte [edx + 0x1f]
shl eax, 0x18
or dword [ebp - 4], eax
add esi, ecx
mov eax, ebx
xor eax, ecx
and eax, esi
xor eax, ebx
add eax, 0xa8304613
add eax, dword [ebp - 0x1c]
add edi, eax
rol edi, 0x11
movzx eax, byte [edx + 0x20]
mov dword [ebp - 0x14], eax
movzx eax, byte [edx + 0x21]
shl eax, 8
add edi, esi
or dword [ebp - 0x14], eax
movzx eax, byte [edx + 0x22]
shl eax, 0x10
or dword [ebp - 0x14], eax
movzx eax, byte [edx + 0x23]
shl eax, 0x18
or dword [ebp - 0x14], eax
mov eax, esi
xor eax, ecx
and eax, edi
xor eax, ecx
add eax, 0xfd469501
add eax, dword [ebp - 4]
add ebx, eax
rol ebx, 0x16
movzx eax, byte [edx + 0x24]
mov dword [ebp - 0x28], eax
movzx eax, byte [edx + 0x25]
shl eax, 8
or dword [ebp - 0x28], eax
movzx eax, byte [edx + 0x26]
shl eax, 0x10
or dword [ebp - 0x28], eax
movzx eax, byte [edx + 0x27]
shl eax, 0x18
or dword [ebp - 0x28], eax
add ebx, edi
mov eax, esi
xor eax, edi
and eax, ebx
xor eax, esi
add eax, 0x698098d8
add eax, dword [ebp - 0x14]
add ecx, eax
rol ecx, 7
movzx eax, byte [edx + 0x28]
mov dword [ebp - 0x10], eax
movzx eax, byte [edx + 0x29]
shl eax, 8
or dword [ebp - 0x10], eax
movzx eax, byte [edx + 0x2a]
shl eax, 0x10
or dword [ebp - 0x10], eax
movzx eax, byte [edx + 0x2b]
shl eax, 0x18
or dword [ebp - 0x10], eax
add ecx, ebx
mov eax, edi
xor eax, ebx
and eax, ecx
xor eax, edi
add eax, 0x8b44f7af
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], ecx
add esi, eax
movzx eax, byte [edx + 0x2c]
rol esi, 0xc
mov dword [ebp - 0x24], eax
movzx eax, byte [edx + 0x2d]
shl eax, 8
or dword [ebp - 0x24], eax
movzx eax, byte [edx + 0x2e]
shl eax, 0x10
or dword [ebp - 0x24], eax
movzx eax, byte [edx + 0x2f]
shl eax, 0x18
or dword [ebp - 0x24], eax
add esi, ecx
mov eax, ebx
xor eax, ecx
and eax, esi
xor eax, ebx
add eax, dword [ebp - 0x10]
lea ecx, [edi - 0xa44f]
movzx edi, byte [edx + 0x30]
add ecx, eax
movzx eax, byte [edx + 0x31]
rol ecx, 0x11
shl eax, 8
add ecx, esi
mov dword [ebp - 0x18], esi
or edi, eax
movzx eax, byte [edx + 0x32]
shl eax, 0x10
or edi, eax
movzx eax, byte [edx + 0x33]
shl eax, 0x18
or edi, eax
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x48]
mov eax, esi
xor eax, edi
and eax, ecx
xor eax, edi
add eax, dword [ebp - 0x24]
lea esi, [ebx - 0x76a32842]
add esi, eax
movzx eax, byte [edx + 0x35]
rol esi, 0x16
shl eax, 8
movzx ebx, byte [edx + 0x34]
or ebx, eax
movzx eax, byte [edx + 0x36]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 0x37]
shl eax, 0x18
or ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x18]
add esi, ecx
mov eax, ebx
xor eax, ecx
and eax, esi
xor eax, ebx
add eax, dword [ebp - 0x2c]
add edi, 0x6b901122
add edi, eax
movzx eax, byte [edx + 0x38]
rol edi, 7
mov dword [ebp - 8], eax
movzx eax, byte [edx + 0x39]
shl eax, 8
or dword [ebp - 8], eax
movzx eax, byte [edx + 0x3a]
shl eax, 0x10
or dword [ebp - 8], eax
movzx eax, byte [edx + 0x3b]
shl eax, 0x18
or dword [ebp - 8], eax
mov eax, ecx
xor eax, esi
add edi, esi
and eax, edi
xor eax, ecx
add eax, dword [ebp - 0x30]
add ebx, 0xfd987193
add ebx, eax
movzx eax, byte [edx + 0x3c]
rol ebx, 0xc
mov dword [ebp - 0x18], eax
movzx eax, byte [edx + 0x3d]
shl eax, 8
or dword [ebp - 0x18], eax
movzx eax, byte [edx + 0x3e]
shl eax, 0x10
or dword [ebp - 0x18], eax
movzx eax, byte [edx + 0x3f]
shl eax, 0x18
or dword [ebp - 0x18], eax
add ebx, edi
mov eax, esi
xor eax, edi
and eax, ebx
xor eax, esi
add eax, 0xa679438e
add eax, dword [ebp - 8]
lea edx, [edx + 0x40]
add ecx, eax
rol ecx, 0x11
mov eax, ebx
add ecx, ebx
xor eax, edi
and eax, ecx
xor eax, edi
add eax, 0x49b40821
add eax, dword [ebp - 0x18]
add esi, eax
rol esi, 0x16
add esi, ecx
mov eax, ecx
xor eax, esi
and eax, ebx
xor eax, ecx
add eax, 0xf61e2562
add eax, dword [ebp - 0x3c]
add edi, eax
mov eax, esi
rol edi, 5
add edi, esi
xor eax, edi
and eax, ecx
xor eax, esi
add eax, 0xc040b340
add eax, dword [ebp - 0x1c]
add ebx, eax
rol ebx, 9
add ebx, edi
mov eax, ebx
xor eax, edi
and eax, esi
xor eax, edi
add eax, 0x265e5a51
add eax, dword [ebp - 0x24]
add ecx, eax
mov eax, ebx
rol ecx, 0xe
add ecx, ebx
xor eax, ecx
and eax, edi
xor eax, ebx
add eax, 0xe9b6c7aa
add eax, dword [ebp - 0x34]
add esi, eax
mov eax, ecx
rol esi, 0x14
add esi, ecx
xor eax, esi
and eax, ebx
xor eax, ecx
add eax, 0xd62f105d
add eax, dword [ebp - 0xc]
add edi, eax
mov eax, esi
rol edi, 5
add edi, esi
xor eax, edi
and eax, ecx
xor eax, esi
add eax, 0x2441453
add eax, dword [ebp - 0x10]
add ebx, eax
rol ebx, 9
add ebx, edi
mov eax, ebx
xor eax, edi
and eax, esi
xor eax, edi
add eax, 0xd8a1e681
add eax, dword [ebp - 0x18]
add ecx, eax
mov eax, ebx
rol ecx, 0xe
add ecx, ebx
xor eax, ecx
and eax, edi
xor eax, ebx
add eax, 0xe7d3fbc8
add eax, dword [ebp - 0x20]
add esi, eax
mov eax, ecx
rol esi, 0x14
add esi, ecx
xor eax, esi
and eax, ebx
xor eax, ecx
add eax, 0x21e1cde6
add eax, dword [ebp - 0x28]
add edi, eax
rol edi, 5
add edi, esi
mov eax, esi
xor eax, edi
and eax, ecx
xor eax, esi
add eax, 0xc33707d6
add eax, dword [ebp - 8]
add ebx, eax
rol ebx, 9
add ebx, edi
mov eax, ebx
xor eax, edi
and eax, esi
xor eax, edi
add eax, 0xf4d50d87
add eax, dword [ebp - 0x38]
add ecx, eax
mov eax, ebx
rol ecx, 0xe
add ecx, ebx
xor eax, ecx
and eax, edi
xor eax, ebx
add eax, 0x455a14ed
add eax, dword [ebp - 0x14]
add esi, eax
mov eax, ecx
rol esi, 0x14
add esi, ecx
xor eax, esi
and eax, ebx
xor eax, ecx
add eax, 0xa9e3e905
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], esi
add edi, eax
mov eax, esi
rol edi, 5
add edi, esi
xor eax, edi
and eax, ecx
xor eax, esi
add eax, dword [ebp - 0x40]
lea esi, [ebx - 0x3105c08]
add esi, eax
lea ebx, [ecx + 0x676f02d9]
rol esi, 9
add esi, edi
mov eax, esi
xor eax, edi
and eax, dword [ebp - 0x48]
mov ecx, esi
xor eax, edi
add eax, dword [ebp - 4]
mov dword [ebp - 0x54], esi
add ebx, eax
rol ebx, 0xe
add ebx, esi
xor ecx, ebx
mov eax, ecx
and eax, edi
xor eax, esi
add eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x48]
add esi, 0x8d2a4c8a
add esi, eax
mov dword [ebp - 0x58], ebx
rol esi, 0x14
add esi, ebx
xor ecx, esi
add ecx, 0xfffa3942
add ecx, dword [ebp - 0xc]
add edi, ecx
rol edi, 4
add edi, esi
mov ecx, dword [ebp - 0x58]
mov eax, ebx
xor eax, esi
xor eax, edi
add eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x54]
add ebx, 0x8771f681
add ebx, eax
rol ebx, 0xb
add ebx, edi
add ecx, 0x6d9d6122
mov eax, ebx
xor eax, esi
xor eax, edi
add eax, dword [ebp - 0x24]
add esi, 0xfde5380c
add eax, ecx
mov ecx, ebx
rol eax, 0x10
add eax, ebx
xor ecx, eax
mov dword [ebp - 0x58], eax
mov eax, ecx
xor eax, edi
add eax, dword [ebp - 8]
add edi, 0xa4beea44
add eax, esi
mov esi, dword [ebp - 0x58]
rol eax, 0x17
add eax, esi
xor ecx, eax
add ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x58], eax
add ecx, edi
mov edi, dword [ebp - 0x58]
rol ecx, 4
add ecx, eax
mov eax, esi
xor eax, edi
xor eax, ecx
add eax, 0x4bdecfa9
add eax, dword [ebp - 0x20]
add esi, 0xf6bb4b60
add ebx, eax
mov dword [ebp - 0x54], ecx
rol ebx, 0xb
add ebx, ecx
mov eax, ebx
xor eax, edi
xor eax, ecx
add eax, dword [ebp - 4]
mov ecx, ebx
add eax, esi
mov esi, dword [ebp - 0x54]
add edi, 0xbebfbc70
rol eax, 0x10
add eax, ebx
xor ecx, eax
mov dword [ebp - 0x58], eax
mov eax, ecx
xor eax, esi
add eax, dword [ebp - 0x10]
add esi, 0x289b7ec6
add eax, edi
mov edi, dword [ebp - 0x58]
rol eax, 0x17
add eax, edi
xor ecx, eax
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
add ecx, esi
mov esi, dword [ebp - 0x58]
rol ecx, 4
add ecx, eax
mov eax, edi
xor eax, esi
xor eax, ecx
add eax, 0xeaa127fa
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], ecx
add ebx, eax
rol ebx, 0xb
add ebx, ecx
mov eax, ebx
xor eax, esi
xor eax, ecx
add eax, dword [ebp - 0x38]
add edi, 0xd4ef3085
add eax, edi
mov edi, dword [ebp - 0x54]
mov ecx, ebx
add esi, 0x4881d05
rol eax, 0x10
add eax, ebx
xor ecx, eax
mov dword [ebp - 0x48], eax
mov eax, ecx
xor eax, edi
add eax, dword [ebp - 0x1c]
add edi, 0xd9d4d039
add esi, eax
mov eax, dword [ebp - 0x48]
rol esi, 0x17
add esi, eax
xor eax, esi
xor ecx, esi
add ecx, dword [ebp - 0x28]
add edi, ecx
mov ecx, dword [ebp - 0x48]
rol edi, 4
add edi, esi
xor eax, edi
add eax, 0xe6db99e5
add eax, dword [ebp - 0x2c]
add ecx, 0x1fa27cf8
add ebx, eax
rol ebx, 0xb
add ebx, edi
mov eax, ebx
xor eax, esi
xor eax, edi
add eax, dword [ebp - 0x18]
add ecx, eax
rol ecx, 0x10
add ecx, ebx
mov eax, ebx
xor eax, ecx
xor eax, edi
add eax, 0xc4ac5665
add eax, dword [ebp - 0x40]
add esi, eax
mov eax, ebx
not eax
rol esi, 0x17
add esi, ecx
or eax, esi
xor eax, ecx
add eax, 0xf4292244
add eax, dword [ebp - 0x34]
add edi, eax
rol edi, 6
mov eax, ecx
not eax
add edi, esi
or eax, edi
xor eax, esi
add eax, 0x432aff97
add eax, dword [ebp - 4]
add ebx, eax
mov eax, esi
not eax
rol ebx, 0xa
add ebx, edi
or eax, ebx
xor eax, edi
add eax, 0xab9423a7
add eax, dword [ebp - 8]
add ecx, eax
rol ecx, 0xf
mov eax, edi
add ecx, ebx
not eax
or eax, ecx
xor eax, ebx
add eax, 0xfc93a039
add eax, dword [ebp - 0xc]
add esi, eax
rol esi, 0x15
add esi, ecx
mov eax, ebx
not eax
or eax, esi
xor eax, ecx
add eax, 0x655b59c3
add eax, dword [ebp - 0x2c]
add edi, eax
mov eax, ecx
not eax
rol edi, 6
add edi, esi
or eax, edi
xor eax, esi
add eax, 0x8f0ccc92
add eax, dword [ebp - 0x38]
add ebx, eax
rol ebx, 0xa
add ebx, edi
mov eax, esi
not eax
or eax, ebx
xor eax, edi
add eax, 0xffeff47d
add eax, dword [ebp - 0x10]
add ecx, eax
mov eax, edi
not eax
rol ecx, 0xf
add ecx, ebx
or eax, ecx
xor eax, ebx
add eax, 0x85845dd1
add eax, dword [ebp - 0x3c]
add esi, eax
rol esi, 0x15
add esi, ecx
mov eax, ebx
not eax
or eax, esi
xor eax, ecx
add eax, 0x6fa87e4f
add eax, dword [ebp - 0x14]
add edi, eax
mov eax, ecx
not eax
rol edi, 6
add edi, esi
or eax, edi
xor eax, esi
add eax, 0xfe2ce6e0
add eax, dword [ebp - 0x18]
add ebx, eax
rol ebx, 0xa
mov eax, esi
not eax
add ebx, edi
or eax, ebx
xor eax, edi
add eax, 0xa3014314
add eax, dword [ebp - 0x1c]
add ecx, eax
mov eax, edi
not eax
rol ecx, 0xf
add ecx, ebx
or eax, ecx
xor eax, ebx
add eax, 0x4e0811a1
add eax, dword [ebp - 0x30]
add esi, eax
rol esi, 0x15
add esi, ecx
mov dword [ebp - 0x48], esi
mov eax, ebx
not eax
or eax, esi
xor eax, ecx
add eax, dword [ebp - 0x20]
lea esi, [edi - 0x8ac817e]
add esi, eax
rol esi, 6
add esi, dword [ebp - 0x48]
mov eax, ecx
not eax
or eax, esi
xor eax, dword [ebp - 0x48]
lea edi, [ebx - 0x42c50dcb]
add eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x48]
add edi, eax
mov eax, ebx
rol edi, 0xa
not eax
add edi, esi
or eax, edi
xor eax, esi
add eax, 0x2ad7d2bb
add eax, dword [ebp - 0x40]
add ebx, 0xeb86d391
add ecx, eax
mov eax, esi
not eax
rol ecx, 0xf
add ecx, edi
or eax, ecx
xor eax, edi
add eax, dword [ebp - 0x28]
add eax, ebx
mov ebx, dword [ebp - 0x5c]
rol eax, 0x15
add dword [ebx], esi
mov esi, dword [ebx]
add eax, ecx
mov dword [ebp - 0x48], esi
mov esi, dword [ebp - 0x44]
add esi, eax
mov eax, esi
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x4c]
add eax, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x4c], eax
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x50]
add eax, edi
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x2c], eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x30], esi
test eax, eax
jne 0x606497
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret