Function at 0x656e60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b9c89
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1ac], 0
call fcn.006595c0
test al, al
je 0x6576ea
push 0x30
lea eax, [ebp - 0x58]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 7
add esp, 0xc
mov word [ebp - 0x48], ax
movups xmmword [ebp - 0x58], xmm0
mov word [ebp - 0x30], ax
mov byte [ebp - 0x2e], al
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [ebp - 0x1a8], 0x1f
mov dword [ebp - 0x1a4], 0xc500fa
mov dword [ebp - 0x1a0], 0xd800cd
mov dword [ebp - 0x19c], 0xcf00da
mov dword [ebp - 0x198], 0xd500dd
mov dword [ebp - 0x194], 0xe200ed
mov dword [ebp - 0x190], 0xd800dc
mov dword [ebp - 0x18c], 0xd500dc
mov dword [ebp - 0x188], 0xdd00de
mov dword [ebp - 0x184], 0xe600ca
mov dword [ebp - 0x180], 0xd300fc
mov dword [ebp - 0x17c], 0xd900d2
mov dword [ebp - 0x178], 0xa500d3
mov dword [ebp - 0x174], 0x81009d
mov dword [ebp - 0x170], 0xb600ab
mov dword [ebp - 0x16c], 0xab00aa
mov dword [ebp - 0x168], 0xc800a2
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1a4], ax
inc ecx
mov eax, dword [ebp - 0x1a8]
cmp ecx, eax
jb 0x656f90
xor ecx, ecx
mov word [ebp + eax*2 - 0x1a4], cx
mov eax, dword [edi + 4]
mov dword [ebp - 0x140], eax
xor eax, eax
mov dword [ebp - 0x12c], ecx
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x128], 7
lea edx, [ecx + 2]
mov word [ebp - 0x13c], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x656fe0
sub ecx, edx
lea eax, [ebp - 0x1a4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x13c]
call fcn.004044f0
push 0xf003f
push 0
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x58]
call fcn.0057f2d0
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0
mov bl, al
call fcn.00404490
test bl, bl
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x657252
push 0xb0
lea eax, [ebp - 0x120]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x120], 0x7d6f90
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x110], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x1ac], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x120]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x120], 0x7c81a4
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x124], eax
lea ecx, [ebp - 0x108]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0x108], 0x7c8164
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov byte [ebp - 4], 4
xor ecx, ecx
mov dword [ebp - 0x158], 0x17
mov dword [ebp - 0x154], 0xd800ec
mov dword [ebp - 0x150], 0xc300d9
mov dword [ebp - 0x14c], 0x9400df
mov dword [ebp - 0x148], 0xe2008f
mov dword [ebp - 0x144], 0xd500d4
mov dword [ebp - 0x140], 0xc700da
mov dword [ebp - 0x13c], 0xc400c1
mov dword [ebp - 0x138], 0x8200ce
mov dword [ebp - 0x134], 0xd50083
mov dword [ebp - 0x130], 0xd900cb
mov dword [ebp - 0x12c], 0x9600d3
mov dword [ebp - 0x128], 0xc00096
nop dword [eax]
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x154], ax
inc ecx
mov eax, dword [ebp - 0x158]
cmp ecx, eax
jb 0x657180
xor ecx, ecx
mov word [ebp + eax*2 - 0x154], cx
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00404740
add esp, 8
call fcn.004345f0
mov edi, eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.006578a0
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x368]
push eax
call fcn.00657710
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0x120]
push ecx
push esi
push 0x1f
push eax
push 0
mov ecx, edi
call fcn.00469f50
mov eax, dword [ebp - 0x120]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x120], 0x7c81a4
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x124], eax
lea ecx, [ebp - 0x108]
call fcn.004073e0
lea ecx, [ebp - 0x100]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov byte [ebp - 0x121], 0
jmp 0x6576b6
mov eax, 0x1c
mov byte [ebp - 0x121], 0
mov dword [ebp - 0x164], eax
xor ecx, ecx
mov dword [ebp - 0x160], 0xcf00ed
mov dword [ebp - 0x15c], 0xcd00cd
mov dword [ebp - 0x158], 0xc200d8
mov dword [ebp - 0x154], 0xe300db
mov dword [ebp - 0x150], 0xd300d4
mov dword [ebp - 0x14c], 0xd700c1
mov dword [ebp - 0x148], 0xe600dd
mov dword [ebp - 0x144], 0xd700c5
mov dword [ebp - 0x140], 0xd300cf
mov dword [ebp - 0x13c], 0xd900df
mov dword [ebp - 0x138], 0xfb00cf
mov dword [ebp - 0x134], 0xa100d1
mov dword [ebp - 0x130], 0xae00a3
mov dword [ebp - 0x12c], 0xa000a6
mov dword [ebp - 0x128], 0xc5
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x160], ax
inc ecx
mov eax, dword [ebp - 0x164]
cmp ecx, eax
jb 0x657300
xor ecx, ecx
mov word [ebp + eax*2 - 0x160], cx
xor eax, eax
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x14], 7
lea edx, [ecx + 2]
mov word [ebp - 0x28], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x657340
sub ecx, edx
lea eax, [ebp - 0x160]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004044f0
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.0057f920
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00404490
cmp esi, 1
jne 0x65768e
lea ecx, [ebp - 0x1f0]
mov dword [ebp - 0x1f0], 0x1e
mov dword [ebp - 0x1ec], 0xcf00ed
mov dword [ebp - 0x1e8], 0xcd00cd
mov dword [ebp - 0x1e4], 0xc200d8
mov dword [ebp - 0x1e0], 0xe300db
mov dword [ebp - 0x1dc], 0xd300d4
mov dword [ebp - 0x1d8], 0xd700c1
mov dword [ebp - 0x1d4], 0xe600dd
mov dword [ebp - 0x1d0], 0xd700c5
mov dword [ebp - 0x1cc], 0xd300cf
mov dword [ebp - 0x1c8], 0xd900df
mov dword [ebp - 0x1c4], 0xed00cf
mov dword [ebp - 0x1c0], 0xa100da
mov dword [ebp - 0x1bc], 0xa100b3
mov dword [ebp - 0x1b8], 0x9100ab
mov dword [ebp - 0x1b4], 0x8a0097
mov dword [ebp - 0x1b0], 0xc7
call fcn.00403e20
mov edx, eax
mov dword [ebp - 0x1f8], 0
mov ecx, edx
mov dword [ebp - 0x1f4], 7
xor eax, eax
mov word [ebp - 0x208], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x657460
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x208]
call fcn.004044f0
xor eax, eax
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 7
mov word [ebp - 0x13c], ax
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.0057f450
lea ecx, [ebp - 0x13c]
call fcn.00404490
lea ecx, [ebp - 0x208]
mov byte [ebp - 4], 9
call fcn.00404490
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x1a4], 0x1c
mov dword [ebp - 0x1a0], 0xcf00ed
mov dword [ebp - 0x19c], 0xcd00cd
mov dword [ebp - 0x198], 0xc200d8
mov dword [ebp - 0x194], 0xe300db
mov dword [ebp - 0x190], 0xd300d4
mov dword [ebp - 0x18c], 0xd700c1
mov dword [ebp - 0x188], 0xe600dd
mov dword [ebp - 0x184], 0xd700c5
mov dword [ebp - 0x180], 0xd300cf
mov dword [ebp - 0x17c], 0xd900df
mov dword [ebp - 0x178], 0xf500cf
mov dword [ebp - 0x174], 0xb900da
mov dword [ebp - 0x170], 0xad00b6
mov dword [ebp - 0x16c], 0xa000b1
mov dword [ebp - 0x168], 0xc5
call fcn.00403e20
mov edx, eax
mov dword [ebp - 0x12c], 0
mov ecx, edx
mov dword [ebp - 0x128], 7
xor eax, eax
mov word [ebp - 0x13c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6575a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x13c]
call fcn.004044f0
xor eax, eax
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 7
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x208]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.0057f450
lea ecx, [ebp - 0x208]
call fcn.00404490
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0xe
call fcn.00404490
call fcn.00451ae0
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.0058b550
test al, al
jne 0x657639
call fcn.00451ae0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0058b550
test al, al
je 0x65767e
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x65765c
cmp ecx, 3
jb 0x65765c
lea edx, [edi + 8]
lea eax, [ebp - 0x70]
cmp edx, eax
je 0x657677
cmp dword [ebp - 0x5c], 8
push ecx
cmovae eax, dword [ebp - 0x70]
mov ecx, edx
jmp 0x657671
lea ecx, [edi + 8]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x657677
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004044f0
mov byte [ebp - 0x121], 1
lea ecx, [ebp - 0x70]
call fcn.00404490
lea ecx, [ebp - 0x28]
call fcn.00404490
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x65769f
push eax
call ebx
mov dword [ebp - 0x58], 0
push dword [edi + 4]
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x30], 0
call ebx
mov ecx, edi
call fcn.0065a240
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x6576c7
push eax
call ebx
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x30], 0
call fcn.00404490
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x6576e4
push ecx
call ebx
mov al, byte [ebp - 0x121]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret