Function at 0x492c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff7d8
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x672494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x67f4f4]
xor edx, edx
lea ecx, [ecx + 0xfc]
call fcn.00420510
mov esi, eax
xor ecx, ecx
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c1877
lea ecx, [esi*2 + 2]
mov edi, eax
push ecx
push 0
push edi
mov dword [ebp - 0x2c], edi
call fcn.0056c1d0
mov ecx, dword [0x67f4f4]
add esp, 0x10
add ecx, 0xfc
mov edx, edi
call fcn.00420510
mov ecx, 0x17
lea edi, [ebp - 0xa8]
mov esi, 0x649288
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp dword [0x67be1c], 2
jl 0x492e30
movaps xmm4, xmmword [0x654300]
mov eax, 4
movaps xmm3, xmmword [0x6543d0]
movaps xmm6, xmmword [str.2222]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
nop
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [str.99999999]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0xa8]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + ecx*2 - 0xa8], 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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [str.99999999]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0xa0]
pxor xmm1, xmm0
movq qword [ebp + ecx*2 - 0xa0], xmm1
add ecx, 8
cmp ecx, 0x28
jl 0x492d30
cmp ecx, 0x2e
jge 0x492e59
nop dword [eax + eax]
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul eax, eax, 0x32
sub edx, eax
add edx, 0x39
xor word [ebp + ecx*2 - 0xa8], dx
inc ecx
cmp ecx, 0x2e
jl 0x492e30
lea eax, [ebp - 0xa8]
push eax
push str.search
push str.Config
lea eax, [ebp - 0x28]
push eax
call fcn.004802d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push 2
push 0x649408
push ecx
call fcn.004245c0
mov esi, eax
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov edx, eax
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x492ea2
sub edx, edi
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push eax
push 2
push esi
call fcn.00424030
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x492edb
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x492ecf
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00417d60
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040c5c0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00493a30
mov edx, eax
mov byte [ebp - 4], 2
mov ecx, dword [0x67f524]
cmp dword [0x67f528], ecx
je 0x492f2d
mov dword [ecx], 0
cmp ecx, edx
je 0x492f20
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [edx], 0
mov byte [ecx + 4], 1
add dword [0x67f524], 8
jmp 0x492f34
push edx
push ecx
call fcn.0043f960
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x492f5d
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x492f5d
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x492f57
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x492f5b
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x4c]
call fcn.0040f8c0
lea ecx, [ebp - 0x28]
call fcn.0040f8c0
xor eax, eax
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.004d0a85
mov esp, ebp
pop ebp
ret