Function at 0x65de60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ba3dc
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x160]
mov dword [ebp - 4], 0
push eax
call fcn.0065d780
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x65dee2
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x65ded1
xor eax, eax
mov dword [ebp - 0x20], 7
mov ecx, esi
mov word [esi + edx*2], ax
mov dword [ebp - 0x24], eax
mov word [ebp - 0x34], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x65df00
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x34]
call fcn.004044f0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
je 0x65df57
movups xmm0, xmmword [ebp - 0x34]
mov dword [eax + 0x10], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x18], 0x18
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
jmp 0x65df64
lea ecx, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.004081e0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.00404490
lea eax, [ebp - 0x158]
push eax
call fcn.0065d850
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x65dfa1
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x65df90
xor eax, eax
mov dword [ebp - 0x20], 7
mov ecx, esi
mov word [esi + edx*2], ax
mov dword [ebp - 0x24], eax
mov word [ebp - 0x34], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x65dfc0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x34]
call fcn.004044f0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
je 0x65e017
movups xmm0, xmmword [ebp - 0x34]
mov dword [eax + 0x10], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x18], 0x18
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
jmp 0x65e024
lea ecx, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.004081e0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.00404490
lea eax, [ebp - 0x158]
push eax
call fcn.0065d910
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x65e061
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x65e050
xor eax, eax
mov dword [ebp - 0x20], 7
mov ecx, esi
mov word [esi + edx*2], ax
mov dword [ebp - 0x24], eax
mov word [ebp - 0x34], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x65e080
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x34]
call fcn.004044f0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
je 0x65e0d7
movups xmm0, xmmword [ebp - 0x34]
mov dword [eax + 0x10], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x18], 0x18
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
jmp 0x65e0e4
lea ecx, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.004081e0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.00404490
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa0], edi
cmp esi, edi
je 0x65e450
nop word [eax + eax]
push esi
lea ecx, [ebp - 0x94]
call fcn.00404120
push 1
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 4
push eax
call fcn.0065d9d0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0
call fcn.00404490
add esi, 0x18
cmp esi, edi
jne 0x65e110
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x9c], esi
cmp esi, edi
je 0x65e450
nop
push esi
lea ecx, [ebp - 0x94]
call fcn.00404120
push 0x30
lea eax, [ebp - 0x64]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x64], 0
add esp, 0xc
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov word [ebp - 0x3c], ax
mov byte [ebp - 0x3a], al
mov byte [ebp - 4], 6
xor ecx, ecx
mov dword [ebp - 0xbc], 0xb
mov dword [ebp - 0xb8], 0xe300f5
mov dword [ebp - 0xb4], 0xd800c5
mov dword [ebp - 0xb0], 0xdc00c8
mov dword [ebp - 0xac], 0xd100c9
mov dword [ebp - 0xa8], 0xd700d2
mov dword [ebp - 0xa4], 0xb400c0
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xb8], ax
inc ecx
mov eax, dword [ebp - 0xbc]
cmp ecx, eax
jb 0x65e200
xor ecx, ecx
mov word [ebp + eax*2 - 0xb8], cx
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00421b40
add esp, 0xc
push 0xf003f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.0057f200
lea ecx, [ebp - 0x7c]
mov byte [ebp - 0x95], al
mov byte [ebp - 4], 6
call fcn.00404490
cmp byte [ebp - 0x95], 0
je 0x65e3ec
lea eax, [ebp - 0x28]
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x64]
push eax
movq qword [ebp - 0x28], xmm0
call fcn.00580380
mov byte [ebp - 4], 8
mov edi, dword [ebp - 0x28]
cmp edi, dword [ebp - 0x24]
je 0x65e3de
push edi
lea ecx, [ebp - 0x7c]
call fcn.00404120
mov byte [ebp - 4], 9
mov ecx, 0xc
mov dword [ebp - 0xdc], ecx
xor eax, eax
mov dword [ebp - 0xd8], 0xe300f5
mov dword [ebp - 0xd4], 0xd800c5
mov dword [ebp - 0xd0], 0xdc00c8
mov dword [ebp - 0xcc], 0xd100c9
mov dword [ebp - 0xc8], 0xd700d2
mov dword [ebp - 0xc4], 0xe800c0
mov dword [ebp - 0xc0], 0xb5
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0xd8], cx
inc eax
mov ecx, dword [ebp - 0xdc]
cmp eax, ecx
jb 0x65e300
xor eax, eax
mov word [ebp + ecx*2 - 0xd8], ax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00421b40
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7c]
cmp dword [ebp - 0x68], 8
push dword [ebp - 0x6c]
cmovae ecx, dword [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.00407c50
mov dword [ebp - 0xe4], 0
xor ecx, ecx
mov dword [ebp - 0xe0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xf4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xe4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 0xb
push eax
call fcn.0065d9d0
lea ecx, [ebp - 0xf4]
call fcn.00404490
lea ecx, [ebp - 0xb8]
call fcn.00404490
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 8
call fcn.00404490
add edi, 0x18
cmp edi, dword [ebp - 0x24]
jne 0x65e2a0
mov esi, dword [ebp - 0x9c]
lea ecx, [ebp - 0x28]
call fcn.00404220
mov edi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x65e401
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x3c], 0
call fcn.00404490
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x65e429
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 0
call fcn.00404490
add esi, 0x18
mov dword [ebp - 0x9c], esi
cmp esi, edi
jne 0x65e160
lea ecx, [ebp - 0x1c]
call fcn.00404220
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret