Function at 0x65c3c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b8b8c
mov eax, dword fs:[0]
push eax
sub esp, 0x158
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 dword [ebp - 0xa4], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x164]
mov dword [ebp - 4], 0
push eax
call fcn.0065ca70
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x65c452
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x65c441
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 0x65c470
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 0x65c4c7
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 0x65c4d4
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 - 0x15c]
push eax
call fcn.0065cb40
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x65c511
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x65c500
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 0x65c530
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 0x65c587
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 0x65c594
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 - 0x15c]
push eax
call fcn.0065cc00
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x65c5d1
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x65c5c0
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 0x65c5f0
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 0x65c647
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 0x65c654
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 - 0x18]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0xa0], esi
cmp edi, esi
je 0x65ca46
push edi
lea ecx, [ebp - 0x7c]
call fcn.00404120
push 0
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 4
push eax
call fcn.0065ccc0
lea ecx, [ebp - 0x7c]
test al, al
jne 0x65c9d9
mov byte [ebp - 4], al
call fcn.00404490
add edi, 0x18
cmp edi, esi
jne 0x65c674
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0xa0], esi
cmp edi, esi
je 0x65ca46
nop word [eax + eax]
push edi
lea ecx, [ebp - 0x7c]
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 - 0xc0], 0xb
mov dword [ebp - 0xbc], 0xf000e4
mov dword [ebp - 0xb8], 0xcf00d4
mov dword [ebp - 0xb4], 0xcf00d9
mov dword [ebp - 0xb0], 0xde00d8
mov dword [ebp - 0xac], 0xa400a3
mov dword [ebp - 0xa8], 0xc300b1
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xbc], ax
inc ecx
mov eax, dword [ebp - 0xc0]
cmp ecx, eax
jb 0x65c760
xor ecx, ecx
mov word [ebp + eax*2 - 0xbc], cx
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xf8]
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.0057e080
lea ecx, [ebp - 0xf8]
mov byte [ebp - 0x95], al
mov byte [ebp - 4], 6
call fcn.00404490
cmp byte [ebp - 0x95], 0
je 0x65c97c
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.0057f200
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x28]
cmp esi, dword [ebp - 0x24]
je 0x65c96e
push esi
lea ecx, [ebp - 0x94]
call fcn.00404120
mov byte [ebp - 4], 9
mov ecx, 0xc
mov dword [ebp - 0xe0], ecx
xor eax, eax
mov dword [ebp - 0xdc], 0xf000e4
mov dword [ebp - 0xd8], 0xcf00d4
mov dword [ebp - 0xd4], 0xcf00d9
mov dword [ebp - 0xd0], 0xde00d8
mov dword [ebp - 0xcc], 0xa400a3
mov dword [ebp - 0xc8], 0x9f00b1
mov dword [ebp - 0xc4], 0xc4
nop word [eax + eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0xdc], cx
inc eax
mov ecx, dword [ebp - 0xe0]
cmp eax, ecx
jb 0x65c870
xor eax, eax
mov word [ebp + ecx*2 - 0xdc], ax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.00421b40
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x94]
cmp dword [ebp - 0x80], 8
push dword [ebp - 0x84]
cmovae ecx, dword [ebp - 0x94]
push ecx
mov ecx, eax
call fcn.00407c50
or dword [ebp - 0x9c], 1
xor ecx, ecx
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xf8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xe8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push ecx
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 0xb
push eax
call fcn.0065ccc0
lea ecx, [ebp - 0xf8]
mov byte [ebp - 0x95], al
call fcn.00404490
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 9
call fcn.00404490
cmp byte [ebp - 0x95], 0
lea ecx, [ebp - 0x94]
jne 0x65c9e5
mov byte [ebp - 4], 8
call fcn.00404490
add esi, 0x18
cmp esi, dword [ebp - 0x24]
jne 0x65c803
lea ecx, [ebp - 0x28]
call fcn.00404220
mov esi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x65c991
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 0x65c9b9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 0
call fcn.00404490
add edi, 0x18
cmp edi, esi
jne 0x65c6c0
jmp 0x65ca46
mov eax, dword [ebp - 0xa4]
mov byte [eax + 0xc], 1
jmp 0x65ca41
mov eax, dword [ebp - 0xa4]
mov byte [eax + 0xc], 1
call fcn.00404490
lea ecx, [ebp - 0x28]
call fcn.00404220
mov eax, dword [ebp - 0x64]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x65ca13
push eax
call esi
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 0x65ca37
push eax
call esi
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x7c]
call fcn.00404490
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.0076d59e
mov esp, ebp
pop ebp
ret