Function at 0x4650b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d33bd
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x659bc0]
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 - 0x64], ecx
sub esp, 0x18
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.0046e800
mov byte [ebp - 4], 1
cmp byte [0x6499ab], 0
mov eax, dword [str._P4___jcGXN_zAwAXFRJ]
mov edi, dword [0x6647f8]
mov dword [ebp - 0x5c], eax
je 0x4651ce
xor edx, edx
mov dword [ebp - 0x60], edx
cmp edi, 2
jl 0x4651a0
movaps xmm3, xmmword [0x64a4a0]
movaps xmm2, xmm3
movaps xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x64a550]
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x64a550]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movaps xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x64a4c0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a530]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.1111111111111111]
movd xmm0, eax
xorps xmm1, xmm0
movd dword [ebp - 0x5c], xmm1
jmp 0x4651ce
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x60]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x5c], cl
inc edx
mov dword [ebp - 0x60], edx
cmp edx, 4
jl 0x4651a0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4651f0
sub ecx, edx
lea eax, [ebp - 0x5c]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00472730
mov byte [ebp - 4], 2
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0xf
xorps xmm0, xmm0
cmova edx, dword [ebp - 0x58]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x68], 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 - 0x60], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465240
sub ecx, dword [ebp - 0x60]
push ecx
push edx
mov ecx, esi
call fcn.00472730
mov byte [ebp - 4], 3
mov eax, dword [0x6492d4]
movq xmm0, qword [0x6492cc]
mov dword [ebp - 0x20], eax
mov ax, word [0x6492d8]
movq qword [ebp - 0x28], xmm0
mov word [ebp - 0x1c], ax
test ah, ah
je 0x4653ae
xor edx, edx
mov dword [ebp - 0x5c], edx
cmp edi, 2
jl 0x465380
movaps xmm2, xmmword [0x64a4a0]
mov edx, 8
movaps xmm3, xmmword [0x64a550]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov dword [ebp - 0x5c], edx
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x64a4c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x64a4b0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a530]
movd xmm0, dword [0x6492cc]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.1111111111111111]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x28], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x64a4c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a530]
movd xmm0, dword [ebp - 0x24]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.1111111111111111]
xorps xmm1, xmm0
movd dword [ebp - 0x24], xmm1
nop
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x5c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x28], cl
inc edx
mov dword [ebp - 0x5c], edx
cmp edx, 0xe
jl 0x465380
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4653d0
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00472730
mov byte [ebp - 4], 4
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0xf
xorps xmm0, xmm0
cmova edx, dword [ebp - 0x40]
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 - 0x60], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465416
sub ecx, dword [ebp - 0x60]
push ecx
push edx
mov ecx, esi
call fcn.00472730
mov byte [ebp - 4], 6
call fcn.00464d00
mov byte [ebp - 4], 5
add esp, 0x48
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x46546d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x465463
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4657e7
push ecx
push edx
call fcn.005ce06a
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x4654a5
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46549b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4657e7
push ecx
push edx
call fcn.005ce06a
add esp, 8
mov edx, dword [ebp - 0x64]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x68], esp
call fcn.00447f50
mov byte [ebp - 4], 7
xor edx, edx
mov eax, dword [str._WQ5]
mov dword [ebp - 0x18], eax
mov al, byte [0x649a30]
mov byte [ebp - 0x14], al
mov dword [ebp - 0x5c], edx
nop
mov eax, 0x3521cfb3
mul edx
mov eax, dword [ebp - 0x5c]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x5c]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x18], cl
inc edx
mov dword [ebp - 0x5c], edx
cmp edx, 5
jl 0x4654d0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465520
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00472730
mov byte [ebp - 4], 8
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0xf
xorps xmm0, xmm0
cmova edx, dword [ebp - 0x40]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x18], 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 - 0x64], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465570
sub ecx, dword [ebp - 0x64]
push ecx
push edx
mov ecx, esi
call fcn.00472730
mov byte [ebp - 4], 9
mov eax, dword [0x6492d4]
movq xmm0, qword [0x6492cc]
mov dword [ebp - 0x20], eax
mov ax, word [0x6492d8]
movq qword [ebp - 0x28], xmm0
mov word [ebp - 0x1c], ax
test ah, ah
je 0x4656e1
xor edx, edx
mov dword [ebp - 0x5c], edx
cmp edi, 2
jl 0x4656b3
movaps xmm2, xmmword [0x64a4a0]
mov edx, 8
movaps xmm4, xmmword [0x64a550]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [str.1111111111111111]
movaps xmm0, xmm1
mov dword [ebp - 0x5c], edx
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x64a4c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x64a4b0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a530]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x6492cc]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x28], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x64a4c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a530]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x24]
xorps xmm1, xmm0
movd dword [ebp - 0x24], xmm1
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x5c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x28], cl
inc edx
mov dword [ebp - 0x5c], edx
cmp edx, 0xe
jl 0x4656b3
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465700
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00472730
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0xf
xorps xmm0, xmm0
cmova edx, dword [ebp - 0x58]
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
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465743
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.00472730
mov byte [ebp - 4], 0xc
call fcn.00464d00
mov ecx, dword [ebp - 0x44]
add esp, 0x48
cmp ecx, 0xf
jbe 0x465791
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x465787
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4657e7
push ecx
push edx
call fcn.005ce06a
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x4657c1
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4657b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4657e7
push ecx
push edx
call fcn.005ce06a
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x4657f7
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4657ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4657ed
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005ce06a
add esp, 8
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.005cdcb6
mov esp, ebp
pop ebp
ret