Function at 0x46dd70
Capabilities:
Encode data using xor

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