Function at 0x40a97d
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x54
mov eax, ecx
push ebx
push ebp
push esi
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebp
push edi
mov edi, edx
test eax, eax
je 0x40b345
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebp
dec eax
movzx ecx, byte [edi]
mov dword [esp + 0x68], eax
movzx eax, byte [edi + 1]
shl eax, 8
or ecx, eax
movzx edx, byte [edi + 4]
movzx eax, byte [edi + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edi + 3]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edi + 5]
shl eax, 8
or edx, eax
mov dword [esp + 0x18], ecx
movzx eax, byte [edi + 6]
shl eax, 0x10
or edx, eax
movzx eax, byte [edi + 7]
shl eax, 0x18
or edx, eax
mov eax, ebp
xor eax, ebx
mov dword [esp + 0x30], edx
and eax, esi
xor eax, ebp
movzx ebp, byte [edi + 8]
add eax, ecx
mov ecx, dword [esp + 0x4c]
add ecx, 0xd76aa478
add ecx, eax
movzx eax, byte [edi + 9]
shl eax, 8
or ebp, eax
rol ecx, 7
movzx eax, byte [edi + 0xa]
add ecx, esi
shl eax, 0x10
or ebp, eax
movzx eax, byte [edi + 0xb]
shl eax, 0x18
or ebp, eax
mov eax, ebx
xor eax, esi
mov dword [esp + 0x44], ebp
and eax, ecx
xor eax, ebx
movzx ebx, byte [edi + 0xc]
add eax, edx
mov edx, dword [esp + 0x48]
add edx, 0xe8c7b756
add edx, eax
movzx eax, byte [edi + 0xd]
shl eax, 8
or ebx, eax
rol edx, 0xc
movzx eax, byte [edi + 0xe]
add edx, ecx
shl eax, 0x10
or ebx, eax
movzx eax, byte [edi + 0xf]
shl eax, 0x18
or ebx, eax
mov eax, esi
xor eax, ecx
mov dword [esp + 0x28], ebx
and eax, edx
xor eax, esi
mov esi, dword [esp + 0x3c]
add eax, ebp
add esi, 0x242070db
movzx ebp, byte [edi + 0x10]
add esi, eax
movzx eax, byte [edi + 0x11]
rol esi, 0x11
shl eax, 8
add esi, edx
or ebp, eax
movzx eax, byte [edi + 0x12]
shl eax, 0x10
or ebp, eax
movzx eax, byte [edi + 0x13]
shl eax, 0x18
add edi, 0x14
or ebp, eax
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x40]
mov eax, edx
xor eax, ecx
mov dword [esp + 0x3c], ebp
and eax, esi
add edi, 0xc1bdceee
xor eax, ecx
add ebp, 0xf57c0faf
add eax, ebx
add edi, eax
mov eax, dword [esp + 0x10]
rol edi, 0x16
add edi, esi
movzx ebx, byte [eax]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 8
or ebx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 0x10
or ebx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 0x18
or ebx, eax
inc dword [esp + 0x10]
mov eax, edx
mov dword [esp + 0x20], ebx
xor eax, esi
add ebx, 0x4787c62a
and eax, edi
xor eax, edx
add eax, ebp
add ecx, eax
mov eax, dword [esp + 0x10]
rol ecx, 7
add ecx, edi
movzx ebp, byte [eax]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 8
or ebp, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 0x10
or ebp, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 0x18
or ebp, eax
inc dword [esp + 0x10]
mov eax, esi
mov dword [esp + 0x34], ebp
xor eax, edi
and eax, ecx
xor eax, esi
add eax, ebx
add edx, eax
mov eax, dword [esp + 0x10]
rol edx, 0xc
add edx, ecx
movzx ebx, byte [eax]
inc eax
mov dword [esp + 0x10], eax
add ebp, 0xa8304613
movzx eax, byte [eax]
shl eax, 8
or ebx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 0x10
or ebx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 0x18
or ebx, eax
inc dword [esp + 0x10]
mov eax, edi
mov dword [esp + 0x1c], ebx
xor eax, ecx
add ebx, 0xfd469501
and eax, edx
xor eax, edi
add eax, ebp
add esi, eax
mov eax, dword [esp + 0x10]
rol esi, 0x11
add esi, edx
movzx ebp, byte [eax]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 8
or ebp, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 0x10
or ebp, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 0x18
or ebp, eax
inc dword [esp + 0x10]
mov eax, edx
mov dword [esp + 0x48], ebp
xor eax, ecx
and eax, esi
xor eax, ecx
add eax, ebx
add edi, eax
mov eax, dword [esp + 0x10]
rol edi, 0x16
add edi, esi
movzx ebx, byte [eax]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 8
or ebx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 0x10
or ebx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 0x18
or ebx, eax
inc dword [esp + 0x10]
mov eax, edx
mov dword [esp + 0x14], ebx
xor eax, esi
and eax, edi
xor eax, edx
lea ebx, [ecx + 0x698098d8]
add eax, ebp
mov ebp, dword [esp + 0x10]
add ebx, eax
rol ebx, 7
add ebx, edi
movzx eax, byte [ebp + 1]
shl eax, 8
movzx ecx, byte [ebp]
or ecx, eax
movzx eax, byte [ebp + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [ebp + 3]
shl eax, 0x18
add ebp, 4
or ecx, eax
mov dword [esp + 0x10], ebp
mov eax, esi
mov dword [esp + 0x2c], ecx
xor eax, edi
lea ebp, [edx - 0x74bb0851]
and eax, ebx
xor eax, esi
add eax, dword [esp + 0x14]
add ebp, eax
mov eax, dword [esp + 0x10]
rol ebp, 0xc
add ebp, ebx
movzx edx, byte [eax]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 8
or edx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 0x18
or edx, eax
inc dword [esp + 0x10]
mov eax, edi
mov dword [esp + 0x40], edx
xor eax, ebx
and eax, ebp
xor eax, edi
add eax, ecx
lea ecx, [esi - 0xa44f]
add ecx, eax
mov eax, dword [esp + 0x10]
rol ecx, 0x11
add ecx, ebp
movzx esi, byte [eax]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 8
or esi, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 0x10
or esi, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 0x18
or esi, eax
inc dword [esp + 0x10]
mov dword [esp + 0x24], esi
mov eax, ebp
xor eax, ebx
and eax, ecx
xor eax, ebx
add eax, edx
lea edx, [edi - 0x76a32842]
add edx, eax
mov eax, dword [esp + 0x10]
rol edx, 0x16
add edx, ecx
movzx edi, byte [eax]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 8
or edi, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 0x10
or edi, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 0x18
or edi, eax
inc dword [esp + 0x10]
mov eax, ebp
mov dword [esp + 0x38], edi
xor eax, ecx
and eax, edx
xor eax, ebp
add eax, esi
lea esi, [ebx + 0x6b901122]
add esi, eax
mov eax, dword [esp + 0x10]
rol esi, 7
add esi, edx
movzx ebx, byte [eax]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 8
or ebx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 0x10
or ebx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 0x18
or ebx, eax
inc dword [esp + 0x10]
mov eax, ecx
mov dword [esp + 0x5c], ebx
xor eax, edx
and eax, esi
xor eax, ecx
add eax, edi
lea edi, [ebp - 0x2678e6d]
add edi, eax
mov eax, dword [esp + 0x10]
rol edi, 0xc
add edi, esi
movzx ebp, byte [eax]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 8
or ebp, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 0x10
or ebp, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
movzx eax, byte [eax]
shl eax, 0x18
or ebp, eax
mov eax, edx
xor eax, esi
inc dword [esp + 0x10]
and eax, edi
mov dword [esp + 0x4c], ebp
xor eax, edx
add eax, 0xa679438e
add eax, ebx
add ecx, eax
mov eax, edi
xor eax, esi
rol ecx, 0x11
add ecx, edi
and eax, ecx
xor eax, esi
add eax, 0x49b40821
add eax, ebp
add edx, eax
mov eax, ecx
rol edx, 0x16
add edx, ecx
xor eax, edx
and eax, edi
xor eax, ecx
add eax, 0xf61e2562
add eax, dword [esp + 0x30]
add esi, eax
mov eax, edx
rol esi, 5
add esi, edx
xor eax, esi
and eax, ecx
xor eax, edx
add eax, 0xc040b340
add eax, dword [esp + 0x34]
add edi, eax
rol edi, 9
add edi, esi
mov eax, edi
xor eax, esi
and eax, edx
xor eax, esi
add eax, 0x265e5a51
add eax, dword [esp + 0x40]
add ecx, eax
mov eax, edi
rol ecx, 0xe
add ecx, edi
xor eax, ecx
and eax, esi
xor eax, edi
add eax, 0xe9b6c7aa
add eax, dword [esp + 0x18]
add edx, eax
mov eax, ecx
rol edx, 0x14
add edx, ecx
xor eax, edx
and eax, edi
xor eax, ecx
add eax, 0xd62f105d
add eax, dword [esp + 0x20]
add esi, eax
mov eax, edx
rol esi, 5
add esi, edx
xor eax, esi
and eax, ecx
xor eax, edx
add eax, 0x2441453
add eax, dword [esp + 0x2c]
add edi, eax
rol edi, 9
add edi, esi
mov eax, edi
xor eax, esi
and eax, edx
xor eax, esi
add eax, 0xd8a1e681
add eax, ebp
add ecx, eax
mov eax, edi
rol ecx, 0xe
add ecx, edi
xor eax, ecx
and eax, esi
xor eax, edi
add eax, 0xe7d3fbc8
add eax, dword [esp + 0x3c]
add edx, eax
mov eax, ecx
rol edx, 0x14
add edx, ecx
xor eax, edx
and eax, edi
xor eax, ecx
add eax, 0x21e1cde6
add eax, dword [esp + 0x14]
add esi, eax
mov eax, edx
rol esi, 5
add esi, edx
xor eax, esi
and eax, ecx
xor eax, edx
add eax, 0xc33707d6
add eax, ebx
add edi, eax
rol edi, 9
add edi, esi
mov eax, edi
xor eax, esi
and eax, edx
xor eax, esi
add eax, 0xf4d50d87
add eax, dword [esp + 0x28]
add ecx, eax
mov eax, edi
rol ecx, 0xe
add ecx, edi
xor eax, ecx
and eax, esi
xor eax, edi
add eax, 0x455a14ed
lea ebx, [ecx + 0x676f02d9]
add eax, dword [esp + 0x48]
add edx, eax
mov eax, ecx
rol edx, 0x14
add edx, ecx
xor eax, edx
and eax, edi
xor eax, ecx
add eax, 0xa9e3e905
add eax, dword [esp + 0x38]
add esi, eax
mov eax, edx
rol esi, 5
add esi, edx
xor eax, esi
and eax, ecx
xor eax, edx
add eax, 0xfcefa3f8
add eax, dword [esp + 0x44]
add edi, eax
rol edi, 9
add edi, esi
mov eax, edi
mov ecx, edi
xor eax, esi
and eax, edx
xor eax, esi
add eax, dword [esp + 0x1c]
add ebx, eax
rol ebx, 0xe
add ebx, edi
xor ecx, ebx
mov eax, ecx
and eax, esi
xor eax, edi
add eax, 0x8d2a4c8a
add eax, dword [esp + 0x24]
add edx, eax
mov eax, ebx
rol edx, 0x14
add edx, ebx
xor eax, edx
xor ecx, edx
add ecx, 0xfffa3942
add ecx, dword [esp + 0x20]
add esi, ecx
rol esi, 4
add esi, edx
xor eax, esi
add eax, 0x8771f681
add eax, dword [esp + 0x48]
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 [esp + 0x40]
add ebx, eax
rol ebx, 0x10
add ebx, edi
xor ecx, ebx
mov eax, ecx
xor eax, esi
add eax, 0xfde5380c
add eax, dword [esp + 0x5c]
add edx, eax
mov eax, ebx
rol edx, 0x17
add edx, ebx
xor ecx, edx
xor eax, edx
add ecx, 0xa4beea44
add ecx, dword [esp + 0x30]
add esi, ecx
rol esi, 4
add esi, edx
xor eax, esi
add eax, 0x4bdecfa9
add eax, dword [esp + 0x3c]
add edi, eax
rol edi, 0xb
add edi, esi
mov eax, edi
mov ecx, edi
xor eax, edx
xor eax, esi
add eax, 0xf6bb4b60
add eax, dword [esp + 0x1c]
add ebx, eax
rol ebx, 0x10
add ebx, edi
xor ecx, ebx
mov eax, ecx
xor eax, esi
add eax, 0xbebfbc70
add eax, dword [esp + 0x2c]
add edx, eax
mov eax, ebx
rol edx, 0x17
add edx, ebx
xor ecx, edx
xor eax, edx
add ecx, 0x289b7ec6
add ecx, dword [esp + 0x38]
add esi, ecx
rol esi, 4
add esi, edx
xor eax, esi
add eax, 0xeaa127fa
add eax, dword [esp + 0x18]
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 [esp + 0x28]
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 [esp + 0x34]
add edx, eax
mov eax, ebx
rol edx, 0x17
add edx, ebx
xor eax, edx
xor ecx, edx
add ecx, dword [esp + 0x14]
add ecx, esi
lea esi, [edi - 0x1924661b]
rol ecx, 4
add ecx, edx
xor eax, ecx
add eax, dword [esp + 0x24]
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, ebp
add edi, ebx
rol edi, 0x10
add edi, esi
xor eax, edi
xor eax, ecx
add eax, 0xc4ac5665
add eax, dword [esp + 0x44]
add edx, eax
mov eax, esi
not eax
rol edx, 0x17
add edx, edi
or eax, edx
xor eax, edi
add eax, 0xf4292244
add eax, dword [esp + 0x18]
add ecx, eax
mov eax, edi
not eax
rol ecx, 6
add ecx, edx
or eax, ecx
xor eax, edx
add eax, 0x432aff97
add eax, dword [esp + 0x1c]
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 [esp + 0x5c]
add edi, eax
mov eax, ecx
rol edi, 0xf
not eax
add edi, esi
or eax, edi
xor eax, esi
add eax, 0xfc93a039
add eax, dword [esp + 0x20]
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 [esp + 0x24]
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 [esp + 0x28]
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 [esp + 0x2c]
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 [esp + 0x30]
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 [esp + 0x48]
lea ebx, [edx + 0x4e0811a1]
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, ebp
add esi, eax
mov eax, edx
not eax
rol esi, 0xa
add esi, ecx
or eax, esi
xor eax, ecx
add eax, 0xa3014314
add eax, dword [esp + 0x34]
add edi, eax
mov eax, ecx
not eax
rol edi, 0xf
add edi, esi
or eax, edi
xor eax, esi
add eax, dword [esp + 0x38]
add ebx, eax
mov eax, esi
rol ebx, 0x15
not eax
add ebx, edi
or eax, ebx
xor eax, edi
lea edx, [ecx - 0x8ac817e]
add eax, dword [esp + 0x3c]
mov ecx, ebx
add edx, eax
not ecx
rol edx, 6
mov eax, edi
not eax
add edx, ebx
or eax, edx
xor eax, ebx
add ebx, 0xeb86d391
add eax, 0xbd3af235
add eax, dword [esp + 0x40]
add esi, eax
mov eax, edx
rol esi, 0xa
not eax
add esi, edx
or ecx, esi
xor ecx, edx
add ecx, 0x2ad7d2bb
add ecx, dword [esp + 0x44]
add ecx, edi
mov edi, dword [esp + 0x10]
rol ecx, 0xf
add ecx, esi
or eax, ecx
xor eax, esi
add eax, dword [esp + 0x14]
add eax, ebx
mov ebx, dword [esp + 0x60]
rol eax, 0x15
add eax, ecx
add dword [ebx], edx
mov edx, dword [ebx]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x50]
add edx, eax
mov eax, dword [esp + 0x54]
add eax, ecx
mov dword [ebx + 4], edx
mov dword [esp + 0x3c], eax
mov dword [ebx + 8], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x58]
add eax, esi
mov dword [esp + 0x50], edx
mov dword [ebx + 0xc], eax
mov ebp, eax
mov ebx, dword [esp + 0x3c]
mov esi, edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x40], edx
test eax, eax
jne 0x40a9bf
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret