Function at 0x1000d030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c9cd
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1008f180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
sub ecx, eax
mov edi, dword [ebp + 0x24]
mov esi, dword [ebp + 0x18]
push ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
call fcn.1000c550
push dword [ebp - 0x24]
call fcn.1004d721
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
inc eax
shl eax, 4
push eax
call fcn.1004d721
mov ecx, dword [ebp - 0x2c]
add esp, 8
mov dword [ebp - 0x30], eax
push eax
push esi
call fcn.1000cd50
movups xmm0, xmmword [edi]
mov eax, dword [ebp - 0x24]
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x1000d12a
mov esi, dword [ebp - 0x34]
lea edx, [eax - 1]
mov edi, dword [ebp - 0x28]
sub esi, edi
shr edx, 4
inc edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edx
lea ecx, [edi + 0xf]
xor eax, eax
lea edx, [ebp - 0x20]
cmp edx, ecx
ja 0x1000d0f7
lea ecx, [ebp - 0x11]
cmp ecx, edi
jb 0x1000d0f7
mov cl, byte [edi + eax]
xor byte [ebp + eax - 0x20], cl
inc eax
cmp eax, 0x10
jb 0x1000d0e8
jmp 0x1000d105
movups xmm1, xmmword [ebp - 0x20]
movups xmm0, xmmword [edi]
xorps xmm1, xmm0
movups xmmword [ebp - 0x20], xmm1
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
add esi, edi
push esi
push eax
call fcn.1000c610
movups xmm0, xmmword [esi]
mov esi, dword [ebp - 0x28]
add edi, 0x10
sub dword [ebp - 0x24], 1
movups xmmword [ebp - 0x20], xmm0
jne 0x1000d0d5
push dword [ebp - 0x30]
call fcn.1004d72a
mov eax, dword [ebp + 0x10]
add esp, 4
mov esi, dword [ebp - 0x38]
xorps xmm0, xmm0
sub eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x34]
push eax
push edi
movq qword [esi], xmm0
push esi
mov dword [esi + 8], 0
call fcn.1000cfb0
push edi
call fcn.1004d72a
mov edx, dword [ebp + 0xc]
add esp, 4
test edx, edx
je 0x1000d1a9
mov ecx, dword [ebp + 0x14]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x1000d18a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d23d
push ecx
push edx
call fcn.1004d752
add esp, 8
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x1000d1ee
mov edx, dword [ebp + 0x20]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1000d1cf
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d23d
push edx
push ecx
call fcn.1004d752
add esp, 8
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x1000d21e
mov edx, dword [ebp + 0x2c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1000d214
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d23d
push edx
push ecx
call fcn.1004d752
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004d713
mov esp, ebp
pop ebp
ret 0x28
call fcn.1005260f
int3