Function at 0x4650a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3e50
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x88
mov eax, dword [0x659bc0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
sub esp, 0x18
mov dword [ebp - 4], 0
lea eax, [ebx + 8]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.0046f020
mov byte [ebp - 4], 1
cmp byte [0x64a0f7], 0
mov eax, dword [0x64a0f4]
mov edi, dword [0x665d98]
mov dword [ebp - 0x6c], eax
je 0x4651cd
xor edx, edx
mov dword [ebp - 0x70], edx
cmp edi, 2
jl 0x4651a0
movaps xmm3, xmmword [0x64a650]
movaps xmm2, xmm3
movaps xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x64a6f0]
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x64a6f0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 1
movaps xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x64a670]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a6d0]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x64a720]
movd xmm0, eax
xorps xmm1, xmm0
movd dword [ebp - 0x6c], xmm1
jmp 0x4651cd
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x70]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x6c], cl
inc edx
mov dword [ebp - 0x70], edx
cmp edx, 4
jl 0x4651a0
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4651e8
sub ecx, edx
lea eax, [ebp - 0x6c]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.00472fb0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x68]
cmp dword [ebp - 0x54], 0xf
xorps xmm0, xmm0
cmova edx, dword [ebp - 0x68]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x78], esp
mov ecx, edx
movups xmmword [esi], xmm0
lea eax, [ecx + 1]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 0x70], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465231
sub ecx, dword [ebp - 0x70]
push ecx
push edx
mov ecx, esi
call fcn.00472fb0
mov byte [ebp - 4], 3
movups xmm0, xmmword [str.fyqlniyayP_____]
mov ax, word [0x649438]
mov word [ebp - 0x20], ax
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [0x649430]
movq qword [ebp - 0x28], xmm0
test ah, ah
je 0x4653dd
xor edx, edx
mov dword [ebp - 0x6c], edx
cmp edi, 2
jl 0x4653b0
movaps xmm0, xmmword [0x64a720]
lea esi, [ebp - 0x34]
movaps xmm4, xmmword [0x64a650]
movaps xmm3, xmmword [0x64a6f0]
movaps xmm5, xmmword [0x64a670]
movaps xmmword [ebp - 0x90], xmm0
mov ecx, dword [ebp - 0x90]
nop dword [eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a6d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x38]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x38], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a6d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esi + edx]
xorps xmm1, xmm0
movd dword [esi + edx], xmm1
add edx, 8
cmp edx, 0x18
jl 0x4652b0
mov dword [ebp - 0x6c], edx
cmp edx, 0x1a
jge 0x4653dd
nop dword [eax]
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x6c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x38], cl
inc edx
mov dword [ebp - 0x6c], edx
cmp edx, 0x1a
jl 0x4653b0
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4653f8
sub ecx, edx
lea eax, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00472fb0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0xf
xorps xmm0, xmm0
cmova edx, dword [ebp - 0x50]
sub esp, 0x18
mov esi, esp
mov ecx, edx
movups xmmword [esi], xmm0
lea eax, [ecx + 1]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 0x70], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465440
sub ecx, dword [ebp - 0x70]
push ecx
push edx
mov ecx, esi
call fcn.00472fb0
mov byte [ebp - 4], 6
call fcn.00464f60
mov byte [ebp - 4], 5
add esp, 0x48
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x465497
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46548d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465854
push ecx
push edx
call fcn.005ce99e
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x4654cf
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4654c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465854
push ecx
push edx
call fcn.005ce99e
add esp, 8
mov edx, dword [ebp - 0x74]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x78], esp
call fcn.00448170
mov byte [ebp - 4], 7
xor edx, edx
mov eax, dword [str.xYS_9]
mov dword [ebp - 0x1c], eax
mov al, byte [0x649a50]
mov byte [ebp - 0x18], al
mov dword [ebp - 0x6c], edx
nop dword [eax + eax]
mov eax, 0x29e4129f
mul edx
mov eax, dword [ebp - 0x6c]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x6c]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x37
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x1c], cl
inc edx
mov dword [ebp - 0x6c], edx
cmp edx, 5
jl 0x465500
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465550
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00472fb0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0xf
xorps xmm0, xmm0
cmova edx, dword [ebp - 0x50]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x1c], esp
mov ecx, edx
movups xmmword [esi], xmm0
lea eax, [ecx + 1]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 0x74], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4655a0
sub ecx, dword [ebp - 0x74]
push ecx
push edx
mov ecx, esi
call fcn.00472fb0
mov byte [ebp - 4], 9
movups xmm0, xmmword [str.fyqlniyayP_____]
mov ax, word [0x649438]
mov word [ebp - 0x20], ax
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [0x649430]
movq qword [ebp - 0x28], xmm0
test ah, ah
je 0x46574d
xor edx, edx
mov dword [ebp - 0x6c], edx
cmp edi, 2
jl 0x465720
movaps xmm0, xmmword [0x64a720]
lea esi, [ebp - 0x34]
movaps xmm4, xmmword [0x64a650]
movaps xmm3, xmmword [0x64a6f0]
movaps xmm5, xmmword [0x64a670]
movaps xmmword [ebp - 0x90], xmm0
mov ecx, dword [ebp - 0x90]
nop dword [eax + eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a6d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x38]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x38], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a6d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esi + edx]
xorps xmm1, xmm0
movd dword [esi + edx], xmm1
add edx, 8
cmp edx, 0x18
jl 0x465620
mov dword [ebp - 0x6c], edx
cmp edx, 0x1a
jge 0x46574d
nop dword [eax]
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x6c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x38], cl
inc edx
mov dword [ebp - 0x6c], edx
cmp edx, 0x1a
jl 0x465720
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465768
sub ecx, edx
lea eax, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.00472fb0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x68]
cmp dword [ebp - 0x54], 0xf
xorps xmm0, xmm0
cmova edx, dword [ebp - 0x68]
sub esp, 0x18
mov esi, esp
mov ecx, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edi, [ecx + 1]
mov dword [esi + 0x14], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4657b0
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.00472fb0
mov byte [ebp - 4], 0xc
call fcn.00464f60
mov ecx, dword [ebp - 0x54]
add esp, 0x48
cmp ecx, 0xf
jbe 0x4657fe
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4657f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465854
push ecx
push edx
call fcn.005ce99e
add esp, 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x46582e
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x465824
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465854
push ecx
push edx
call fcn.005ce99e
add esp, 8
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x465864
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46585a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46585a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005ce99e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005ce5ea
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret