Function at 0x465340
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2ac8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x5f300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov byte [ecx + 0x10], 0
mov eax, dword [ecx + 4]
mov esi, eax
mov ecx, dword [ecx]
sub esi, ecx
sar esi, 3
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], esi
cmp ecx, eax
je 0x465462
mov edi, dword [ebx + 0x18]
cmp edi, 0x1e
jae 0x465462
mov eax, dword [ebx + 0x14]
xor edx, edx
movsx eax, byte [eax]
shl eax, 7
test edi, edi
je 0x4653d7
mov esi, dword [ebx + 0x14]
lea ebx, [ebx]
movsx ecx, byte [edx + esi]
inc edx
imul eax, eax, 0xf4243
xor eax, ecx
cmp edx, edi
jb 0x4653c0
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
imul eax, eax, 0xf4243
xor edx, edx
xor eax, edi
mov edi, dword [ebx + 0x1c]
imul eax, eax, 0xf4243
push edi
push dword [ebx + 0x18]
push dword [ebx + 0x14]
xor eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
div esi
push dword [ebx + 0x10]
mov esi, edx
mov dword [ebp - 0x18], esi
lea ecx, [ecx + esi*8]
call fcn.004651a0
test al, al
jne 0x465695
mov eax, dword [ebp - 0x20]
xor edx, edx
push edi
push dword [ebx + 0x18]
mov esi, dword [eax]
mov ecx, dword [eax + 4]
imul eax, dword [ebp - 0x24], 0x25
sub ecx, esi
sar ecx, 3
div ecx
mov eax, edx
mov dword [ebp - 0x24], eax
lea ecx, [esi + eax*8]
mov esi, dword [ebx + 0x14]
push esi
push dword [ebx + 0x10]
call fcn.004651a0
test al, al
jne 0x465695
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ecx]
mov ax, word [ecx + eax*8 + 2]
cmp ax, word [ecx + edx*8 + 2]
jbe 0x465468
mov dword [ebp - 0x18], edx
jmp 0x465468
mov esi, dword [ebx + 0x14]
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0xc]
imul ecx, dword [ebx + 0x10], 0x4c
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], vtable.Scintilla::FontAlias.0
add ecx, dword [eax + 0x14]
mov eax, dword [ecx + 0x48]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 4], 0
cmp eax, 0x12c
jbe 0x4656ab
xor edi, edi
fldz
mov dword [ebp - 0x1c], edi
fstp dword [ebp - 0x24]
test eax, eax
je 0x465559
lea ecx, [ecx]
push ecx
mov ecx, dword [ebx + 0x20]
sub eax, edi
push eax
add esi, edi
push esi
call fcn.00423340
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x28], eax
lea edi, [ecx + edi*4]
mov ecx, dword [ebx + 8]
push edi
push eax
push esi
mov edx, dword [ecx]
lea eax, [ebp - 0x30]
push eax
call dword [edx + 0x64]
mov edx, dword [ebp - 0x28]
xor esi, esi
fld dword [ebp - 0x24]
cmp edx, 4
jb 0x465518
lea eax, [edx - 4]
shr eax, 2
inc eax
lea esi, [eax*4]
fld st(0)
fld dword [edi]
fadd st(1)
fstp dword [edi]
fld dword [edi + 4]
fadd st(1)
fstp dword [edi + 4]
fld dword [edi + 8]
fadd st(1)
fstp dword [edi + 8]
fadd dword [edi + 0xc]
fstp dword [edi + 0xc]
add edi, 0x10
sub eax, 1
jne 0x4654f2
mov edi, dword [ebp - 0x1c]
cmp esi, edx
jae 0x46553a
mov ecx, dword [ebx + 0x1c]
lea eax, [esi + edi]
lea eax, [ecx + eax*4]
mov ecx, edx
sub ecx, esi
fld dword [eax]
fadd st(1)
fstp dword [eax]
add eax, 4
sub ecx, 1
jne 0x46552c
mov eax, dword [ebx + 0x1c]
add edi, edx
mov esi, dword [ebx + 0x14]
fstp st(0)
mov dword [ebp - 0x1c], edi
fld dword [eax + edi*4 - 4]
mov eax, dword [ebx + 0x18]
fstp dword [ebp - 0x24]
cmp edi, eax
jb 0x4654b0
mov edi, dword [ebx + 0x1c]
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
cmp ecx, eax
jae 0x465695
mov edx, dword [esi + 0xc]
inc edx
mov dword [ebp - 0x24], edx
mov dword [esi + 0xc], edx
cmp edx, 0xea60
jbe 0x4655b8
mov edx, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edx
je 0x4655aa
mov edi, dword [ebx + 0x1c]
mov ecx, 1
cmp word [eax + 2], 0
jbe 0x4655a0
mov word [eax + 2], cx
add eax, 8
cmp eax, edx
jne 0x465595
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0xc], 2
mov dword [ebp - 0x24], 2
mov esi, dword [esi]
lea eax, [esi + 4]
mov edx, dword [eax + ecx*8]
lea eax, [eax + ecx*8]
mov dword [ebp - 0x20], eax
mov dword [eax], 0
test edx, edx
je 0x4655dc
push edx
call fcn.0059e230
mov ecx, dword [ebp - 0x18]
add esp, 4
cmp dword [ebx + 0x14], 0
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 0x24]
mov byte [esi + ecx*8], al
mov eax, dword [ebx + 0x18]
mov byte [esi + ecx*8 + 1], al
mov word [esi + ecx*8 + 2], dx
je 0x465695
test edi, edi
je 0x465695
movzx ecx, al
mov eax, ecx
shr eax, 2
lea edx, [ecx + 1]
add edx, eax
lea ecx, [ebp - 0x28]
call fcn.00465b00
mov edx, eax
mov eax, dword [ebp - 0x20]
cmp eax, edx
je 0x46563a
mov ecx, dword [edx]
mov dword [edx], 0
mov edx, dword [eax]
mov dword [eax], ecx
test edx, edx
je 0x46563a
push edx
call fcn.0059e230
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x46564a
push eax
call fcn.0059e230
add esp, 4
mov eax, dword [ebp - 0x18]
xor edx, edx
mov al, byte [esi + eax*8 + 1]
test al, al
je 0x46567d
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
sub edi, ecx
mov edi, edi
mov eax, dword [ebp - 0x18]
inc edx
fld dword [edi + ecx]
fstp dword [ecx]
add ecx, 4
mov al, byte [esi + eax*8 + 1]
mov byte [ebp - 0x11], al
movzx eax, al
cmp edx, eax
jb 0x465660
mov al, byte [ebp - 0x11]
movzx ecx, al
mov eax, dword [ebp - 0x20]
push ecx
push dword [ebx + 0x14]
mov eax, dword [eax]
lea eax, [eax + ecx*4]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c
mov ecx, dword [ebx + 8]
lea edx, [ebp - 0x30]
push edi
push dword [ebx + 0x18]
mov eax, dword [ecx]
push esi
push edx
call dword [eax + 0x64]
jmp 0x46555c