Function at 0x47a3b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x48
call fcn.00473d20
cmp dword [esp + 0x54], 0
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov eax, dword [esp + 0x50]
push ebx
mov ebx, dword [ecx + 4]
push ebp
mov ebp, dword [ecx + 0xc]
push edi
mov edi, dword [ecx + 8]
mov dword [esp + 0x5c], edx
je 0x47ac45
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebp
push esi
lea esp, [esp]
movzx edx, byte [eax + 1]
movzx ecx, byte [eax]
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 2]
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax + 3]
movzx esi, byte [eax + 4]
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax + 5]
shl edx, 8
or esi, edx
movzx edx, byte [eax + 6]
shl edx, 0x10
or esi, edx
movzx edx, byte [eax + 7]
shl edx, 0x18
or esi, edx
mov edx, ebp
xor edx, edi
and edx, ebx
xor edx, ebp
mov dword [esp + 0x24], esi
movzx esi, byte [eax + 9]
add edx, ecx
shl esi, 8
dec dword [esp + 0x64]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x60]
lea ecx, [edx + ecx - 0x28955b88]
movzx edx, byte [eax + 8]
or edx, esi
movzx esi, byte [eax + 0xa]
shl esi, 0x10
or edx, esi
movzx esi, byte [eax + 0xb]
shl esi, 0x18
or edx, esi
movzx esi, byte [eax + 0xc]
mov dword [esp + 0x3c], edx
mov edx, edi
xor edx, ebx
rol ecx, 7
add ecx, ebx
and edx, ecx
xor edx, edi
add edx, dword [esp + 0x24]
lea edx, [edx + ebp - 0x173848aa]
movzx ebp, byte [eax + 0xd]
shl ebp, 8
or esi, ebp
movzx ebp, byte [eax + 0xe]
shl ebp, 0x10
or esi, ebp
movzx ebp, byte [eax + 0xf]
shl ebp, 0x18
or esi, ebp
movzx ebp, byte [eax + 0x11]
mov dword [esp + 0x1c], esi
rol edx, 0xc
add edx, ecx
mov esi, ebx
xor esi, ecx
and esi, edx
xor esi, ebx
add esi, dword [esp + 0x3c]
shl ebp, 8
lea esi, [esi + edi + 0x242070db]
movzx edi, byte [eax + 0x10]
or edi, ebp
movzx ebp, byte [eax + 0x12]
shl ebp, 0x10
or edi, ebp
movzx ebp, byte [eax + 0x13]
rol esi, 0x11
shl ebp, 0x18
add esi, edx
or edi, ebp
mov dword [esp + 0x34], edi
movzx ebp, byte [eax + 0x15]
shl ebp, 8
mov edi, edx
xor edi, ecx
and edi, esi
xor edi, ecx
add edi, dword [esp + 0x1c]
lea edi, [edi + ebx - 0x3e423112]
movzx ebx, byte [eax + 0x14]
or ebx, ebp
movzx ebp, byte [eax + 0x16]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 0x17]
shl ebp, 0x18
or ebx, ebp
mov dword [esp + 0x14], ebx
movzx ebp, byte [eax + 0x19]
shl ebp, 8
rol edi, 0x16
add edi, esi
mov ebx, edx
xor ebx, esi
and ebx, edi
xor ebx, edx
add ebx, dword [esp + 0x34]
lea ecx, [ebx + ecx - 0xa83f051]
movzx ebx, byte [eax + 0x18]
or ebx, ebp
movzx ebp, byte [eax + 0x1a]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 0x1b]
shl ebp, 0x18
or ebx, ebp
mov dword [esp + 0x2c], ebx
movzx ebp, byte [eax + 0x1d]
rol ecx, 7
add ecx, edi
mov ebx, esi
xor ebx, edi
and ebx, ecx
xor ebx, esi
add ebx, dword [esp + 0x14]
shl ebp, 8
lea edx, [ebx + edx + 0x4787c62a]
movzx ebx, byte [eax + 0x1c]
or ebx, ebp
movzx ebp, byte [eax + 0x1e]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 0x1f]
shl ebp, 0x18
or ebx, ebp
movzx ebp, byte [eax + 0x21]
mov dword [esp + 0x60], ebx
rol edx, 0xc
add edx, ecx
mov ebx, edi
xor ebx, ecx
and ebx, edx
xor ebx, edi
add ebx, dword [esp + 0x2c]
shl ebp, 8
lea esi, [ebx + esi - 0x57cfb9ed]
movzx ebx, byte [eax + 0x20]
or ebx, ebp
movzx ebp, byte [eax + 0x22]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 0x23]
shl ebp, 0x18
or ebx, ebp
mov dword [esp + 0x28], ebx
rol esi, 0x11
mov ebx, edx
xor ebx, ecx
add esi, edx
and ebx, esi
xor ebx, ecx
add ebx, dword [esp + 0x60]
lea edi, [ebx + edi - 0x2b96aff]
movzx ebp, byte [eax + 0x25]
movzx ebx, byte [eax + 0x24]
shl ebp, 8
or ebx, ebp
movzx ebp, byte [eax + 0x26]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 0x27]
shl ebp, 0x18
or ebx, ebp
mov dword [esp + 0x40], ebx
movzx ebp, byte [eax + 0x29]
shl ebp, 8
rol edi, 0x16
add edi, esi
mov ebx, edx
xor ebx, esi
and ebx, edi
xor ebx, edx
add ebx, dword [esp + 0x28]
lea ecx, [ebx + ecx + 0x698098d8]
movzx ebx, byte [eax + 0x28]
or ebx, ebp
movzx ebp, byte [eax + 0x2a]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 0x2b]
shl ebp, 0x18
or ebx, ebp
mov dword [esp + 0x20], ebx
movzx ebp, byte [eax + 0x2d]
rol ecx, 7
add ecx, edi
mov ebx, esi
xor ebx, edi
and ebx, ecx
xor ebx, esi
add ebx, dword [esp + 0x40]
shl ebp, 8
lea edx, [ebx + edx - 0x74bb0851]
movzx ebx, byte [eax + 0x2c]
or ebx, ebp
movzx ebp, byte [eax + 0x2e]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 0x2f]
shl ebp, 0x18
or ebx, ebp
movzx ebp, byte [eax + 0x31]
mov dword [esp + 0x38], ebx
rol edx, 0xc
add edx, ecx
mov ebx, edi
xor ebx, ecx
and ebx, edx
xor ebx, edi
add ebx, dword [esp + 0x20]
shl ebp, 8
lea esi, [ebx + esi - 0xa44f]
movzx ebx, byte [eax + 0x30]
or ebx, ebp
movzx ebp, byte [eax + 0x32]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 0x33]
shl ebp, 0x18
or ebx, ebp
movzx ebp, byte [eax + 0x35]
mov dword [esp + 0x18], ebx
rol esi, 0x11
add esi, edx
mov ebx, edx
xor ebx, ecx
and ebx, esi
xor ebx, ecx
add ebx, dword [esp + 0x38]
lea edi, [ebx + edi - 0x76a32842]
movzx ebx, byte [eax + 0x34]
rol edi, 0x16
add edi, esi
shl ebp, 8
or ebx, ebp
movzx ebp, byte [eax + 0x36]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 0x37]
shl ebp, 0x18
or ebx, ebp
mov dword [esp + 0x30], ebx
movzx ebp, byte [eax + 0x39]
shl ebp, 8
mov ebx, edx
xor ebx, esi
and ebx, edi
xor ebx, edx
add ebx, dword [esp + 0x18]
add eax, 0x40
lea ecx, [ebx + ecx + 0x6b901122]
movzx ebx, byte [eax - 8]
or ebx, ebp
movzx ebp, byte [eax - 6]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax - 5]
shl ebp, 0x18
or ebx, ebp
movzx ebp, byte [eax - 3]
mov dword [esp + 0x10], ebx
rol ecx, 7
add ecx, edi
shl ebp, 8
mov ebx, esi
xor ebx, edi
and ebx, ecx
xor ebx, esi
add ebx, dword [esp + 0x30]
lea edx, [ebx + edx - 0x2678e6d]
movzx ebx, byte [eax - 4]
or ebx, ebp
movzx ebp, byte [eax - 2]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax - 1]
shl ebp, 0x18
or ebx, ebp
rol edx, 0xc
add edx, ecx
mov ebp, edi
xor ebp, ecx
and ebp, edx
xor ebp, edi
add ebp, dword [esp + 0x10]
mov dword [esp + 0x48], ebx
lea esi, [esi + ebp - 0x5986bc72]
rol esi, 0x11
add esi, edx
mov ebp, edx
xor ebp, ecx
and ebp, esi
xor ebp, ecx
add ebp, ebx
lea edi, [edi + ebp + 0x49b40821]
rol edi, 0x16
add edi, esi
mov ebx, esi
xor ebx, edi
and ebx, edx
xor ebx, esi
add ebx, dword [esp + 0x24]
lea ecx, [ebx + ecx - 0x9e1da9e]
rol ecx, 5
add ecx, edi
mov ebx, edi
xor ebx, ecx
and ebx, esi
xor ebx, edi
add ebx, dword [esp + 0x2c]
lea edx, [ebx + edx - 0x3fbf4cc0]
rol edx, 9
add edx, ecx
mov ebx, edx
xor ebx, ecx
and ebx, edi
xor ebx, ecx
add ebx, dword [esp + 0x38]
lea esi, [ebx + esi + 0x265e5a51]
rol esi, 0xe
add esi, edx
mov ebx, edx
xor ebx, esi
and ebx, ecx
xor ebx, edx
add ebx, dword [esp + 0x44]
lea edi, [ebx + edi - 0x16493856]
rol edi, 0x14
add edi, esi
mov ebx, esi
xor ebx, edi
and ebx, edx
xor ebx, esi
add ebx, dword [esp + 0x14]
lea ecx, [ebx + ecx - 0x29d0efa3]
rol ecx, 5
add ecx, edi
mov ebx, edi
xor ebx, ecx
and ebx, esi
xor ebx, edi
add ebx, dword [esp + 0x20]
lea edx, [ebx + edx + 0x2441453]
rol edx, 9
add edx, ecx
mov ebx, edx
xor ebx, ecx
and ebx, edi
xor ebx, ecx
add ebx, dword [esp + 0x48]
lea esi, [ebx + esi - 0x275e197f]
rol esi, 0xe
add esi, edx
mov ebx, edx
xor ebx, esi
and ebx, ecx
xor ebx, edx
add ebx, dword [esp + 0x34]
lea edi, [ebx + edi - 0x182c0438]
rol edi, 0x14
add edi, esi
mov ebx, esi
xor ebx, edi
and ebx, edx
xor ebx, esi
add ebx, dword [esp + 0x40]
lea ecx, [ebx + ecx + 0x21e1cde6]
rol ecx, 5
add ecx, edi
mov ebx, edi
xor ebx, ecx
and ebx, esi
xor ebx, edi
add ebx, dword [esp + 0x10]
lea edx, [ebx + edx - 0x3cc8f82a]
rol edx, 9
add edx, ecx
mov ebx, edx
xor ebx, ecx
and ebx, edi
xor ebx, ecx
add ebx, dword [esp + 0x1c]
lea esi, [ebx + esi - 0xb2af279]
rol esi, 0xe
add esi, edx
mov ebx, edx
xor ebx, esi
and ebx, ecx
xor ebx, edx
add ebx, dword [esp + 0x28]
lea edi, [ebx + edi + 0x455a14ed]
rol edi, 0x14
add edi, esi
mov ebx, esi
xor ebx, edi
and ebx, edx
xor ebx, esi
add ebx, dword [esp + 0x30]
lea ecx, [ebx + ecx - 0x561c16fb]
rol ecx, 5
add ecx, edi
mov ebx, edi
xor ebx, ecx
and ebx, esi
xor ebx, edi
add ebx, dword [esp + 0x3c]
lea edx, [ebx + edx - 0x3105c08]
rol edx, 9
add edx, ecx
mov ebx, edx
xor ebx, ecx
and ebx, edi
xor ebx, ecx
add ebx, dword [esp + 0x60]
lea esi, [ebx + esi + 0x676f02d9]
rol esi, 0xe
add esi, edx
mov ebx, edx
xor ebx, esi
mov ebp, ebx
and ebp, ecx
xor ebp, edx
add ebp, dword [esp + 0x18]
lea edi, [edi + ebp - 0x72d5b376]
rol edi, 0x14
add edi, esi
xor ebx, edi
add ebx, dword [esp + 0x14]
lea ecx, [ebx + ecx - 0x5c6be]
rol ecx, 4
add ecx, edi
mov ebx, esi
xor ebx, edi
xor ebx, ecx
add ebx, dword [esp + 0x28]
lea edx, [ebx + edx - 0x788e097f]
rol edx, 0xb
add edx, ecx
mov ebx, edx
xor ebx, edi
xor ebx, ecx
add ebx, dword [esp + 0x38]
mov ebp, edx
lea ebx, [ebx + esi + 0x6d9d6122]
rol ebx, 0x10
add ebx, edx
xor ebp, ebx
mov esi, ebp
xor esi, ecx
add esi, dword [esp + 0x10]
lea esi, [esi + edi - 0x21ac7f4]
rol esi, 0x17
add esi, ebx
xor ebp, esi
add ebp, dword [esp + 0x24]
mov edi, ebx
lea ecx, [ecx + ebp - 0x5b4115bc]
xor edi, esi
rol ecx, 4
add ecx, esi
xor edi, ecx
add edi, dword [esp + 0x34]
lea edi, [edi + edx + 0x4bdecfa9]
rol edi, 0xb
add edi, ecx
mov edx, edi
xor edx, esi
xor edx, ecx
add edx, dword [esp + 0x60]
mov ebp, edi
lea ebx, [edx + ebx - 0x944b4a0]
rol ebx, 0x10
add ebx, edi
xor ebp, ebx
mov edx, ebp
xor edx, ecx
add edx, dword [esp + 0x20]
lea edx, [edx + esi - 0x41404390]
mov esi, ebx
rol edx, 0x17
add edx, ebx
xor ebp, edx
add ebp, dword [esp + 0x30]
xor esi, edx
lea ecx, [ecx + ebp + 0x289b7ec6]
rol ecx, 4
add ecx, edx
xor esi, ecx
add esi, dword [esp + 0x44]
lea esi, [esi + edi - 0x155ed806]
rol esi, 0xb
add esi, ecx
mov edi, esi
xor edi, edx
xor edi, ecx
add edi, dword [esp + 0x1c]
lea edi, [edi + ebx - 0x2b10cf7b]
rol edi, 0x10
add edi, esi
mov ebx, esi
xor ebx, edi
mov ebp, ebx
xor ebp, ecx
add ebp, dword [esp + 0x2c]
lea edx, [edx + ebp + 0x4881d05]
mov ebp, dword [esp + 0x40]
rol edx, 0x17
add edx, edi
xor ebx, edx
add ebx, ebp
lea ecx, [ebx + ecx - 0x262b2fc7]
rol ecx, 4
add ecx, edx
mov ebx, edi
xor ebx, edx
xor ebx, ecx
add ebx, dword [esp + 0x18]
lea esi, [ebx + esi - 0x1924661b]
rol esi, 0xb
add esi, ecx
mov ebx, esi
xor ebx, edx
xor ebx, ecx
add ebx, dword [esp + 0x48]
lea edi, [ebx + edi + 0x1fa27cf8]
rol edi, 0x10
add edi, esi
mov ebx, esi
xor ebx, edi
xor ebx, ecx
add ebx, dword [esp + 0x3c]
lea edx, [ebx + edx - 0x3b53a99b]
rol edx, 0x17
add edx, edi
mov ebx, esi
not ebx
or ebx, edx
xor ebx, edi
add ebx, dword [esp + 0x44]
lea ecx, [ebx + ecx - 0xbd6ddbc]
rol ecx, 6
add ecx, edx
mov ebx, edi
not ebx
or ebx, ecx
xor ebx, edx
add ebx, dword [esp + 0x60]
lea esi, [ebx + esi + 0x432aff97]
rol esi, 0xa
mov ebx, edx
not ebx
add esi, ecx
or ebx, esi
xor ebx, ecx
add ebx, dword [esp + 0x10]
lea edi, [ebx + edi - 0x546bdc59]
rol edi, 0xf
add edi, esi
mov ebx, ecx
not ebx
or ebx, edi
xor ebx, esi
add ebx, dword [esp + 0x14]
lea edx, [ebx + edx - 0x36c5fc7]
rol edx, 0x15
add edx, edi
mov ebx, esi
not ebx
or ebx, edx
xor ebx, edi
add ebx, dword [esp + 0x18]
lea ecx, [ebx + ecx + 0x655b59c3]
rol ecx, 6
add ecx, edx
mov ebx, edi
not ebx
or ebx, ecx
xor ebx, edx
add ebx, dword [esp + 0x1c]
lea esi, [ebx + esi - 0x70f3336e]
rol esi, 0xa
add esi, ecx
mov ebx, edx
not ebx
or ebx, esi
xor ebx, ecx
add ebx, dword [esp + 0x20]
lea edi, [ebx + edi - 0x100b83]
rol edi, 0xf
add edi, esi
mov ebx, ecx
not ebx
or ebx, edi
xor ebx, esi
add ebx, dword [esp + 0x24]
lea edx, [ebx + edx - 0x7a7ba22f]
rol edx, 0x15
add edx, edi
mov ebx, esi
not ebx
or ebx, edx
xor ebx, edi
add ebx, dword [esp + 0x28]
lea ecx, [ebx + ecx + 0x6fa87e4f]
rol ecx, 6
add ecx, edx
mov ebx, edi
not ebx
or ebx, ecx
xor ebx, edx
add ebx, dword [esp + 0x48]
lea esi, [ebx + esi - 0x1d31920]
rol esi, 0xa
add esi, ecx
mov ebx, edx
not ebx
or ebx, esi
xor ebx, ecx
add ebx, dword [esp + 0x2c]
lea edi, [ebx + edi - 0x5cfebcec]
rol edi, 0xf
add edi, esi
mov ebx, ecx
not ebx
or ebx, edi
xor ebx, esi
add ebx, dword [esp + 0x30]
lea edx, [ebx + edx + 0x4e0811a1]
rol edx, 0x15
add edx, edi
mov ebx, esi
not ebx
or ebx, edx
xor ebx, edi
add ebx, dword [esp + 0x34]
lea ecx, [ebx + ecx - 0x8ac817e]
rol ecx, 6
add ecx, edx
mov ebx, edi
not ebx
or ebx, ecx
xor ebx, edx
add ebx, dword [esp + 0x38]
lea esi, [ebx + esi - 0x42c50dcb]
rol esi, 0xa
add esi, ecx
mov ebx, edx
not ebx
or ebx, esi
xor ebx, ecx
add ebx, dword [esp + 0x3c]
lea edi, [ebx + edi + 0x2ad7d2bb]
mov ebx, ecx
not ebx
rol edi, 0xf
add edi, esi
or ebx, edi
xor ebx, esi
add ebx, ebp
mov ebp, dword [esp + 0x5c]
add dword [ebp], ecx
mov ecx, dword [ebp]
lea ebx, [ebx + edx - 0x14792c6f]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x4c]
rol ebx, 0x15
add ebx, edi
add ecx, ebx
mov dword [ebp + 4], ecx
mov dword [esp + 0x4c], ecx
mov ebx, ecx
mov ecx, dword [esp + 0x50]
add ecx, edi
mov dword [ebp + 8], ecx
mov dword [esp + 0x50], ecx
mov edi, ecx
mov ecx, dword [esp + 0x54]
add ecx, esi
cmp dword [esp + 0x64], 0
mov dword [ebp + 0xc], ecx
mov dword [esp + 0x54], ecx
mov ebp, ecx
jne 0x47a3f0
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x48
ret