Function at 0x1002dfa0
Capabilities:
Encode data using xor

Disassembly:
push 0x68
mov eax, 0x100409de
call fcn.1003d7b1
mov esi, ecx
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x5a
xor ebx, ebx
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 0x2b], bl
call fcn.10003d99
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x44]
mov ecx, dword [esi + 0x1b4]
call fcn.1000d114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10003b97
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x42
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x2b], bl
call fcn.10003d99
mov dword [ebp - 4], 1
lea edx, [ebp - 0x44]
mov ecx, dword [esi + 0x1b8]
call fcn.1000d114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10003b97
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x68
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x2b], bl
call fcn.10003d99
mov dword [ebp - 4], 2
lea edx, [ebp - 0x44]
mov ecx, dword [esi + 0x1bc]
call fcn.1000cd86
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10003b97
mov ecx, dword [esi + 0x198]
call fcn.100083f8
mov ebx, eax
test ebx, ebx
je 0x1002e2c3
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 0x1002e0a6
cmp dword [edi + 0x3c], 0
je 0x1002e0a6
push dword [esi + 0x198]
xor edx, edx
push edi
jmp 0x1002e0b0
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.10003b97
mov ecx, dword [esi + 0x1bc]
lea edx, [ebp - 0x28]
call fcn.1000cd86
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.1000d114
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.10003b97
mov eax, dword [esi + 0x1a4]
cmp eax, 1
jne 0x1002e19a
mov edx, dword [esi + 0x1a0]
push ecx
lea ecx, [ebp - 0x74]
call fcn.1000af05
pop ecx
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0xf
jbe 0x1002e12d
mov eax, dword [eax]
movaps xmm0, xmmword [0x1004d8f0]
xor ebx, ebx
push eax
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x2e78
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 0x1002e146
sub esp, 0x18
mov byte [ebp - 0x2e], bl
lea eax, [ebp - 0x3f]
mov ecx, esp
push eax
call fcn.10003d99
lea eax, [ebp - 0x5c]
push eax
call fcn.100039e2
add esp, 0x20
mov byte [ebp - 4], 6
mov edx, eax
mov ecx, dword [esi + 0x1b4]
call fcn.1000d114
lea ecx, [ebp - 0x5c]
call fcn.10003b97
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.10003b97
jmp 0x1002e225
cmp eax, 2
jne 0x1002e223
mov edx, dword [esi + 0x1a0]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.1000af05
pop ecx
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0xf
jbe 0x1002e1bf
mov eax, dword [eax]
movaps xmm0, xmmword [0x1004ca80]
xor ebx, ebx
push eax
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x5204
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 0x1002e1d8
sub esp, 0x18
mov byte [ebp - 0x2e], bl
lea eax, [ebp - 0x3f]
mov ecx, esp
push eax
call fcn.10003d99
lea eax, [ebp - 0x74]
push eax
call fcn.100039e2
add esp, 0x20
mov byte [ebp - 4], 8
mov edx, eax
mov ecx, dword [esi + 0x1b4]
call fcn.1000d114
lea ecx, [ebp - 0x74]
call fcn.10003b97
lea ecx, [ebp - 0x5c]
jmp 0x1002e18c
xor ebx, ebx
mov edx, dword [esi + 0x19c]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.1000af05
pop ecx
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0xf
jbe 0x1002e241
mov eax, dword [eax]
movaps xmm0, xmmword [0x1004d740]
mov ecx, ebx
push eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x3b6d68
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x1002e256
sub esp, 0x18
mov byte [ebp - 0x2d], bl
lea eax, [ebp - 0x3f]
mov ecx, esp
push eax
call fcn.10003d99
lea eax, [ebp - 0x74]
push eax
call fcn.100039e2
add esp, 0x20
mov byte [ebp - 4], 0xa
mov edx, eax
mov ecx, dword [esi + 0x1b8]
call fcn.1000d114
lea ecx, [ebp - 0x74]
call fcn.10003b97
lea ecx, [ebp - 0x5c]
call fcn.10003b97
or dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0xf
jbe 0x1002e2b6
mov ecx, dword [ebp - 0x28]
inc edx
call fcn.10003b6a
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.1000c8aa
call fcn.1003d76f
ret