Function at 0x46bf50
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x48
push esi
mov esi, dword [0x4931e0]
push edi
mov edi, ecx
mov dword [ebp - 8], edi
mov eax, dword [esi + 0x3e40]
mov byte [eax + 0xac], 1
mov eax, dword [esi + 0x3e40]
mov eax, dword [eax + 0x190]
test eax, eax
je 0x46bfa4
cmp dword [eax + 0x10], 2
jne 0x46bf9f
cmp dword [eax + 4], 1
je 0x46bfb4
call fcn.00433430
push 1
call fcn.004329b0
mov esi, dword [0x4931e0]
add esp, 4
mov eax, dword [edi]
movss xmm6, dword [0x485fdc]
movd xmm2, dword [eax]
mov eax, dword [esi + 0x3e40]
cvtdq2ps xmm2, xmm2
mov eax, dword [eax + 0x190]
mulss xmm2, xmm6
test eax, eax
jne 0x46bfde
xorps xmm1, xmm1
jmp 0x46bff7
movss xmm0, dword [eax + 0x14]
movss xmm1, dword [eax + 0x18]
mov eax, dword [eax + 0x64]
subss xmm1, xmm0
mulss xmm1, dword [eax]
addss xmm1, xmm0
addss xmm1, xmm2
mov ecx, 1
call fcn.00432700
mov eax, dword [edi]
movd xmm2, dword [eax]
mov eax, dword [esi + 0x3e40]
cvtdq2ps xmm2, xmm2
mov eax, dword [eax + 0x190]
mulss xmm2, xmm6
test eax, eax
jne 0x46c027
xorps xmm1, xmm1
jmp 0x46c041
movss xmm0, dword [eax + 0x14]
movss xmm1, dword [eax + 0x18]
mov eax, dword [eax + 0x64]
subss xmm1, xmm0
mulss xmm1, dword [eax + 0x1c]
addss xmm1, xmm0
addss xmm1, xmm2
mov ecx, 2
call fcn.00432700
mov ax, word [0x485f08]
movq xmm0, qword [str.Q_U_XRPA]
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x14], ax
test ah, ah
je 0x46c0a0
xor edx, edx
mov dword [ebp - 4], edx
nop
mov eax, 0x1f7047dd
mul edx
mov eax, dword [ebp - 4]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 4]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x38
xor byte [ebp + edx - 0x1c], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, 0xa
jl 0x46c070
lea eax, [ebp - 0x1c]
push eax
call fcn.00433ec0
mov esi, dword [0x4931e0]
add esp, 4
mov ax, word [0x485e1c]
xor edx, edx
mov word [ebp - 0x20], ax
mov al, byte [0x485e1e]
movss xmm0, dword [esi + 0x37e0]
addss xmm0, xmm0
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x1e], al
mov dword [ebp - 4], edx
addss xmm0, dword [esi + 0x3bd0]
addss xmm0, dword [esi + 0x37f0]
xorps xmm0, xmmword [0x486530]
subss xmm0, dword [0x48603c]
movss dword [ebp - 0xc], xmm0
movq xmm0, qword [str.tO]
movq qword [ebp - 0x28], xmm0
nop dword [eax]
mov eax, 0x1f7047dd
mul edx
mov eax, dword [ebp - 4]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 4]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x38
xor byte [ebp + edx - 0x28], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, 0xb
jl 0x46c110
mov eax, dword [esi + 0x3e40]
xor edx, edx
mov byte [eax + 0xac], 1
mov esi, dword [esi + 0x3e40]
mov ecx, dword [esi + 0xe4]
mov eax, dword [esi + 0xec]
push dword [eax + ecx*4 - 4]
lea ecx, [ebp - 0x28]
call fcn.0040ada0
mov ecx, dword [esi]
mov edi, eax
add esp, 4
cmp dword [ecx + 0x3e74], edi
jne 0x46c190
push ecx
lea eax, [ebp - 0x28]
mov edx, 0xb
push eax
mov ecx, edi
call fcn.0041f0e0
add esp, 8
sub esp, 8
lea eax, [ebp - 0x10]
mov edx, edi
lea ecx, [ebp - 0x28]
push eax
call fcn.00410ae0
mov eax, dword [ebp - 8]
add esp, 0xc
mov eax, dword [eax + 4]
mov edi, dword [eax + 4]
mov esi, dword [eax]
cmp esi, edi
je 0x46c1cd
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x46c1bd
mov eax, dword [esi]
push eax
call fcn.00433ec0
add esi, 0x18
add esp, 4
cmp esi, edi
jne 0x46c1b3
call fcn.00410cc0
call fcn.004330e0
movss xmm0, dword [0x49330c]
comiss xmm0, dword [0x486010]
jb 0x46c266
movq xmm0, qword [str.nXVMY_r]
xor edx, edx
mov al, byte [0x485f68]
movq qword [ebp - 0x1c], xmm0
mov byte [ebp - 0x14], al
mov dword [ebp - 4], edx
mov eax, 0x1f7047dd
mul edx
mov eax, dword [ebp - 4]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 4]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x38
xor byte [ebp + edx - 0x1c], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, 9
jl 0x46c202
push 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
mov al, byte [0x493310]
setne cl
mov byte [0x493309], cl
test al, al
je 0x46c261
xor edx, edx
movzx eax, al
test cl, cl
cmove eax, edx
mov byte [0x493310], al
xorps xmm0, xmm0
jmp 0x46c276
mov eax, dword [0x4931e0]
mov cl, byte [0x493309]
addss xmm0, dword [eax + 0x18]
mov edi, dword [0x4931b8]
movss dword [0x49330c], xmm0
test cl, cl
je 0x46c3f9
cmp byte [0x485deb], 0
mov esi, 5
mov eax, dword [str.JLTUUSY_]
mov ecx, dword [0x485de8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
je 0x46c3f1
xor edx, edx
mov dword [ebp - 4], edx
cmp edi, 2
jl 0x46c3c0
movaps xmm2, xmmword [0x4860d0]
mov edx, 0x1f
movaps xmm3, xmmword [0x486540]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm3
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm4, esi
psrad xmm1, xmm4
movd xmm5, edx
lea esi, [ebp - 0x10]
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x486110]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x4860e0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4861d0]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x486200]
movd xmm0, eax
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x10], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm3
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x486110]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4861d0]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x486200]
movd xmm0, ecx
pxor xmm1, xmm0
movd dword [ebp - 0xc], xmm1
jmp 0x46c574
mov eax, 0x8fb823ef
imul edx
add edx, dword [ebp - 4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 4]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x38
xor byte [ebp + edx - 0x10], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, 8
jl 0x46c3c0
lea esi, [ebp - 0x10]
jmp 0x46c574
cmp byte [0x485e9b], 0
mov eax, dword [0x485e98]
movq xmm0, qword [str.VVNeNHPQ___C]
mov dword [ebp - 0x2c], eax
mov eax, 5
movq qword [ebp - 0x34], xmm0
lea ecx, [eax + 0x1a]
je 0x46c571
xor edx, edx
mov dword [ebp - 4], edx
cmp edi, 2
jl 0x46c540
movaps xmm2, xmmword [0x4860d0]
mov edx, 8
movaps xmm4, xmmword [0x486540]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm5
mov eax, dword [0x486200]
movaps xmm0, xmm1
movd xmm6, ecx
psrld xmm0, xmm6
mov dword [ebp - 4], edx
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x486110]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x4860e0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4861d0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.VVNeNHPQ___C]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x34], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x486110]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4861d0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x30]
pxor xmm1, xmm0
movd dword [ebp - 0x30], xmm1
nop dword [eax + eax]
mov eax, 0x8fb823ef
imul edx
add edx, dword [ebp - 4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 4]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x38
xor byte [ebp + edx - 0x34], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, 0xc
jl 0x46c540
lea esi, [ebp - 0x34]
mov ax, word [0x485efc]
xor edx, edx
movq xmm0, qword [0x485ef4]
mov word [ebp - 0x20], ax
mov al, byte [0x485efe]
mov byte [ebp - 0x1e], al
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 4], edx
nop dword [eax + eax]
mov eax, 0x1f7047dd
mul edx
mov eax, dword [ebp - 4]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 4]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x38
xor byte [ebp + edx - 0x28], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, 0xb
jl 0x46c5a0
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00433ec0
mov esi, dword [0x4931e0]
xor edx, edx
mov eax, dword [0x485e78]
add esp, 8
mov dword [ebp - 0x3c], eax
mov al, byte [0x485e7c]
movss xmm0, dword [esi + 0x37e0]
mov dword [ebp - 0x1c], 0
addss xmm0, xmm0
mov byte [ebp - 0x38], al
mov dword [ebp - 4], edx
addss xmm0, dword [esi + 0x3bd0]
addss xmm0, dword [esi + 0x37f0]
xorps xmm0, xmmword [0x486530]
movss dword [ebp - 0x18], xmm0
movq xmm0, qword [0x485e70]
movq qword [ebp - 0x44], xmm0
cmp edi, 2
jl 0x46c750
movaps xmm2, xmmword [0x4860d0]
mov eax, 5
movaps xmm4, xmmword [0x486540]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov edx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm5
mov eax, 0x1f
mov dword [ebp - 4], edx
movaps xmm0, xmm1
movd xmm6, eax
mov eax, dword [0x486200]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x486110]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x4860e0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4861d0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x485e70]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x44], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x486110]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4861d0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x40]
pxor xmm1, xmm0
movd dword [ebp - 0x40], xmm1
nop
mov eax, 0x8fb823ef
imul edx
add edx, dword [ebp - 4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 4]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x38
xor byte [ebp + edx - 0x44], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, 0xd
jl 0x46c750
mov eax, dword [esi + 0x3e40]
xor edx, edx
mov byte [eax + 0xac], 1
mov esi, dword [esi + 0x3e40]
mov ecx, dword [esi + 0xe4]
mov eax, dword [esi + 0xec]
push dword [eax + ecx*4 - 4]
lea ecx, [ebp - 0x44]
call fcn.0040ada0
mov ecx, dword [esi]
mov edi, eax
add esp, 4
cmp dword [ecx + 0x3e74], edi
jne 0x46c7d1
push ecx
lea eax, [ebp - 0x44]
mov edx, 0xb
push eax
mov ecx, edi
call fcn.0041f0e0
add esp, 8
sub esp, 8
lea eax, [ebp - 0x1c]
mov edx, edi
lea ecx, [ebp - 0x44]
push eax
call fcn.00410ae0
mov esi, dword [0x49032c]
add esp, 0xc
mov edi, dword [0x490330]
cmp esi, edi
je 0x46c80f
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x46c7ff
mov eax, dword [esi]
push eax
call fcn.00433ec0
add esi, 0x18
add esp, 4
cmp esi, edi
jne 0x46c7f5
call fcn.00410cc0
mov edx, dword [0x4931e0]
mov edi, dword [edx + 0x3e40]
mov esi, dword [edi + 0x190]
test esi, esi
jne 0x46c856
mov eax, edi
movss xmm1, dword [eax + 0x228]
cmp dword [eax + 0x190], esi
jne 0x46c844
cmp dword [edx + 0x49e4], esi
je 0x46c84c
movss xmm1, dword [eax + 0x1f8]
subss xmm1, dword [edi + 0xf0]
jmp 0x46c87e
mov eax, dword [esi + 0xc]
movss xmm1, dword [esi + 0x18]
subss xmm1, dword [esi + 0x14]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x64]
movss xmm0, dword [eax + ecx*4 + 0x1c]
subss xmm0, dword [eax + ecx*4]
mulss xmm1, xmm0
movss xmm0, dword [edx + 0x37e0]
mov eax, edi
addss xmm0, xmm0
mov dword [ebp - 0x18], 0
addss xmm0, dword [edx + 0x3bd0]
addss xmm0, dword [edx + 0x37f0]
subss xmm1, xmm0
addss xmm1, dword [0x48604c]
movss dword [ebp - 0x1c], xmm1
movss xmm1, dword [edi + 0x20]
mov byte [eax + 0xac], 1
subss xmm1, xmm0
mov eax, dword [edx + 0x3e40]
xor edx, edx
mov dword [ebp - 4], edx
movss xmm0, dword [eax + 0x18]
subss xmm0, dword [eax + 0x7c]
subss xmm1, dword [0x48603c]
mov byte [eax + 0x131], 1
addss xmm0, xmm1
movss dword [eax + 0xf4], xmm0
mov eax, dword [str.qWP_I_]
mov dword [ebp - 0x10], eax
mov ax, word [0x485eac]
mov word [ebp - 0xc], ax
mov al, byte [0x485eae]
mov byte [ebp - 0xa], al
nop
mov eax, 0x1f7047dd
mul edx
mov eax, dword [ebp - 4]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 4]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x38
xor byte [ebp + edx - 0x10], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, 7
jl 0x46c910
push ecx
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x10]
call fcn.00434830
add esp, 4
test al, al
je 0x46cb2d
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x49339c]
cmp eax, dword [ecx + 4]
jle 0x46c9a7
push 0x49339c
call fcn.004743d1
mov esi, dword [ebp - 8]
add esp, 4
cmp dword [0x49339c], 0xffffffff
jne 0x46c9aa
mov eax, dword [esi + 8]
add eax, 4
cmp dword [eax + 0x14], 0x10
jb 0x46c993
mov eax, dword [eax]
push 0x49339c
mov dword [0x4933ac], eax
call fcn.00474387
add esp, 4
jmp 0x46c9aa
mov esi, dword [ebp - 8]
cmp byte [0x493310], 0
jne 0x46cb2d
mov eax, dword [esi + 8]
movups xmm0, xmmword [0x485e60]
mov edi, dword [eax + 0x14]
pextrw eax, xmm0, 7
movups xmmword [ebp - 0x44], xmm0
test ax, ax
je 0x46cafc
xor esi, esi
cmp dword [0x4931b8], 2
jl 0x46cad4
movaps xmm2, xmmword [0x4860d0]
mov eax, 5
movaps xmm3, xmmword [0x486540]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm4, eax
psrad xmm1, xmm4
mov eax, 0x1f
movaps xmm0, xmm1
movd xmm5, eax
mov eax, 0x485e60
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x486110]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x4860e0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
paddw xmm1, xmmword [0x4861c0]
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x44], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x486110]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [ebp - 0x3c]
paddw xmm1, xmmword [0x4861c0]
pxor xmm1, xmm0
movq qword [ebp - 0x3c], xmm1
jmp 0x46cafc
mov eax, 0x8fb823ef
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x39
sub ecx, eax
add ecx, 0x38
xor word [ebp + esi*2 - 0x44], cx
inc esi
cmp esi, 8
jl 0x46cad4
mov edx, dword [0x4933ac]
lea ecx, [ebp - 0x44]
push edi
call fcn.00460a00
add esp, 4
test eax, eax
jne 0x46cb2d
movzx eax, byte [0x493310]
mov ecx, 1
cmp byte [0x493309], 0
cmovne eax, ecx
mov byte [0x493310], al
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret