Function at 0x402270
Capabilities:
Encode data using xor

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