Function at 0x401f70
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 0x402842
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], ecx
push ebx
dec eax
movzx ecx, byte [edx]
mov dword [ebp + 8], 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 [ebp - 0x34], 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, dword [ebp - 0x2c]
xor eax, edi
mov dword [ebp - 0x3c], ebx
and eax, esi
movzx edi, byte [edx + 8]
xor eax, dword [ebp - 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0x48]
add ecx, 0xd76aa478
add ecx, eax
movzx eax, byte [edx + 9]
shl eax, 8
or edi, eax
rol ecx, 7
movzx eax, byte [edx + 0xa]
add ecx, esi
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
mov dword [ebp - 0x40], edi
mov esi, dword [ebp - 0x2c]
and eax, ecx
xor eax, dword [ebp - 0x28]
add esi, 0xe8c7b756
add eax, ebx
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, dword [ebp - 0x30]
xor eax, ecx
mov dword [ebp - 0x38], ebx
and eax, esi
xor eax, dword [ebp - 0x30]
add eax, edi
mov edi, dword [ebp - 0x28]
add edi, 0x242070db
add edi, eax
movzx eax, byte [edx + 0x10]
mov dword [ebp - 0x20], eax
movzx eax, byte [edx + 0x11]
rol edi, 0x11
shl eax, 8
add edi, esi
or dword [ebp - 0x20], eax
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]
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
mov eax, esi
xor eax, edi
rol ebx, 0x16
add ebx, edi
and eax, ebx
xor eax, esi
add eax, 0xf57c0faf
add eax, dword [ebp - 0x20]
add ecx, eax
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
rol ecx, 7
add ecx, ebx
and eax, ecx
xor eax, edi
add eax, 0x4787c62a
add eax, dword [ebp - 0xc]
add esi, eax
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
mov eax, ebx
xor eax, ecx
rol esi, 0xc
add esi, ecx
and eax, esi
xor eax, ebx
add eax, 0xa8304613
add eax, dword [ebp - 0x1c]
add edi, eax
movzx eax, byte [edx + 0x20]
mov dword [ebp - 0x14], eax
movzx eax, byte [edx + 0x21]
rol edi, 0x11
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
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
mov eax, esi
xor eax, edi
rol ebx, 0x16
add ebx, edi
and eax, ebx
xor eax, esi
add eax, 0x698098d8
add eax, dword [ebp - 0x14]
add ecx, eax
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
mov eax, edi
xor eax, ebx
rol ecx, 7
add ecx, ebx
and eax, ecx
mov dword [ebp - 0x48], ecx
xor eax, edi
add eax, 0x8b44f7af
add eax, dword [ebp - 0x28]
add esi, eax
movzx eax, byte [edx + 0x2c]
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
mov eax, ebx
xor eax, ecx
rol esi, 0xc
add esi, ecx
lea ecx, [edi - 0xa44f]
movzx edi, byte [edx + 0x30]
and eax, esi
xor eax, ebx
mov dword [ebp - 0x18], esi
add eax, dword [ebp - 0x10]
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]
lea edx, [edx + 0x40]
shl eax, 0x10
or edi, eax
movzx eax, byte [edx - 0xd]
shl eax, 0x18
or edi, eax
mov eax, esi
mov dword [ebp - 0x2c], edi
lea esi, [ebx - 0x76a32842]
mov edi, dword [ebp - 0x48]
xor eax, edi
and eax, ecx
movzx ebx, byte [edx - 0xc]
xor eax, edi
add edi, 0x6b901122
add eax, dword [ebp - 0x24]
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 [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x18]
mov eax, ebx
xor eax, ecx
and eax, esi
xor eax, ebx
add ebx, 0xfd987193
add eax, dword [ebp - 0x2c]
add edi, eax
movzx eax, byte [edx - 8]
mov dword [ebp - 8], eax
movzx eax, byte [edx - 7]
shl eax, 8
or dword [ebp - 8], eax
movzx eax, byte [edx - 6]
shl eax, 0x10
or dword [ebp - 8], eax
movzx eax, byte [edx - 5]
shl eax, 0x18
or dword [ebp - 8], eax
mov eax, ecx
xor eax, esi
rol edi, 7
add edi, esi
and eax, edi
xor eax, ecx
add eax, dword [ebp - 0x30]
add ebx, eax
movzx eax, byte [edx - 4]
mov dword [ebp - 0x18], eax
movzx eax, byte [edx - 3]
shl eax, 8
or dword [ebp - 0x18], eax
movzx eax, byte [edx - 2]
shl eax, 0x10
or dword [ebp - 0x18], eax
movzx eax, byte [edx - 1]
shl eax, 0x18
or dword [ebp - 0x18], eax
mov eax, esi
xor eax, edi
rol ebx, 0xc
add ebx, edi
and eax, ebx
xor eax, esi
add eax, 0xa679438e
add eax, dword [ebp - 8]
add ecx, eax
mov eax, ebx
rol ecx, 0x11
add ecx, ebx
xor eax, edi
and eax, ecx
xor eax, edi
add eax, 0x49b40821
add eax, dword [ebp - 0x18]
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 [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
mov eax, esi
rol edi, 5
add edi, 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
mov dword [ebp - 0x48], esi
and eax, ebx
xor eax, ecx
add eax, 0xa9e3e905
add eax, dword [ebp - 0x30]
add edi, eax
mov eax, esi
rol edi, 5
add edi, esi
xor eax, edi
and eax, ecx
xor eax, esi
lea esi, [ebx - 0x3105c08]
add eax, dword [ebp - 0x40]
lea ebx, [ecx + 0x676f02d9]
add esi, eax
rol esi, 9
add esi, edi
mov eax, esi
mov dword [ebp - 0x54], esi
xor eax, edi
mov ecx, esi
and eax, dword [ebp - 0x48]
xor eax, edi
add eax, dword [ebp - 4]
add ebx, eax
rol ebx, 0xe
add ebx, esi
xor ecx, ebx
mov dword [ebp - 0x58], ebx
mov eax, ecx
and eax, edi
xor eax, esi
mov esi, dword [ebp - 0x48]
add eax, dword [ebp - 0x2c]
add esi, 0x8d2a4c8a
add esi, eax
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
mov ebx, dword [ebp - 0x54]
xor eax, edi
add ebx, 0x8771f681
add eax, dword [ebp - 0x14]
add ecx, 0x6d9d6122
add ebx, eax
rol ebx, 0xb
add ebx, edi
mov eax, ebx
xor eax, esi
add esi, 0xfde5380c
xor eax, edi
add eax, dword [ebp - 0x24]
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 edi, 0xa4beea44
add eax, dword [ebp - 8]
add eax, esi
mov esi, dword [ebp - 0x58]
rol eax, 0x17
add eax, esi
xor ecx, eax
mov dword [ebp - 0x58], eax
add ecx, dword [ebp - 0x3c]
add ecx, edi
mov edi, dword [ebp - 0x58]
rol ecx, 4
add ecx, eax
mov eax, esi
xor eax, edi
mov dword [ebp - 0x54], ecx
xor eax, ecx
add esi, 0xf6bb4b60
add eax, 0x4bdecfa9
add eax, dword [ebp - 0x20]
add ebx, eax
rol ebx, 0xb
add ebx, ecx
mov eax, ebx
xor eax, edi
add edi, 0xbebfbc70
xor eax, ecx
mov ecx, ebx
add eax, dword [ebp - 4]
add eax, esi
mov esi, dword [ebp - 0x54]
rol eax, 0x10
add eax, ebx
xor ecx, eax
mov dword [ebp - 0x58], eax
mov eax, ecx
xor eax, esi
add esi, 0x289b7ec6
add eax, dword [ebp - 0x10]
add eax, edi
mov edi, dword [ebp - 0x58]
rol eax, 0x17
add eax, edi
xor ecx, eax
mov dword [ebp - 0x58], eax
add ecx, dword [ebp - 0x30]
add ecx, esi
mov esi, dword [ebp - 0x58]
rol ecx, 4
add ecx, eax
mov eax, edi
xor eax, esi
mov dword [ebp - 0x54], ecx
xor eax, ecx
add eax, 0xeaa127fa
add eax, dword [ebp - 0x34]
add ebx, eax
rol ebx, 0xb
add edi, 0xd4ef3085
add ebx, ecx
mov eax, ebx
xor eax, esi
add esi, 0x4881d05
xor eax, ecx
mov ecx, ebx
add eax, dword [ebp - 0x38]
add eax, edi
mov edi, dword [ebp - 0x54]
rol eax, 0x10
add eax, ebx
xor ecx, eax
mov dword [ebp - 0x48], eax
mov eax, ecx
xor eax, edi
add edi, 0xd9d4d039
add eax, dword [ebp - 0x1c]
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 ecx, 0x1fa27cf8
add edi, esi
xor eax, edi
add eax, 0xe6db99e5
add eax, dword [ebp - 0x2c]
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
mov eax, ebx
rol ecx, 0x10
add ecx, 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
mov eax, ecx
not eax
rol edi, 6
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
mov eax, edi
rol ecx, 0xf
not eax
add ecx, ebx
or eax, ecx
xor eax, ebx
add eax, 0xfc93a039
add eax, dword [ebp - 0xc]
add esi, eax
mov eax, ebx
not eax
rol esi, 0x15
add esi, ecx
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
mov eax, esi
not eax
rol ebx, 0xa
add ebx, edi
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
mov eax, ebx
not eax
rol esi, 0x15
add esi, ecx
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
mov eax, esi
not eax
rol ebx, 0xa
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
mov eax, ebx
rol esi, 0x15
add esi, ecx
mov dword [ebp - 0x48], esi
not eax
or eax, esi
lea esi, [edi - 0x8ac817e]
xor eax, ecx
lea edi, [ebx - 0x42c50dcb]
add eax, dword [ebp - 0x20]
add esi, eax
mov ebx, dword [ebp - 0x48]
rol esi, 6
mov eax, ecx
add esi, dword [ebp - 0x48]
not eax
or eax, esi
xor eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x24]
add edi, eax
mov eax, ebx
not eax
rol edi, 0xa
add edi, esi
add ebx, 0xeb86d391
or eax, edi
xor eax, esi
add eax, 0x2ad7d2bb
add eax, dword [ebp - 0x40]
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 eax, ecx
add dword [ebx], esi
mov esi, dword [ebx]
mov dword [ebp - 0x48], esi
mov esi, dword [ebp - 0x44]
add esi, eax
mov eax, esi
mov dword [ebp - 0x44], esi
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x4c]
add eax, ecx
mov dword [ebp - 0x30], esi
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]
test eax, eax
jne 0x401fa7
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret