Function at 0x401000
Capabilities:
Encode data using xor

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