Function at 0x401000
Capabilities:
Encode data using xor

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