Function at 0x40a250
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x48
cmp dword [esp + 0x4c], 0
push ebx
mov ebx, dword [ecx + 8]
push ebp
mov ebp, dword [ecx + 4]
je 0x40ab6d
push esi
push edi
jmp 0x40a270
movzx edx, byte [eax]
movzx esi, byte [eax + 1]
shl esi, 8
or edx, esi
inc eax
movzx esi, byte [eax + 1]
shl esi, 0x10
or edx, esi
inc eax
movzx esi, byte [eax + 1]
inc eax
movzx edi, byte [eax + 1]
shl esi, 0x18
or edx, esi
inc eax
movzx esi, byte [eax + 1]
inc eax
shl esi, 8
or edi, esi
movzx esi, byte [eax + 1]
inc eax
shl esi, 0x10
or edi, esi
movzx esi, byte [eax + 1]
inc eax
shl esi, 0x18
or edi, esi
mov dword [esp + 0x30], edi
mov edi, dword [ecx + 0xc]
mov esi, edi
xor esi, ebx
and esi, ebp
xor esi, edi
add esi, edx
inc eax
movzx edi, byte [eax + 1]
dec dword [esp + 0x5c]
shl edi, 8
mov dword [esp + 0x54], edx
mov edx, dword [ecx]
lea edx, [esi + edx - 0x28955b88]
movzx esi, byte [eax]
or esi, edi
inc eax
movzx edi, byte [eax + 1]
inc eax
shl edi, 0x10
or esi, edi
movzx edi, byte [eax + 1]
inc eax
shl edi, 0x18
or esi, edi
mov edi, ebx
xor edi, ebp
rol edx, 7
add edx, ebp
and edi, edx
xor edi, ebx
add edi, dword [esp + 0x30]
inc eax
movzx ebx, byte [eax + 1]
mov dword [esp + 0x4c], esi
mov esi, dword [ecx + 0xc]
lea esi, [edi + esi - 0x173848aa]
movzx edi, byte [eax]
inc eax
shl ebx, 8
or edi, ebx
movzx ebx, byte [eax + 1]
inc eax
shl ebx, 0x10
or edi, ebx
movzx ebx, byte [eax + 1]
inc eax
shl ebx, 0x18
rol esi, 0xc
or edi, ebx
add esi, edx
inc eax
mov dword [esp + 0x28], edi
mov ebx, ebp
xor ebx, edx
and ebx, esi
xor ebx, ebp
add ebx, dword [esp + 0x4c]
movzx ebp, byte [eax + 1]
mov edi, dword [ecx + 8]
lea edi, [ebx + edi + 0x242070db]
movzx ebx, byte [eax]
shl ebp, 8
or ebx, ebp
inc eax
movzx ebp, byte [eax + 1]
shl ebp, 0x10
or ebx, ebp
inc eax
movzx ebp, byte [eax + 1]
shl ebp, 0x18
or ebx, ebp
inc eax
mov dword [esp + 0x44], ebx
mov ebx, dword [ecx + 4]
ror edi, 0xf
add edi, esi
mov ebp, esi
xor ebp, edx
and ebp, edi
xor ebp, edx
add ebp, dword [esp + 0x28]
inc eax
lea ebx, [ebx + ebp - 0x3e423112]
movzx ebp, byte [eax + 1]
ror ebx, 0xa
add ebx, edi
mov dword [esp + 0x10], ebx
movzx ebx, byte [eax]
inc eax
shl ebp, 8
or ebx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x18
or ebx, ebp
mov dword [esp + 0x20], ebx
mov ebx, esi
xor ebx, edi
and ebx, dword [esp + 0x10]
inc eax
movzx ebp, byte [eax + 1]
xor ebx, esi
add ebx, dword [esp + 0x44]
inc eax
lea edx, [ebx + edx - 0xa83f051]
movzx ebx, byte [eax - 1]
shl ebp, 8
or ebx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x18
or ebx, ebp
mov dword [esp + 0x3c], ebx
rol edx, 7
add edx, dword [esp + 0x10]
mov ebx, edi
xor ebx, dword [esp + 0x10]
inc eax
and ebx, edx
xor ebx, edi
add ebx, dword [esp + 0x20]
lea esi, [ebx + esi + 0x4787c62a]
movzx ebx, byte [eax]
rol esi, 0xc
add esi, edx
inc eax
movzx ebp, byte [eax]
shl ebp, 8
or ebx, ebp
movzx ebp, byte [eax + 1]
shl ebp, 0x10
or ebx, ebp
inc eax
movzx ebp, byte [eax + 1]
shl ebp, 0x18
or ebx, ebp
inc eax
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x10]
mov ebp, ebx
xor ebp, edx
and ebp, esi
xor ebp, ebx
add ebp, dword [esp + 0x3c]
movzx ebx, byte [eax + 1]
lea edi, [edi + ebp - 0x57cfb9ed]
inc eax
movzx ebp, byte [eax + 1]
shl ebp, 8
or ebx, ebp
inc eax
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x18
or ebx, ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x34], ebx
ror edi, 0xf
add edi, esi
mov ebx, esi
xor ebx, edx
and ebx, edi
xor ebx, edx
add ebx, dword [esp + 0x18]
inc eax
lea ebx, [ebx + ebp - 0x2b96aff]
movzx ebp, byte [eax + 1]
ror ebx, 0xa
add ebx, edi
mov dword [esp + 0x10], ebx
movzx ebx, byte [eax]
inc eax
shl ebp, 8
or ebx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x18
or ebx, ebp
mov dword [esp + 0x50], ebx
mov ebx, esi
xor ebx, edi
and ebx, dword [esp + 0x10]
inc eax
movzx ebp, byte [eax + 1]
xor ebx, esi
add ebx, dword [esp + 0x34]
inc eax
lea edx, [ebx + edx + 0x698098d8]
movzx ebx, byte [eax - 1]
shl ebp, 8
or ebx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x10
rol edx, 7
add edx, dword [esp + 0x10]
or ebx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x18
or ebx, ebp
mov dword [esp + 0x2c], ebx
inc eax
movzx ebp, byte [eax + 1]
shl ebp, 8
mov ebx, edi
xor ebx, dword [esp + 0x10]
inc eax
and ebx, edx
xor ebx, edi
add ebx, dword [esp + 0x50]
inc eax
lea esi, [ebx + esi - 0x74bb0851]
movzx ebx, byte [eax - 2]
or ebx, ebp
movzx ebp, byte [eax]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 1]
shl ebp, 0x18
or ebx, ebp
inc eax
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x10]
mov ebp, ebx
xor ebp, edx
inc eax
rol esi, 0xc
add esi, edx
and ebp, esi
xor ebp, ebx
add ebp, dword [esp + 0x2c]
movzx ebx, byte [eax]
lea edi, [edi + ebp - 0xa44f]
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 8
or ebx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x18
or ebx, ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x24], ebx
ror edi, 0xf
add edi, esi
mov ebx, esi
xor ebx, edx
and ebx, edi
xor ebx, edx
add ebx, dword [esp + 0x48]
inc eax
lea ebx, [ebx + ebp - 0x76a32842]
movzx ebp, byte [eax + 1]
ror ebx, 0xa
add ebx, edi
mov dword [esp + 0x10], ebx
movzx ebx, byte [eax]
inc eax
shl ebp, 8
or ebx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x18
or ebx, ebp
mov dword [esp + 0x40], ebx
mov ebx, esi
xor ebx, edi
and ebx, dword [esp + 0x10]
inc eax
xor ebx, esi
add ebx, dword [esp + 0x24]
movzx ebp, byte [eax + 1]
lea edx, [ebx + edx + 0x6b901122]
movzx ebx, byte [eax]
shl ebp, 8
or ebx, ebp
inc eax
movzx ebp, byte [eax + 1]
shl ebp, 0x10
or ebx, ebp
inc eax
movzx ebp, byte [eax + 1]
shl ebp, 0x18
or ebx, ebp
inc eax
mov dword [esp + 0x1c], ebx
rol edx, 7
add edx, dword [esp + 0x10]
mov ebx, edi
xor ebx, dword [esp + 0x10]
inc eax
movzx ebp, byte [eax + 1]
and ebx, edx
xor ebx, edi
add ebx, dword [esp + 0x40]
shl ebp, 8
lea esi, [ebx + esi - 0x2678e6d]
movzx ebx, byte [eax]
or ebx, ebp
inc eax
movzx ebp, byte [eax + 1]
shl ebp, 0x10
or ebx, ebp
inc eax
movzx ebp, byte [eax + 1]
shl ebp, 0x18
or ebx, ebp
inc eax
rol esi, 0xc
add esi, edx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x10]
mov ebp, ebx
xor ebp, edx
and ebp, esi
xor ebp, ebx
add ebp, dword [esp + 0x1c]
mov ebx, esi
lea edi, [edi + ebp - 0x5986bc72]
mov ebp, dword [esp + 0x10]
xor ebx, edx
inc eax
ror edi, 0xf
add edi, esi
and ebx, edi
xor ebx, edx
add ebx, dword [esp + 0x38]
mov dword [esp + 0x14], esi
lea ebx, [ebx + ebp + 0x49b40821]
ror ebx, 0xa
add ebx, edi
mov ebp, edi
xor ebp, ebx
and ebp, esi
xor ebp, edi
add ebp, dword [esp + 0x30]
mov esi, ebx
lea edx, [edx + ebp - 0x9e1da9e]
mov ebp, dword [esp + 0x14]
rol edx, 5
add edx, ebx
xor esi, edx
and esi, edi
xor esi, ebx
add esi, dword [esp + 0x3c]
lea esi, [esi + ebp - 0x3fbf4cc0]
rol esi, 9
add esi, edx
mov dword [esp + 0x14], esi
xor esi, edx
and esi, ebx
xor esi, edx
add esi, dword [esp + 0x48]
lea edi, [esi + edi + 0x265e5a51]
mov esi, dword [esp + 0x14]
mov ebp, esi
rol edi, 0xe
add edi, esi
xor ebp, edi
and ebp, edx
xor ebp, esi
add ebp, dword [esp + 0x54]
mov esi, edi
lea ebx, [ebx + ebp - 0x16493856]
ror ebx, 0xc
add ebx, edi
xor esi, ebx
and esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x14]
xor esi, edi
add esi, dword [esp + 0x20]
lea edx, [esi + edx - 0x29d0efa3]
rol edx, 5
add edx, ebx
mov esi, ebx
xor esi, edx
and esi, edi
xor esi, ebx
add esi, dword [esp + 0x2c]
lea esi, [esi + ebp + 0x2441453]
rol esi, 9
add esi, edx
mov dword [esp + 0x14], esi
xor esi, edx
and esi, ebx
xor esi, edx
add esi, dword [esp + 0x38]
lea edi, [esi + edi - 0x275e197f]
mov esi, dword [esp + 0x14]
mov ebp, esi
rol edi, 0xe
add edi, esi
xor ebp, edi
and ebp, edx
xor ebp, esi
add ebp, dword [esp + 0x44]
mov esi, edi
lea ebx, [ebx + ebp - 0x182c0438]
mov ebp, dword [esp + 0x14]
ror ebx, 0xc
add ebx, edi
xor esi, ebx
and esi, dword [esp + 0x14]
xor esi, edi
add esi, dword [esp + 0x50]
lea edx, [esi + edx + 0x21e1cde6]
rol edx, 5
add edx, ebx
mov esi, ebx
xor esi, edx
and esi, edi
xor esi, ebx
add esi, dword [esp + 0x1c]
lea esi, [esi + ebp - 0x3cc8f82a]
rol esi, 9
add esi, edx
mov dword [esp + 0x14], esi
xor esi, edx
and esi, ebx
xor esi, edx
add esi, dword [esp + 0x28]
lea edi, [esi + edi - 0xb2af279]
mov esi, dword [esp + 0x14]
rol edi, 0xe
add edi, esi
mov ebp, esi
xor ebp, edi
and ebp, edx
xor ebp, esi
add ebp, dword [esp + 0x34]
lea ebx, [ebx + ebp + 0x455a14ed]
ror ebx, 0xc
add ebx, edi
mov ebp, dword [esp + 0x14]
mov esi, edi
xor esi, ebx
and esi, dword [esp + 0x14]
xor esi, edi
add esi, dword [esp + 0x40]
lea edx, [esi + edx - 0x561c16fb]
rol edx, 5
add edx, ebx
mov esi, ebx
xor esi, edx
and esi, edi
xor esi, ebx
add esi, dword [esp + 0x4c]
lea esi, [esi + ebp - 0x3105c08]
rol esi, 9
add esi, edx
mov dword [esp + 0x14], esi
xor esi, edx
and esi, ebx
xor esi, edx
add esi, dword [esp + 0x18]
lea edi, [esi + edi + 0x676f02d9]
mov esi, dword [esp + 0x14]
mov ebp, esi
rol edi, 0xe
add edi, esi
xor ebp, edi
mov dword [esp + 0x10], ebp
and ebp, edx
xor ebp, esi
add ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
lea ebx, [ebx + ebp - 0x72d5b376]
ror ebx, 0xc
add ebx, edi
xor esi, ebx
add esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
lea edx, [esi + edx - 0x5c6be]
rol edx, 4
add edx, ebx
mov esi, edi
xor esi, ebx
xor esi, edx
add esi, dword [esp + 0x34]
lea ebp, [esi + ebp - 0x788e097f]
rol ebp, 0xb
add ebp, edx
mov esi, ebp
xor esi, ebx
xor esi, edx
add esi, dword [esp + 0x48]
lea edi, [esi + edi + 0x6d9d6122]
rol edi, 0x10
add edi, ebp
mov esi, ebp
xor esi, edi
mov dword [esp + 0x10], esi
xor esi, edx
add esi, dword [esp + 0x1c]
lea esi, [esi + ebx - 0x21ac7f4]
mov ebx, dword [esp + 0x10]
ror esi, 9
add esi, edi
xor ebx, esi
add ebx, dword [esp + 0x30]
lea edx, [ebx + edx - 0x5b4115bc]
rol edx, 4
add edx, esi
mov ebx, edi
xor ebx, esi
xor ebx, edx
add ebx, dword [esp + 0x44]
lea ebp, [ebx + ebp + 0x4bdecfa9]
rol ebp, 0xb
add ebp, edx
mov ebx, ebp
xor ebx, esi
xor ebx, edx
add ebx, dword [esp + 0x18]
lea edi, [ebx + edi - 0x944b4a0]
rol edi, 0x10
add edi, ebp
mov ebx, ebp
xor ebx, edi
mov dword [esp + 0x10], ebx
xor ebx, edx
add ebx, dword [esp + 0x2c]
lea esi, [ebx + esi - 0x41404390]
mov ebx, dword [esp + 0x10]
ror esi, 9
add esi, edi
xor ebx, esi
add ebx, dword [esp + 0x40]
lea edx, [ebx + edx + 0x289b7ec6]
rol edx, 4
add edx, esi
mov ebx, edi
xor ebx, esi
xor ebx, edx
add ebx, dword [esp + 0x54]
lea ebp, [ebx + ebp - 0x155ed806]
rol ebp, 0xb
add ebp, edx
mov ebx, ebp
xor ebx, esi
xor ebx, edx
add ebx, dword [esp + 0x28]
lea edi, [ebx + edi - 0x2b10cf7b]
rol edi, 0x10
add edi, ebp
mov ebx, ebp
xor ebx, edi
mov dword [esp + 0x10], ebx
xor ebx, edx
add ebx, dword [esp + 0x3c]
mov dword [esp + 0x14], edi
lea esi, [ebx + esi + 0x4881d05]
mov ebx, dword [esp + 0x10]
ror esi, 9
add esi, edi
xor ebx, esi
add ebx, dword [esp + 0x50]
xor edi, esi
lea edx, [ebx + edx - 0x262b2fc7]
rol edx, 4
add edx, esi
xor edi, edx
add edi, dword [esp + 0x24]
lea edi, [edi + ebp - 0x1924661b]
mov ebp, dword [esp + 0x14]
rol edi, 0xb
add edi, edx
mov ebx, edi
xor ebx, esi
xor ebx, edx
add ebx, dword [esp + 0x38]
lea ebx, [ebx + ebp + 0x1fa27cf8]
rol ebx, 0x10
add ebx, edi
mov ebp, edi
xor ebp, ebx
xor ebp, edx
add ebp, dword [esp + 0x4c]
mov dword [esp + 0x14], ebx
lea esi, [esi + ebp - 0x3b53a99b]
ror esi, 9
add esi, ebx
mov ebx, edi
not ebx
or ebx, esi
xor ebx, dword [esp + 0x14]
add ebx, dword [esp + 0x54]
lea edx, [ebx + edx - 0xbd6ddbc]
mov ebx, dword [esp + 0x14]
rol edx, 6
mov ebp, ebx
add edx, esi
not ebp
or ebp, edx
xor ebp, esi
add ebp, dword [esp + 0x18]
lea edi, [edi + ebp + 0x432aff97]
rol edi, 0xa
add edi, edx
mov ebp, esi
not ebp
or ebp, edi
xor ebp, edx
add ebp, dword [esp + 0x1c]
lea ebx, [ebx + ebp - 0x546bdc59]
rol ebx, 0xf
add ebx, edi
mov ebp, edx
not ebp
or ebp, ebx
xor ebp, edi
add ebp, dword [esp + 0x20]
lea esi, [esi + ebp - 0x36c5fc7]
ror esi, 0xb
add esi, ebx
mov ebp, edi
not ebp
or ebp, esi
xor ebp, ebx
add ebp, dword [esp + 0x24]
lea edx, [edx + ebp + 0x655b59c3]
rol edx, 6
add edx, esi
mov ebp, ebx
not ebp
or ebp, edx
xor ebp, esi
add ebp, dword [esp + 0x28]
lea edi, [edi + ebp - 0x70f3336e]
rol edi, 0xa
add edi, edx
mov ebp, esi
not ebp
or ebp, edi
xor ebp, edx
add ebp, dword [esp + 0x2c]
lea ebx, [ebx + ebp - 0x100b83]
rol ebx, 0xf
add ebx, edi
mov ebp, edx
not ebp
or ebp, ebx
xor ebp, edi
add ebp, dword [esp + 0x30]
lea esi, [esi + ebp - 0x7a7ba22f]
ror esi, 0xb
add esi, ebx
mov ebp, edi
not ebp
or ebp, esi
xor ebp, ebx
add ebp, dword [esp + 0x34]
lea edx, [edx + ebp + 0x6fa87e4f]
rol edx, 6
add edx, esi
mov ebp, ebx
not ebp
or ebp, edx
xor ebp, esi
add ebp, dword [esp + 0x38]
lea edi, [edi + ebp - 0x1d31920]
rol edi, 0xa
add edi, edx
mov ebp, esi
not ebp
or ebp, edi
xor ebp, edx
add ebp, dword [esp + 0x3c]
lea ebx, [ebx + ebp - 0x5cfebcec]
rol ebx, 0xf
mov ebp, edx
not ebp
add ebx, edi
or ebp, ebx
xor ebp, edi
add ebp, dword [esp + 0x40]
lea esi, [esi + ebp + 0x4e0811a1]
ror esi, 0xb
add esi, ebx
mov ebp, edi
not ebp
or ebp, esi
xor ebp, ebx
add ebp, dword [esp + 0x44]
lea edx, [edx + ebp - 0x8ac817e]
rol edx, 6
add edx, esi
mov ebp, ebx
not ebp
or ebp, edx
xor ebp, esi
add ebp, dword [esp + 0x48]
add dword [ecx], edx
lea edi, [edi + ebp - 0x42c50dcb]
rol edi, 0xa
add edi, edx
add dword [ecx + 0xc], edi
mov ebp, esi
not ebp
or ebp, edi
xor ebp, edx
add ebp, dword [esp + 0x4c]
lea ebx, [ebx + ebp + 0x2ad7d2bb]
rol ebx, 0xf
add ebx, edi
add dword [ecx + 8], ebx
mov ebp, edx
not ebp
or ebp, ebx
xor ebp, edi
add ebp, dword [esp + 0x50]
lea ebp, [esi + ebp - 0x14792c6f]
ror ebp, 0xb
add ebp, ebx
add dword [ecx + 4], ebp
cmp dword [esp + 0x5c], 0
mov ebp, dword [ecx + 4]
mov ebx, dword [ecx + 8]
jne 0x40a270
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret