Function at 0x10001c9d
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
push 0x5f
xor eax, eax
mov dword [ebp - 0x10], 9
pop edx
mov dword [ebp - 0xc], 0x3c
mov ecx, eax
mov dword [ebp - 8], 0xffffff5d
add edx, dword [ebp + ecx*4 - 0x10]
inc ecx
cmp ecx, 3
jl 0x10001cc2
push esi
push edi
push 5
pop ecx
mov esi, str.issuer_decode_error
mov dword [ebp - 0x24], edx
lea edi, [ebp - 0x38]
mov dword [ebp - 0x10], 0x66569a67
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], 0xe6f6a890
mov edi, eax
mov dword [ebp - 8], 0xcd9857f1
mov ecx, eax
mov byte [ebp + ecx - 0x138], cl
inc ecx
cmp ecx, 0x100
jb 0x10001cf7
mov esi, eax
xor edx, edx
mov dword [ebp - 0x20], 0x13
mov eax, esi
mov cl, byte [ebp + esi - 0x138]
div dword [ebp - 0x20]
mov byte [ebp - 1], cl
movzx ecx, cl
movzx eax, byte [ebp + edx - 0x38]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [ebp + edi - 0x138]
mov byte [ebp + esi - 0x138], al
inc esi
mov al, byte [ebp - 1]
mov byte [ebp + edi - 0x138], al
cmp esi, 0x100
jb 0x10001d09
xor eax, eax
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, eax
mov eax, dword [0x10026268]
and eax, 0x2f5ffa8e
mov dword [0x100261cc], eax
lea eax, [edi + 1]
movzx edi, al
mov eax, dword [ebp - 0x1c]
mov cl, byte [ebp + edi - 0x138]
movzx edx, cl
add eax, edx
movzx eax, al
mov dword [ebp - 0x1c], eax
mov al, byte [ebp + eax - 0x138]
mov byte [ebp + edi - 0x138], al
mov eax, dword [ebp - 0x1c]
mov byte [ebp + eax - 0x138], cl
movzx eax, byte [ebp + edi - 0x138]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x138]
xor al, byte [ebp + esi - 0x10]
mov byte [ebp + esi - 0x34], al
inc esi
cmp esi, 0xc
jb 0x10001d69
xor eax, eax
mov dword [ebp - 0x18], 0x5e
mov byte [ebp - 0x28], al
mov edx, 0x1dc0
mov dword [ebp - 0x14], 0x4c
mov ecx, eax
mov dword [ebp - 0x10], 0x2f
mov dword [ebp - 0xc], 0x1f
mov dword [ebp - 8], 0x1910
sub edx, dword [ebp + ecx*4 - 0x18]
inc ecx
cmp ecx, 5
jl 0x10001ded
mov esi, 0x21f0
mov dword [ebp - 0x10], 2
mov dword [ebp - 0xc], 0x32
mov ecx, eax
mov dword [ebp - 8], 0x1ee8
sub esi, dword [ebp + ecx*4 - 0x10]
inc ecx
cmp ecx, 3
jl 0x10001e13
mov edi, eax
mov dword [ebp - 0x18], 0x41
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x10], 0x5d
mov dword [ebp - 0xc], 0x2e
mov dword [ebp - 8], 0xffffff32
sub edi, dword [ebp + eax*4 - 0x18]
inc eax
cmp eax, 5
jl 0x10001e42
mov ecx, dword [ebp - 0x24]
push edx
push 0x7ffe0000
lea edx, [ebp - 0x34]
call fcn.1001ab39
call eax
test eax, eax
je 0x10001eb6
mov eax, dword [0x10026268]
mov dword [ebp - 0x34], 0x37
and eax, 0x336326d6
mov dword [ebp - 0x30], 0x2b
mov dword [ebp - 0x2c], 0x33
mov dword [ebp - 0x28], 0xffffff0f
movups xmm1, xmmword [ebp - 0x34]
mov dword [0x10026284], eax
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd eax, xmm1
add eax, 0x5d
jmp 0x100020db
mov al, byte [esi + 0x7ffe0000]
mov byte [ebp - 1], al
test al, al
je 0x10002088
mov edi, dword [0x10026268]
sub edi, 0x3645f7a4
mov dword [ebp - 0x18], 0x5b
push 0x18
xor ecx, ecx
mov dword [0x10026268], edi
pop edx
mov dword [ebp - 0x14], 0x23
mov eax, ecx
mov dword [ebp - 0x10], 8
mov dword [ebp - 0xc], 0x4d
mov dword [ebp - 8], 0xffffff42
sub edx, dword [ebp + eax*4 - 0x18]
inc eax
cmp eax, 5
jl 0x10001f03
mov dword [ebp - 0x24], edx
mov esi, dword [0x100261cc]
mov edx, esi
or edx, 0xc979892a
mov dword [0x10026284], edx
xor esi, 0xf53a742d
mov dword [ebp - 0x10], 0x56
push 0x10
mov dword [0x100261cc], esi
mov eax, ecx
mov dword [ebp - 0xc], 0x1d
mov dword [ebp - 8], 0xffffff7e
pop esi
add esi, dword [ebp + eax*4 - 0x10]
inc eax
cmp eax, 3
jl 0x10001f4a
movzx eax, byte [ebp - 1]
mov dword [ebp - 0x20], esi
cmp eax, dword [ebp - 0x24]
jne 0x10002083
mov dword [ebp - 0x1c], 0x471
mov eax, str.DiscoverLicenseResponse
mov dword [ebp - 0x20], 0x44
mov esi, dword [ebp - 0x20]
inc eax
add dword [ebp - 0x1c], esi
cmp dword [ebp - 0x1c], 0x2094
mov esi, dword [0x100261cc]
ja 0x10001f9f
movsx esi, byte [eax]
mov dword [ebp - 0x20], esi
test esi, esi
mov esi, dword [0x100261cc]
jne 0x10001f77
jmp 0x10001fa8
mov ecx, edi
call fcn.10001000
xor ecx, ecx
lea eax, [edx - 0x36a5503c]
mov dword [ebp - 0x24], eax
mov al, byte [str.unexpected_zlib_return]
sub edx, 0x2517af7c
mov edi, str.unexpected_zlib_return
jmp 0x10001fcc
sub al, 0x30
cmp al, 9
ja 0x10001fd2
inc edi
mov al, byte [edi]
test al, al
jne 0x10001fc3
jmp 0x10001fda
mov edx, esi
and edx, 0x5ef38823
imul eax, dword [ebp - 0x24], 0x56bc159
mov esi, 0xee30fb1e
mov dword [ebp - 0x14], 0x49
mov dword [ebp - 0x10], 6
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 8], 0xffffffb2
sub esi, eax
cmp byte [str.unexpected_zlib_return], 0
mov dword [0x100261cc], esi
je 0x1000203f
inc ecx
cmp ecx, 0x1fbf
jl 0x10002027
cmp byte [ecx + str.unexpected_zlib_return], 0
jne 0x10002013
jmp 0x1000203f
push ecx
push str.id_netscape_certtype
mov ecx, str.softwareupdater
call fcn.1000133e
pop ecx
pop ecx
imul edx, esi, 0xa6f9f65c
mov eax, edx
xor eax, 0xd9d7f204
mov dword [0x10026268], eax
movups xmm0, xmmword [ebp - 0x14]
and edx, 0x6859817f
xorps xmm1, xmm1
mov dword [0x10026284], edx
psubd xmm1, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd eax, xmm1
add eax, 0xe
jmp 0x100020db
mov eax, dword [ebp - 0x20]
jmp 0x100020db
xor eax, eax
inc eax
cmp eax, 0x19b9
je 0x100020a3
cmp byte [eax + str.id_netscape_certtype], 0
jne 0x1000208a
mov esi, dword [0x10026268]
jmp 0x100020ba
call fcn.10001b21
mov esi, dword [0x100261cc]
add esi, 0x404b87da
mov dword [0x10026268], esi
mov ecx, esi
or ecx, 0xbba71998
mov dword [0x100261cc], ecx
call fcn.10001426
imul ecx, esi, 0xf711d956
mov eax, edi
mov dword [0x10026284], ecx
pop edi
pop esi
leave
ret