Function at 0x1000d250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ca1d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x1008f180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 2
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
sub eax, ecx
mov edi, dword [ebp + 0x24]
mov esi, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], eax
call fcn.1000c550
push dword [ebp - 0x10]
call fcn.1004d721
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
inc eax
shl eax, 4
push eax
call fcn.1004d721
mov ecx, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0x20], eax
push eax
push esi
call fcn.1000cd50
movups xmm1, xmmword [edi]
mov eax, dword [ebp - 0x10]
movups xmmword [ebp - 0x34], xmm1
test eax, eax
je 0x1000d350
mov edx, dword [ebp - 0x1c]
lea edi, [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
dec eax
sub ecx, edx
shr eax, 4
sub edi, edx
mov dword [ebp - 0x18], ecx
inc eax
mov esi, edx
mov dword [ebp - 0x10], eax
push dword [ebp - 0x20]
lea eax, [ecx + esi]
mov ecx, dword [ebp - 0x14]
push esi
push eax
call fcn.1000c920
lea eax, [ebp - 0x25]
cmp esi, eax
ja 0x1000d330
lea eax, [esi + 0xf]
lea ecx, [ebp - 0x34]
cmp eax, ecx
jb 0x1000d330
mov eax, esi
mov edx, 0x10
nop
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x1000d320
jmp 0x1000d339
movups xmm0, xmmword [esi]
xorps xmm0, xmm1
movups xmmword [esi], xmm0
mov ecx, dword [ebp - 0x18]
sub edi, 0x10
movups xmm1, xmmword [ecx + esi]
add esi, 0x10
sub dword [ebp - 0x10], 1
movups xmmword [ebp - 0x34], xmm1
jne 0x1000d2f7
push dword [ebp - 0x20]
call fcn.1004d72a
mov eax, dword [ebp + 0x10]
add esp, 4
mov esi, dword [ebp - 0x24]
xorps xmm0, xmm0
sub eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x1c]
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 0x1000d3cf
mov ecx, dword [ebp + 0x14]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x1000d3b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d459
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 0x1000d414
mov edx, dword [ebp + 0x20]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1000d3f5
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d459
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 0x1000d444
mov edx, dword [ebp + 0x2c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1000d43a
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d459
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 esp, ebp
pop ebp
ret 0x28
call fcn.1005260f
int3