Function at 0x649030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b6d25
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
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 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.00585fb0
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 0x6490ae
mov byte [ebp - 0x121], 0
jmp 0x64967b
movaps xmm0, xmmword [0x7e3780]
mov eax, 0x1a
mov dword [ebp - 0x180], eax
xor ecx, ecx
movups xmmword [ebp - 0x17c], xmm0
mov dword [ebp - 0x16c], 0xaeacacba
mov dword [ebp - 0x168], 0xaca0a8be
mov dword [ebp - 0x164], 0xd2a2b5
nop word [eax + eax]
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x17c], al
inc ecx
mov eax, dword [ebp - 0x180]
cmp ecx, eax
jb 0x6490f0
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 0x64964b
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 0x7cd378
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 0x6492c4
xor ecx, ecx
cmp byte [ebp - 0x121], 1
jne 0x649244
mov eax, 4
mov dword [ebp - 0x14c], 0xcb00cc
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x148], 0xde00cf
mov dword [ebp - 0x144], 0xbc
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x14c], ax
inc ecx
mov eax, dword [ebp - 0x150]
cmp ecx, eax
jb 0x6491f0
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 0x649220
sub ecx, edx
lea eax, [ebp - 0x14c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004044f0
jmp 0x649396
mov dword [ebp - 0x160], 5
mov dword [ebp - 0x15c], 0xd800de
mov dword [ebp - 0x158], 0xc800d6
mov dword [ebp - 0x154], 0xbd00d9
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x15c], ax
inc ecx
mov eax, dword [ebp - 0x160]
cmp ecx, eax
jb 0x649270
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 0x6492a0
sub ecx, edx
lea eax, [ebp - 0x15c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004044f0
jmp 0x649396
cmp eax, 1
jne 0x64931a
push dword [ebp - 0x140]
lea ecx, [ebp - 0x19c]
push edi
call fcn.00574cc0
mov edi, eax
add esp, 8
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x649312
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 0x649391
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x1b4]
push 0x7d5280
push eax
call fcn.0041ee30
push 0x7d5280
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 0x64937c
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], 0xbb9a959a
nop dword [eax]
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x128], al
inc ecx
mov eax, dword [ebp - 0x12c]
cmp ecx, eax
jb 0x6493d0
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], 0xc9dfcacd
mov dword [ebp - 0x134], 0xdacccde3
mov dword [ebp - 0x130], 0xc3e0e9a6
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x138], al
inc ecx
mov eax, dword [ebp - 0x13c]
cmp ecx, eax
jb 0x649430
lea ecx, [ebp - 0x138]
mov byte [ebp + eax - 0x138], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x649456
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 0x6494c0
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 0x7da464
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.00586330
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 0x649624
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x649620
nop
cmp esi, dword [eax + 8]
jne 0x649620
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x649610
mov esi, eax
jmp 0x64963c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x64963c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x649630
mov eax, dword [ebp - 0x184]
cmp esi, dword [eax + 0x18]
jne 0x649150
lea ecx, [ebp - 0x11c]
call fcn.0041b620
test eax, eax
jne 0x649674
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.00585530
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.0076d59e
mov esp, ebp
pop ebp
ret