Function at 0x10027fa7
Capabilities:
Encode data using xor

Disassembly:
push 0x68
mov eax, 0x100326fa
call fcn.1002fc16
mov esi, ecx
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x5c
xor ebx, ebx
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 0x2b], bl
call fcn.10003ec3
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x44]
mov ecx, dword [esi + 0x1b4]
call fcn.10008e24
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.100026bd
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x74
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x2b], bl
call fcn.10003ec3
mov dword [ebp - 4], 1
lea edx, [ebp - 0x44]
mov ecx, dword [esi + 0x1b8]
call fcn.10008e24
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.100026bd
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 8
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x2b], bl
call fcn.10003ec3
mov dword [ebp - 4], 2
lea edx, [ebp - 0x44]
mov ecx, dword [esi + 0x1bc]
call fcn.10008a96
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.100026bd
mov ecx, dword [esi + 0x198]
call fcn.1000421f
mov ebx, eax
test ebx, ebx
je 0x100282ca
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
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
mov ecx, ebx
mov edx, dword [esi + 0x198]
call fcn.10004241
mov edi, eax
test edi, edi
je 0x100280ad
cmp dword [edi + 0x3c], 0
je 0x100280ad
push dword [esi + 0x198]
xor edx, edx
push edi
jmp 0x100280b7
push dword [esi + 0x198]
mov edx, ebx
push 0
lea ecx, [ebp - 0x44]
call fcn.10004311
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10004988
lea ecx, [ebp - 0x44]
call fcn.100026bd
mov ecx, dword [esi + 0x1bc]
lea edx, [ebp - 0x28]
call fcn.10008a96
push edi
mov edx, ebx
lea ecx, [ebp - 0x44]
call fcn.10004538
pop ecx
mov byte [ebp - 4], 4
mov edx, eax
mov ecx, dword [esi + 0x1ac]
call fcn.10008e24
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.100026bd
mov eax, dword [esi + 0x1a4]
cmp eax, 1
jne 0x100281a1
mov edx, dword [esi + 0x1a0]
push ecx
lea ecx, [ebp - 0x74]
call fcn.10006a64
pop ecx
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0xf
jbe 0x10028134
mov eax, dword [eax]
movaps xmm0, xmmword [0x100386a0]
xor ebx, ebx
push eax
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x3066
mov ecx, ebx
mov byte [ebp - 0x2e], bl
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x11
jb 0x1002814d
sub esp, 0x18
mov byte [ebp - 0x2e], bl
lea eax, [ebp - 0x3f]
mov ecx, esp
push eax
call fcn.10003ec3
lea eax, [ebp - 0x5c]
push eax
call fcn.10003d99
add esp, 0x20
mov byte [ebp - 4], 6
mov edx, eax
mov ecx, dword [esi + 0x1b4]
call fcn.10008e24
lea ecx, [ebp - 0x5c]
call fcn.100026bd
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.100026bd
jmp 0x1002822c
cmp eax, 2
jne 0x1002822a
mov edx, dword [esi + 0x1a0]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.10006a64
pop ecx
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0xf
jbe 0x100281c6
mov eax, dword [eax]
movaps xmm0, xmmword [0x100384a0]
xor ebx, ebx
push eax
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x1d4b
mov ecx, ebx
mov byte [ebp - 0x2e], bl
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x11
jb 0x100281df
sub esp, 0x18
mov byte [ebp - 0x2e], bl
lea eax, [ebp - 0x3f]
mov ecx, esp
push eax
call fcn.10003ec3
lea eax, [ebp - 0x74]
push eax
call fcn.10003d99
add esp, 0x20
mov byte [ebp - 4], 8
mov edx, eax
mov ecx, dword [esi + 0x1b4]
call fcn.10008e24
lea ecx, [ebp - 0x74]
call fcn.100026bd
lea ecx, [ebp - 0x5c]
jmp 0x10028193
xor ebx, ebx
mov edx, dword [esi + 0x19c]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.10006a64
pop ecx
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0xf
jbe 0x10028248
mov eax, dword [eax]
movaps xmm0, xmmword [0x100384f0]
mov ecx, ebx
push eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x184e4b
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x1002825d
sub esp, 0x18
mov byte [ebp - 0x2d], bl
lea eax, [ebp - 0x3f]
mov ecx, esp
push eax
call fcn.10003ec3
lea eax, [ebp - 0x74]
push eax
call fcn.10003d99
add esp, 0x20
mov byte [ebp - 4], 0xa
mov edx, eax
mov ecx, dword [esi + 0x1b8]
call fcn.10008e24
lea ecx, [ebp - 0x74]
call fcn.100026bd
lea ecx, [ebp - 0x5c]
call fcn.100026bd
or dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0xf
jbe 0x100282bd
mov ecx, dword [ebp - 0x28]
inc edx
call fcn.10002690
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
mov ecx, dword [esi + 0x1a8]
mov dl, 1
call fcn.100085ba
call fcn.1002fbd4
ret