Function at 0x65d9d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ba347
mov eax, dword fs:[0]
push eax
sub esp, 0xec
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
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.0057f200
test al, al
je 0x65dde8
mov eax, 0xa
mov dword [ebp - 0x98], 0xcb00e7
mov dword [ebp - 0x9c], eax
xor ecx, ecx
mov dword [ebp - 0x94], 0xc900c6
mov dword [ebp - 0x90], 0xcb00fe
mov dword [ebp - 0x8c], 0xc600dd
mov dword [ebp - 0x88], 0xc000d4
mov dword [ebp - 0x84], 0xb3
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x98], ax
inc ecx
mov eax, dword [ebp - 0x9c]
cmp ecx, eax
jb 0x65daa0
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 0x65dae5
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.0057f450
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 0x65dde0
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor eax, eax
movq qword [ebp - 0x1c], xmm0
push 0x7d75dc
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.00575f30
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 0x65ddd8
push eax
lea ecx, [ebp - 0x7c]
call fcn.00404120
mov byte [ebp - 4], 9
call fcn.00451ae0
cmp dword [ebp - 0x6c], 0
mov dword [ebp - 0xc0], eax
je 0x65ddb1
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 0x65dc78
nop
lea edx, [ebp - 0x98]
mov ecx, edi
call fcn.00405db0
test al, al
jne 0x65dc78
add edi, 0x18
cmp edi, esi
jne 0x65dc60
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 9
call fcn.00404490
mov eax, dword [ebp - 0xc0]
cmp edi, dword [eax + 0x1c]
je 0x65ddb1
cmp byte [ebp + 0xc], 0
je 0x65de40
xor eax, eax
mov dword [ebp - 0x88], 0
push eax
push 0x7cf388
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], 0xcb00e7
mov dword [ebp - 0xb4], 0xc900c6
mov dword [ebp - 0xb0], 0xcb00fe
mov dword [ebp - 0xac], 0xc600dd
mov dword [ebp - 0xa8], 0xc000d4
mov dword [ebp - 0xa4], 0xb3
nop dword [eax + eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0xb8], cx
inc eax
mov ecx, dword [ebp - 0xbc]
cmp eax, ecx
jb 0x65dd20
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 0x65dd63
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.0057f630
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 0x65dc20
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 0x65de03
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 0x65de20
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.0076eb7e
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 0x65ddec