Function at 0x10026da0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x44
mov eax, dword [esp + 0x50]
mov edx, 1
push ebx
push ebp
push esi
mov esi, dword [esp + 0x54]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x48], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x3c], eax
test edi, edi
jle 0x10026df0
lea ebp, [edi + edi*2]
add ebp, ebp
nop
mov ecx, edi
lea ebp, [ebp + 1]
imul ecx, ebx
cmp edx, 1
sete al
inc ebx
add al, 0x20
xor edx, 1
mov byte [esi + ebp - 1], al
mov byte [ecx + esi + 6], al
cmp ebx, edi
jl 0x10026dd0
push 0
push 0
push edi
push esi
call fcn.100269b0
lea ebx, [edi - 7]
push ebx
push 0
push edi
push esi
call fcn.100269b0
push 0
push ebx
push edi
push esi
call fcn.100269b0
lea eax, [esi + edi*8]
add esp, 0x30
mov dword [esp + 0x18], eax
lea ebx, [edi*8 - 1]
lea eax, [edi - 1]
add ebx, esi
imul eax, edi
lea edx, [esi + 7]
xor ecx, ecx
add eax, esi
mov dword [esp + 0x2c], eax
lea ebp, [eax + 7]
lea eax, [edi*8]
sub eax, edi
add eax, esi
mov dword [esp + 0x38], eax
lea eax, [edi - 8]
imul eax, edi
add eax, esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
nop dword [eax]
mov byte [eax + ecx], 0x10
lea ebx, [ebx - 1]
mov byte [edx], 0x10
mov byte [ebx + 1], 0x10
mov byte [edi + edx - 0xf], 0x10
add edx, edi
mov byte [esi + ecx], 0x10
inc ecx
mov byte [ebp], 0x10
sub ebp, edi
cmp ecx, 7
jl 0x10026e60
mov edx, dword [esp + 0x18]
mov byte [eax + 7], 0x10
mov eax, esi
mov esi, dword [esp + 0x14]
mov byte [edx - 8], 0x10
mov byte [eax + 7], 0x10
mov eax, dword [esp + 0x3c]
cmp eax, 1
je 0x10027020
movsx edx, byte [eax + 0x10092233]
mov dword [esp + 0x4c], edx
test edx, edx
jle 0x1002701d
lea ecx, [eax - 2]
mov dword [esp + 0x18], edx
lea eax, [ecx*8]
sub eax, ecx
lea ebx, [eax*2 + 0x10092260]
mov eax, ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x14], eax
nop dword [eax]
movzx ecx, word [eax]
mov eax, ebx
mov dword [esp + 0x10], ecx
mov ebx, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], edx
movzx ebp, word [eax]
mov edx, edi
imul edx, ebp
lea eax, [edx + esi]
test byte [eax + ecx], 0x10
jne 0x10026fe7
lea eax, [ebp + 1]
xor ebx, ebx
imul eax, edi
lea ecx, [ebp - 2]
mov ebp, dword [esp + 0x10]
add ebp, 0xfffffffe
add ebp, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffffe
add eax, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
movzx eax, word [edx]
mov edx, dword [esp + 0x10]
dec eax
imul eax, edi
add eax, 0xfffffffe
add eax, edx
mov dword [esp + 0x20], eax
mov eax, ecx
imul eax, edi
add eax, 0xfffffffe
add eax, edx
mov dword [esp + 0x1c], eax
lea eax, [ecx + 4]
imul eax, edi
add eax, edx
mov dword [esp + 0x44], eax
nop dword [eax + eax]
mov ecx, ebx
lea ebp, [ebp + 1]
mov edx, 0x10
sar edx, cl
mov ecx, dword [esp + 0x1c]
mov edi, edx
and edi, 0x1f
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x20]
setne al
add al, 0x10
test edx, 0x11
mov byte [ecx + esi], al
mov ecx, edx
setne al
add al, 0x10
test dl, 0x15
mov edx, dword [esp + 0x30]
mov byte [edi + esi], al
setne al
add al, 0x10
test ecx, 0x11
mov byte [edx + esi], al
setne al
add al, 0x10
cmp dword [esp + 0x40], 0
mov byte [esi + ebp - 1], al
mov eax, dword [esp + 0x44]
setne cl
inc dword [esp + 0x1c]
add eax, esi
inc dword [esp + 0x20]
add cl, 0x10
inc edx
mov dword [esp + 0x30], edx
mov byte [eax + ebx - 2], cl
inc ebx
cmp ebx, 5
jl 0x10026f60
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
add eax, 2
sub ebx, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], ebx
jne 0x10026ef3
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
add eax, 2
sub dword [esp + 0x18], 1
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
jne 0x10026ee0
lea edx, [esi + edi*8]
or byte [edx], 0x20
lea ecx, [esi + edi*8]
or byte [esi + 8], 0x20
lea ebx, [esi + edi*2]
mov eax, dword [esp + 0x2c]
lea ebp, [esi + edi*4]
add ecx, edi
add ebx, edi
add ebp, edi
mov byte [ecx - 1], 0x20
mov byte [eax + 8], 0x20
lea eax, [edi - 2]
or byte [edx + 1], 0x20
or byte [edi + esi + 8], 0x20
imul eax, edi
mov byte [ecx - 2], 0x20
mov byte [eax + esi + 8], 0x20
lea eax, [edi - 3]
or byte [edx + 2], 0x20
or byte [esi + edi*2 + 8], 0x20
imul eax, edi
mov byte [ecx - 3], 0x20
mov byte [eax + esi + 8], 0x20
lea eax, [edi - 4]
or byte [edx + 3], 0x20
or byte [ebx + 8], 0x20
imul eax, edi
mov byte [ecx - 4], 0x20
mov byte [eax + esi + 8], 0x20
lea eax, [edi - 5]
or byte [edx + 4], 0x20
or byte [esi + edi*4 + 8], 0x20
imul eax, edi
mov byte [ecx - 5], 0x20
mov byte [eax + esi + 8], 0x20
lea eax, [edi - 6]
or byte [edx + 5], 0x20
or byte [ebp + 8], 0x20
imul eax, edi
mov byte [ecx - 6], 0x20
mov byte [eax + esi + 8], 0x20
lea eax, [edi + edi*2]
or byte [edx + 6], 0x20
lea eax, [esi + eax*2]
or byte [eax + 8], 0x20
mov dword [esp + 0x2c], eax
lea eax, [edi - 7]
imul eax, edi
mov byte [ecx - 7], 0x20
mov byte [eax + esi + 8], 0x20
or byte [edx + 7], 0x20
mov eax, dword [esp + 0x38]
or byte [eax + 8], 0x20
mov eax, dword [esp + 0x28]
mov byte [ecx - 8], 0x20
mov byte [eax + 8], 0x20
or byte [edx + 8], 0x20
cmp dword [esp + 0x3c], 7
mov byte [eax + 8], 0x21
jl 0x100271ab
lea edx, [edi - 9]
lea ecx, [edi - 0xa]
imul edx, edi
imul ecx, edi
lea eax, [edi - 0xb]
add edx, esi
add ecx, esi
imul eax, edi
mov byte [edx], 0x20
mov byte [ecx], 0x20
mov byte [eax + esi], 0x20
mov word [edi + esi - 0xa], 0x2020
mov byte [edi + esi - 0xb], 0x20
mov byte [edx + 1], 0x20
mov byte [ecx + 1], 0x20
mov byte [eax + esi + 1], 0x20
mov word [esi + edi*2 - 0xa], 0x2020
mov byte [esi + edi*2 - 0xb], 0x20
mov byte [edx + 2], 0x20
mov byte [ecx + 2], 0x20
mov byte [eax + esi + 2], 0x20
mov word [ebx - 0xa], 0x2020
mov byte [ebx - 0xb], 0x20
mov byte [edx + 3], 0x20
mov byte [ecx + 3], 0x20
mov byte [eax + esi + 3], 0x20
mov word [esi + edi*4 - 0xa], 0x2020
mov byte [esi + edi*4 - 0xb], 0x20
mov byte [edx + 4], 0x20
mov byte [ecx + 4], 0x20
mov byte [eax + esi + 4], 0x20
mov word [ebp - 0xa], 0x2020
mov byte [ebp - 0xb], 0x20
mov byte [edx + 5], 0x20
mov byte [ecx + 5], 0x20
mov byte [eax + esi + 5], 0x20
mov eax, dword [esp + 0x2c]
mov word [eax - 0xa], 0x2020
mov byte [eax - 0xb], 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret