Function at 0x10012ed9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
and dword [ebp - 4], 0
push edi
mov edi, dword [0x10029b90]
push 0xf
mov dword [ebp - 0x1c], ecx
pop ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x30], 0x48
mov dword [ebp - 0x2c], 0x5d
mov dword [ebp - 0x28], 0x22
mov dword [ebp - 0x24], 0xffffff47
push esi
mov ecx, str.AVIRA_ATRK_URL
mov al, 0x41
sub al, 0x30
cmp al, 9
ja 0x10012f29
inc ecx
mov al, byte [ecx]
test al, al
jne 0x10012f1a
jmp 0x10012f33
or dword [0x10029af0], 0xbf439436
push ecx
push ecx
sub edi, 0x4a234cd5
call fcn.10012b42
pop ecx
pop ecx
xor esi, esi
inc esi
cmp esi, 0x11f0
jg 0x10012f58
cmp byte [esi + str.Subscription_Token_Create], 0
jne 0x10012f44
jmp 0x10012f75
call fcn.10012d41
imul eax, edi, 0xcbfc3bbc
mov dword [0x10029af0], eax
cmp esi, 0x2342
jle 0x10012f75
call fcn.10012c02
mov edi, 0x43bf50ad
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp + ecx*4 - 0x30]
inc ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], ecx
cmp ecx, 4
jl 0x10012f13
mov dword [0x10029b90], edi
mov esi, str.Environment_Path
lea edi, [ebp - 0x30]
mov dword [ebp - 0x10], 0xba1204b0
mov dword [ebp - 0xc], 0xa82777d7
mov byte [ebp - 8], 0x45
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor edi, edi
xor eax, eax
mov byte [ebp + eax - 0x130], al
inc eax
cmp eax, 0x100
jb 0x10012fb9
xor esi, esi
mov dl, byte [ebp + esi - 0x130]
mov eax, esi
and eax, 0xf
movzx ecx, dl
movzx eax, byte [ebp + eax - 0x30]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [ebp + edi - 0x130]
mov byte [ebp + esi - 0x130], al
inc esi
mov byte [ebp + edi - 0x130], dl
cmp esi, 0x100
jb 0x10012fca
and dword [ebp - 4], 0
xor edi, edi
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov eax, dword [ebp - 4]
mov cl, byte [ebp + edi - 0x130]
movzx edx, cl
add eax, edx
movzx eax, al
mov dword [ebp - 4], eax
mov al, byte [ebp + eax - 0x130]
mov byte [ebp + edi - 0x130], al
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x130], cl
movzx eax, byte [ebp + edi - 0x130]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x130]
xor al, byte [ebp + esi - 0x10]
mov byte [ebp + esi - 0x2c], al
inc esi
cmp esi, 9
jb 0x1001300b
mov al, byte [str.allowSpecialFloats]
mov ecx, str.allowSpecialFloats
mov byte [ebp - 0x23], 0
jmp 0x10013079
sub al, 0x30
cmp al, 9
ja 0x1001307f
inc ecx
mov al, byte [ecx]
test al, al
jne 0x10013070
jmp 0x1001308e
mov eax, dword [0x10029ae8]
xor eax, 0xadfa0425
mov dword [0x10029af0], eax
mov dword [ebp - 0x14], 0x4d
mov dword [ebp - 0x10], 0x13
mov dword [ebp - 0xc], 0x35
mov dword [ebp - 8], 0xffffff67
movups xmm1, xmmword [ebp - 0x14]
mov dword [ebp - 0x14], 0x15
push dword [ebp - 0x1c]
movaps xmm0, xmm1
mov dword [ebp - 0x10], 0x3a
psrldq xmm0, 8
paddd xmm1, xmm0
mov dword [ebp - 0xc], 0x44
movups xmm0, xmm1
mov dword [ebp - 8], 0xffffff0a
psrldq xmm0, 4
paddd xmm1, xmm0
mov dword [0x10029ae8], 0x8480167e
movd eax, xmm1
movups xmm1, xmmword [ebp - 0x14]
add eax, 4
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd esi, xmm1
push eax
add esi, 0x63
call fcn.10012ecf
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x2c]
push eax
call fcn.1001b5c7
call eax
mov edi, eax
cmp edi, esi
pop esi
je 0x1001319d
mov dword [0x10029af0], 0x890f2508
mov dword [ebp - 0x14], 0x1a
xorps xmm1, xmm1
mov dword [ebp - 0x10], 0x35
mov dword [ebp - 0xc], 8
mov dword [ebp - 8], 0xffffffa9
movups xmm0, xmmword [ebp - 0x14]
psubd xmm1, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd ecx, xmm1
push dword [ebp - 0x1c]
mov eax, dword [0x10029ae8]
push ecx
xor eax, 0x736f4383
push edi
mov dword [0x10029b90], eax
call fcn.100133e9
add esp, 0xc
mov eax, edi
pop edi
leave
ret