Function at 0x10140d70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x184
mov eax, dword [0x102090c0]
xor eax, esp
mov dword [esp + 0x180], eax
mov eax, dword [0x10226ca8]
push ebx
push esi
push edi
cmp byte [eax + 0x35a3], 0
mov edi, ecx
je 0x10141192
mov eax, dword [0x10226cb0]
xor ecx, ecx
movq xmm0, qword [str.VZA_CAP_]
mov esi, dword [eax + 0x18]
mov al, byte [0x101f2de8]
movq qword [esp + 0x40], xmm0
mov byte [esp + 0x48], al
mov eax, 0x29e4129f
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, 0x37
sub dl, al
add dl, 0x33
xor byte [esp + ecx + 0x40], dl
inc ecx
cmp ecx, 9
jl 0x10140dc2
mov eax, dword [edi]
lea ecx, [esp + 0x40]
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 0x10141192
mov ecx, dword [esi]
mov edx, dword [ecx + 0x278]
mov ecx, esi
call edx
test al, al
je 0x10141192
mov eax, dword [edi]
mov ecx, edi
push 0
push str.vote_option
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x10228e54]
mov dword [esp + 0x18], eax
mov ecx, dword [ecx]
test ecx, ecx
je 0x10140e4b
cmp esi, ecx
jne 0x10140e4b
mov dl, 1
jmp 0x10140e4d
xor dl, dl
mov eax, dword [0x10226ca4]
mov eax, dword [eax + 8]
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x10141192
cmp dword [esp + 0x18], 0
mov eax, 0x101f239c
mov ebx, 0x101f237c
cmovne eax, ebx
mov dword [esp + 0x24], eax
test dl, dl
je 0x10140eeb
lea eax, [esp + 0x88]
push eax
call fcn.1018f550
xorps xmm0, xmm0
mov dword [esp + 0x64], 0
lea ecx, [esp + 0x88]
mov dword [esp + 0x68], 0
movups xmmword [esp + 0x54], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10140eb0
sub ecx, edx
lea eax, [esp + 0x88]
push ecx
push eax
lea ecx, [esp + 0x5c]
call fcn.10027a80
cmp dword [esp + 0x68], 0xf
lea esi, [esp + 0x54]
mov dword [esp + 0x20], 1
cmova esi, dword [esp + 0x54]
mov dword [esp + 0x1c], 0
jmp 0x10140f59
lea eax, [esp + 0x108]
mov ecx, esi
push eax
call fcn.1018f550
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x108]
mov dword [esp + 0x3c], 0
movups xmmword [esp + 0x28], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10140f20
sub ecx, edx
lea eax, [esp + 0x108]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.10027a80
cmp dword [esp + 0x3c], 0xf
lea esi, [esp + 0x28]
mov dword [esp + 0x20], 0
cmova esi, dword [esp + 0x28]
mov dword [esp + 0x1c], 2
cmp byte [0x101f245b], 0
movups xmm0, xmmword [0x101f2440]
mov eax, dword [0x101f2458]
mov dword [esp + 0x84], eax
movups xmmword [esp + 0x6c], xmm0
movq xmm0, qword [0x101f2450]
movq qword [esp + 0x7c], xmm0
je 0x101410e7
xor ebx, ebx
cmp dword [0x10228670], 2
jl 0x101410c0
movaps xmm0, xmmword [0x101faf40]
movaps xmm4, xmmword [0x101fadd0]
movaps xmm3, xmmword [0x101faf20]
movaps xmm5, xmmword [0x101fae60]
movaps xmmword [esp + 0x40], xmm0
mov ecx, dword [esp + 0x40]
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, 1
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 [0x101faf00]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x6c]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x6c], 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, 1
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 [0x101faf00]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x70]
xorps xmm1, xmm0
movd dword [esp + ebx + 0x70], xmm1
add ebx, 8
cmp ebx, 0x18
jl 0x10140fc0
cmp ebx, 0x1c
jge 0x101410e7
nop dword [eax]
mov eax, 0x94f2095
mov cl, bl
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x37
sub cl, al
add cl, 0x33
xor byte [esp + ebx + 0x6c], cl
inc ebx
cmp ebx, 0x1c
jl 0x101410c0
push dword [esp + 0x24]
mov ecx, dword [edi]
xor eax, eax
cmp dword [esp + 0x1c], eax
setne al
add eax, 6
push eax
push esi
lea eax, [esp + 0x78]
push eax
mov eax, dword [ecx + 0x68]
push 0
push edi
call eax
add esp, 0x18
cmp dword [esp + 0x1c], 0
je 0x10141159
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xf
jbe 0x10141144
mov edx, dword [esp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014113a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101411a7
push ecx
push edx
call fcn.1019bd5d
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0xf
mov byte [esp + 0x28], 0
cmp dword [esp + 0x20], 0
je 0x10141192
mov ecx, dword [esp + 0x68]
cmp ecx, 0xf
jbe 0x10141192
mov edx, dword [esp + 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10141188
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101411a7
push ecx
push edx
call fcn.1019bd5d
add esp, 8
mov ecx, dword [esp + 0x18c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1019ba64
mov esp, ebp
pop ebp
ret
call fcn.101a0e96
int3