Function at 0x1002cf0f
Capabilities:
Encode data using xor

Disassembly:
push 0xe8
mov eax, 0x1004076f
call fcn.1003d7e1
mov esi, ecx
cmp dword [ebp + 8], 0
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x3c], edi
jbe 0x1002d28c
test edi, edi
je 0x1002d28c
call fcn.1002ceee
xor ebx, ebx
test al, al
jne 0x1002cfc8
movaps xmm0, xmmword [0x1004c7a0]
mov ecx, ebx
movups xmmword [ebp - 0x38], xmm0
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0xe
jb 0x1002cf54
lea eax, [ebp - 0x37]
mov byte [ebp - 0x29], bl
push eax
lea ecx, [ebp - 0x78]
call fcn.10003d9a
mov dword [ebp - 4], ebx
mov ecx, ebx
movaps xmm0, xmmword [0x1004ce80]
movups xmmword [ebp - 0xf4], xmm0
mov byte [ebp - 0xd4], bl
movaps xmm0, xmmword [0x1004d690]
movups xmmword [ebp - 0xe4], xmm0
mov al, byte [ebp - 0xf4]
xor byte [ebp + ecx - 0xf3], al
inc ecx
cmp ecx, 0x1f
jb 0x1002cf97
lea eax, [ebp - 0xf3]
mov byte [ebp - 0xd4], bl
push eax
lea ecx, [ebp - 0x60]
call fcn.10003d9a
mov byte [ebp - 4], 1
jmp 0x1002d18c
mov edx, dword [ebp + 0x14]
mov cl, bl
movzx eax, cl
cmp edx, 1
jne 0x1002d099
add eax, 0xe
imul eax, eax, 0x14
cmp dword [eax + esi], 2
jne 0x1002d0aa
movaps xmm0, xmmword [0x1004c880]
mov ecx, ebx
movups xmmword [ebp - 0x38], xmm0
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0xe
jb 0x1002cff6
lea eax, [ebp - 0x37]
mov byte [ebp - 0x29], bl
push eax
lea ecx, [ebp - 0x78]
call fcn.10003d9a
mov dword [ebp - 4], 2
mov ecx, ebx
movaps xmm0, xmmword [0x1004d280]
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0x80], 0x4a451f19
movaps xmm0, xmmword [0x1004d270]
movups xmmword [ebp - 0xc0], xmm0
mov byte [ebp - 0x7c], bl
movaps xmm0, xmmword [0x1004ca70]
movups xmmword [ebp - 0xb0], xmm0
movaps xmm0, xmmword [0x1004ce00]
movups xmmword [ebp - 0xa0], xmm0
movaps xmm0, xmmword [0x1004cac0]
movups xmmword [ebp - 0x90], xmm0
mov al, byte [ebp - 0xd0]
xor byte [ebp + ecx - 0xcf], al
inc ecx
cmp ecx, 0x53
jb 0x1002d06b
lea eax, [ebp - 0xcf]
mov byte [ebp - 0x7c], bl
push eax
lea ecx, [ebp - 0x60]
call fcn.10003d9a
mov byte [ebp - 4], 3
jmp 0x1002d18c
cmp edx, 2
jne 0x1002d0aa
add eax, 0xe
imul eax, eax, 0x14
cmp dword [eax + esi], 1
je 0x1002d0e4
inc cl
cmp cl, 6
jb 0x1002cfcd
mov al, bl
movzx ecx, al
mov dword [ebp - 0x48], ecx
imul ecx, ecx, 0x14
mov dword [ebp - 0x44], ecx
cmp dword [ecx + esi + 0x10c], ebx
ja 0x1002d0d9
cmp dword [ecx + esi + 0x110], ebx
jbe 0x1002d1b9
inc al
cmp al, 6
jb 0x1002d0b7
jmp 0x1002d28c
movaps xmm0, xmmword [str._kTLI]
mov ecx, ebx
movups xmmword [ebp - 0x38], xmm0
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0xe
jb 0x1002d0f1
lea eax, [ebp - 0x37]
mov byte [ebp - 0x29], bl
push eax
lea ecx, [ebp - 0x78]
call fcn.10003d9a
mov dword [ebp - 4], 4
mov ecx, ebx
movaps xmm0, xmmword [str.4m_A]
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0x80], 0x151a40
movaps xmm0, xmmword [0x1004d460]
movups xmmword [ebp - 0xc0], xmm0
movaps xmm0, xmmword [0x1004d200]
movups xmmword [ebp - 0xb0], xmm0
movaps xmm0, xmmword [0x1004d4c0]
movups xmmword [ebp - 0xa0], xmm0
movaps xmm0, xmmword [0x1004d1e0]
movups xmmword [ebp - 0x90], xmm0
mov al, byte [ebp - 0xd0]
xor byte [ebp + ecx - 0xcf], al
inc ecx
cmp ecx, 0x52
jb 0x1002d163
lea eax, [ebp - 0xcf]
mov byte [ebp - 0x7d], bl
push eax
lea ecx, [ebp - 0x60]
call fcn.10003d9a
mov byte [ebp - 4], 5
push ebx
push ecx
and dword [esp], 0
lea eax, [ebp - 0x78]
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x60]
push eax
push eax
call dword [0x1004b680]
lea ecx, [ebp - 0x60]
call fcn.10003b98
lea ecx, [ebp - 0x78]
call fcn.10003b98
jmp 0x1002d28c
mov ecx, edi
call fcn.100083f8
mov ecx, eax
mov dword [ebp - 0x40], ecx
test ecx, ecx
je 0x1002d28c
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
mov edi, dword [ebp - 0x3c]
mov edx, edi
mov dword [ebp - 4], 6
call fcn.1000841a
test eax, eax
je 0x1002d219
cmp dword [eax + 0x3c], ebx
je 0x1002d219
push edi
push eax
xor edx, edx
lea ecx, [ebp - 0x78]
call fcn.100084ea
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10008b15
lea ecx, [ebp - 0x78]
jmp 0x1002d23a
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0xec]
push edi
push ebx
call fcn.100084ea
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10008b15
lea ecx, [ebp - 0xec]
call fcn.10003b98
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov dword [ecx + esi + 0x10c], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + esi + 0x114], eax
mov eax, dword [ebp - 0x48]
add eax, 0xe
mov dword [ecx + esi + 0x110], edi
mov ecx, dword [ecx + esi + 0x11c]
imul eax, eax, 0x14
mov dword [eax + esi], edx
lea edx, [ebp - 0x28]
call fcn.1000cdf8
mov edx, dword [ebp - 0x14]
cmp edx, 0xf
jbe 0x1002d28c
mov ecx, dword [ebp - 0x28]
inc edx
call fcn.10003b6b
call fcn.1003d79f
ret 0x10