Function at 0x1013dd70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x174
mov eax, dword [0x102060c0]
xor eax, esp
mov dword [esp + 0x170], eax
mov eax, dword [0x10223ca0]
push ebx
push esi
push edi
cmp byte [eax + 0x35a3], 0
mov edi, ecx
mov dword [esp + 0x14], 0
je 0x1013e185
mov eax, dword [0x10223ca8]
xor ecx, ecx
movq xmm0, qword [str.W__BNQ_:]
mov esi, dword [eax + 0x18]
mov al, byte [0x101ef5ec]
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 0x1013ddd0
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 0x1013e185
mov ecx, dword [esi]
mov edx, dword [ecx + 0x278]
mov ecx, esi
call edx
test al, al
je 0x1013e185
mov eax, dword [edi]
mov ecx, edi
push 0
push str.vote_option
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x10225524]
mov ebx, eax
mov dword [esp + 0x14], ebx
mov ecx, dword [ecx]
test ecx, ecx
je 0x1013de5b
cmp esi, ecx
jne 0x1013de5b
mov dl, 1
jmp 0x1013de5d
xor dl, dl
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 8]
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x1013e185
test ebx, ebx
mov dword [esp + 0x10], 0x101ef43c
mov eax, 0x101ef408
cmovne eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
test dl, dl
je 0x1013dee5
lea eax, [esp + 0x78]
push eax
call fcn.1018cd70
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 0x1013deb5
sub ecx, edx
lea eax, [esp + 0x78]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.100278e0
cmp dword [esp + 0x74], 0xf
lea esi, [esp + 0x60]
mov dword [esp + 0x10], 1
cmova esi, dword [esp + 0x60]
jmp 0x1013df47
lea eax, [esp + 0xf8]
mov ecx, esi
push eax
call fcn.1018cd70
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 0x1013df16
sub ecx, edx
lea eax, [esp + 0xf8]
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.100278e0
cmp dword [esp + 0x4c], 0xf
lea esi, [esp + 0x38]
mov dword [esp + 0x10], 2
cmova esi, dword [esp + 0x38]
movups xmm0, xmmword [0x101efce0]
mov ax, word [0x101efcf8]
xor ebx, ebx
cmp dword [0x10224d40], 2
mov word [esp + 0x34], ax
mov al, byte [0x101efcfa]
movups xmmword [esp + 0x1c], xmm0
mov byte [esp + 0x36], al
movq xmm0, qword [0x101efcf0]
movq qword [esp + 0x2c], xmm0
jl 0x1013e0b0
movaps xmm0, xmmword [0x101f7db0]
movaps xmm4, xmmword [0x101f7c30]
movaps xmm3, xmmword [0x101f8070]
movaps xmm5, xmmword [0x101f7cc0]
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 [0x101f7d70]
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 [0x101f7d70]
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 0x1013dfb0
cmp ebx, 0x1b
jge 0x1013e0d8
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 0x1013e0b0
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 0x1013e14f
mov ecx, dword [esp + 0x4c]
cmp ecx, 0xf
jbe 0x1013e13a
mov edx, dword [esp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013e12c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1013e19a
push ecx
push edx
call fcn.1019958d
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 0x1013e185
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x1013e185
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013e17b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1013e19a
push ecx
push edx
call fcn.1019958d
add esp, 8
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10199294
mov esp, ebp
pop ebp
ret
call fcn.1019e6c6
int3