Function at 0x100cce50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017f4fc
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edx, dword [0x1027c0b4]
mov ebx, edx
mov edi, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x100cce9a
xor al, al
jmp 0x100cceae
push edi
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edi, dword [esi + 8]
mov edx, dword [0x1027c0b4]
mov al, byte [eax]
inc edi
movzx eax, al
mov dword [esi + 8], edi
sub eax, 1
je 0x100cd037
sub eax, 1
jne 0x100cd087
mov ecx, dword [esi + 0x18]
lea eax, [edi + 1]
sub ecx, dword [esi + 0x14]
cmp eax, ecx
jbe 0x100cced8
xor cl, cl
jmp 0x100cceec
push edi
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edi, dword [esi + 8]
mov edx, dword [0x1027c0b4]
mov cl, byte [eax]
lea eax, [edi + 1]
mov dword [esi + 8], eax
cmp dword [ebx + 0x474], 0
je 0x100cd087
mov eax, dword [edx + 0x4dc]
test eax, eax
je 0x100cd087
cmp cl, 1
je 0x100cd02c
mov ecx, eax
call fcn.100649f0
movaps xmm0, xmmword [0x101c1f30]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x7612437
mov dword [ebp - 0x18], 0x242d2820
mov word [ebp - 0x14], 0x25
nop
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x18
jb 0x100ccf40
sub esp, 0x1c
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.10046d00
lea eax, [ebp - 0x48]
push eax
call fcn.10049e30
add esp, 0x20
mov dword [ebp - 4], 1
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x50], ecx
jb 0x100ccf83
mov ecx, dword [ecx]
mov dword [ebp - 0x50], ecx
mov ebx, ecx
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100ccf88
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.101204d0
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x4c], edi
call fcn.10122870
push ebx
push dword [ebp - 0x50]
lea esi, [edi + 0x20]
push esi
call fcn.10122110
add esp, 0x1c
mov dword [edi + 0x14], ebx
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
mov ecx, dword ds:[0xf3690c]
push 0
push 0xa30000
push dword [ebp - 0x4c]
mov eax, dword [0x101ba6ac]
call eax
push edi
call fcn.1011f890
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.10043e40
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x100cd003
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x48]
push 8
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
call fcn.10048530
add esp, 8
jmp 0x100cd087
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x100cd087
push 0
jmp 0x100cd081
cmp dword [ebx + 0x474], 0
je 0x100cd087
mov eax, dword [edx + 0x4dc]
test eax, eax
jne 0x100cd078
push 0x2c
call fcn.1011fb90
add esp, 4
mov dword [ebp - 0x4c], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.100637a0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x1027c0b4]
mov dword [ecx + 0x4dc], eax
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x100cd087
push 1
call dword [0x101ba7a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011f880
mov esp, ebp
pop ebp
ret 4