Function at 0x10036d12
Capabilities:
Encode data using xor

Disassembly:
push 8
push 0x20
mov eax, 0x100f0de3
call fcn.100ef06a
mov edi, ecx
mov dword [ebp - 0x20], edi
xor edx, edx
mov byte [edi + 0x10], dl
mov eax, dword [edi]
mov esi, dword [edi + 4]
sub esi, eax
sar esi, 3
mov dword [ebp - 0x14], esi
cmp eax, dword [edi + 4]
je 0x10036e0d
cmp dword [ebx + 0x18], 0x1e
jae 0x10036e0d
mov ecx, dword [ebx + 0x14]
movsx eax, byte [ecx]
shl eax, 7
cmp dword [ebx + 0x18], edx
jbe 0x10036d72
mov edi, ecx
movsx ecx, byte [edx + edi]
imul eax, eax, 0xf4243
xor eax, ecx
inc edx
cmp edx, dword [ebx + 0x18]
jb 0x10036d5a
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebx + 0x14]
imul eax, eax, 0xf4243
xor edx, edx
xor eax, dword [ebx + 0x18]
imul eax, eax, 0xf4243
xor eax, dword [ebx + 0x10]
mov dword [ebp - 0x1c], eax
div esi
mov eax, edx
mov edx, dword [edi]
mov dword [ebp - 0x14], eax
lea edx, [edx + eax*8]
movzx eax, byte [edx]
cmp eax, dword [ebx + 0x10]
jne 0x10036dad
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push ecx
mov ecx, edx
call fcn.10036c5c
jmp 0x10036daf
xor eax, eax
test al, al
jne 0x10036f1a
imul eax, dword [ebp - 0x1c], 0x25
xor edx, edx
mov esi, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, esi
sar ecx, 3
div ecx
mov eax, edx
mov dword [ebp - 0x1c], eax
lea ecx, [esi + eax*8]
movzx eax, byte [ecx]
cmp eax, dword [ebx + 0x10]
jne 0x10036de9
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
call fcn.10036c5c
jmp 0x10036deb
xor eax, eax
test al, al
jne 0x10036f1a
mov edx, dword [ebp - 0x14]
mov ecx, dword [edi]
mov esi, dword [ebp - 0x1c]
mov ax, word [ecx + edx*8 + 2]
cmp ax, word [ecx + esi*8 + 2]
cmova edx, esi
mov dword [ebp - 0x14], edx
xor edx, edx
mov eax, dword [ebx + 0xc]
imul ecx, dword [ebx + 0x10], 0x4c
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], vtable.Scintilla::FontAlias.0
add ecx, dword [eax + 0x14]
mov eax, dword [ecx + 0x48]
mov dword [ebp - 0x28], eax
cmp dword [ebx + 0x18], 0x12c
mov dword [ebp - 4], edx
jbe 0x10036f22
cmp dword [ebx + 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], edx
movss dword [ebp - 0x1c], xmm0
jbe 0x10036ebb
mov edi, edx
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x14]
sub eax, edi
push ecx
mov ecx, dword [ebx + 0x20]
add esi, edi
push eax
push esi
call fcn.1000aefa
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x1c]
lea ecx, [eax + edi*4]
mov eax, dword [ebx + 8]
push ecx
push dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x2c]
mov edx, dword [eax]
push esi
push ecx
mov ecx, eax
call dword [edx + 0x64]
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x10036ea3
movss xmm1, dword [ebp - 0x1c]
mov ecx, edx
mov eax, dword [ebp - 0x24]
movss xmm0, dword [eax]
addss xmm0, xmm1
movss dword [eax], xmm0
add eax, 4
sub ecx, 1
jne 0x10036e8f
mov eax, dword [ebx + 0x1c]
add edi, edx
movss xmm0, dword [eax + edi*4 - 4]
movss dword [ebp - 0x1c], xmm0
cmp edi, dword [ebx + 0x18]
jb 0x10036e4a
mov edi, dword [ebp - 0x20]
mov esi, dword [ebx + 0x14]
mov eax, dword [edi + 4]
sub eax, dword [edi]
mov ecx, dword [ebp - 0x14]
sar eax, 3
cmp ecx, eax
jae 0x10036f1a
mov eax, dword [edi + 0xc]
inc eax
mov dword [edi + 0xc], eax
cmp eax, 0xea60
jbe 0x10036f05
mov edx, dword [edi + 4]
mov eax, dword [edi]
cmp eax, edx
je 0x10036eff
xor esi, esi
cmp word [eax + 2], si
jbe 0x10036ef5
xor esi, esi
inc esi
mov word [eax + 2], si
xor esi, esi
add eax, 8
cmp eax, edx
jne 0x10036ee6
mov esi, dword [ebx + 0x14]
push 2
pop eax
mov dword [edi + 0xc], eax
push eax
push dword [ebx + 0x1c]
mov eax, dword [edi]
push dword [ebx + 0x18]
push esi
push dword [ebx + 0x10]
lea ecx, [eax + ecx*8]
call fcn.10036b9e
call fcn.100eefe5
ret 0x1c
push dword [ebx + 0x1c]
mov ecx, dword [ebx + 8]
lea edx, [ebp - 0x2c]
push dword [ebx + 0x18]
mov esi, dword [ebx + 0x14]
push esi
mov eax, dword [ecx]
push edx
call dword [eax + 0x64]
jmp 0x10036ebe