Function at 0x4093f0
Capabilities:
Encode data using xor

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