Function at 0x1002cf17
Capabilities:
Encode data using xor

Disassembly:
push 0xe8
mov eax, 0x100406eb
call fcn.1003d701
mov esi, ecx
cmp dword [ebp + 8], 0
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x3c], edi
jbe 0x1002d294
test edi, edi
je 0x1002d294
call fcn.1002cef6
xor ebx, ebx
test al, al
jne 0x1002cfd0
movaps xmm0, xmmword [0x1004c8f0]
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 0x1002cf5c
lea eax, [ebp - 0x37]
mov byte [ebp - 0x29], bl
push eax
lea ecx, [ebp - 0x78]
call fcn.10003da4
mov dword [ebp - 4], ebx
mov ecx, ebx
movaps xmm0, xmmword [0x1004cc40]
movups xmmword [ebp - 0xf4], xmm0
mov byte [ebp - 0xd4], bl
movaps xmm0, xmmword [0x1004d3f0]
movups xmmword [ebp - 0xe4], xmm0
mov al, byte [ebp - 0xf4]
xor byte [ebp + ecx - 0xf3], al
inc ecx
cmp ecx, 0x1f
jb 0x1002cf9f
lea eax, [ebp - 0xf3]
mov byte [ebp - 0xd4], bl
push eax
lea ecx, [ebp - 0x60]
call fcn.10003da4
mov byte [ebp - 4], 1
jmp 0x1002d194
mov edx, dword [ebp + 0x14]
mov cl, bl
movzx eax, cl
cmp edx, 1
jne 0x1002d0a1
add eax, 0xe
imul eax, eax, 0x14
cmp dword [eax + esi], 2
jne 0x1002d0b2
movaps xmm0, xmmword [str.Y_t6._t_f_y_n_6_]
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 0x1002cffe
lea eax, [ebp - 0x37]
mov byte [ebp - 0x29], bl
push eax
lea ecx, [ebp - 0x78]
call fcn.10003da4
mov dword [ebp - 4], 2
mov ecx, ebx
movaps xmm0, xmmword [0x1004ce40]
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0x80], 0x29267c7a
movaps xmm0, xmmword [0x1004ce50]
movups xmmword [ebp - 0xc0], xmm0
mov byte [ebp - 0x7c], bl
movaps xmm0, xmmword [0x1004d590]
movups xmmword [ebp - 0xb0], xmm0
movaps xmm0, xmmword [0x1004d2e0]
movups xmmword [ebp - 0xa0], xmm0
movaps xmm0, xmmword [0x1004d5d0]
movups xmmword [ebp - 0x90], xmm0
mov al, byte [ebp - 0xd0]
xor byte [ebp + ecx - 0xcf], al
inc ecx
cmp ecx, 0x53
jb 0x1002d073
lea eax, [ebp - 0xcf]
mov byte [ebp - 0x7c], bl
push eax
lea ecx, [ebp - 0x60]
call fcn.10003da4
mov byte [ebp - 4], 3
jmp 0x1002d194
cmp edx, 2
jne 0x1002d0b2
add eax, 0xe
imul eax, eax, 0x14
cmp dword [eax + esi], 1
je 0x1002d0ec
inc cl
cmp cl, 6
jb 0x1002cfd5
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 0x1002d0e1
cmp dword [ecx + esi + 0x110], ebx
jbe 0x1002d1c1
inc al
cmp al, 6
jb 0x1002d0bf
jmp 0x1002d294
movaps xmm0, xmmword [0x1004c8d0]
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 0x1002d0f9
lea eax, [ebp - 0x37]
mov byte [ebp - 0x29], bl
push eax
lea ecx, [ebp - 0x78]
call fcn.10003da4
mov dword [ebp - 4], 4
mov ecx, ebx
movaps xmm0, xmmword [0x1004d2c0]
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0x80], 0x48471d
movaps xmm0, xmmword [str._G:I_b]
movups xmmword [ebp - 0xc0], xmm0
movaps xmm0, xmmword [0x1004ccc0]
movups xmmword [ebp - 0xb0], xmm0
movaps xmm0, xmmword [str.I_b_aI]
movups xmmword [ebp - 0xa0], xmm0
movaps xmm0, xmmword [0x1004ccd0]
movups xmmword [ebp - 0x90], xmm0
mov al, byte [ebp - 0xd0]
xor byte [ebp + ecx - 0xcf], al
inc ecx
cmp ecx, 0x52
jb 0x1002d16b
lea eax, [ebp - 0xcf]
mov byte [ebp - 0x7d], bl
push eax
lea ecx, [ebp - 0x60]
call fcn.10003da4
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 [0x1004b684]
lea ecx, [ebp - 0x60]
call fcn.10003ba2
lea ecx, [ebp - 0x78]
call fcn.10003ba2
jmp 0x1002d294
mov ecx, edi
call fcn.10008408
mov ecx, eax
mov dword [ebp - 0x40], ecx
test ecx, ecx
je 0x1002d294
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.1000842a
test eax, eax
je 0x1002d221
cmp dword [eax + 0x3c], ebx
je 0x1002d221
push edi
push eax
xor edx, edx
lea ecx, [ebp - 0x78]
call fcn.100084fa
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10008b2b
lea ecx, [ebp - 0x78]
jmp 0x1002d242
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0xec]
push edi
push ebx
call fcn.100084fa
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10008b2b
lea ecx, [ebp - 0xec]
call fcn.10003ba2
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.1000cdf2
mov edx, dword [ebp - 0x14]
cmp edx, 0xf
jbe 0x1002d294
mov ecx, dword [ebp - 0x28]
inc edx
call fcn.10003b75
call fcn.1003d6bf
ret 0x10