Function at 0x4d0a50
Capabilities:
Encode data using xor

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