Function at 0x1002685e
Capabilities:
Encode data using xor

Disassembly:
push 0x48
mov eax, 0x1003b93c
call fcn.10039093
mov ebx, ecx
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov byte [ebp - 0x29], 0
jmp 0x10026aa3
mov eax, dword [esi]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10026aa0
mov ecx, eax
call fcn.100065db
mov dword [ebp - 0x30], eax
test eax, eax
je 0x100269aa
lea eax, [ebp - 0x33]
mov word [ebp - 0x34], 0x1b
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x33], 0
call fcn.100040a5
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.100065fb
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x100268d8
cmp dword [eax + 0x40], 0
je 0x100268d8
push dword [ebp - 0x38]
xor edx, edx
push eax
jmp 0x100268e0
push dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
push 0
lea ecx, [ebp - 0x54]
call fcn.100066bf
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10006e48
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.10003f51
movzx ecx, byte [ebp - 0x29]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + ecx*4]
test ecx, ecx
je 0x10026995
add ecx, 4
lea edx, [ebp - 0x28]
call fcn.10008ad7
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax + edx*4]
mov dword [eax + 0x60], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax + edx*4]
mov dword [eax + 0x64], ecx
mov eax, dword [ebx + 8]
mov eax, dword [eax + edx*4]
mov dword [eax + 0x68], 1
mov eax, ecx
mov ecx, dword [ebp - 0x30]
test eax, eax
je 0x10026962
movsx eax, word [eax + 0x4e]
mov dword [ebp - 0x3c], eax
movsx eax, word [ecx + 0x5e]
mov ecx, dword [ebp - 0x3c]
add ecx, eax
jmp 0x10026966
movsx ecx, word [ecx + 0x5e]
mov eax, dword [ebx + 8]
mov eax, dword [eax + edx*4]
mov dword [eax + 0x6c], ecx
mov eax, dword [ebx + 8]
mov eax, dword [eax + edx*4]
mov ecx, dword [eax]
test ecx, ecx
je 0x10026995
lea edx, [ebp - 0x28]
call fcn.1000b53b
mov eax, dword [ebx + 8]
mov dl, 1
mov ecx, dword [ebp - 0x38]
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx]
call fcn.1000b082
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10003f51
jmp 0x10026a9d
movzx ecx, byte [ebp - 0x29]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x30], ecx
cmp dword [eax + ecx*4], 0
je 0x10026a9d
movaps xmm0, xmmword [0x10047fd0]
xor edx, edx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x154f5e49
mov dword [ebp - 0x14], 0x4f435f
mov cl, byte [ebp - 0x28]
xor byte [ebp + edx - 0x27], cl
inc edx
cmp edx, 0x16
jb 0x100269d9
lea eax, [ebp - 0x27]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0x54]
call fcn.100040a5
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x54]
mov byte [ebp - 4], 2
mov eax, dword [ebx + 8]
mov ecx, dword [eax + ecx*4]
add ecx, 4
call fcn.10008ad7
push 0
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.10003f51
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax + ecx*4]
cmp dword [eax], 0
je 0x10026a9d
movaps xmm0, xmmword [0x10047c60]
xor edx, edx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x742e3f28
mov dword [ebp - 0x14], 0x2e223e
mov cl, byte [ebp - 0x28]
xor byte [ebp + edx - 0x27], cl
inc edx
cmp edx, 0x16
jb 0x10026a47
lea eax, [ebp - 0x27]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0x54]
call fcn.100040a5
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x54]
mov byte [ebp - 4], 3
mov eax, dword [ebx + 8]
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx]
call fcn.1000b53b
push 0
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.10003f51
mov eax, dword [ebx + 8]
xor dl, dl
mov ecx, dword [ebp - 0x30]
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx]
call fcn.1000b082
inc byte [ebp - 0x29]
add esi, 4
cmp esi, edi
jne 0x1002687f
mov ecx, dword [ebx]
call fcn.1000b1c3
test al, al
jne 0x10026aeb
mov eax, dword [0x100500a8]
test eax, eax
je 0x10026ae2
mov ecx, dword [eax + 0x50]
test ecx, ecx
je 0x10026ae2
mov ecx, dword [ecx]
call fcn.1000af9e
mov ecx, dword [ebx]
add edx, 0xffffff4c
push edx
lea edx, [eax + 0x208]
call fcn.1000b039
pop ecx
mov ecx, dword [ebx]
mov dl, 1
call fcn.1000b082
lea ecx, [ebp + 8]
call fcn.1000bb2e
call fcn.1003903d
ret 0xc