Function at 0x649d60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b8455
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
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, ecx
mov dword [ebp - 0x184], esi
push 0xb0
lea eax, [ebp - 0x120]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea ecx, [ebp - 0x120]
call fcn.00587130
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x120]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x114]
shr eax, 2
test al, 1
je 0x649dde
mov byte [ebp - 0x121], 0
jmp 0x64a3ab
movaps xmm0, xmmword [0x7e60c0]
mov eax, 0x1a
mov dword [ebp - 0x180], eax
xor ecx, ecx
movups xmmword [ebp - 0x17c], xmm0
mov dword [ebp - 0x16c], 0xd9dddfcb
mov dword [ebp - 0x168], 0xa3d1dbcf
mov dword [ebp - 0x164], 0xc3b1a4
nop word [eax + eax]
lea eax, [ecx - 0x57]
xor byte [ebp + ecx - 0x17c], al
inc ecx
mov eax, dword [ebp - 0x180]
cmp ecx, eax
jb 0x649e20
mov byte [ebp + eax - 0x17c], 0
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.00424c30
add esp, 8
mov ecx, eax
push 0x41eef0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x41eef0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [esi + 0x18]
mov esi, dword [eax]
cmp esi, eax
je 0x64a37b
nop word [eax + eax]
mov eax, dword [esi + 0x28]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x70], eax
lea eax, [esi + 0x2c]
push eax
call fcn.00404120
mov eax, dword [esi + 0x4c]
mov edi, dword [esi + 0x48]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x4c], eax
mov al, byte [esi + 0x50]
mov dword [ebp - 0x50], edi
mov byte [ebp - 0x121], al
mov byte [ebp - 0x48], al
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x7cf388
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004044f0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x70]
cmp eax, 2
jne 0x649ff4
xor ecx, ecx
cmp byte [ebp - 0x121], 1
jne 0x649f74
mov eax, 4
mov dword [ebp - 0x14c], 0xd800dd
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x148], 0xc900de
mov dword [ebp - 0x144], 0xad
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x14c], ax
inc ecx
mov eax, dword [ebp - 0x150]
cmp ecx, eax
jb 0x649f20
xor ecx, ecx
mov word [ebp + eax*2 - 0x14c], cx
lea ecx, [ebp - 0x14c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x649f50
sub ecx, edx
lea eax, [ebp - 0x14c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004044f0
jmp 0x64a0c6
mov dword [ebp - 0x160], 5
mov dword [ebp - 0x15c], 0xcb00cf
mov dword [ebp - 0x158], 0xdf00c7
mov dword [ebp - 0x154], 0xae00c8
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x15c], ax
inc ecx
mov eax, dword [ebp - 0x160]
cmp ecx, eax
jb 0x649fa0
xor ecx, ecx
mov word [ebp + eax*2 - 0x15c], cx
lea ecx, [ebp - 0x15c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x649fd0
sub ecx, edx
lea eax, [ebp - 0x15c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004044f0
jmp 0x64a0c6
cmp eax, 1
jne 0x64a04a
push dword [ebp - 0x140]
lea ecx, [ebp - 0x19c]
push edi
call fcn.00575e40
mov edi, eax
add esp, 8
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x64a042
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x19c]
jmp 0x64a0c1
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x1b4]
push 0x7d7290
push eax
call fcn.0041ee30
push 0x7d7290
push eax
lea eax, [ebp - 0x19c]
mov byte [ebp - 4], 3
push eax
call fcn.00408060
mov edi, eax
add esp, 0x18
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x64a0ac
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x19c]
call fcn.00404490
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b4]
call fcn.00404490
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.00405850
add esp, 8
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 4
xor ecx, ecx
mov dword [ebp - 0x12c], 3
mov dword [ebp - 0x128], 0xac8b868b
nop dword [eax]
lea eax, [ecx - 0x57]
xor byte [ebp + ecx - 0x128], al
inc ecx
mov eax, dword [ebp - 0x12c]
cmp ecx, eax
jb 0x64a100
mov byte [ebp + eax - 0x128], 0
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x1e4]
push eax
call fcn.00405850
add esp, 8
mov edi, eax
mov byte [ebp - 4], 5
xor ecx, ecx
mov dword [ebp - 0x13c], 0xb
mov dword [ebp - 0x138], 0xdeced9dc
mov dword [ebp - 0x134], 0xd5dddef2
mov dword [ebp - 0x130], 0xb4919ad7
lea eax, [ecx - 0x57]
xor byte [ebp + ecx - 0x138], al
inc ecx
mov eax, dword [ebp - 0x13c]
cmp ecx, eax
jb 0x64a160
lea ecx, [ebp - 0x138]
mov byte [ebp + eax - 0x138], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x64a186
sub ecx, edx
lea eax, [ebp - 0x138]
push ecx
push eax
push 0
mov ecx, edi
call fcn.0041ef80
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x19c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 6
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x64a1f0
sub ecx, edx
lea eax, [ebp - 0x128]
push ecx
push eax
lea ecx, [ebp - 0x19c]
call fcn.0041b420
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1b4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1a4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1b4]
push dword [ebp - 0x140]
push eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.00432120
add esp, 0xc
push 2
push 0x7dc4b0
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0041b420
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea ecx, [ebp - 0x1cc]
call fcn.00407a10
lea ecx, [ebp - 0x1b4]
call fcn.00407a10
lea ecx, [ebp - 0x19c]
call fcn.00407a10
lea ecx, [ebp - 0x1e4]
call fcn.00407a10
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0xe
call fcn.00407a10
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.004527e0
add esp, 0xc
mov ecx, eax
push 0x41eef0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x40]
call fcn.00407a10
lea ecx, [ebp - 0x28]
call fcn.00404490
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0
call fcn.00404490
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x64a354
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x64a350
nop
cmp esi, dword [eax + 8]
jne 0x64a350
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x64a340
mov esi, eax
jmp 0x64a36c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x64a36c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x64a360
mov eax, dword [ebp - 0x184]
cmp esi, dword [eax + 0x18]
jne 0x649e80
lea ecx, [ebp - 0x11c]
call fcn.0041b620
test eax, eax
jne 0x64a3a4
push eax
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x120]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov byte [ebp - 0x121], 1
lea ecx, [ebp - 0x120]
call fcn.005866b0
mov al, byte [ebp - 0x121]
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