Function at 0x10027c58
Capabilities:
Encode data using xor

Disassembly:
push 0xe8
mov eax, 0x10036e1b
call fcn.10034326
mov esi, ecx
cmp dword [ebp + 8], 0
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x3c], edi
jbe 0x10027fd5
test edi, edi
je 0x10027fd5
call fcn.10027c37
xor ebx, ebx
test al, al
jne 0x10027d11
movaps xmm0, xmmword [0x1003de50]
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 0x10027c9d
lea eax, [ebp - 0x37]
mov byte [ebp - 0x29], bl
push eax
lea ecx, [ebp - 0x78]
call fcn.10002604
mov dword [ebp - 4], ebx
mov ecx, ebx
movaps xmm0, xmmword [0x1003e870]
movups xmmword [ebp - 0xf4], xmm0
mov byte [ebp - 0xd4], bl
movaps xmm0, xmmword [0x1003e130]
movups xmmword [ebp - 0xe4], xmm0
mov al, byte [ebp - 0xf4]
xor byte [ebp + ecx - 0xf3], al
inc ecx
cmp ecx, 0x1f
jb 0x10027ce0
lea eax, [ebp - 0xf3]
mov byte [ebp - 0xd4], bl
push eax
lea ecx, [ebp - 0x60]
call fcn.10002604
mov byte [ebp - 4], 1
jmp 0x10027ed5
mov edx, dword [ebp + 0x14]
mov cl, bl
movzx eax, cl
cmp edx, 1
jne 0x10027de2
add eax, 0xe
imul eax, eax, 0x14
cmp dword [eax + esi], 2
jne 0x10027df3
movaps xmm0, xmmword [0x1003dcd0]
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 0x10027d3f
lea eax, [ebp - 0x37]
mov byte [ebp - 0x29], bl
push eax
lea ecx, [ebp - 0x78]
call fcn.10002604
mov dword [ebp - 4], 2
mov ecx, ebx
movaps xmm0, xmmword [0x1003e190]
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0x80], 0x232c7670
movaps xmm0, xmmword [0x1003e1a0]
movups xmmword [ebp - 0xc0], xmm0
mov byte [ebp - 0x7c], bl
movaps xmm0, xmmword [0x1003ea30]
movups xmmword [ebp - 0xb0], xmm0
movaps xmm0, xmmword [0x1003e540]
movups xmmword [ebp - 0xa0], xmm0
movaps xmm0, xmmword [0x1003e8c0]
movups xmmword [ebp - 0x90], xmm0
mov al, byte [ebp - 0xd0]
xor byte [ebp + ecx - 0xcf], al
inc ecx
cmp ecx, 0x53
jb 0x10027db4
lea eax, [ebp - 0xcf]
mov byte [ebp - 0x7c], bl
push eax
lea ecx, [ebp - 0x60]
call fcn.10002604
mov byte [ebp - 4], 3
jmp 0x10027ed5
cmp edx, 2
jne 0x10027df3
add eax, 0xe
imul eax, eax, 0x14
cmp dword [eax + esi], 1
je 0x10027e2d
inc cl
cmp cl, 6
jb 0x10027d16
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 0x10027e22
cmp dword [ecx + esi + 0x110], ebx
jbe 0x10027f02
inc al
cmp al, 6
jb 0x10027e00
jmp 0x10027fd5
movaps xmm0, xmmword [0x1003dcc0]
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 0x10027e3a
lea eax, [ebp - 0x37]
mov byte [ebp - 0x29], bl
push eax
lea ecx, [ebp - 0x78]
call fcn.10002604
mov dword [ebp - 4], 4
mov ecx, ebx
movaps xmm0, xmmword [0x1003ea00]
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0x80], 0x6f603a
movaps xmm0, xmmword [0x1003e1d0]
movups xmmword [ebp - 0xc0], xmm0
movaps xmm0, xmmword [0x1003e4b0]
movups xmmword [ebp - 0xb0], xmm0
movaps xmm0, xmmword [0x1003e250]
movups xmmword [ebp - 0xa0], xmm0
movaps xmm0, xmmword [0x1003e480]
movups xmmword [ebp - 0x90], xmm0
mov al, byte [ebp - 0xd0]
xor byte [ebp + ecx - 0xcf], al
inc ecx
cmp ecx, 0x52
jb 0x10027eac
lea eax, [ebp - 0xcf]
mov byte [ebp - 0x7d], bl
push eax
lea ecx, [ebp - 0x60]
call fcn.10002604
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 [0x1003cc18]
lea ecx, [ebp - 0x60]
call fcn.10002410
lea ecx, [ebp - 0x78]
call fcn.10002410
jmp 0x10027fd5
mov ecx, edi
call fcn.10004c34
mov ecx, eax
mov dword [ebp - 0x40], ecx
test ecx, ecx
je 0x10027fd5
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.10004c56
test eax, eax
je 0x10027f62
cmp dword [eax + 0x3c], ebx
je 0x10027f62
push edi
push eax
xor edx, edx
lea ecx, [ebp - 0x78]
call fcn.10004d26
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10005397
lea ecx, [ebp - 0x78]
jmp 0x10027f83
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0xec]
push edi
push ebx
call fcn.10004d26
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10005397
lea ecx, [ebp - 0xec]
call fcn.10002410
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.10009808
mov edx, dword [ebp - 0x14]
cmp edx, 0xf
jbe 0x10027fd5
mov ecx, dword [ebp - 0x28]
inc edx
call fcn.100023e3
call fcn.100342e4
ret 0x10