Function at 0x101040a4
Capabilities:
Encode data using xor

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