Function at 0x4d1630
Capabilities:
Encode data using xor

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