Function at 0x1002dcef
Capabilities:
Encode data using xor

Disassembly:
push 0x68
mov eax, 0x10040629
call fcn.1003d3d1
mov esi, ecx
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x78
xor ebx, ebx
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 0x2b], bl
call fcn.10003da0
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x44]
mov ecx, dword [esi + 0x1b4]
call fcn.1000d0e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10003b9e
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x1d
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x2b], bl
call fcn.10003da0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x44]
mov ecx, dword [esi + 0x1b8]
call fcn.1000d0e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10003b9e
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 4
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x2b], bl
call fcn.10003da0
mov dword [ebp - 4], 2
lea edx, [ebp - 0x44]
mov ecx, dword [esi + 0x1bc]
call fcn.1000cd56
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10003b9e
mov ecx, dword [esi + 0x198]
call fcn.100083e6
mov ebx, eax
test ebx, ebx
je 0x1002e012
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.10008406
mov edi, eax
test edi, edi
je 0x1002ddf5
cmp dword [edi + 0x3c], 0
je 0x1002ddf5
push dword [esi + 0x198]
xor edx, edx
push edi
jmp 0x1002ddff
push dword [esi + 0x198]
mov edx, ebx
push 0
lea ecx, [ebp - 0x44]
call fcn.100084ca
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10008af4
lea ecx, [ebp - 0x44]
call fcn.10003b9e
mov ecx, dword [esi + 0x1bc]
lea edx, [ebp - 0x28]
call fcn.1000cd56
push edi
mov edx, ebx
lea ecx, [ebp - 0x44]
call fcn.100086eb
pop ecx
mov byte [ebp - 4], 4
mov edx, eax
mov ecx, dword [esi + 0x1ac]
call fcn.1000d0e0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.10003b9e
mov eax, dword [esi + 0x1a4]
cmp eax, 1
jne 0x1002dee9
mov edx, dword [esi + 0x1a0]
push ecx
lea ecx, [ebp - 0x74]
call fcn.1000aeba
pop ecx
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0xf
jbe 0x1002de7c
mov eax, dword [eax]
movaps xmm0, xmmword [0x1004bc10]
xor ebx, ebx
push eax
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x590f
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 0x1002de95
sub esp, 0x18
mov byte [ebp - 0x2e], bl
lea eax, [ebp - 0x3f]
mov ecx, esp
push eax
call fcn.10003da0
lea eax, [ebp - 0x5c]
push eax
call fcn.100039e5
add esp, 0x20
mov byte [ebp - 4], 6
mov edx, eax
mov ecx, dword [esi + 0x1b4]
call fcn.1000d0e0
lea ecx, [ebp - 0x5c]
call fcn.10003b9e
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.10003b9e
jmp 0x1002df74
cmp eax, 2
jne 0x1002df72
mov edx, dword [esi + 0x1a0]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.1000aeba
pop ecx
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0xf
jbe 0x1002df0e
mov eax, dword [eax]
movaps xmm0, xmmword [0x1004c0b0]
xor ebx, ebx
push eax
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x6335
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 0x1002df27
sub esp, 0x18
mov byte [ebp - 0x2e], bl
lea eax, [ebp - 0x3f]
mov ecx, esp
push eax
call fcn.10003da0
lea eax, [ebp - 0x74]
push eax
call fcn.100039e5
add esp, 0x20
mov byte [ebp - 4], 8
mov edx, eax
mov ecx, dword [esi + 0x1b4]
call fcn.1000d0e0
lea ecx, [ebp - 0x74]
call fcn.10003b9e
lea ecx, [ebp - 0x5c]
jmp 0x1002dedb
xor ebx, ebx
mov edx, dword [esi + 0x19c]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.1000aeba
pop ecx
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0xf
jbe 0x1002df90
mov eax, dword [eax]
movaps xmm0, xmmword [0x1004c7a0]
mov ecx, ebx
push eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x257376
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x1002dfa5
sub esp, 0x18
mov byte [ebp - 0x2d], bl
lea eax, [ebp - 0x3f]
mov ecx, esp
push eax
call fcn.10003da0
lea eax, [ebp - 0x74]
push eax
call fcn.100039e5
add esp, 0x20
mov byte [ebp - 4], 0xa
mov edx, eax
mov ecx, dword [esi + 0x1b8]
call fcn.1000d0e0
lea ecx, [ebp - 0x74]
call fcn.10003b9e
lea ecx, [ebp - 0x5c]
call fcn.10003b9e
or dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0xf
jbe 0x1002e005
mov ecx, dword [ebp - 0x28]
inc edx
call fcn.10003b71
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.1000c87f
call fcn.1003d38f
ret