Function at 0x414fe0
Capabilities:
Encode data using xor

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