Function at 0x65d0d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ba2bc
mov eax, dword fs:[0]
push eax
sub esp, 0x158
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 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.0065d780
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x65d162
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x65d151
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 0x65d180
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 0x65d1d7
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 0x65d1e4
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.0065d850
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x65d221
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x65d210
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 0x65d240
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 0x65d297
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 0x65d2a4
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.0065d910
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x65d2e1
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x65d2d0
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 0x65d300
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 0x65d357
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 0x65d364
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 0x65d756
push edi
lea ecx, [ebp - 0x7c]
call fcn.00404120
push 0
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 4
push eax
call fcn.0065d9d0
lea ecx, [ebp - 0x7c]
test al, al
jne 0x65d6e9
mov byte [ebp - 4], al
call fcn.00404490
add edi, 0x18
cmp edi, esi
jne 0x65d384
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0xa0], esi
cmp edi, esi
je 0x65d756
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], 0xe300f5
mov dword [ebp - 0xb8], 0xd800c5
mov dword [ebp - 0xb4], 0xdc00c8
mov dword [ebp - 0xb0], 0xd100c9
mov dword [ebp - 0xac], 0xd700d2
mov dword [ebp - 0xa8], 0xb400c0
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xbc], ax
inc ecx
mov eax, dword [ebp - 0xc0]
cmp ecx, eax
jb 0x65d470
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.0057f200
lea ecx, [ebp - 0xf8]
mov byte [ebp - 0x95], al
mov byte [ebp - 4], 6
call fcn.00404490
cmp byte [ebp - 0x95], 0
je 0x65d68c
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 esi, dword [ebp - 0x28]
cmp esi, dword [ebp - 0x24]
je 0x65d67e
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], 0xe300f5
mov dword [ebp - 0xd8], 0xd800c5
mov dword [ebp - 0xd4], 0xdc00c8
mov dword [ebp - 0xd0], 0xd100c9
mov dword [ebp - 0xcc], 0xd700d2
mov dword [ebp - 0xc8], 0xe800c0
mov dword [ebp - 0xc4], 0xb5
nop word [eax + eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0xdc], cx
inc eax
mov ecx, dword [ebp - 0xe0]
cmp eax, ecx
jb 0x65d580
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.0065d9d0
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 0x65d6f5
mov byte [ebp - 4], 8
call fcn.00404490
add esi, 0x18
cmp esi, dword [ebp - 0x24]
jne 0x65d513
lea ecx, [ebp - 0x28]
call fcn.00404220
mov esi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x65d6a1
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 0x65d6c9
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 0x65d3d0
jmp 0x65d756
mov eax, dword [ebp - 0xa4]
mov byte [eax + 0xc], 1
jmp 0x65d751
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 0x65d723
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 0x65d747
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.0076eb7e
mov esp, ebp
pop ebp
ret