Function at 0x1000c060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019d2c
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x100220f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp + 0xc]
push 0x20a
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.1000eb00
push 0x104
lea eax, [ebp - 0x22c]
push eax
push 0
call fcn.10005c00
add esp, 0x18
test eax, eax
je 0x1000c191
lea ecx, [ebp - 0x22c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c0e0
sub ecx, edx
sar ecx, 1
lea eax, [ecx - 1]
test eax, eax
js 0x1000c125
nop word [eax + eax]
cmp word [ebp + eax*2 - 0x22c], 0x5c
je 0x1000c125
cmp eax, 0x105
jae 0x1000c370
xor ecx, ecx
mov word [ebp + eax*2 - 0x22c], cx
sub eax, 1
jns 0x1000c100
movups xmm0, xmmword [str.license.dat]
push 0
push 0x80
push 3
movups xmmword [ebp + eax*2 - 0x22a], xmm0
push 0
movq xmm0, qword [0x1001b2cc]
push 1
movq qword [ebp + eax*2 - 0x21a], xmm0
lea eax, [ebp - 0x22c]
push 0x80000000
push eax
call fcn.10002350
mov esi, eax
add esp, 0x1c
mov dword [ebp - 0x244], esi
test esi, esi
je 0x1000c191
cmp esi, 0xffffffff
je 0x1000c191
push 0
push esi
call fcn.100051c0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1000c1ae
push esi
call fcn.100018b0
add esp, 4
xor al, al
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.1000d892
mov esp, ebp
pop ebp
ret
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10022db4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10022a48]
cmp eax, dword [ecx + 4]
jg 0x1000c375
push 0
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0
push eax
push edi
push dword [0x10022a3c]
push esi
call fcn.10008a40
push esi
call fcn.100018b0
mov esi, dword [0x10022a40]
xor ecx, ecx
mov edi, dword [0x10022a3c]
xorps xmm0, xmm0
movq qword [ebp - 0x238], xmm0
add esp, 0x18
mov dword [ebp - 0x230], 0
sub esi, edi
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x230], ecx
mov dword [ebp - 4], 1
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x20], xmm0
sub esi, 0x10
je 0x1000c25a
lea eax, [ebp - 0x23d]
push eax
push esi
lea ecx, [ebp - 0x238]
call fcn.100017a0
mov ecx, dword [ebp - 0x238]
push esi
lea eax, [edi + 0x10]
push eax
push ecx
call fcn.1000e580
mov edi, dword [0x10022a40]
add esp, 0xc
mov esi, dword [ebp - 0x234]
mov edx, edi
mov ecx, dword [ebp - 0x238]
sub esi, ecx
mov eax, dword [0x10022a3c]
sub edx, eax
cmp esi, edx
jae 0x1000c28d
add eax, esi
jmp 0x1000c2cf
jbe 0x1000c2d4
mov eax, dword [0x10022a44]
sub eax, dword [0x10022a3c]
cmp esi, eax
jbe 0x1000c2b8
lea eax, [ebp - 0x23d]
mov ecx, 0x10022a3c
push eax
push esi
call fcn.100017a0
mov ecx, dword [ebp - 0x238]
jmp 0x1000c2d4
sub esi, edx
push esi
push 0
push edi
call fcn.1000eb00
mov ecx, dword [ebp - 0x238]
lea eax, [esi + edi]
add esp, 0xc
mov dword [0x10022a40], eax
mov edx, dword [ebp - 0x234]
sub edx, ecx
sub edx, 1
js 0x1000c308
mov cl, byte [ecx + edx]
mov eax, edx
and eax, 0xf
xor byte [ebp + eax - 0x20], cl
lea eax, [ebp + eax - 0x20]
mov al, byte [eax]
xor cl, al
mov eax, dword [0x10022a3c]
mov byte [eax + edx], cl
sub edx, 1
mov ecx, dword [ebp - 0x238]
jns 0x1000c2e1
test ecx, ecx
je 0x1000c33c
mov edx, dword [ebp - 0x230]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1000c332
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c422
push edx
push ecx
call fcn.1000d164
add esp, 8
mov ecx, dword [ebp - 0x248]
mov eax, dword [0x10022a3c]
mov dword [ecx], eax
mov eax, dword [0x10022a40]
mov ecx, dword [ebp - 0x24c]
sub eax, dword [0x10022a3c]
cmp dword [ebp - 0x23c], 0
mov dword [ecx], eax
je 0x1000c191
mov al, 1
jmp 0x1000c193
call fcn.1000d5ae
push 0x10022a48
call fcn.1000d7bc
add esp, 4
cmp dword [0x10022a48], 0xffffffff
jne 0x1000c1ce
mov dword [ebp - 4], 0
cmp edi, 0x7fffffff
jbe 0x1000c3a3
call fcn.1000b9f0
cmp edi, 0x1000
jb 0x1000c3d1
lea eax, [edi + 0x23]
cmp eax, edi
ja 0x1000c3b7
call fcn.1000b9c0
push eax
call fcn.1000d134
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1000c422
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x1000c3dc
push edi
call fcn.1000d134
add esp, 4
jmp 0x1000c3dc
push edi
lea esi, [eax + edi]
mov dword [0x10022a3c], eax
push 0
push eax
mov dword [0x10022a44], esi
call fcn.1000eb00
push 0x10019eb0
mov dword [0x10022a40], esi
call fcn.1000d477
push 0x10022a48
mov dword [ebp - 4], 0xffffffff
call fcn.1000d772
mov esi, dword [ebp - 0x244]
add esp, 0x14
jmp 0x1000c1ce
call fcn.100106df
int3