Function at 0x65c690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ba132
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push esi
push edi
mov eax, dword [0x831184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x78], esi
push 0
push 1
call fcn.0059e890
mov dword [ebp - 4], 0
mov dword [esi], vtable._.213.0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov byte [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x5c], 0x25
mov dword [ebp - 0x58], 0xc600d2
mov dword [ebp - 0x54], 0xc800ca
mov dword [ebp - 0x50], 0xf200d0
mov dword [ebp - 0x4c], 0xc200e0
mov dword [ebp - 0x48], 0xdb00d3
mov dword [ebp - 0x44], 0xc100c7
mov dword [ebp - 0x40], 0xea00d8
mov dword [ebp - 0x3c], 0xc800f6
mov dword [ebp - 0x38], 0xd600c9
mov dword [ebp - 0x34], 0xdf00d2
mov dword [ebp - 0x30], 0xca00dc
mov dword [ebp - 0x2c], 0xaf00d6
mov dword [ebp - 0x28], 0x9e00af
mov dword [ebp - 0x24], 0xb600ac
mov dword [ebp - 0x20], 0xaf00a7
mov dword [ebp - 0x1c], 0xbd00b3
mov dword [ebp - 0x18], 0xe400a4
mov dword [ebp - 0x14], 0xb400ae
mov dword [ebp - 0x10], 0xce00a8
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x58], ax
inc ecx
mov eax, dword [ebp - 0x5c]
cmp ecx, eax
jb 0x65c790
xor ecx, ecx
mov dword [ebp - 0x60], 7
mov word [ebp + eax*2 - 0x58], cx
xor eax, eax
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x58]
mov word [ebp - 0x74], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x65c7c0
sub ecx, edx
lea eax, [ebp - 0x58]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.004044f0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00426a70
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x90]
call fcn.00404120
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x88]
call fcn.00406920
lea ecx, [ebp - 0x90]
call fcn.00404490
lea ecx, [ebp - 0xa8]
call fcn.00404490
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.00404490
mov ecx, 0x24
mov dword [ebp - 0x58], 0xc600d2
mov dword [ebp - 0x5c], ecx
xor eax, eax
mov dword [ebp - 0x54], 0xc800ca
mov dword [ebp - 0x50], 0xf200d0
mov dword [ebp - 0x4c], 0xc200e0
mov dword [ebp - 0x48], 0xdb00d3
mov dword [ebp - 0x44], 0xc100c7
mov dword [ebp - 0x40], 0xea00d8
mov dword [ebp - 0x3c], 0xc800f6
mov dword [ebp - 0x38], 0xd600c9
mov dword [ebp - 0x34], 0xdf00d2
mov dword [ebp - 0x30], 0xca00dc
mov dword [ebp - 0x2c], 0xaf00d6
mov dword [ebp - 0x28], 0x9e00af
mov dword [ebp - 0x24], 0xac00a0
mov dword [ebp - 0x20], 0xa900b7
mov dword [ebp - 0x1c], 0xad00aa
mov dword [ebp - 0x18], 0xaf00e7
mov dword [ebp - 0x14], 0xa900b3
mov dword [ebp - 0x10], 0xcd
nop dword [eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x58], cx
inc eax
mov ecx, dword [ebp - 0x5c]
cmp eax, ecx
jb 0x65c8d0
xor eax, eax
mov dword [ebp - 0x60], 7
mov word [ebp + ecx*2 - 0x58], ax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x64], eax
lea edx, [ecx + 2]
mov word [ebp - 0x74], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x65c900
sub ecx, edx
lea eax, [ebp - 0x58]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.004044f0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00426a70
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xa8]
call fcn.00404120
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 7
push eax
lea ecx, [esi + 0x88]
call fcn.00406920
lea ecx, [ebp - 0xa8]
call fcn.00404490
lea ecx, [ebp - 0x90]
call fcn.00404490
lea ecx, [ebp - 0x74]
call fcn.00404490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret