Function at 0x10007420
Capabilities:
Encode data using xor

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