Function at 0x1002dfcc
Capabilities:
Encode data using xor

Disassembly:
push 0x68
mov eax, 0x100409a2
call fcn.1003d7e1
mov esi, ecx
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x14
xor ebx, ebx
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 0x2b], bl
call fcn.10003d9a
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x44]
mov ecx, dword [esi + 0x1b4]
call fcn.1000d186
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10003b98
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 5
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x2b], bl
call fcn.10003d9a
mov dword [ebp - 4], 1
lea edx, [ebp - 0x44]
mov ecx, dword [esi + 0x1b8]
call fcn.1000d186
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10003b98
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x3e
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x2b], bl
call fcn.10003d9a
mov dword [ebp - 4], 2
lea edx, [ebp - 0x44]
mov ecx, dword [esi + 0x1bc]
call fcn.1000cdf8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10003b98
mov ecx, dword [esi + 0x198]
call fcn.100083f8
mov ebx, eax
test ebx, ebx
je 0x1002e2ef
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.1000841a
mov edi, eax
test edi, edi
je 0x1002e0d2
cmp dword [edi + 0x3c], 0
je 0x1002e0d2
push dword [esi + 0x198]
xor edx, edx
push edi
jmp 0x1002e0dc
push dword [esi + 0x198]
mov edx, ebx
push 0
lea ecx, [ebp - 0x44]
call fcn.100084ea
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10008b15
lea ecx, [ebp - 0x44]
call fcn.10003b98
mov ecx, dword [esi + 0x1bc]
lea edx, [ebp - 0x28]
call fcn.1000cdf8
push edi
mov edx, ebx
lea ecx, [ebp - 0x44]
call fcn.1000870b
pop ecx
mov byte [ebp - 4], 4
mov edx, eax
mov ecx, dword [esi + 0x1ac]
call fcn.1000d186
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.10003b98
mov eax, dword [esi + 0x1a4]
cmp eax, 1
jne 0x1002e1c6
mov edx, dword [esi + 0x1a0]
push ecx
lea ecx, [ebp - 0x74]
call fcn.1000af01
pop ecx
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0xf
jbe 0x1002e159
mov eax, dword [eax]
movaps xmm0, xmmword [0x1004cf30]
xor ebx, ebx
push eax
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x6036
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 0x1002e172
sub esp, 0x18
mov byte [ebp - 0x2e], bl
lea eax, [ebp - 0x3f]
mov ecx, esp
push eax
call fcn.10003d9a
lea eax, [ebp - 0x5c]
push eax
call fcn.100039e3
add esp, 0x20
mov byte [ebp - 4], 6
mov edx, eax
mov ecx, dword [esi + 0x1b4]
call fcn.1000d186
lea ecx, [ebp - 0x5c]
call fcn.10003b98
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.10003b98
jmp 0x1002e251
cmp eax, 2
jne 0x1002e24f
mov edx, dword [esi + 0x1a0]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.1000af01
pop ecx
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0xf
jbe 0x1002e1eb
mov eax, dword [eax]
movaps xmm0, xmmword [0x1004d360]
xor ebx, ebx
push eax
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x157
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 0x1002e204
sub esp, 0x18
mov byte [ebp - 0x2e], bl
lea eax, [ebp - 0x3f]
mov ecx, esp
push eax
call fcn.10003d9a
lea eax, [ebp - 0x74]
push eax
call fcn.100039e3
add esp, 0x20
mov byte [ebp - 4], 8
mov edx, eax
mov ecx, dword [esi + 0x1b4]
call fcn.1000d186
lea ecx, [ebp - 0x74]
call fcn.10003b98
lea ecx, [ebp - 0x5c]
jmp 0x1002e1b8
xor ebx, ebx
mov edx, dword [esi + 0x19c]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.1000af01
pop ecx
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0xf
jbe 0x1002e26d
mov eax, dword [eax]
movaps xmm0, xmmword [0x1004d5d0]
mov ecx, ebx
push eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x2e787d
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x1002e282
sub esp, 0x18
mov byte [ebp - 0x2d], bl
lea eax, [ebp - 0x3f]
mov ecx, esp
push eax
call fcn.10003d9a
lea eax, [ebp - 0x74]
push eax
call fcn.100039e3
add esp, 0x20
mov byte [ebp - 4], 0xa
mov edx, eax
mov ecx, dword [esi + 0x1b8]
call fcn.1000d186
lea ecx, [ebp - 0x74]
call fcn.10003b98
lea ecx, [ebp - 0x5c]
call fcn.10003b98
or dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0xf
jbe 0x1002e2e2
mov ecx, dword [ebp - 0x28]
inc edx
call fcn.10003b6b
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.1000c91c
call fcn.1003d79f
ret