Function at 0x4052c0
Capabilities:
Encode data using xor

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