Function at 0x6493a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b82fe
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
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 - 0x90], ecx
push 0x28
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
call fcn.00649750
push 0x29
lea eax, [ebp + 8]
push eax
call fcn.00649750
push 0x3b
lea eax, [ebp + 8]
push eax
call fcn.00649750
cmp dword [ebp + 0x1c], 0x10
lea edi, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae edi, dword [ebp + 8]
test eax, eax
je 0x649423
push eax
push 0x2c
push edi
call sub.VCRUNTIME140.dll_memchr
mov esi, eax
add esp, 0xc
test esi, esi
je 0x649423
sub esi, edi
jmp 0x649426
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x64971f
cmp dword [ebp + 0x18], esi
lea eax, [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x78], 0
cmovb ecx, dword [ebp + 0x18]
cmp dword [ebp + 0x1c], 0x10
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x88]
push eax
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.00407ab0
lea edx, [ebp - 0x88]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00405660
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.00407a10
lea eax, [ebp - 0x70]
push eax
call fcn.006497f0
mov eax, dword [ebp + 0x18]
inc esi
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
cmp eax, esi
jb 0x649744
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
add eax, esi
lea ecx, [ebp - 0xa8]
push eax
call fcn.00407ab0
lea edx, [ebp - 0xa8]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00405660
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 6
call fcn.00407a10
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x88]
call fcn.004060a0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x64953e
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x18], xmm0
mov word [esi], ax
lea ecx, [ebp - 0x88]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
push eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
push 0x7cf388
mov dword [ebp - 0x58], eax
call fcn.004044f0
xorps xmm0, xmm0
mov byte [ebp - 0x30], 0
movlpd qword [ebp - 0x38], xmm0
mov byte [ebp - 4], 8
mov eax, 4
mov dword [ebp - 0x80], eax
xor ecx, ecx
mov dword [ebp - 0x7c], 0xd800dd
mov dword [ebp - 0x78], 0xc900de
mov dword [ebp - 0x74], 0xad
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x7c], ax
inc ecx
mov eax, dword [ebp - 0x80]
cmp ecx, eax
jb 0x6495a1
xor ecx, ecx
mov word [ebp + eax*2 - 0x7c], cx
lea ecx, [ebp - 0x7c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6495c1
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
sub ecx, edx
sar ecx, 1
cmp edi, 8
cmovae eax, dword [ebp - 0x28]
cmp esi, ecx
jne 0x649607
push esi
lea ecx, [ebp - 0x7c]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x649607
mov esi, 2
mov byte [ebp - 0x30], 1
mov dword [ebp - 0x58], esi
jmp 0x6496c2
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], 5
mov dword [ebp - 0x7c], 0xcb00cf
mov dword [ebp - 0x78], 0xdf00c7
mov dword [ebp - 0x74], 0xae00c8
call fcn.00403e20
mov edx, eax
mov dword [ebp - 0x8c], eax
lea eax, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x649636
sub edx, eax
lea eax, [ebp - 0x28]
sar edx, 1
cmp edi, 8
cmovae eax, dword [ebp - 0x28]
cmp esi, edx
jne 0x649674
push esi
push dword [ebp - 0x8c]
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x649674
mov esi, 2
mov byte [ebp - 0x30], al
mov dword [ebp - 0x58], esi
jmp 0x6496c2
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00404120
cmp dword [ebp - 0x94], 8
lea eax, [ebp - 0xa8]
cmovae eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi64]
add esp, 4
lea ecx, [ebp - 0xa8]
mov esi, eax
mov edi, edx
call fcn.00404490
mov dword [ebp - 0x38], esi
mov esi, 1
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x34], edi
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x70]
push eax
add ecx, 0x18
call fcn.0064a600
mov edi, eax
lea eax, [ebp - 0x54]
lea ecx, [edi + 4]
mov dword [edi], esi
cmp ecx, eax
je 0x6496f5
cmp dword [ebp - 0x40], 8
mov edx, eax
push dword [ebp - 0x44]
cmovae edx, dword [ebp - 0x54]
push edx
call fcn.004044f0
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x54]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x24], eax
mov al, byte [ebp - 0x30]
mov byte [edi + 0x28], al
call fcn.00404490
lea ecx, [ebp - 0x28]
call fcn.00404490
lea ecx, [ebp - 0x70]
call fcn.00404490
lea ecx, [ebp + 8]
call fcn.00407a10
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 0x18
call fcn.004046a0
int3