Function at 0x51d854
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, ecx
push ebx
push esi
push edi
mov esi, dword [eax + 0xc]
mov edi, edx
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 4], edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ecx
movzx eax, byte [edi + 2]
mov dword [ebp - 0x5c], ecx
movzx ecx, byte [edi + 3]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x50], edx
movzx eax, byte [edi + 1]
movzx edx, byte [edi + 7]
shl ecx, 8
or ecx, eax
shl edx, 8
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x58], ebx
mov eax, dword [ebp - 0x3c]
xor eax, ebx
mov dword [ebp - 0xc], ecx
and eax, esi
mov dword [ebp - 0x54], esi
xor eax, dword [ebp - 0x3c]
add eax, ecx
mov ecx, dword [ebp - 8]
add ecx, 0xd76aa478
add ecx, eax
movzx eax, byte [edi + 6]
or edx, eax
rol ecx, 7
movzx eax, byte [edi + 5]
add ecx, esi
shl edx, 8
or edx, eax
movzx eax, byte [edi + 4]
shl edx, 8
or edx, eax
mov eax, ebx
xor eax, esi
mov dword [ebp - 0x20], edx
and eax, ecx
xor eax, ebx
movzx ebx, byte [edi + 0xb]
add eax, edx
shl ebx, 8
mov edx, dword [ebp - 0x3c]
add edx, 0xe8c7b756
add edx, eax
movzx eax, byte [edi + 0xa]
or ebx, eax
rol edx, 0xc
movzx eax, byte [edi + 9]
add edx, ecx
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 8]
shl ebx, 8
or ebx, eax
mov eax, esi
xor eax, ecx
mov dword [ebp - 0x40], ebx
and eax, edx
xor eax, esi
mov esi, dword [ebp - 0x38]
add eax, ebx
add esi, 0x242070db
movzx ebx, byte [edi + 0xf]
add esi, eax
movzx eax, byte [edi + 0xe]
shl ebx, 8
or ebx, eax
ror esi, 0xf
movzx eax, byte [edi + 0xd]
add esi, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 0xc]
shl ebx, 8
or ebx, eax
mov eax, edx
xor eax, ecx
mov dword [ebp - 0x18], ebx
and eax, esi
xor eax, ecx
mov edi, dword [ebp - 0x44]
add eax, ebx
add edi, 0xc1bdceee
add edi, eax
mov eax, dword [ebp - 4]
ror edi, 0xa
add edi, esi
movzx ebx, byte [eax + 0x13]
movzx eax, byte [eax + 0x12]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x11]
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x10]
or ebx, eax
mov eax, edx
xor eax, esi
mov dword [ebp - 0x34], ebx
and eax, edi
add ebx, 0xf57c0faf
xor eax, edx
add eax, ebx
add ecx, eax
mov eax, dword [ebp - 4]
rol ecx, 7
add ecx, edi
movzx ebx, byte [eax + 0x17]
movzx eax, byte [eax + 0x16]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x15]
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x14]
or ebx, eax
mov eax, esi
xor eax, edi
mov dword [ebp - 0x10], ebx
and eax, ecx
add ebx, 0x4787c62a
xor eax, esi
add eax, ebx
add edx, eax
mov eax, dword [ebp - 4]
rol edx, 0xc
add edx, ecx
movzx ebx, byte [eax + 0x1b]
movzx eax, byte [eax + 0x1a]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x19]
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x18]
or ebx, eax
mov eax, edi
xor eax, ecx
mov dword [ebp - 0x2c], ebx
and eax, edx
add ebx, 0xa8304613
xor eax, edi
add eax, ebx
add esi, eax
mov eax, dword [ebp - 4]
ror esi, 0xf
add esi, edx
movzx ebx, byte [eax + 0x1f]
movzx eax, byte [eax + 0x1e]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x1d]
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x1c]
or ebx, eax
mov eax, edx
xor eax, ecx
mov dword [ebp - 8], ebx
and eax, esi
add ebx, 0xfd469501
xor eax, ecx
add eax, ebx
add edi, eax
mov eax, dword [ebp - 4]
ror edi, 0xa
add edi, esi
movzx ebx, byte [eax + 0x23]
movzx eax, byte [eax + 0x22]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x21]
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x20]
or ebx, eax
mov eax, edx
xor eax, esi
mov dword [ebp - 0x24], ebx
and eax, edi
add ebx, 0x698098d8
xor eax, edx
add eax, ebx
add ecx, eax
mov eax, dword [ebp - 4]
rol ecx, 7
add ecx, edi
movzx ebx, byte [eax + 0x27]
movzx eax, byte [eax + 0x26]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x25]
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x24]
or ebx, eax
mov eax, esi
xor eax, edi
mov dword [ebp - 0x3c], ebx
and eax, ecx
xor eax, esi
add eax, ebx
lea ebx, [edx - 0x74bb0851]
add ebx, eax
mov eax, dword [ebp - 4]
rol ebx, 0xc
add ebx, ecx
movzx edx, byte [eax + 0x2b]
movzx eax, byte [eax + 0x2a]
shl edx, 8
or edx, eax
mov eax, dword [ebp - 4]
shl edx, 8
movzx eax, byte [eax + 0x29]
or edx, eax
mov eax, dword [ebp - 4]
shl edx, 8
movzx eax, byte [eax + 0x28]
or edx, eax
mov eax, edi
xor eax, ecx
mov dword [ebp - 0x1c], edx
and eax, ebx
xor eax, edi
add edx, 0xffff5bb1
add eax, edx
add esi, eax
mov eax, dword [ebp - 4]
ror esi, 0xf
add esi, ebx
mov dword [ebp - 0x28], esi
movzx edx, byte [eax + 0x2f]
movzx eax, byte [eax + 0x2e]
shl edx, 8
or edx, eax
mov eax, dword [ebp - 4]
shl edx, 8
movzx eax, byte [eax + 0x2d]
or edx, eax
mov eax, dword [ebp - 4]
shl edx, 8
movzx eax, byte [eax + 0x2c]
or edx, eax
mov eax, ebx
xor eax, ecx
mov dword [ebp - 0x38], edx
and eax, esi
add edx, 0x895cd7be
xor eax, ecx
add eax, edx
add edi, eax
mov eax, dword [ebp - 4]
ror edi, 0xa
add edi, esi
mov dword [ebp - 0x48], edi
movzx edx, byte [eax + 0x33]
movzx eax, byte [eax + 0x32]
shl edx, 8
or edx, eax
mov eax, dword [ebp - 4]
shl edx, 8
movzx eax, byte [eax + 0x31]
or edx, eax
mov eax, dword [ebp - 4]
shl edx, 8
movzx eax, byte [eax + 0x30]
or edx, eax
mov eax, ebx
xor eax, esi
mov dword [ebp - 0x14], edx
and eax, edi
xor eax, ebx
add eax, edx
lea edx, [ecx + 0x6b901122]
add edx, eax
mov eax, dword [ebp - 4]
rol edx, 7
add edx, edi
movzx ecx, byte [eax + 0x37]
movzx eax, byte [eax + 0x36]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp - 4]
shl ecx, 8
movzx eax, byte [eax + 0x35]
or ecx, eax
mov eax, dword [ebp - 4]
shl ecx, 8
movzx eax, byte [eax + 0x34]
or ecx, eax
mov eax, esi
xor eax, edi
mov dword [ebp - 0x30], ecx
and eax, edx
xor eax, esi
lea esi, [ebx - 0x2678e6d]
add eax, ecx
mov ecx, dword [ebp - 4]
add esi, eax
rol esi, 0xc
add esi, edx
movzx ebx, byte [ecx + 0x3b]
movzx eax, byte [ecx + 0x3a]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 0x39]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 0x38]
shl ebx, 8
or ebx, eax
mov eax, edi
xor eax, edx
mov dword [ebp - 0x44], ebx
and eax, esi
xor eax, edi
mov edi, dword [ebp - 0x28]
add eax, ebx
add edi, 0xa679438e
add edi, eax
mov eax, ecx
ror edi, 0xf
add edi, esi
movzx ecx, byte [eax + 0x3f]
movzx eax, byte [eax + 0x3e]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp - 4]
shl ecx, 8
movzx eax, byte [eax + 0x3d]
or ecx, eax
mov eax, dword [ebp - 4]
shl ecx, 8
movzx eax, byte [eax + 0x3c]
or ecx, eax
mov eax, esi
xor eax, edx
mov dword [ebp - 0x28], ecx
and eax, edi
xor eax, edx
add eax, ecx
mov ecx, dword [ebp - 0x48]
add ecx, 0x49b40821
add ecx, eax
mov eax, edi
ror ecx, 0xa
add ecx, edi
xor eax, ecx
and eax, esi
xor eax, edi
add eax, 0xf61e2562
add eax, dword [ebp - 0x20]
add edx, eax
mov eax, ecx
rol edx, 5
add edx, ecx
xor eax, edx
and eax, edi
xor eax, ecx
add eax, 0xc040b340
add eax, dword [ebp - 0x2c]
add esi, eax
rol esi, 9
add esi, edx
mov eax, esi
xor eax, edx
and eax, ecx
xor eax, edx
add eax, 0x265e5a51
add eax, dword [ebp - 0x38]
add edi, eax
mov eax, esi
rol edi, 0xe
add edi, esi
xor eax, edi
and eax, edx
xor eax, esi
add eax, 0xe9b6c7aa
add eax, dword [ebp - 0xc]
add ecx, eax
mov eax, edi
ror ecx, 0xc
add ecx, edi
xor eax, ecx
and eax, esi
xor eax, edi
add eax, 0xd62f105d
add eax, dword [ebp - 0x10]
add edx, eax
mov eax, ecx
rol edx, 5
add edx, ecx
xor eax, edx
and eax, edi
xor eax, ecx
add eax, 0x2441453
add eax, dword [ebp - 0x1c]
add esi, eax
rol esi, 9
add esi, edx
mov eax, esi
xor eax, edx
and eax, ecx
xor eax, edx
add eax, 0xd8a1e681
add eax, dword [ebp - 0x28]
add edi, eax
mov eax, esi
rol edi, 0xe
add edi, esi
xor eax, edi
and eax, edx
xor eax, esi
add eax, 0xe7d3fbc8
add eax, dword [ebp - 0x34]
add ecx, eax
mov eax, edi
ror ecx, 0xc
add ecx, edi
xor eax, ecx
and eax, esi
xor eax, edi
add eax, 0x21e1cde6
add eax, dword [ebp - 0x3c]
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
lea esi, [edx - 0x561c16fb]
rol ebx, 9
add ebx, edx
mov eax, ebx
xor eax, edx
and eax, ecx
xor eax, edx
add eax, 0xf4d50d87
add eax, dword [ebp - 0x18]
add edi, eax
mov eax, ebx
rol edi, 0xe
add edi, ebx
xor eax, edi
mov dword [ebp - 0x48], edi
and eax, edx
xor eax, ebx
add eax, 0x455a14ed
add eax, dword [ebp - 0x24]
add ecx, eax
mov eax, edi
ror ecx, 0xc
add ecx, edi
xor eax, ecx
mov dword [ebp - 0x4c], ecx
and eax, ebx
xor eax, edi
add eax, dword [ebp - 0x30]
add esi, eax
mov eax, ecx
rol esi, 5
add esi, ecx
xor eax, esi
mov edx, dword [ebp - 0x4c]
and eax, edi
add edx, 0x8d2a4c8a
xor eax, ecx
lea edi, [ebx - 0x3105c08]
add eax, dword [ebp - 0x40]
add edi, eax
mov ebx, dword [ebp - 0x48]
rol edi, 9
add ebx, 0x676f02d9
add edi, esi
mov eax, edi
xor eax, esi
and eax, ecx
mov ecx, edi
xor eax, esi
add eax, dword [ebp - 8]
add ebx, eax
rol ebx, 0xe
add ebx, edi
xor ecx, ebx
mov eax, ecx
and eax, esi
xor eax, edi
add eax, dword [ebp - 0x14]
add edx, eax
mov eax, ebx
ror edx, 0xc
add edx, ebx
xor eax, edx
xor ecx, edx
add ecx, 0xfffa3942
add ecx, dword [ebp - 0x10]
add esi, ecx
rol esi, 4
add esi, edx
xor eax, esi
add eax, 0x8771f681
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, 0x6d9d6122
add eax, dword [ebp - 0x38]
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
ror edx, 9
add edx, ebx
xor ecx, edx
xor eax, edx
add ecx, 0xa4beea44
add ecx, dword [ebp - 0x20]
add esi, ecx
rol esi, 4
add esi, edx
xor eax, esi
add eax, 0x4bdecfa9
add eax, dword [ebp - 0x34]
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 - 8]
add ebx, eax
rol ebx, 0x10
add ebx, edi
mov ecx, edi
xor ecx, ebx
mov eax, ecx
xor eax, esi
add eax, 0xbebfbc70
add eax, dword [ebp - 0x1c]
add edx, eax
mov eax, ebx
ror edx, 9
add edx, ebx
xor eax, edx
xor ecx, edx
add ecx, 0x289b7ec6
add ecx, dword [ebp - 0x30]
add esi, ecx
rol esi, 4
add esi, edx
xor eax, esi
add eax, 0xeaa127fa
add eax, dword [ebp - 0xc]
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 - 0x18]
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 - 0x2c]
add edx, eax
mov eax, ebx
ror edx, 9
add edx, ebx
xor ecx, edx
xor eax, edx
add ecx, dword [ebp - 0x3c]
add ecx, esi
lea esi, [edi - 0x1924661b]
rol ecx, 4
add ecx, edx
xor eax, ecx
add eax, dword [ebp - 0x14]
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 - 0x28]
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
not eax
ror edx, 9
add edx, edi
or eax, edx
xor eax, edi
add eax, 0xf4292244
add eax, dword [ebp - 0xc]
add ecx, eax
mov eax, edi
rol ecx, 6
add ecx, edx
not eax
or eax, ecx
xor eax, edx
add eax, 0x432aff97
add eax, dword [ebp - 8]
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 - 0x10]
add edx, eax
mov eax, esi
not eax
ror edx, 0xb
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 - 0x18]
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
not eax
rol edi, 0xf
add edi, esi
or eax, edi
xor eax, esi
add eax, 0x85845dd1
add eax, dword [ebp - 0x20]
add edx, eax
mov eax, esi
not eax
ror edx, 0xb
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, 0xfe2ce6e0
add eax, dword [ebp - 0x28]
add esi, eax
mov eax, edx
rol esi, 0xa
add esi, ecx
not eax
or eax, esi
xor eax, ecx
add eax, 0xa3014314
add eax, dword [ebp - 0x2c]
add edi, eax
mov eax, ecx
not eax
rol edi, 0xf
add edi, esi
or eax, edi
xor eax, esi
add eax, 0x4e0811a1
add eax, dword [ebp - 0x30]
lea ebx, [edi + 0x2ad7d2bb]
add edx, eax
mov eax, esi
not eax
ror edx, 0xb
add edx, edi
or eax, edx
xor eax, edi
add eax, 0xf7537e82
add eax, dword [ebp - 0x34]
add ecx, eax
mov eax, edi
not eax
rol ecx, 6
add ecx, edx
mov edi, dword [ebp - 4]
or eax, ecx
mov dword [ebp - 8], ecx
xor eax, edx
lea ecx, [esi - 0x42c50dcb]
add eax, dword [ebp - 0x38]
add edi, 0x40
mov esi, dword [ebp - 8]
add ecx, eax
rol ecx, 0xa
mov eax, edx
add ecx, esi
mov dword [ebp - 4], edi
not eax
or eax, ecx
xor eax, esi
add eax, dword [ebp - 0x40]
add ebx, eax
mov eax, esi
rol ebx, 0xf
lea esi, [edx - 0x14792c6f]
mov edx, dword [ebp - 8]
add ebx, ecx
add edx, dword [ebp - 0x50]
not eax
or eax, ebx
mov dword [ebp - 8], edx
xor eax, ecx
add ecx, dword [ebp - 0x5c]
add eax, dword [ebp - 0x3c]
add esi, eax
mov dword [ebp - 0x3c], ecx
ror esi, 0xb
add esi, ebx
add ebx, dword [ebp - 0x58]
add esi, dword [ebp - 0x54]
sub dword [ebp + 8], 0x40
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x38], ebx
jne 0x51d87f
mov eax, dword [ebp - 0x60]
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], ebx
mov dword [eax + 8], edx
mov dword [eax + 0x14], ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret