Function at 0x1001c550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
push 0x40
neg esi
push 0x100fe990
push dword [ebp + 0xc]
sbb esi, esi
push dword [ebp + 8]
and esi, 0xf
mov dword [ebp + 0x14], esi
call fcn.1001cbb0
mov edi, eax
mov dword [ebp + 0xc], edx
add esp, 0x10
mov dword [ebp - 4], edi
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x10]
mov ecx, eax
xor ecx, esi
mov ebx, edi
rol ebx, 1
mov dword [ebp - 0x34], ebx
ror ebx, 4
mov eax, dword [edx + ecx*8]
mov ecx, dword [edx + ecx*8 + 4]
mov dword [ebp - 0x38], eax
shrd eax, ecx, 6
mov dword [ebp - 0x2c], ebx
shr ecx, 6
mov dword [ebp - 0x30], eax
shrd eax, ecx, 6
ror ebx, 4
shr ecx, 6
mov dword [ebp - 0x28], eax
shrd eax, ecx, 6
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], eax
shr ecx, 6
shrd eax, ecx, 6
ror ebx, 4
mov edi, eax
shr ecx, 6
shrd edi, ecx, 6
mov dword [ebp - 0x18], eax
shr ecx, 6
mov edx, edi
shrd edx, ecx, 6
mov dword [ebp - 0x1c], ebx
shr ecx, 6
mov eax, edx
ror ebx, 4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], ebx
ror ebx, 4
mov esi, ebx
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0xc]
xor ebx, dword [ebp - 0x10]
shrd eax, edi, 6
ror esi, 4
and ebx, 0x3f
mov ecx, esi
xor esi, edx
ror ecx, 4
and esi, 0x3f
xor ecx, eax
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x18]
and ecx, 0x3f
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x100fea38]
or ecx, dword [esi*4 + 0x100feb38]
or ecx, dword [ebx*4 + 0x100fec38]
xor ebx, ebx
or ecx, dword [eax*4 + 0x100fed38]
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x20]
and eax, 0x3f
or ebx, dword [ebp - 4]
or ecx, dword [eax*4 + 0x100fee38]
mov eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x28]
and eax, 0x3f
or ecx, dword [eax*4 + 0x100fef38]
mov eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x30]
and eax, 0x3f
or ecx, dword [eax*4 + 0x100ff038]
mov eax, dword [ebp - 0x34]
xor eax, dword [ebp - 0x38]
and eax, 0x3f
or ecx, dword [eax*4 + 0x100ff138]
mov eax, dword [ebp + 0xc]
xor eax, ecx
xor ebx, 0
mov dword [ebp + 0xc], ebx
mov edi, eax
mov esi, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, 0x10
jl 0x1001c588
xorps xmm0, xmm0
mov dword [ebp - 8], 0x10
movlpd qword [ebp - 0x3c], xmm0
xor esi, esi
mov eax, dword [ebp - 0x3c]
mov edx, 0x100fe9cd
or esi, edi
mov dword [ebp + 0xc], edx
mov edi, dword [ebp - 0x38]
mov dword [ebp + 0x14], eax
nop
movzx ecx, byte [edx + 2]
mov eax, ebx
and eax, 1
xor edx, edx
call fcn.10002216
or dword [ebp + 0x14], eax
or edi, edx
mov eax, dword [ebp + 0xc]
xor edx, edx
shrd ebx, esi, 1
shr esi, 1
movzx ecx, byte [eax + 1]
mov eax, ebx
and eax, 1
call fcn.10002216
or dword [ebp + 0x14], eax
or edi, edx
mov ecx, dword [ebp + 0xc]
xor edx, edx
shrd ebx, esi, 1
mov eax, ebx
shr esi, 1
movzx ecx, byte [ecx]
and eax, 1
call fcn.10002216
or dword [ebp + 0x14], eax
or edi, edx
mov eax, dword [ebp + 0xc]
xor edx, edx
shrd ebx, esi, 1
shr esi, 1
movzx ecx, byte [eax - 1]
mov eax, ebx
and eax, 1
call fcn.10002216
mov ecx, dword [ebp + 0x14]
or edi, edx
mov edx, dword [ebp + 0xc]
or ecx, eax
shrd ebx, esi, 1
sub edx, 4
mov dword [ebp + 0x14], ecx
shr esi, 1
sub dword [ebp - 8], 1
mov dword [ebp + 0xc], edx
jne 0x1001c6d0
mov edx, edi
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret