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

Disassembly:
push ebp
mov ebp, esp
mov al, byte [str.client_hello__adding_session_ticket_extension]
sub esp, 0x364
mov ecx, str.client_hello__adding_session_ticket_extension
jmp 0x10005b5c
sub al, 0x30
cmp al, 9
ja 0x10005be7
inc ecx
mov al, byte [ecx]
test al, al
jne 0x10005b4f
mov ecx, dword [0x10026028]
mov dl, byte [str.N_MOZ_PASSWORD]
xor eax, eax
push esi
push edi
mov edi, eax
mov dword [ebp - 0x44], 0x22
movzx eax, dl
mov dword [ebp - 0x14], eax
mov eax, str.N_MOZ_PASSWORD
mov dword [ebp - 0x24], 0x5e
mov dword [ebp - 0x20], 0x61
mov dword [ebp - 0x1c], 0xe
mov dword [ebp - 0x18], 0xffffff12
mov dword [ebp - 0x10], eax
mov esi, eax
mov dword [ebp - 8], 0x10e1
mov eax, dword [ebp - 0x14]
test eax, eax
mov dword [ebp - 0xc], eax
mov eax, str.N_MOZ_PASSWORD
je 0x10005bfe
mov eax, dword [ebp - 0xc]
inc esi
add dword [ebp - 8], eax
mov eax, str.N_MOZ_PASSWORD
cmp dword [ebp - 8], 0xbce
ja 0x10005bf8
movzx eax, byte [esi]
mov dword [ebp - 0xc], eax
test eax, eax
mov eax, str.N_MOZ_PASSWORD
jne 0x10005bbb
and ecx, 0x3fa9dbf4
jmp 0x10005bfe
mov ecx, dword [0x10026028]
add ecx, 0x200a62e5
jmp 0x10005b66
or ecx, 0x90ab312e
mov esi, ecx
xor esi, 0x8a725e0c
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x44]
add esi, dword [ebp + edi*4 - 0x24]
inc edi
mov dword [ebp - 0x44], esi
mov esi, dword [ebp - 0x2c]
cmp edi, 4
jl 0x10005ba3
push 0
mov dword [ebp - 0x40], 0xa81ae435
mov dword [ebp - 0x3c], 0x68d207ce
mov dword [ebp - 0x38], 0xbdb33b3f
mov dword [ebp - 0x34], 0x8295617e
pop eax
jmp 0x10005c4e
sub dl, 0x30
cmp dl, 9
ja 0x10005c54
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
mov dl, byte [edx]
test dl, dl
jne 0x10005c3d
jmp 0x10005c5d
lea esi, [ecx - 0x654234b2]
mov dword [ebp - 0x2c], esi
xor esi, 0xf6673c18
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], esi
lea edi, [ebp - 0x5c]
push 6
pop ecx
mov esi, str.edit:insert_block_break
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov byte [ebp + ecx - 0x198], cl
inc ecx
cmp ecx, 0x100
jb 0x10005c78
mov edi, dword [ebp - 8]
mov esi, eax
mov dword [ebp - 0x14], 0x17
xor edx, edx
mov cl, byte [ebp + esi - 0x198]
mov eax, esi
mov byte [ebp - 1], cl
div dword [ebp - 0x14]
movzx ecx, cl
imul edi, edi, 0x4de92f80
movzx eax, byte [ebp + edx - 0x5c]
add eax, dword [ebp - 0x10]
add ecx, eax
movzx ecx, cl
mov dword [ebp - 0x10], ecx
mov al, byte [ebp + ecx - 0x198]
mov byte [ebp + esi - 0x198], al
inc esi
mov al, byte [ebp - 1]
mov byte [ebp + ecx - 0x198], al
cmp esi, 0x100
jb 0x10005c94
xor esi, esi
mov edx, 0x262f
push 9
mov dword [ebp - 0xc], esi
mov eax, str._tfunction_GetDisabledXVariant__
pop ecx
add edx, ecx
lea eax, [eax + 2]
cmp edx, 0x25bf
ja 0x10005d07
movzx ecx, word [eax]
test ecx, ecx
jne 0x10005cf1
jmp 0x10005d10
mov edi, dword [ebp - 0x2c]
add edi, 0x72123390
or edi, 0x18e02d43
xor edi, 0x15400ab2
mov dword [ebp - 8], edi
call fcn.1000120f
mov edi, esi
lea eax, [edi + 1]
movzx edi, al
mov eax, dword [ebp - 0xc]
mov cl, byte [ebp + edi - 0x198]
movzx edx, cl
add eax, edx
movzx eax, al
mov dword [ebp - 0xc], eax
mov al, byte [ebp + eax - 0x198]
mov byte [ebp + edi - 0x198], al
mov eax, dword [ebp - 0xc]
mov byte [ebp + eax - 0x198], cl
movzx eax, byte [ebp + edi - 0x198]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x198]
xor al, byte [ebp + esi - 0x40]
mov byte [ebp + esi - 0x98], al
inc esi
cmp esi, 0x10
jb 0x10005d26
mov edi, dword [ebp - 8]
xor eax, eax
push 0x29
mov byte [ebp - 0x88], al
mov ecx, eax
pop edx
mov dword [ebp - 0x24], 0x52
mov dword [ebp - 0x20], 0x49
mov dword [ebp - 0x1c], 0x38
mov dword [ebp - 0x18], 0xffffff05
and edi, 0xb4eba6a1
add edx, dword [ebp + ecx*4 - 0x24]
imul edi, edi, 0xfb6ab579
or edi, 0xf270ee2d
inc ecx
cmp ecx, 4
jl 0x10005daa
mov dword [ebp - 8], edi
mov esi, str.MovedFolder
lea edi, [ebp - 0x3c]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], 0x28d68e48
mov ecx, eax
mov dword [ebp - 0x20], 0x2736d5a8
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c], 0xe22e158c
mov dword [ebp - 0x18], 0x93808c56
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, eax
mov byte [ebp + ecx - 0x198], cl
inc ecx
cmp ecx, 0x100
jb 0x10005df7
mov esi, eax
xor edx, edx
mov dword [ebp - 0x14], 0xb
mov eax, esi
mov cl, byte [ebp + esi - 0x198]
div dword [ebp - 0x14]
mov byte [ebp - 1], cl
movzx ecx, cl
movzx eax, byte [ebp + edx - 0x3c]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [ebp + edi - 0x198]
mov byte [ebp + esi - 0x198], al
inc esi
mov al, byte [ebp - 1]
mov byte [ebp + edi - 0x198], al
cmp esi, 0x100
jb 0x10005e09
mov ecx, dword [ebp - 8]
xor esi, esi
mov dword [ebp - 0xc], esi
mov edi, esi
lea eax, [edi + 1]
movzx edx, al
push 9
mov dword [ebp - 0x14], edx
mov al, byte [ebp + edx - 0x198]
movzx edi, al
mov byte [ebp - 1], al
mov eax, dword [ebp - 0xc]
add eax, edi
mov dword [ebp - 0x10], edi
movzx eax, al
mov edi, 0x210
mov dword [ebp - 0xc], eax
mov al, byte [ebp + eax - 0x198]
mov byte [ebp + edx - 0x198], al
mov eax, str._tfunction_GetDisabledXVariant__
pop edx
add edi, edx
lea eax, [eax + 2]
cmp edi, 0x18a4
ja 0x10005eb0
movzx edx, word [eax]
test edx, edx
jne 0x10005e9a
jmp 0x10005ebe
call fcn.1000278d
mov ecx, dword [ebp - 8]
and ecx, 0x99cd45e6
lea edx, [ecx - 0x38fb8283]
call fcn.10001431
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
imul ecx, edx, 0x38e03287
add ecx, 0x558ea959
mov dword [ebp - 8], ecx
mov cl, byte [ebp - 1]
mov byte [ebp + eax - 0x198], cl
movzx eax, byte [ebp + edi - 0x198]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
movzx eax, al
mov al, byte [ebp + eax - 0x198]
xor al, byte [ebp + esi - 0x24]
mov byte [ebp + esi - 0x40], al
inc esi
cmp esi, 0x10
jb 0x10005e5b
mov cl, byte [str.MultiplicativeInverseOfPrime2ModPrime1]
xor eax, eax
and edx, 0x701d10ef
mov byte [ebp - 0x30], al
mov esi, str.MultiplicativeInverseOfPrime2ModPrime1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0xd
mov dword [ebp - 0x24], 0x31
mov dword [ebp - 0x20], 0x62
mov dword [ebp - 0x1c], 9
mov dword [ebp - 0x18], 0xffffff57
mov dword [0x10026488], edx
mov dword [ebp - 0xc], esi
jmp 0x10005f67
mov cl, byte [ebp - 1]
sub cl, 0x30
cmp cl, 9
ja 0x10005f73
inc esi
mov cl, byte [esi]
test cl, cl
mov byte [ebp - 1], cl
mov ecx, dword [ebp - 8]
jne 0x10005f59
jmp 0x10005f7b
mov ecx, edx
xor ecx, 0xe1f4c10
and ecx, 0xd8bcadcb
mov edi, eax
mov esi, eax
cmp byte [str.client_hello__adding_session_ticket_extension], al
je 0x10005fae
inc esi
cmp esi, 0x1167
jg 0x10005fa0
cmp byte [esi + str.client_hello__adding_session_ticket_extension], al
jne 0x10005f8d
jmp 0x10005fae
mov edx, ecx
or edx, 0xd35aa771
mov dword [0x10026488], edx
mov esi, dword [ebp - 0x10]
mov ecx, edx
sub esi, dword [ebp + edi*4 - 0x28]
or ecx, 0x9c5f0f6c
inc edi
mov dword [ebp - 0x10], esi
cmp edi, 5
jl 0x10005f83
mov dword [0x10026028], ecx
lea edx, [ebp - 0x98]
mov ecx, dword [ebp - 0x44]
call fcn.1001adf3
call eax
lea ecx, [ebp - 0x364]
mov dword [ebp - 0x364], 0x10010
push ecx
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x40]
push eax
call fcn.1001adf3
call eax
test eax, eax
je 0x1000625e
xor ecx, ecx
mov dword [ebp - 0x3c], 0x2b
mov edx, ecx
mov dword [ebp - 0x38], 0x5a
mov dword [ebp - 0x34], 0xffffff7b
mov eax, ecx
sub edx, dword [ebp + eax*4 - 0x3c]
inc eax
cmp eax, 3
jl 0x1000601e
mov dword [ebp - 0x24], 0x48
xorps xmm1, xmm1
mov dword [ebp - 0x20], 0x44
xorps xmm2, xmm2
mov dword [ebp - 0x1c], 0x4b
mov eax, ecx
mov dword [ebp - 0x18], 0xffffff29
movups xmm0, xmmword [ebp - 0x24]
push 0xf
pop edi
psubd xmm1, xmm0
mov dword [ebp - 0x24], edi
movaps xmm0, xmm1
mov dword [ebp - 0x20], 0xd
psrldq xmm0, 8
paddd xmm1, xmm0
mov dword [ebp - 0x1c], 0x12
movups xmm0, xmm1
mov dword [ebp - 0x18], 0xffffffd2
psrldq xmm0, 4
paddd xmm1, xmm0
mov dword [ebp - 0x14], edx
movups xmm0, xmmword [ebp - 0x24]
mov edx, ecx
mov dword [ebp - 0x70], 0x15
mov dword [ebp - 0x6c], 0x54
psubd xmm2, xmm0
mov dword [ebp - 0x68], 0x57
movaps xmm0, xmm2
mov dword [ebp - 0x64], 0x21
psrldq xmm0, 8
paddd xmm2, xmm0
mov dword [ebp - 0x60], 0xffffff1f
movups xmm0, xmm2
psrldq xmm0, 4
paddd xmm2, xmm0
sub edx, dword [ebp + eax*4 - 0x70]
inc eax
cmp eax, 5
jl 0x100060cf
push 0x16
mov dword [ebp - 0x10], edx
mov eax, ecx
imul edx, dword [0x10026488], 0x702363f9
pop esi
mov dword [ebp - 0x3c], 0x5c
mov dword [ebp - 0x38], 0x3a
mov dword [ebp - 0x34], 0xffffff54
add esi, dword [ebp + eax*4 - 0x3c]
inc eax
cmp eax, 3
jl 0x10006100
mov dword [ebp - 0x44], esi
mov eax, ecx
mov esi, ecx
mov dword [ebp - 0x84], 0x53
mov dword [ebp - 0x80], 0x3f
mov dword [ebp - 0x7c], 0x46
mov dword [ebp - 0x78], 0x13
mov dword [ebp - 0x74], 0xffffff15
sub esi, dword [ebp + eax*4 - 0x84]
inc eax
cmp eax, 5
jl 0x10006137
push 0x17
pop eax
mov dword [ebp - 0x38], eax
mov eax, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x3c], 0x45
mov dword [ebp - 0x34], 0xffffffb2
sub edi, dword [ebp + eax*4 - 0x3c]
inc eax
cmp eax, 3
jl 0x1000615d
mov dword [ebp - 8], edi
mov eax, ecx
inc eax
cmp eax, 0x43f
jl 0x1000617e
cmp byte [eax + str.scrypt_alg], cl
jne 0x1000616c
jmp 0x10006184
add edx, 0x1419cb9e
imul esi, edx, 0x5beb7165
mov eax, ecx
mov dword [ebp - 0x58], 0x60
mov dword [ebp - 0x54], 0x5c
mov dword [ebp - 0x50], 0xa
mov dword [ebp - 0x4c], 0x51
mov dword [ebp - 0x48], 0xfffffee9
sub ecx, dword [ebp + eax*4 - 0x58]
inc eax
cmp eax, 5
jl 0x100061af
mov al, byte [str.MultiplicativeInverseOfPrime2ModPrime1]
jmp 0x100061cf
sub al, 0x30
cmp al, 9
ja 0x100061d5
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov al, byte [eax]
test al, al
jne 0x100061c0
jmp 0x100061db
lea esi, [edx + 0x28cd541e]
imul edi, esi, 0x2098c07d
mov edx, str.scrypt_alg
mov al, 0x73
mov dword [0x10026028], edi
sub al, 0x30
cmp al, 9
ja 0x100061fd
inc edx
mov al, byte [edx]
test al, al
jne 0x100061ee
jmp 0x10006208
imul eax, edi, 0x27d01c61
mov dword [0x10026028], eax
imul eax, esi, 0x284b3607
mov dword [0x10026488], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x360], eax
jne 0x10006257
movd eax, xmm1
cmp dword [ebp - 0x35c], eax
jne 0x10006257
movd eax, xmm2
cmp dword [ebp - 0x358], eax
jne 0x10006257
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x354], eax
jne 0x10006257
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x350], eax
jne 0x10006257
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x34c], eax
je 0x1000625a
mov ecx, dword [ebp - 8]
mov eax, ecx
jmp 0x10006260
mov eax, esi
pop edi
pop esi
leave
ret