Function at 0x1013ee20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x174
mov eax, dword [0x102070c0]
xor eax, esp
mov dword [esp + 0x170], eax
mov eax, dword [0x10224ca0]
push ebx
push esi
push edi
cmp byte [eax + 0x35a3], 0
mov edi, ecx
mov dword [esp + 0x14], 0
je 0x1013f235
mov eax, dword [0x10224ca8]
xor ecx, ecx
movq xmm0, qword [str.W__BNQ_:]
mov esi, dword [eax + 0x18]
mov al, byte [0x101f06ac]
movq qword [esp + 0x50], xmm0
mov byte [esp + 0x58], al
nop word [eax + eax]
mov eax, 0x2f684bdb
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, 0x36
sub dl, al
add dl, 0x32
xor byte [esp + ecx + 0x50], dl
inc ecx
cmp ecx, 9
jl 0x1013ee80
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 0x1013f235
mov ecx, dword [esi]
mov edx, dword [ecx + 0x278]
mov ecx, esi
call edx
test al, al
je 0x1013f235
mov eax, dword [edi]
mov ecx, edi
push 0
push str.vote_option
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x10226524]
mov ebx, eax
mov dword [esp + 0x14], ebx
mov ecx, dword [ecx]
test ecx, ecx
je 0x1013ef0b
cmp esi, ecx
jne 0x1013ef0b
mov dl, 1
jmp 0x1013ef0d
xor dl, dl
mov eax, dword [0x10224c9c]
mov eax, dword [eax + 8]
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x1013f235
test ebx, ebx
mov dword [esp + 0x10], 0x101f043c
mov eax, 0x101f045c
cmovne eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
test dl, dl
je 0x1013ef95
lea eax, [esp + 0x78]
push eax
call fcn.1018dd70
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 0x1013ef65
sub ecx, edx
lea eax, [esp + 0x78]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.10027940
cmp dword [esp + 0x74], 0xf
lea esi, [esp + 0x60]
mov dword [esp + 0x10], 1
cmova esi, dword [esp + 0x60]
jmp 0x1013eff7
lea eax, [esp + 0xf8]
mov ecx, esi
push eax
call fcn.1018dd70
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 0x1013efc6
sub ecx, edx
lea eax, [esp + 0xf8]
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.10027940
cmp dword [esp + 0x4c], 0xf
lea esi, [esp + 0x38]
mov dword [esp + 0x10], 2
cmova esi, dword [esp + 0x38]
movups xmm0, xmmword [0x101f0de8]
mov ax, word [0x101f0e00]
xor ebx, ebx
cmp dword [0x10225d40], 2
mov word [esp + 0x34], ax
mov al, byte [0x101f0e02]
movups xmmword [esp + 0x1c], xmm0
mov byte [esp + 0x36], al
movq xmm0, qword [0x101f0df8]
movq qword [esp + 0x2c], xmm0
jl 0x1013f160
movaps xmm0, xmmword [0x101f8f00]
movaps xmm4, xmmword [0x101f8d60]
movaps xmm3, xmmword [0x101f91b0]
movaps xmm5, xmmword [0x101f8e10]
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 [0x101f8eb0]
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 [0x101f8eb0]
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 0x1013f060
cmp ebx, 0x1b
jge 0x1013f188
nop dword [eax]
mov eax, 0x4bda12f7
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x36
sub cl, al
add cl, 0x32
xor byte [esp + ebx + 0x1c], cl
inc ebx
cmp ebx, 0x1b
jl 0x1013f160
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 0x1013f1ff
mov ecx, dword [esp + 0x4c]
cmp ecx, 0xf
jbe 0x1013f1ea
mov edx, dword [esp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013f1dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1013f24a
push ecx
push edx
call fcn.1019a58d
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 0x1013f235
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x1013f235
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013f22b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1013f24a
push ecx
push edx
call fcn.1019a58d
add esp, 8
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1019a294
mov esp, ebp
pop ebp
ret
call fcn.1019f6c6
int3