Function at 0x65ccc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b8c17
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push 0x30
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 7
add esp, 0xc
mov word [ebp - 0x3c], ax
movups xmmword [ebp - 0x4c], xmm0
mov word [ebp - 0x24], ax
mov byte [ebp - 0x22], al
push 0xf003f
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], eax
call fcn.0057e080
test al, al
je 0x65d0d8
mov eax, 0xa
mov dword [ebp - 0x98], 0xd800f6
mov dword [ebp - 0x9c], eax
xor ecx, ecx
mov dword [ebp - 0x94], 0xde00d7
mov dword [ebp - 0x90], 0xd800ef
mov dword [ebp - 0x8c], 0xc900cc
mov dword [ebp - 0x88], 0xb300a5
mov dword [ebp - 0x84], 0xc2
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x98], ax
inc ecx
mov eax, dword [ebp - 0x9c]
cmp ecx, eax
jb 0x65cd90
xor ecx, ecx
mov word [ebp + eax*2 - 0x98], cx
xor eax, eax
mov dword [ebp - 0xcc], ecx
lea ecx, [ebp - 0x98]
mov dword [ebp - 0xc8], 7
lea edx, [ecx + 2]
mov word [ebp - 0xdc], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x65cdd5
sub ecx, edx
lea eax, [ebp - 0x98]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xdc]
call fcn.004044f0
xor eax, eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0057e2d0
mov dword [ebp - 0x54], 0
xor ecx, ecx
mov dword [ebp - 0x50], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x54], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x7c]
call fcn.00404490
lea ecx, [ebp - 0x98]
call fcn.00404490
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 5
call fcn.00404490
cmp dword [ebp - 0x54], 0
je 0x65d0d0
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor eax, eax
movq qword [ebp - 0x1c], xmm0
push 0x7d55cc
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
call fcn.004044f0
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x1c]
call fcn.00574db0
add esp, 4
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 8
call fcn.00404490
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xc4], ecx
cmp eax, ecx
je 0x65d0c8
push eax
lea ecx, [ebp - 0x7c]
call fcn.00404120
mov byte [ebp - 4], 9
call fcn.00451010
cmp dword [ebp - 0x6c], 0
mov dword [ebp - 0xc0], eax
je 0x65d0a1
mov esi, dword [eax + 0x1c]
lea ecx, [ebp - 0x98]
mov edi, dword [eax + 0x18]
lea eax, [ebp - 0x7c]
push eax
call fcn.00404120
mov byte [ebp - 4], 0xa
cmp edi, esi
je 0x65cf68
nop
lea edx, [ebp - 0x98]
mov ecx, edi
call fcn.00405db0
test al, al
jne 0x65cf68
add edi, 0x18
cmp edi, esi
jne 0x65cf50
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 9
call fcn.00404490
mov eax, dword [ebp - 0xc0]
cmp edi, dword [eax + 0x1c]
je 0x65d0a1
cmp byte [ebp + 0xc], 0
je 0x65d130
xor eax, eax
mov dword [ebp - 0x88], 0
push eax
push 0x7cd378
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
call fcn.004044f0
mov byte [ebp - 4], 0xb
mov ecx, 0xa
mov dword [ebp - 0xbc], ecx
xor eax, eax
mov dword [ebp - 0xb8], 0xd800f6
mov dword [ebp - 0xb4], 0xde00d7
mov dword [ebp - 0xb0], 0xd800ef
mov dword [ebp - 0xac], 0xc900cc
mov dword [ebp - 0xa8], 0xb300a5
mov dword [ebp - 0xa4], 0xc2
nop dword [eax + eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0xb8], cx
inc eax
mov ecx, dword [ebp - 0xbc]
cmp eax, ecx
jb 0x65d010
xor eax, eax
mov word [ebp + ecx*2 - 0xb8], ax
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xcc], eax
lea edx, [ecx + 2]
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x65d053
sub ecx, edx
lea eax, [ebp - 0xb8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xdc]
call fcn.004044f0
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0057e4b0
lea ecx, [ebp - 0xdc]
call fcn.00404490
lea ecx, [ebp - 0x98]
call fcn.00404490
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 8
call fcn.00404490
mov eax, dword [ebp - 0xa0]
add eax, 0x18
mov dword [ebp - 0xa0], eax
cmp eax, dword [ebp - 0xc4]
jne 0x65cf10
lea ecx, [ebp - 0x1c]
call fcn.00404220
lea ecx, [ebp - 0x64]
call fcn.00404490
mov byte [ebp - 0x7d], 0
mov eax, dword [ebp - 0x4c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x65d0f3
push eax
call esi
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x24], 0
call fcn.00404490
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x65d110
push eax
call esi
mov al, byte [ebp - 0x7d]
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.0076d59e
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x7c]
call fcn.00404490
lea ecx, [ebp - 0x1c]
call fcn.00404220
lea ecx, [ebp - 0x64]
call fcn.00404490
mov byte [ebp - 0x7d], 1
jmp 0x65d0dc