Function at 0x3bca4f
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x50
mov eax, dword [ecx]
push ebp
mov ebp, dword [ecx + 0xc]
push esi
mov esi, dword [ecx + 8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebp
push edi
mov edi, dword [ecx + 4]
mov dword [esp + 0x3c], edi
test eax, eax
je 0x3bd324
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], ebp
push ebx
mov edi, edi
dec eax
movzx ecx, byte [edx]
mov dword [esp + 0x64], eax
movzx eax, byte [edx + 1]
shl eax, 8
or ecx, eax
movzx ebx, byte [edx + 4]
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
or ebx, eax
mov dword [esp + 0x2c], ecx
movzx eax, byte [edx + 6]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 7]
shl eax, 0x18
or ebx, eax
mov eax, ebp
xor eax, esi
mov dword [esp + 0x44], ebx
and eax, edi
xor eax, ebp
movzx ebp, byte [edx + 8]
add eax, ecx
mov ecx, dword [esp + 0x4c]
add ecx, 0xd76aa478
add ecx, eax
movzx eax, byte [edx + 9]
shl eax, 8
or ebp, eax
rol ecx, 7
movzx eax, byte [edx + 0xa]
add ecx, edi
shl eax, 0x10
or ebp, eax
movzx eax, byte [edx + 0xb]
shl eax, 0x18
or ebp, eax
mov eax, esi
xor eax, edi
mov dword [esp + 0x48], ebp
and eax, ecx
xor eax, esi
mov esi, dword [esp + 0x3c]
add eax, ebx
add esi, 0xe8c7b756
movzx ebx, byte [edx + 0xc]
add esi, eax
movzx eax, byte [edx + 0xd]
shl eax, 8
or ebx, eax
rol esi, 0xc
movzx eax, byte [edx + 0xe]
add esi, ecx
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 0xf]
shl eax, 0x18
or ebx, eax
mov eax, edi
xor eax, ecx
mov dword [esp + 0x3c], ebx
and eax, esi
xor eax, edi
mov edi, dword [esp + 0x38]
add eax, ebp
add edi, 0x242070db
movzx ebp, byte [edx + 0x10]
add edi, eax
movzx eax, byte [edx + 0x11]
rol edi, 0x11
shl eax, 8
add edi, esi
or ebp, eax
movzx eax, byte [edx + 0x12]
shl eax, 0x10
or ebp, eax
movzx eax, byte [edx + 0x13]
shl eax, 0x18
or ebp, eax
mov eax, esi
xor eax, ecx
mov dword [esp + 0x24], ebp
and eax, edi
movzx ebp, byte [edx + 0x14]
xor eax, ecx
add eax, ebx
mov ebx, dword [esp + 0x40]
add ebx, 0xc1bdceee
add ebx, eax
movzx eax, byte [edx + 0x15]
shl eax, 8
or ebp, eax
rol ebx, 0x16
movzx eax, byte [edx + 0x16]
add ebx, edi
shl eax, 0x10
or ebp, eax
movzx eax, byte [edx + 0x17]
shl eax, 0x18
or ebp, eax
mov eax, esi
xor eax, edi
mov dword [esp + 0x34], ebp
and eax, ebx
add ebp, 0x4787c62a
xor eax, esi
add eax, 0xf57c0faf
add eax, dword [esp + 0x24]
add ecx, eax
movzx eax, byte [edx + 0x18]
mov dword [esp + 0x18], eax
movzx eax, byte [edx + 0x19]
shl eax, 8
or dword [esp + 0x18], eax
movzx eax, byte [edx + 0x1a]
shl eax, 0x10
or dword [esp + 0x18], eax
movzx eax, byte [edx + 0x1b]
shl eax, 0x18
or dword [esp + 0x18], eax
mov eax, edi
xor eax, ebx
rol ecx, 7
add ecx, ebx
and eax, ecx
xor eax, edi
add eax, ebp
movzx ebp, byte [edx + 0x1c]
add esi, eax
movzx eax, byte [edx + 0x1d]
shl eax, 8
or ebp, eax
rol esi, 0xc
movzx eax, byte [edx + 0x1e]
add esi, ecx
shl eax, 0x10
or ebp, eax
movzx eax, byte [edx + 0x1f]
shl eax, 0x18
or ebp, eax
mov eax, ebx
xor eax, ecx
mov dword [esp + 0x30], ebp
and eax, esi
xor eax, ebx
add eax, 0xa8304613
add eax, dword [esp + 0x18]
add edi, eax
movzx eax, byte [edx + 0x20]
mov dword [esp + 0x10], eax
movzx eax, byte [edx + 0x21]
rol edi, 0x11
shl eax, 8
add edi, esi
or dword [esp + 0x10], eax
movzx eax, byte [edx + 0x22]
add ebp, 0xfd469501
shl eax, 0x10
or dword [esp + 0x10], eax
movzx eax, byte [edx + 0x23]
shl eax, 0x18
or dword [esp + 0x10], eax
mov eax, esi
xor eax, ecx
and eax, edi
xor eax, ecx
add eax, ebp
movzx ebp, byte [edx + 0x24]
add ebx, eax
movzx eax, byte [edx + 0x25]
shl eax, 8
or ebp, eax
rol ebx, 0x16
movzx eax, byte [edx + 0x26]
add ebx, edi
shl eax, 0x10
or ebp, eax
movzx eax, byte [edx + 0x27]
shl eax, 0x18
or ebp, eax
mov eax, esi
xor eax, edi
mov dword [esp + 0x28], ebp
and eax, ebx
lea ebp, [ecx + 0x698098d8]
xor eax, esi
movzx ecx, byte [edx + 0x28]
add eax, dword [esp + 0x10]
add ebp, eax
movzx eax, byte [edx + 0x29]
shl eax, 8
or ecx, eax
rol ebp, 7
movzx eax, byte [edx + 0x2a]
add ebp, ebx
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 0x2b]
shl eax, 0x18
or ecx, eax
mov eax, edi
xor eax, ebx
mov dword [esp + 0x40], ecx
and eax, ebp
xor eax, edi
add eax, 0x8b44f7af
add eax, dword [esp + 0x28]
add esi, eax
movzx eax, byte [edx + 0x2c]
mov dword [esp + 0x1c], eax
movzx eax, byte [edx + 0x2d]
shl eax, 8
or dword [esp + 0x1c], eax
movzx eax, byte [edx + 0x2e]
shl eax, 0x10
or dword [esp + 0x1c], eax
movzx eax, byte [edx + 0x2f]
shl eax, 0x18
or dword [esp + 0x1c], eax
mov eax, ebx
xor eax, ebp
rol esi, 0xc
add esi, ebp
and eax, esi
mov dword [esp + 0x4c], esi
xor eax, ebx
add eax, ecx
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
or edi, eax
movzx eax, byte [edx + 0x32]
shl eax, 0x10
lea edx, [edx + 0x40]
or edi, eax
movzx eax, byte [edx - 0xd]
shl eax, 0x18
or edi, eax
mov eax, esi
xor eax, ebp
mov dword [esp + 0x38], edi
and eax, ecx
lea esi, [ebx - 0x76a32842]
xor eax, ebp
movzx ebx, byte [edx - 0xc]
add eax, dword [esp + 0x1c]
add esi, eax
movzx eax, byte [edx - 0xb]
shl eax, 8
or ebx, eax
rol esi, 0x16
movzx eax, byte [edx - 0xa]
add esi, ecx
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx - 9]
shl eax, 0x18
or ebx, eax
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x4c]
mov eax, ebx
xor eax, ecx
and eax, esi
xor eax, ebx
add ebx, 0xfd987193
add eax, edi
lea edi, [ebp + 0x6b901122]
movzx ebp, byte [edx - 8]
add edi, eax
movzx eax, byte [edx - 7]
shl eax, 8
or ebp, eax
rol edi, 7
movzx eax, byte [edx - 6]
add edi, esi
shl eax, 0x10
or ebp, eax
movzx eax, byte [edx - 5]
shl eax, 0x18
or ebp, eax
mov eax, ecx
xor eax, esi
mov dword [esp + 0x4c], ebp
and eax, edi
xor eax, ecx
add eax, dword [esp + 0x20]
add ebx, eax
movzx eax, byte [edx - 4]
mov dword [esp + 0x14], eax
movzx eax, byte [edx - 3]
shl eax, 8
or dword [esp + 0x14], eax
movzx eax, byte [edx - 2]
shl eax, 0x10
or dword [esp + 0x14], eax
movzx eax, byte [edx - 1]
shl eax, 0x18
or dword [esp + 0x14], eax
mov eax, esi
xor eax, edi
rol ebx, 0xc
add ebx, edi
and eax, ebx
xor eax, esi
add eax, 0xa679438e
add eax, ebp
add ecx, eax
mov eax, ebx
rol ecx, 0x11
xor eax, edi
add ecx, ebx
and eax, ecx
xor eax, edi
add eax, 0x49b40821
add eax, dword [esp + 0x14]
add esi, eax
mov eax, ecx
rol esi, 0x16
add esi, ecx
xor eax, esi
and eax, ebx
xor eax, ecx
add eax, 0xf61e2562
add eax, dword [esp + 0x44]
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 [esp + 0x18]
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 [esp + 0x1c]
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 [esp + 0x2c]
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 [esp + 0x34]
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 [esp + 0x40]
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 [esp + 0x14]
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 [esp + 0x24]
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 [esp + 0x28]
add edi, eax
mov eax, esi
rol edi, 5
add edi, esi
xor eax, edi
and eax, ecx
xor eax, esi
add eax, 0xc33707d6
add eax, ebp
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 [esp + 0x3c]
add ecx, eax
mov eax, ebx
rol ecx, 0xe
add ecx, ebx
xor eax, ecx
and eax, edi
xor eax, ebx
add eax, 0x455a14ed
lea ebp, [ecx + 0x676f02d9]
add eax, dword [esp + 0x10]
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 [esp + 0x20]
add edi, eax
mov eax, esi
rol edi, 5
add edi, esi
xor eax, edi
and eax, ecx
xor eax, esi
add eax, 0xfcefa3f8
add eax, dword [esp + 0x48]
add ebx, eax
rol ebx, 9
add ebx, edi
mov eax, ebx
mov ecx, ebx
xor eax, edi
and eax, esi
xor eax, edi
add eax, dword [esp + 0x30]
add ebp, eax
rol ebp, 0xe
add ebp, ebx
xor ecx, ebp
mov eax, ecx
and eax, edi
xor eax, ebx
add eax, 0x8d2a4c8a
add eax, dword [esp + 0x38]
add esi, eax
mov eax, ebp
rol esi, 0x14
add esi, ebp
xor ecx, esi
xor eax, esi
add ecx, 0xfffa3942
add ecx, dword [esp + 0x34]
add edi, ecx
rol edi, 4
add edi, esi
xor eax, edi
add eax, 0x8771f681
add eax, dword [esp + 0x10]
add ebx, eax
rol ebx, 0xb
add ebx, edi
mov eax, ebx
mov ecx, ebx
xor eax, esi
xor eax, edi
add eax, 0x6d9d6122
add eax, dword [esp + 0x1c]
add ebp, eax
rol ebp, 0x10
add ebp, ebx
xor ecx, ebp
mov eax, ecx
xor eax, edi
add eax, 0xfde5380c
add eax, dword [esp + 0x4c]
add esi, eax
mov eax, ebp
rol esi, 0x17
add esi, ebp
xor eax, esi
xor ecx, esi
add ecx, 0xa4beea44
add ecx, dword [esp + 0x44]
add edi, ecx
rol edi, 4
add edi, esi
xor eax, edi
add eax, 0x4bdecfa9
add eax, dword [esp + 0x24]
add ebx, eax
rol ebx, 0xb
add ebx, edi
mov eax, ebx
mov ecx, ebx
xor eax, esi
xor eax, edi
add eax, 0xf6bb4b60
add eax, dword [esp + 0x30]
add ebp, eax
rol ebp, 0x10
add ebp, ebx
xor ecx, ebp
mov eax, ecx
xor eax, edi
add eax, 0xbebfbc70
add eax, dword [esp + 0x40]
add esi, eax
mov eax, ebp
rol esi, 0x17
add esi, ebp
xor ecx, esi
xor eax, esi
add ecx, 0x289b7ec6
add ecx, dword [esp + 0x20]
add edi, ecx
rol edi, 4
add edi, esi
xor eax, edi
add eax, 0xeaa127fa
add eax, dword [esp + 0x2c]
add ebx, eax
rol ebx, 0xb
add ebx, edi
mov eax, ebx
mov ecx, ebx
xor eax, esi
xor eax, edi
add eax, 0xd4ef3085
add eax, dword [esp + 0x3c]
add ebp, eax
rol ebp, 0x10
add ebp, ebx
xor ecx, ebp
mov eax, ecx
xor eax, edi
add eax, 0x4881d05
add eax, dword [esp + 0x18]
add esi, eax
rol esi, 0x17
add esi, ebp
xor ecx, esi
add edi, 0xd9d4d039
add ecx, dword [esp + 0x28]
mov eax, ebp
xor eax, esi
add ecx, edi
rol ecx, 4
lea edi, [ebx - 0x1924661b]
add ecx, esi
xor eax, ecx
add eax, dword [esp + 0x38]
add edi, eax
rol edi, 0xb
add edi, ecx
mov ebx, edi
mov eax, edi
xor ebx, esi
xor ebx, ecx
add ebx, 0x1fa27cf8
add ebx, dword [esp + 0x14]
add ebx, ebp
rol ebx, 0x10
add ebx, edi
xor eax, ebx
xor eax, ecx
add eax, 0xc4ac5665
add eax, dword [esp + 0x48]
add esi, eax
mov eax, edi
not eax
rol esi, 0x17
add esi, ebx
or eax, esi
xor eax, ebx
add eax, 0xf4292244
add eax, dword [esp + 0x2c]
add ecx, eax
mov eax, ebx
not eax
rol ecx, 6
add ecx, esi
or eax, ecx
xor eax, esi
add eax, 0x432aff97
add eax, dword [esp + 0x30]
add edi, eax
mov eax, esi
not eax
rol edi, 0xa
add edi, ecx
or eax, edi
xor eax, ecx
add eax, 0xab9423a7
add eax, dword [esp + 0x4c]
add ebx, eax
mov eax, ecx
not eax
rol ebx, 0xf
add ebx, edi
or eax, ebx
xor eax, edi
add eax, 0xfc93a039
add eax, dword [esp + 0x34]
add esi, eax
mov eax, edi
not eax
rol esi, 0x15
add esi, ebx
or eax, esi
xor eax, ebx
add eax, 0x655b59c3
add eax, dword [esp + 0x38]
add ecx, eax
mov eax, ebx
rol ecx, 6
not eax
add ecx, esi
or eax, ecx
xor eax, esi
add eax, 0x8f0ccc92
add eax, dword [esp + 0x3c]
add edi, eax
mov eax, esi
not eax
rol edi, 0xa
add edi, ecx
or eax, edi
xor eax, ecx
add eax, 0xffeff47d
add eax, dword [esp + 0x40]
add ebx, eax
mov eax, ecx
not eax
rol ebx, 0xf
add ebx, edi
or eax, ebx
xor eax, edi
add eax, 0x85845dd1
add eax, dword [esp + 0x44]
add esi, eax
mov eax, edi
not eax
rol esi, 0x15
add esi, ebx
or eax, esi
xor eax, ebx
add eax, 0x6fa87e4f
add eax, dword [esp + 0x10]
lea ebp, [esi + 0x4e0811a1]
add ecx, eax
mov eax, ebx
not eax
rol ecx, 6
add ecx, esi
or eax, ecx
xor eax, esi
add eax, 0xfe2ce6e0
add eax, dword [esp + 0x14]
add edi, eax
mov eax, esi
not eax
rol edi, 0xa
add edi, ecx
lea esi, [ecx - 0x8ac817e]
or eax, edi
xor eax, ecx
add eax, 0xa3014314
add eax, dword [esp + 0x18]
add ebx, eax
mov eax, ecx
not eax
rol ebx, 0xf
add ebx, edi
or eax, ebx
xor eax, edi
add eax, dword [esp + 0x20]
add ebp, eax
lea ecx, [ebx + 0x2ad7d2bb]
mov eax, edi
rol ebp, 0x15
not eax
add ebp, ebx
or eax, ebp
xor eax, ebx
add eax, dword [esp + 0x24]
add esi, eax
mov eax, ebx
not eax
rol esi, 6
add esi, ebp
or eax, esi
xor eax, ebp
add eax, 0xbd3af235
add eax, dword [esp + 0x1c]
add edi, eax
mov eax, ebp
rol edi, 0xa
not eax
add edi, esi
or eax, edi
xor eax, esi
add eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x5c]
add ecx, eax
mov eax, esi
rol ecx, 0xf
not eax
add ecx, edi
or eax, ecx
add ebp, 0xeb86d391
add dword [ebx], esi
xor eax, edi
add eax, dword [esp + 0x28]
mov esi, dword [esp + 0x50]
add eax, ebp
mov ebp, dword [ebx]
rol eax, 0x15
add eax, ecx
mov dword [esp + 0x4c], ebp
add esi, eax
mov eax, dword [esp + 0x54]
add eax, ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], eax
mov dword [ebx + 8], eax
mov dword [esp + 0x50], esi
mov dword [ebx + 4], esi
mov esi, eax
mov eax, dword [esp + 0x58]
add eax, edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x58], eax
mov ebp, eax
mov dword [esp + 0x3c], eax
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x3bca8f
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x50
ret