Function at 0x10135380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x174
mov eax, dword [0x101f80c0]
xor eax, esp
mov dword [esp + 0x170], eax
mov eax, dword [0x10213408]
push ebx
push esi
push edi
cmp byte [eax + 0x34b3], 0
mov edi, ecx
mov dword [esp + 0x14], 0
je 0x10135795
mov eax, dword [0x10213410]
xor ecx, ecx
movq xmm0, qword [str.Q_BL_S__]
mov esi, dword [eax + 0x18]
mov al, byte [0x101e288c]
movq qword [esp + 0x50], xmm0
mov byte [esp + 0x58], al
nop word [eax + eax]
mov eax, 0x3521cfb3
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
mov dl, cl
shr eax, 5
movsx eax, al
imul eax, eax, 0x35
sub dl, al
add dl, 0x34
xor byte [esp + ecx + 0x50], dl
inc ecx
cmp ecx, 9
jl 0x101353e0
mov eax, dword [edi]
lea ecx, [esp + 0x50]
push 0
push ecx
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0xc]
mov ecx, esi
call edx
mov esi, eax
test esi, esi
je 0x10135795
mov ecx, dword [esi]
mov edx, dword [ecx + 0x278]
mov ecx, esi
call edx
test al, al
je 0x10135795
mov eax, dword [edi]
mov ecx, edi
push 0
push str.vote_option
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x10214cf4]
mov ebx, eax
mov dword [esp + 0x14], ebx
mov ecx, dword [ecx]
test ecx, ecx
je 0x1013546b
cmp esi, ecx
jne 0x1013546b
mov dl, 1
jmp 0x1013546d
xor dl, dl
mov eax, dword [0x10213404]
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x10135795
test ebx, ebx
mov dword [esp + 0x10], 0x101e2110
mov eax, 0x101e2114
cmovne eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
test dl, dl
je 0x101354f5
lea eax, [esp + 0x78]
push eax
call fcn.10181f80
xorps xmm0, xmm0
mov dword [esp + 0x70], 0
lea ecx, [esp + 0x78]
mov dword [esp + 0x74], 0
movups xmmword [esp + 0x60], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101354c5
sub ecx, edx
lea eax, [esp + 0x78]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.10026920
cmp dword [esp + 0x74], 0xf
lea esi, [esp + 0x60]
mov dword [esp + 0x10], 1
cmova esi, dword [esp + 0x60]
jmp 0x10135557
lea eax, [esp + 0xf8]
mov ecx, esi
push eax
call fcn.10181f80
xorps xmm0, xmm0
mov dword [esp + 0x48], 0
lea ecx, [esp + 0xf8]
mov dword [esp + 0x4c], 0
movups xmmword [esp + 0x38], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10135526
sub ecx, edx
lea eax, [esp + 0xf8]
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.10026920
cmp dword [esp + 0x4c], 0xf
lea esi, [esp + 0x38]
mov dword [esp + 0x10], 2
cmova esi, dword [esp + 0x38]
movups xmm0, xmmword [0x101e223c]
mov ax, word [0x101e2254]
xor ebx, ebx
cmp dword [0x10214510], 2
mov word [esp + 0x34], ax
mov al, byte [0x101e2256]
movups xmmword [esp + 0x1c], xmm0
mov byte [esp + 0x36], al
movq xmm0, qword [0x101e224c]
movq qword [esp + 0x2c], xmm0
jl 0x101356c0
movaps xmm0, xmmword [str.44444444444444447777777777777777]
movaps xmm4, xmmword [0x101ea800]
movaps xmm3, xmmword [0x101eabd0]
movaps xmm5, xmmword [0x101ea890]
movaps xmmword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x50]
nop dword [eax]
movd xmm0, ebx
lea eax, [ebx + 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, 4
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 [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x1c]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x1c], 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, 4
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 [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x20]
xorps xmm1, xmm0
movd dword [esp + ebx + 0x20], xmm1
add ebx, 8
cmp ebx, 0x18
jl 0x101355c0
cmp ebx, 0x1b
jge 0x101356e8
nop dword [eax]
mov eax, 0x4d4873ed
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x1c], cl
inc ebx
cmp ebx, 0x1b
jl 0x101356c0
push dword [esp + 0x18]
mov ecx, dword [edi]
xor eax, eax
cmp dword [esp + 0x18], eax
setne al
add eax, 6
push eax
push esi
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 0x68]
push 0
push edi
call eax
mov eax, dword [esp + 0x28]
add esp, 0x18
test al, 2
je 0x1013575f
mov ecx, dword [esp + 0x4c]
cmp ecx, 0xf
jbe 0x1013574a
mov edx, dword [esp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013573c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101357aa
push ecx
push edx
call fcn.1018dda2
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0xf
mov byte [esp + 0x38], 0
test al, 1
je 0x10135795
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x10135795
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013578b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101357aa
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1018daa9
mov esp, ebp
pop ebp
ret
call fcn.10192ed6
int3